Function at 0x403e70
Capabilities:
Read data from internet
Receive data
Send data
Send http request

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43a0ff
mov eax, dword fs:[0]
push eax
sub esp, 0x4dc
mov eax, dword [0x447004]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x4a4], ecx
mov eax, dword [ebp + 8]
mov esi, 7
mov edi, dword [ebp + 0x14]
mov dword [ebp - 0x418], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x4b4], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x4a8], eax
xor eax, eax
mov dword [ebp - 0x420], eax
mov dword [ebp - 0x498], eax
mov dword [ebp - 0x4ac], edi
mov dword [ebp - 0x4a0], eax
mov dword [ebp - 0x488], eax
mov dword [ebp - 0x484], esi
mov word [ebp - 0x498], ax
push eax
mov dword [ebp - 4], eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x403f08
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov dword [ebp - 0x468], 0
mov dword [ebp - 0x458], 0
mov dword [ebp - 0x454], 7
mov word [ebp - 0x468], ax
mov dword [ebp - 0x450], eax
mov dword [ebp - 0x440], eax
mov dword [ebp - 0x43c], 7
mov word [ebp - 0x450], ax
lea eax, [ebp - 0x450]
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x418]
lea edx, [ebp - 0x41c]
push eax
call fcn.004033a0
add esp, 4
test al, al
jne 0x403fb5
mov edx, dword [ebp - 0x43c]
cmp edx, 8
jb 0x403fff
mov ecx, dword [ebp - 0x450]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x403fa9
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x404835
push edx
push ecx
call fcn.00409391
add esp, 8
jmp 0x403fff
lea eax, [ebp - 0x468]
push eax
lea eax, [ebp - 0x498]
push eax
lea eax, [ebp - 0x418]
push eax
mov eax, dword [ebp - 0x41c]
lea ecx, [ebp - 0x450]
mov edx, eax
mov dword [ebp - 0x41c], eax
call fcn.00403210
add esp, 0xc
lea ecx, [ebp - 0x450]
test al, al
jne 0x4040b5
call fcn.00406760
mov esi, dword [ebp - 0x484]
mov edx, dword [ebp - 0x454]
cmp edx, 8
jb 0x40403f
mov ecx, dword [ebp - 0x468]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x404035
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x404844
push edx
push ecx
call fcn.00409391
add esp, 8
xor eax, eax
mov dword [ebp - 0x458], 0
mov dword [ebp - 0x454], 7
mov word [ebp - 0x468], ax
cmp esi, 8
jb 0x404096
mov ecx, dword [ebp - 0x498]
lea edx, [esi*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40408c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x404844
push edx
push ecx
call fcn.00409391
add esp, 8
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00409353
mov esp, ebp
pop ebp
ret 0x10
mov byte [ebp - 4], 1
call fcn.00406760
mov ecx, dword [ebp - 0x41c]
mov esi, 1
call fcn.00405df0
test al, al
je 0x4040e4
mov ecx, dword [ebp - 0x4a4]
call fcn.00403a00
xor ecx, ecx
test al, al
cmove esi, ecx
mov ecx, dword [ebp - 0x484]
lea eax, [ebp - 0x498]
push esi
push dword [ebp - 0x418]
mov dword [ebp - 0x4b8], ecx
sub esp, 0x18
cmp ecx, 8
mov ecx, dword [ebp - 0x498]
mov esi, esp
cmovae eax, ecx
mov dword [ebp - 0x4b0], ecx
mov ecx, dword [ebp - 0x488]
mov dword [ebp - 0x49c], eax
mov dword [esi], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [ebp - 0x418], ecx
cmp ecx, 8
jae 0x40414f
movups xmm0, xmmword [eax]
mov eax, 7
movups xmmword [esi], xmm0
jmp 0x4041eb
mov eax, ecx
mov ecx, 0x7ffffffe
or eax, 7
cmp eax, ecx
cmova eax, ecx
xor ecx, ecx
mov dword [ebp - 0x420], eax
add eax, 1
setb cl
neg ecx
or ecx, eax
cmp ecx, 0x7fffffff
ja 0x404830
add ecx, ecx
cmp ecx, 0x1000
jb 0x4041ad
lea eax, [ecx + 0x23]
cmp eax, ecx
jbe 0x404830
push eax
call fcn.00409361
add esp, 4
test eax, eax
je 0x404844
lea ecx, [eax + 0x23]
and ecx, 0xffffffe0
mov dword [ecx - 4], eax
jmp 0x4041c0
test ecx, ecx
je 0x4041be
push ecx
call fcn.00409361
add esp, 4
mov ecx, eax
jmp 0x4041c0
xor ecx, ecx
mov eax, dword [ebp - 0x418]
mov dword [esi], ecx
lea eax, [eax*2 + 2]
push eax
push dword [ebp - 0x49c]
push ecx
call fcn.004134e0
mov eax, dword [ebp - 0x420]
add esp, 0xc
mov ecx, dword [ebp - 0x418]
mov dword [esi + 0x10], ecx
mov dword [esi + 0x14], eax
mov esi, dword [ebp - 0x4a4]
mov ecx, esi
call fcn.00406420
mov al, byte [esi + 0x18]
test al, al
je 0x404794
mov esi, dword [ebp - 0x41c]
xor eax, eax
mov edx, dword [ebp - 0x4a8]
mov ecx, 0x4883000
cmp esi, 1
cmove eax, ecx
lea ecx, [ebp - 0x4e8]
mov dword [ebp - 0x420], eax
call fcn.00403560
cmp dword [ebp - 0x454], 8
lea ecx, [ebp - 0x468]
cmovae ecx, dword [ebp - 0x468]
cmp dword [eax + 0x14], 8
jb 0x40424f
mov eax, dword [eax]
push 0
push dword [ebp - 0x420]
push 0
push 0
push str.HTTP_1.0
push ecx
push eax
mov eax, dword [ebp - 0x4a4]
push dword [eax + 0x20]
call dword [sym.imp.WININET.dll_HttpOpenRequestW]
lea ecx, [ebp - 0x4e8]
mov dword [ebp - 0x49c], eax
call fcn.00406760
cmp dword [ebp - 0x49c], 0
je 0x404762
cmp esi, 1
mov esi, dword [ebp - 0x49c]
jne 0x4042d7
lea eax, [ebp - 0x420]
mov dword [ebp - 0x420], 4
push eax
lea eax, [ebp - 0x41c]
push eax
push 0x1f
push esi
call dword [sym.imp.WININET.dll_InternetQueryOptionW]
or dword [ebp - 0x41c], 0x100
lea eax, [ebp - 0x41c]
push 4
push eax
push 0x1f
push esi
call dword [sym.imp.WININET.dll_InternetSetOptionW]
mov eax, dword [ebp - 0x4a8]
cmp eax, 1
jne 0x4044b4
push str.Content_Type:_application_x_www_form_urlencoded
lea ecx, [ebp - 0x480]
call fcn.00407530
mov byte [ebp - 4], 4
mov ecx, edi
mov eax, dword [ebp - 0x4a0]
or eax, 2
mov dword [ebp - 0x438], 0
cmp dword [edi + 0x14], 8
mov dword [ebp - 0x428], 0
mov dword [ebp - 0x424], 0xf
mov byte [ebp - 0x438], 0
mov dword [ebp - 0x420], eax
jb 0x404338
mov ecx, dword [edi]
push 0
push 0
lea eax, [edi + 0x10]
push 0
mov dword [ebp - 0x4a8], eax
mov eax, dword [eax]
push 0
inc eax
push eax
push ecx
push 0
push 3
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov esi, eax
mov dword [ebp - 0x4a0], esi
test esi, esi
je 0x404452
mov edx, dword [ebp - 0x428]
lea ecx, [esi - 1]
cmp ecx, edx
ja 0x404395
cmp dword [ebp - 0x424], 0x10
lea eax, [ebp - 0x438]
mov dword [ebp - 0x428], ecx
cmovae eax, dword [ebp - 0x438]
mov byte [eax + ecx], 0
jmp 0x4043fa
mov eax, dword [ebp - 0x424]
mov edi, ecx
sub edi, edx
sub eax, edx
cmp edi, eax
ja 0x4043d9
cmp dword [ebp - 0x424], 0x10
lea esi, [ebp - 0x438]
push edi
cmovae esi, dword [ebp - 0x438]
add esi, edx
mov dword [ebp - 0x428], ecx
push 0
push esi
call fcn.0040b160
mov byte [edi + esi], 0
add esp, 0xc
mov esi, dword [ebp - 0x4a0]
jmp 0x4043f4
push ecx
push edi
mov byte [ebp - 0x4a0], 0
lea ecx, [ebp - 0x438]
push dword [ebp - 0x4a0]
push edi
call fcn.00407260
mov edi, dword [ebp - 0x4ac]
cmp dword [ebp - 0x424], 0x10
lea eax, [ebp - 0x438]
cmovae eax, dword [ebp - 0x438]
cmp dword [edi + 0x14], 8
jb 0x404416
mov edi, dword [edi]
push 0
push 0
push esi
push eax
mov eax, dword [ebp - 0x4a8]
mov eax, dword [eax]
inc eax
push eax
push edi
push 0
push 3
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
test eax, eax
jne 0x404452
cmp dword [ebp - 0x424], 0x10
mov dword [ebp - 0x428], eax
lea eax, [ebp - 0x438]
cmovae eax, dword [ebp - 0x438]
mov byte [eax], 0
mov esi, dword [ebp - 0x49c]
lea ecx, [ebp - 0x438]
mov dword [ebp - 4], 3
lea eax, [ebp - 0x480]
cmp dword [ebp - 0x424], 0x10
push dword [ebp - 0x428]
cmovae ecx, dword [ebp - 0x438]
cmp dword [ebp - 0x46c], 8
push ecx
push dword [ebp - 0x470]
cmovae eax, dword [ebp - 0x480]
push eax
push esi
call dword [sym.imp.WININET.dll_HttpSendRequestW]
lea ecx, [ebp - 0x438]
call fcn.00406820
lea ecx, [ebp - 0x480]
call fcn.00406760
jmp 0x4044c3
test eax, eax
jne 0x4044c3
push eax
push eax
push eax
push eax
push esi
call dword [sym.imp.WININET.dll_HttpSendRequestW]
mov dword [ebp - 0x450], 0
mov dword [ebp - 0x440], 0
mov dword [ebp - 0x43c], 0xf
mov byte [ebp - 0x450], 0
lea eax, [ebp - 0x418]
mov byte [ebp - 4], 5
push eax
push 0x400
lea eax, [ebp - 0x414]
mov dword [ebp - 0x418], 0
push eax
push esi
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x4045e7
nop dword [eax + eax]
mov eax, dword [ebp - 0x418]
test eax, eax
je 0x4045e7
cmp eax, 0x401
jae 0x40483f
lea edi, [ebp - 0x414]
mov byte [ebp + eax - 0x414], 0
lea ecx, [edi + 1]
nop word [eax + eax]
mov al, byte [edi]
inc edi
test al, al
jne 0x404550
mov edx, dword [ebp - 0x43c]
sub edi, ecx
mov ecx, dword [ebp - 0x440]
mov eax, edx
sub eax, ecx
push edi
cmp edi, eax
ja 0x4045a5
lea eax, [ecx + edi]
cmp edx, 0x10
mov dword [ebp - 0x440], eax
lea esi, [ebp - 0x450]
cmovae esi, dword [ebp - 0x450]
lea eax, [ebp - 0x414]
add esi, ecx
push eax
push esi
call fcn.004134e0
mov byte [edi + esi], 0
add esp, 0xc
mov esi, dword [ebp - 0x49c]
jmp 0x4045c5
lea eax, [ebp - 0x414]
mov byte [ebp - 0x4a0], 0
push eax
push dword [ebp - 0x4a0]
lea ecx, [ebp - 0x450]
push edi
call fcn.004081b0
lea eax, [ebp - 0x418]
push eax
push 0x400
lea eax, [ebp - 0x414]
push eax
push esi
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
jne 0x404520
cmp dword [ebp - 0x43c], 0x10
lea edx, [ebp - 0x450]
mov dword [ebp - 0x438], 0
cmovae edx, dword [ebp - 0x450]
mov ecx, edx
mov dword [ebp - 0x428], 0
mov dword [ebp - 0x424], 0xf
mov byte [ebp - 0x438], 0
lea edi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x404625
sub ecx, edi
push ecx
push edx
lea ecx, [ebp - 0x438]
call fcn.00408920
push ecx
lea edx, [ebp - 0x438]
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x480]
call fcn.00404fb0
add esp, 4
mov edx, eax
mov byte [ebp - 4], 7
cmp dword [edx + 0x14], 8
jb 0x404662
mov edx, dword [edx]
mov ecx, edx
mov dword [ebp - 0x4d0], 0
mov dword [ebp - 0x4c0], 0
mov dword [ebp - 0x4bc], 7
lea edi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x404685
sub ecx, edi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x4d0]
call fcn.00407760
mov edx, dword [ebp - 0x46c]
cmp edx, 8
jb 0x4046e1
mov ecx, dword [ebp - 0x480]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4046d7
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40483a
push edx
push ecx
call fcn.00409391
add esp, 8
mov edx, dword [ebp - 0x424]
xor eax, eax
mov dword [ebp - 0x470], 0
mov dword [ebp - 0x46c], 7
mov word [ebp - 0x480], ax
cmp edx, 0x10
jb 0x404738
mov ecx, dword [ebp - 0x438]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40472e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40483a
push edx
push ecx
call fcn.00409391
add esp, 8
mov ecx, dword [ebp - 0x4b4]
lea eax, [ebp - 0x4d0]
push eax
call fcn.004074b0
lea ecx, [ebp - 0x4d0]
call fcn.00406760
lea ecx, [ebp - 0x450]
call fcn.00406820
jmp 0x404768
mov esi, dword [ebp - 0x49c]
mov eax, dword [sym.imp.WININET.dll_InternetCloseHandle]
push esi
call eax
mov esi, dword [ebp - 0x4a4]
mov al, byte [esi + 0x18]
test al, al
je 0x404794
push dword [esi + 0x20]
call dword [sym.imp.WININET.dll_InternetCloseHandle]
push dword [esi + 0x1c]
mov eax, dword [sym.imp.WININET.dll_InternetCloseHandle]
call eax
mov byte [esi + 0x18], 0
mov edx, dword [ebp - 0x454]
cmp edx, 8
jb 0x4047d0
mov ecx, dword [ebp - 0x468]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4047c6
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x404844
push edx
push ecx
call fcn.00409391
add esp, 8
mov ecx, dword [ebp - 0x4b8]
xor eax, eax
mov dword [ebp - 0x458], 0
mov dword [ebp - 0x454], 7
mov word [ebp - 0x468], ax
cmp ecx, 8
jb 0x404829
mov edx, dword [ebp - 0x4b0]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x40481f
mov edx, dword [edx - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x404844
push ecx
push edx
call fcn.00409391
add esp, 8
mov al, 1
jmp 0x404098
call fcn.00406660
call fcn.00413e93
call fcn.00413e93
call fcn.004094eb
call fcn.00413e93
int3