Skip to content

Instantly share code, notes, and snippets.

@zerosign
Last active August 22, 2021 08:47
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save zerosign/539da69fe306344dbd666763d8617daf to your computer and use it in GitHub Desktop.
Save zerosign/539da69fe306344dbd666763d8617daf to your computer and use it in GitHub Desktop.
void __cdecl main_main()
{
__int64 *v0; // rdi
__int64 v1; // rdi
__int64 v2; // rax
__int64 v3; // rax
__int64 v4; // rcx
const char *v5; // rdx
__int128 v6; // rax
__int64 v7; // rcx
bool v8; // zf
__int64 v9; // rax
__int64 v10; // rcx
__int64 v11; // rbx
__int64 v12; // rcx
__int64 v13; // rdx
__int64 v14; // rbx
__int64 v15; // rax
__int64 v16; // rcx
__int64 v17; // rdx
__int64 v18; // rcx
__int64 v19; // rdx
__int64 v20; // rax
char v21; // cl
unsigned __int64 v22; // rsi
__int64 v23; // rcx
__int64 v24; // [rsp+0h] [rbp-258h]
__int64 v25; // [rsp+0h] [rbp-258h]
__int64 v26; // [rsp+0h] [rbp-258h]
__int64 v27; // [rsp+0h] [rbp-258h]
__int64 v28; // [rsp+0h] [rbp-258h]
__int64 v29; // [rsp+0h] [rbp-258h]
__int64 *v30; // [rsp+8h] [rbp-250h]
__int64 v31; // [rsp+8h] [rbp-250h]
__int64 v32; // [rsp+8h] [rbp-250h]
__int64 v33; // [rsp+8h] [rbp-250h]
_BYTE v34[48]; // [rsp+8h] [rbp-250h]
__int64 v35; // [rsp+8h] [rbp-250h]
char v36; // [rsp+8h] [rbp-250h]
char v37; // [rsp+8h] [rbp-250h]
__int64 v38; // [rsp+8h] [rbp-250h]
__int64 v39; // [rsp+8h] [rbp-250h]
__int64 v40; // [rsp+8h] [rbp-250h]
_BYTE v41[24]; // [rsp+10h] [rbp-248h]
__int64 v42; // [rsp+10h] [rbp-248h]
__int64 v43; // [rsp+10h] [rbp-248h]
__int64 v44; // [rsp+10h] [rbp-248h]
__int128 v45; // [rsp+10h] [rbp-248h]
__int64 v46; // [rsp+10h] [rbp-248h]
__int128 v47; // [rsp+10h] [rbp-248h]
__int64 v48; // [rsp+10h] [rbp-248h]
int v49; // [rsp+10h] [rbp-248h]
int v50; // [rsp+10h] [rbp-248h]
__int128 v51; // [rsp+18h] [rbp-240h]
__int64 v52; // [rsp+18h] [rbp-240h]
__int64 v53; // [rsp+18h] [rbp-240h]
__int64 v54; // [rsp+18h] [rbp-240h]
__int128 v55; // [rsp+18h] [rbp-240h]
__int128 v56; // [rsp+18h] [rbp-240h]
__int64 v57; // [rsp+18h] [rbp-240h]
__int64 v58; // [rsp+18h] [rbp-240h]
__int64 v59; // [rsp+18h] [rbp-240h]
__int64 v60; // [rsp+18h] [rbp-240h]
__int128 v61; // [rsp+18h] [rbp-240h]
__int64 v62; // [rsp+18h] [rbp-240h]
__int64 v63; // [rsp+18h] [rbp-240h]
__int64 v64; // [rsp+18h] [rbp-240h]
__int64 v65; // [rsp+18h] [rbp-240h]
__int64 v66; // [rsp+18h] [rbp-240h]
__int64 v67; // [rsp+18h] [rbp-240h]
__int64 v68; // [rsp+18h] [rbp-240h]
__int64 v69; // [rsp+18h] [rbp-240h]
__int64 v70; // [rsp+18h] [rbp-240h]
int v71; // [rsp+18h] [rbp-240h]
int v72; // [rsp+18h] [rbp-240h]
__int128 v73; // [rsp+20h] [rbp-238h]
__int64 v74; // [rsp+20h] [rbp-238h]
__int64 v75; // [rsp+20h] [rbp-238h]
__int64 v76; // [rsp+20h] [rbp-238h]
__int64 v77; // [rsp+20h] [rbp-238h]
__int64 v78; // [rsp+20h] [rbp-238h]
__int64 v79; // [rsp+20h] [rbp-238h]
__int64 v80; // [rsp+20h] [rbp-238h]
__int128 v81; // [rsp+20h] [rbp-238h]
__int64 v82; // [rsp+20h] [rbp-238h]
__int128 v83; // [rsp+20h] [rbp-238h]
__int64 v84; // [rsp+20h] [rbp-238h]
__int128 v85; // [rsp+20h] [rbp-238h]
__int64 *v86; // [rsp+20h] [rbp-238h]
__int64 v87; // [rsp+20h] [rbp-238h]
__int64 v88; // [rsp+20h] [rbp-238h]
__int64 v89; // [rsp+20h] [rbp-238h]
__int64 v90; // [rsp+20h] [rbp-238h]
__int64 v91; // [rsp+28h] [rbp-230h]
__int64 v92; // [rsp+28h] [rbp-230h]
__int64 v93; // [rsp+28h] [rbp-230h]
__int64 v94; // [rsp+28h] [rbp-230h]
__int64 v95; // [rsp+28h] [rbp-230h]
__int64 v96; // [rsp+28h] [rbp-230h]
__int128 v97; // [rsp+28h] [rbp-230h]
__int64 v98; // [rsp+28h] [rbp-230h]
__int64 v99; // [rsp+28h] [rbp-230h]
__int64 v100; // [rsp+28h] [rbp-230h]
__int64 v101; // [rsp+28h] [rbp-230h]
__int64 v102; // [rsp+28h] [rbp-230h]
unsigned __int64 v103; // [rsp+28h] [rbp-230h]
__int64 v104; // [rsp+30h] [rbp-228h]
__int64 v105; // [rsp+30h] [rbp-228h]
__int64 v106; // [rsp+30h] [rbp-228h]
__int64 v107; // [rsp+30h] [rbp-228h]
__int64 v108; // [rsp+30h] [rbp-228h]
__int64 v109; // [rsp+30h] [rbp-228h]
__int64 v110; // [rsp+30h] [rbp-228h]
unsigned __int64 v111; // [rsp+30h] [rbp-228h]
__int64 v112; // [rsp+30h] [rbp-228h]
__int64 v113; // [rsp+30h] [rbp-228h]
__int128 v114; // [rsp+38h] [rbp-220h]
__int128 v115; // [rsp+38h] [rbp-220h]
__int128 v116; // [rsp+38h] [rbp-220h]
__int64 v117; // [rsp+38h] [rbp-220h]
__int64 v118; // [rsp+38h] [rbp-220h]
__int64 v119; // [rsp+40h] [rbp-218h]
__int64 v120; // [rsp+40h] [rbp-218h]
__int64 v121; // [rsp+48h] [rbp-210h]
__int64 v122; // [rsp+48h] [rbp-210h]
__int64 v123; // [rsp+48h] [rbp-210h]
__int64 v124; // [rsp+50h] [rbp-208h]
char v125; // [rsp+5Fh] [rbp-1F9h]
__int64 v126; // [rsp+80h] [rbp-1D8h]
__int64 v127; // [rsp+88h] [rbp-1D0h]
__int64 v128; // [rsp+90h] [rbp-1C8h]
__int64 v129; // [rsp+98h] [rbp-1C0h]
__int64 v130; // [rsp+A0h] [rbp-1B8h]
__int64 v131; // [rsp+A8h] [rbp-1B0h]
__int64 v132; // [rsp+B0h] [rbp-1A8h]
__int64 v133; // [rsp+B8h] [rbp-1A0h]
__int64 v134; // [rsp+C0h] [rbp-198h]
__int64 v135; // [rsp+C8h] [rbp-190h]
__int64 v136; // [rsp+C8h] [rbp-190h]
__int64 v137; // [rsp+C8h] [rbp-190h]
__int64 v138; // [rsp+D0h] [rbp-188h]
unsigned __int64 v139; // [rsp+D8h] [rbp-180h]
__int64 v140; // [rsp+E0h] [rbp-178h]
__int64 v141; // [rsp+E0h] [rbp-178h]
unsigned __int64 v142; // [rsp+E0h] [rbp-178h]
char v143[32]; // [rsp+E8h] [rbp-170h] BYREF
char v144[32]; // [rsp+108h] [rbp-150h] BYREF
char v145[32]; // [rsp+128h] [rbp-130h] BYREF
__int64 v146; // [rsp+148h] [rbp-110h]
__int64 v147; // [rsp+150h] [rbp-108h]
__int64 v148; // [rsp+158h] [rbp-100h]
__int64 v149; // [rsp+160h] [rbp-F8h]
__int64 v150; // [rsp+168h] [rbp-F0h]
__int64 v151; // [rsp+170h] [rbp-E8h]
const char *v152; // [rsp+178h] [rbp-E0h]
__int64 v153; // [rsp+180h] [rbp-D8h]
__int64 v154; // [rsp+188h] [rbp-D0h]
__int64 *v155; // [rsp+190h] [rbp-C8h]
__int64 v156; // [rsp+198h] [rbp-C0h]
__int64 v157; // [rsp+1A0h] [rbp-B8h]
__int64 v158; // [rsp+1A8h] [rbp-B0h]
__int64 v159; // [rsp+1B0h] [rbp-A8h]
__int64 v160; // [rsp+1B8h] [rbp-A0h]
__int64 v161; // [rsp+1C0h] [rbp-98h]
__int64 v162; // [rsp+1C8h] [rbp-90h]
__int64 v163; // [rsp+1D0h] [rbp-88h]
__int64 v164; // [rsp+1D8h] [rbp-80h]
__int64 *v165; // [rsp+1E0h] [rbp-78h]
__int64 *v166; // [rsp+1E8h] [rbp-70h]
_QWORD v167[2]; // [rsp+1F0h] [rbp-68h] BYREF
__int128 v168; // [rsp+200h] [rbp-58h]
__int128 v169; // [rsp+210h] [rbp-48h]
__int128 v170; // [rsp+220h] [rbp-38h] BYREF
const char *v171; // [rsp+230h] [rbp-28h]
__int64 v172; // [rsp+238h] [rbp-20h]
const char *v173; // [rsp+240h] [rbp-18h]
__int64 v174; // [rsp+248h] [rbp-10h]
v166 = (__int64 *)runtime_newobject((__int64)byte_1308500);
v30 = (__int64 *)runtime_newobject((__int64)byte_1308500);
v165 = v30;
v0 = v166;
v166[1] = 0LL;
if ( dword_1EB4A20 )
runtime_gcWriteBarrierCX();
else
*v0 = 0LL;
flag___ptr_FlagSet__Var(
qword_1E77260,
(__int64)&off_163F380,
(__int64)v0,
(__int64)"debugdefer",
5LL,
(__int64)"debugdefer",
5LL);
v1 = (__int64)v165;
v165[1] = 0LL;
if ( dword_1EB4A20 )
runtime_gcWriteBarrier();
else
*(_QWORD *)v1 = 0LL;
flag___ptr_FlagSet__Var(qword_1E77260, (__int64)&off_163F380, v1, (__int64)"local", 5LL, (__int64)"local", 5LL);
if ( !qword_1E7C078 )
runtime_panicSliceB(v24, v31);
v104 = flag___ptr_FlagSet__Parse(
qword_1E77260,
(((1 - qword_1E7C080) >> 63) & 0x10) + qword_1E7C070,
qword_1E7C078 - 1,
qword_1E7C080 - 1,
v73);
v32 = runtime_newobject((__int64)&unk_1405120);
v164 = v32;
*(_QWORD *)(v32 + 208) = 7LL;
crypto_sha512___ptr_digest__Reset(v32);
v91 = runtime_convI2I((__int64)&unk_136DB40, (__int64)&off_1671280, v164, v51);
io_WriteString(v52, v74, *v166, v166[1], v74, v91, v104);
crypto_sha512___ptr_digest__Sum(v164, 0LL, 0LL, 0LL, v75, v92, v105);
v146 = v76;
v140 = 2 * v93;
runtime_makeslice((__int64)&unk_1308700, 2 * v93, 2 * v93, v53);
v163 = v54;
encoding_hex_Encode(v54, v140, v140, v76, v93, v106, v106);
runtime_slicebytetostring((__int64)v145, v163, v140, v55);
if ( *((_QWORD *)&v56 + 1) == 128LL )
{
*((_QWORD *)&v56 + 1) = runtime_memequal(
v56,
(__int64)"d1a9fdf56783d0b13d3574a4e7ce172a841ed9ee1526ba0a9d76979cf01359fe5cbe2458f800f9a00"
"868988b8317045d5046f9f3c08f2b1c56c9ca6dd90fd6be",
128LL,
v56);
if ( (_BYTE)v56 )
byte_1EB4530 = 1;
}
v33 = runtime_newobject((__int64)&unk_1405120);
v164 = v33;
*(_QWORD *)(v33 + 208) = 7LL;
crypto_sha512___ptr_digest__Reset(v33);
v94 = runtime_convI2I((__int64)&unk_136DB40, (__int64)&off_1671280, v164, v56);
io_WriteString(v57, v77, *v165, v165[1], v77, v94, v107);
crypto_sha512___ptr_digest__Sum(v164, 0LL, 0LL, 0LL, v78, v95, v108);
v147 = v79;
v141 = 2 * v96;
runtime_makeslice((__int64)&unk_1308700, 2 * v96, 2 * v96, v58);
v163 = v59;
*(_QWORD *)&v114 = encoding_hex_Encode(v59, v141, v141, v147, v96, v109, v109);
*(_QWORD *)&v34[32] = runtime_slicebytetostring((__int64)v144, v163, v141, *(__int128 *)&v34[16]);
if ( *(_QWORD *)&v34[24] == 128LL )
{
runtime_memequal(
*(__int64 *)&v34[16],
(__int64)"d1a9fdf56783d0b13d3574a4e7ce172a841ed9ee1526ba0a9d76979cf01359fe5cbe2458f800f9a00868988b8317045d5046f9f3c"
"08f2b1c56c9ca6dd90fd6be",
128LL,
v34[16]);
if ( v34[16] )
byte_1EB4531 = 1;
}
if ( byte_1EB4531 )
{
*(_QWORD *)&v41[16] = os_Getenv((__int64)"HOME", 4LL, *(__int64 *)&v34[8], *(__int64 *)&v34[16]);
if ( *(_QWORD *)&v41[8] )
{
v170 = *(_OWORD *)v41;
v171 = ".kube";
v172 = 5LL;
v173 = "config";
v174 = 6LL;
path_filepath_join((__int64)&v170, 3LL, 3LL, *(__int128 *)&v41[8]);
*((_QWORD *)&v114 + 1) = flag___ptr_FlagSet__String(
qword_1E77260,
(__int64)"kubeconfig",
10LL,
v60,
v80,
(__int64)"(optional) absolute path to the kubeconfig file",
47LL,
v114);
}
else
{
*((_QWORD *)&v114 + 1) = flag___ptr_FlagSet__String(
qword_1E77260,
(__int64)"kubeconfig",
10LL,
0LL,
0LL,
(__int64)"absolute path to the kubeconfig file",
36LL,
v114);
}
if ( !qword_1E7C078 )
runtime_panicSliceB(v26, v35);
v155 = (__int64 *)v114;
*((_QWORD *)&v97 + 1) = flag___ptr_FlagSet__Parse(
qword_1E77260,
qword_1E7C070 + (((1 - qword_1E7C080) >> 63) & 0x10),
qword_1E7C078 - 1,
qword_1E7C080 - 1,
v81);
*(_QWORD *)&v114 = k8s_io_client_go_tools_clientcmd_BuildConfigFromFlags(0LL, 0LL, *v155, v155[1], v82, v97);
v2 = *(_QWORD *)&v34[24];
if ( *(_QWORD *)&v34[32] )
{
v160 = *(_QWORD *)&v34[24];
v167[0] = byte_1308500;
v167[1] = &off_1626BE0;
*((_QWORD *)&v114 + 1) = fmt_Fprintln(
(__int64)&off_163B0C0,
qword_1E79058,
(__int64)v167,
1LL,
1LL,
*(__int64 *)&v34[32],
*(__int64 *)&v34[40],
v114);
*(_QWORD *)v34 = os_Exit(-1LL);
v2 = v160;
}
}
else
{
*(_QWORD *)&v34[16] = k8s_io_client_go_rest_InClusterConfig(v25, *(__int128 *)v34);
v23 = v29;
if ( *(_QWORD *)v34 )
{
v160 = v29;
*(_QWORD *)&v34[32] = *(_QWORD *)&v34[8];
main_console((__int64)"MY9S", 4LL, (__int64)"Helmsman, where are you? ", 29LL, *(__int64 *)v34);
*(_QWORD *)v34 = os_Exit(-1LL);
v23 = v160;
}
v2 = v23;
}
*(_QWORD *)&v34[24] = k8s_io_client_go_kubernetes_NewForConfig(v2, *(__int64 *)v34, *(__int128 *)&v34[8]);
v3 = *(_QWORD *)v34;
v161 = *(_QWORD *)v34;
if ( *(_QWORD *)&v34[8] )
{
*(_QWORD *)&v34[32] = *(_QWORD *)&v34[16];
main_console(
(__int64)"571c",
4LL,
(__int64)"Hmmmm, it seems Helmsman has an issue (>_<)",
43LL,
*(__int64 *)&v34[8]);
os_Exit(-1LL);
v3 = v161;
}
if ( byte_1EB4531 )
{
v4 = 35LL;
v5 = "helmsman-deployment-84bfd6f95-82dcb";
}
else
{
*(_QWORD *)&v114 = io_ioutil_ReadFile(
(__int64)"/etc/hostname",
13LL,
*(__int64 *)&v34[8],
*(__int128 *)&v34[16],
*(__int128 *)&v34[32]);
v18 = *(_QWORD *)&v34[8];
v19 = *(_QWORD *)&v34[16];
if ( *(_QWORD *)&v34[32] )
{
v153 = *(_QWORD *)&v34[8];
v131 = *(_QWORD *)&v34[16];
main_console((__int64)"YCuY", 4LL, (__int64)"Cant get pod name", 17LL, *(__int64 *)&v34[32]);
os_Exit(-1LL);
v18 = v153;
v19 = v131;
}
*(_QWORD *)&v34[32] = runtime_slicebytetostring(0LL, v18, v19, *(__int128 *)&v34[16]);
v20 = *(_QWORD *)&v34[16];
if ( *(__int64 *)&v34[24] < 1 )
{
v22 = *(_QWORD *)&v34[24];
v21 = 0;
}
else
{
v1 = 1LL;
v151 = *(_QWORD *)&v34[16];
v142 = *(_QWORD *)&v34[24];
*(_QWORD *)&v34[24] = runtime_memequal(
*(_QWORD *)&v34[16] + *(_QWORD *)&v34[24] - 1LL,
(__int64)"\n\r\t",
1LL,
v34[16]);
v21 = v34[16];
v20 = v151;
v22 = v142;
}
if ( v21 )
{
v4 = v22 - 1;
if ( v22 - 1 > v22 )
runtime_panicSliceAlen(v28, *(__int64 *)v34);
}
else
{
v4 = v22;
}
v5 = (const char *)v20;
v3 = v161;
}
v152 = v5;
v130 = v4;
main_getDeploymentFromPod(v3, (__int64)v5, v4, *(__int64 *)&v34[16], *(__int128 *)&v34[24]);
v159 = v61;
*((_QWORD *)&v6 + 1) = v98;
if ( *((_QWORD *)&v61 + 1) )
{
v168 = 0LL;
v169 = 0LL;
*(_QWORD *)&v6 = *(_QWORD *)(*((_QWORD *)&v61 + 1) + 8LL);
v168 = v6;
v43 = runtime_convTstring((__int64)v152, v130);
*(_QWORD *)&v169 = byte_1308500;
*((_QWORD *)&v169 + 1) = v43;
fmt_Errorf((const char *)v1);
main_console((__int64)"HdhK", 4LL, (__int64)"Hmmmm, it seems Helmsman deployment has an issue 😒", 53LL, v98);
os_Exit(-1LL);
}
*((_QWORD *)&v83 + 1) = main_getServiceFromDeployment(v161, v159, v42, v61);
v7 = v44;
if ( v62 )
{
v158 = v83;
v137 = v62;
v148 = v44;
strconv_FormatInt(qword_1E09370, 10LL, v44, v62);
runtime_concatstring3(
0LL,
(char)"Look at me by the ",
18,
v50,
v72,
(unsigned int)" ingress ",
13,
v114,
*((__int64 *)&v114 + 1));
*((_QWORD *)&v83 + 1) = v158;
main_console((__int64)"KKeW", 4LL, v114, *((__int64 *)&v114 + 1), v137);
os_Exit(-1LL);
v7 = v148;
}
main_getIngressFromService(v161, v7, qword_1E09370, v62, v83);
if ( v84 )
{
v158 = v99;
v136 = v84;
strconv_FormatInt(qword_1E09370, 10LL, v45, *((__int64 *)&v45 + 1));
runtime_concatstring3(
0LL,
(char)"Look at me by the ",
18,
v49,
v71,
(unsigned int)" ingress ",
13,
v114,
*((__int64 *)&v114 + 1));
main_console((__int64)"Msnb", 4LL, v114, *((__int64 *)&v114 + 1), v136);
v36 = os_Exit(-1LL);
}
main_isTraefikDeployed(v161, v36, v45);
if ( v46 )
{
v125 = v37;
main_console((__int64)"AWuM", 4LL, (__int64)"Hmmmm, it seems Helmsman has an issue 😒", 42LL, v46);
os_Exit(-1LL);
v8 = v125 == 0;
}
else
{
v8 = v37 == 0;
}
if ( v8 )
{
main_console(
(__int64)"WomF",
4LL,
(__int64)"Come on, you are applying to Traefik Labs! Get yourself a decent ingress 😏",
77LL,
0LL);
os_Exit(-1LL);
}
main_console((__int64)"NL35", 4LL, (__int64)"You have set up your cluster in good taste 😉", 47LL, 0LL);
v85 = 0LL;
main_console(
(__int64)"tPm3",
4LL,
(__int64)"Now that you have set up an ingress... You should be able find me...",
68LL,
0LL);
*(_QWORD *)&v85 = main_getSecret(v161, v38, v47);
v9 = v39;
if ( v48 )
{
v156 = v39;
runtime_stringtoslicebyte(
0LL,
(__int64)"\n"
"<!DOCTYPE html>\n"
"<html lang=\"en\">\n"
"<head>\n"
"</head>\n"
"<body>\n"
"<center>\n"
"I have to tell you something...</br>\n"
"Something that nobody should know.</br>\n"
"However, everyone could see it.</br>\n"
"It's even part of my public image.</br>\n"
"Come back when you know more.</br>\n"
"But remember, it's a secret \u1F92B</br>\n"
"</center>\n"
"</body>\n"
"</html>\n",
318LL,
v63,
v85,
*((__int64 *)&v85 + 1));
main_startServer(v69, v85, *((__int64 *)&v85 + 1), v69, v85);
if ( v70 )
{
main_console((__int64)"Cdyy", 4LL, (__int64)"Ouch. Something went wrong starting a web server", 48LL, v70);
os_Exit(-1LL);
}
v9 = v156;
}
v100 = runtime_mapaccess1_faststr((__int64)"\b", *(_QWORD *)(v9 + 288), (__int64)"helmsman", 8LL, v85);
v150 = *v86;
v128 = v86[1];
v129 = v86[2];
encoding_base64___ptr_Encoding__EncodeToString(qword_1E77240, v150, v128, v129, (__int64)v86, v100);
runtime_stringtoslicebyte((__int64)v143, v87, v101, v64, v87, v101);
v149 = v65;
v126 = v88;
v127 = v102;
v110 = runtime_stringtoslicebyte(
0LL,
(__int64)"d3f7837847125a3be7094b4c0963ba33e6f0f651d903f2a2979971cfda4ecbc52839c7aae2a7e11f34cf995797e4a167c7e0"
"31d5505e1693b44fdbc4e16fe8858c558ad1824eaf0ef7d4a8c9d45f747728e38a9d9db80672f3b7ea18be57fa66dad4f4eb"
"bcbb43ff96725991f13c8e3b19ad01726590cafbb800f297077f03233896f1c03c60329aa514fc6fd25e8535cd76277b7e38"
"a2e77b5e9748f0b06860217fe1acda4a2b7ae292363249dff9d7ba3aa5d087853a421b1465b38b917e4b3a42f5acef2481c7"
"54811128d3d5088a53fdf639d7d73971a908ff4b4b670d556c5576d2234bda81b5cf3d3e4cf3d60c0f183c42828ff99df2af"
"59984b62d2170468b374b49888768f41e3469fdfbca88e5ed2e07837280715c1dfa5184a24c871e9b5c0c5fecbaa27f1490f"
"f10e28289f05b47e0885dee9d8c1524d63b7cc9a29d24e77",
648LL,
v65,
v88,
v102);
v139 = v103;
v162 = v66;
v121 = encoding_hex_Decode(v66, v89, v103, v66, v89, v103, v110, v114);
v10 = v111;
v11 = v139;
if ( v111 > v139 )
runtime_panicSliceAcap(v27, v40);
v138 = v111;
if ( (_QWORD)v115 )
{
v157 = *((_QWORD *)&v115 + 1);
v134 = v115;
v121 = runtime_concatstring3(
0LL,
(char)"Come on! ",
9,
v149,
v126,
(unsigned int)" is not even a secret!",
22,
v115,
*((__int64 *)&v115 + 1));
main_console((__int64)"d3Dw", 4LL, v115, *((__int64 *)&v115 + 1), v134);
os_Exit(-1LL);
v10 = v138;
v11 = v139;
}
v124 = main_decrypt(v162, v10, v11, v150, v128, v129, v111, v115, v121);
v12 = v112;
v14 = *((_QWORD *)&v116 + 1);
v13 = v116;
if ( v122 )
{
v135 = v122;
v158 = v124;
main_decrypt(v162, v138, v139, v149, v126, v127, v112, v116, v122);
v15 = v113;
v16 = v117;
v17 = v119;
if ( v123 )
{
v154 = v113;
v132 = v117;
v133 = v119;
runtime_concatstring3(
0LL,
(char)"Come on! ",
9,
v149,
v126,
(unsigned int)" is not even a secret!",
22,
v117,
v119);
main_console((__int64)"r85x", 4LL, v118, v120, v135);
os_Exit(-1LL);
v15 = v154;
v16 = v132;
v17 = v133;
}
v14 = v17;
v13 = v16;
v12 = v15;
}
main_startServer(v12, v13, v14, v67, v90);
if ( v68 )
{
main_console((__int64)"uvKrvary", 4LL, (__int64)"Ouch. Something went wrong starting a web server", 48LL, v68);
os_Exit(-1LL);
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment