Function at 0x408560
Capabilities:
Read data from internet
Receive data

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x4a86d8
push 0x47eeb0
mov eax, dword fs:[0]
push eax
sub esp, 0x7c
mov eax, dword [0x4aab30]
xor dword [ebp - 8], eax
xor eax, ebp
mov dword [ebp - 0x20], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov ebx, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x80], eax
mov dword [ebp - 0x6c], ecx
mov dword [ebp - 0x78], edx
xor eax, eax
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x68], eax
mov dword [ebp - 0x70], eax
mov dword [ebp - 0x64], eax
mov ecx, 0xc
mov esi, str.Content_Type:_application_x_www_form_urlencoded
lea edi, [ebp - 0x50]
rep movsd dword es:[edi], dword [esi]
mov dword [ebp - 0x88], 0x49e240
mov dword [ebp - 0x84], eax
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x5c], eax
mov dword [ebp - 4], eax
cmp edx, eax
je 0x4085e1
mov dword [edx], eax
mov ecx, dword [ebp + 0x10]
cmp ecx, eax
je 0x408620
lea edx, [ebp + 0x14]
push edx
push ecx
call fcn.0047c5ba
mov esi, eax
inc esi
push esi
call fcn.0047a780
add esp, 0xc
mov dword [ebp - 0x60], eax
test eax, eax
je 0x408755
lea eax, [ebp + 0x14]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
push esi
mov edx, dword [ebp - 0x60]
push edx
call fcn.0047be02
add esp, 0x10
xor eax, eax
mov edi, dword [ebp - 0x60]
cmp edi, eax
je 0x40863d
mov eax, edi
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x408630
sub eax, edx
mov edx, eax
jmp 0x40863f
xor edx, edx
lea eax, [ebp - 0x50]
lea esi, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x408645
sub eax, esi
lea ecx, [ebp - 0x64]
push ecx
lea ecx, [ebp - 0x70]
push ecx
lea ecx, [ebp - 0x68]
push ecx
push edx
push edi
push eax
lea edx, [ebp - 0x50]
push edx
lea eax, [ebp - 0x88]
push eax
push ebx
mov edx, dword [ebp - 0x6c]
mov ecx, dword [ebp - 0x80]
call fcn.00407f80
add esp, 0x24
mov dword [ebp - 0x58], eax
test eax, eax
je 0x408696
mov ecx, dword [ebp - 0x6c]
push ecx
push ebx
push 0x49e244
push eax
call fcn.0040a310
add esp, 0x10
jmp 0x408755
mov ebx, 0x400
mov dword [ebp - 0x74], ebx
push ebx
call fcn.0047a780
add esp, 4
mov esi, eax
mov dword [ebp - 0x54], esi
test esi, esi
je 0x408755
push ebx
push 0
push esi
call fcn.0047d730
add esp, 0xc
xor edi, edi
mov dword [ebp - 0x7c], edi
mov dword [ebp - 0x5c], 0
lea edx, [ebp - 0x5c]
push edx
mov eax, ebx
sub eax, edi
dec eax
push eax
lea ecx, [edi + esi]
push ecx
mov edx, dword [ebp - 0x64]
push edx
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
jne 0x4086f3
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x58], eax
jmp 0x408741
mov eax, dword [ebp - 0x5c]
test eax, eax
je 0x408741
add edi, eax
mov dword [ebp - 0x7c], edi
lea eax, [ebx - 1]
cmp edi, eax
jb 0x408741
lea esi, [ebx + 0x2800]
push esi
mov ecx, dword [ebp - 0x54]
push ecx
call fcn.0047ba93
add esp, 8
test eax, eax
jne 0x408726
mov dword [ebp - 0x58], 8
jmp 0x40873e
mov dword [ebp - 0x54], eax
mov ebx, esi
mov dword [ebp - 0x74], ebx
sub esi, edi
push esi
push 0
add eax, edi
push eax
call fcn.0047d730
add esp, 0xc
mov esi, dword [ebp - 0x54]
cmp dword [ebp - 0x5c], 0
je 0x408751
cmp dword [ebp - 0x58], 0
je 0x4086c5
mov byte [edi + esi], 0
mov dword [ebp - 4], 0xfffffffe
call fcn.00408780
mov eax, dword [ebp - 0x58]
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x20]
xor ecx, ebp
call fcn.0047a722
mov esp, ebp
pop ebp
ret