Function at 0x4042b0
Capabilities:
Create http request
Read data from internet
Receive data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x46dcb8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, 0x1020
call fcn.00419250
push ebx
push esi
push edi
mov ebx, ecx
mov dword [ebp - 0x10], esp
push 0
push 0
push 0
push 0
push 0x488554
mov dword [ebp - 0x18], ebx
mov dword [ebp - 4], 0
call dword [sym.imp.WININET.dll_InternetOpenA]
mov edi, eax
test edi, edi
mov dword [ebp - 0x1c], edi
je 0x404362
mov al, byte [ebp + 0xb]
push 0
lea ecx, [ebp - 0x30]
mov byte [ebp - 0x30], al
call fcn.00403160
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 1
push ecx
mov ecx, ebx
call fcn.004048f0
mov eax, dword [ebp - 0x2c]
test eax, eax
jne 0x40432c
mov eax, 0x473a84
push eax
push 0x4881a0
push str.GetUrlAddr__
push str._HTTP
call fcn.004094d0
mov eax, dword [ebp - 0x28]
add esp, 0x10
test eax, eax
jne 0x404392
mov ecx, dword [ebp - 0x2c]
test ecx, ecx
je 0x404362
mov al, byte [ecx - 1]
test al, al
je 0x404375
cmp al, 0xff
je 0x404375
dec al
mov byte [ecx - 1], al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
dec ecx
push ecx
call fcn.00459108
mov ecx, dword [ebp - 0xc]
add esp, 4
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov eax, dword [ebp - 0x2c]
test eax, eax
jne 0x40439e
mov eax, 0x473a84
push 0
push 0x4000000
push 0
push 0
push eax
push edi
call dword [sym.imp.WININET.dll_InternetOpenUrlA]
mov esi, eax
test esi, esi
mov dword [ebp - 0x20], esi
je 0x404508
mov dword [ebp - 0x14], 1
jmp 0x4043ca
mov ebx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x14]
test eax, eax
jbe 0x4044d7
lea edx, [ebp - 0x14]
lea eax, [ebp - 0x830]
push edx
push 0x3ff
push eax
push esi
call dword [sym.imp.WININET.dll_InternetReadFile]
mov ecx, dword [ebp - 0x14]
xor eax, eax
lea edi, [ebp - 0x42f]
mov byte [ebp - 0x430], 0
mov byte [ebp + ecx - 0x830], 0
mov ecx, 0xff
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, 0x1ff
xor eax, eax
lea edi, [ebp - 0x102e]
mov word [ebp - 0x1030], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea edx, [ebp - 0x830]
push 0x400
lea eax, [ebp - 0x1030]
push edx
push eax
mov ecx, ebx
call fcn.004048a0
lea ecx, [ebp - 0x1030]
push 0x400
lea edx, [ebp - 0x430]
push ecx
push edx
mov ecx, ebx
call fcn.00404850
lea edi, [ebp - 0x430]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
mov eax, dword [0x473a88]
dec ecx
mov edi, ecx
mov ecx, dword [ebp + 8]
sub eax, dword [ecx + 8]
cmp eax, edi
ja 0x404484
call fcn.0043f3a0
test edi, edi
jbe 0x4043ca
mov ecx, dword [ebp + 8]
push 0
mov ebx, dword [ecx + 8]
add ebx, edi
push ebx
call fcn.004032f0
test al, al
je 0x4043c7
mov eax, dword [ebp + 8]
mov ecx, edi
lea esi, [ebp - 0x430]
mov edi, dword [eax + 8]
mov edx, dword [eax + 4]
add edi, edx
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov esi, dword [ebp - 0x20]
mov dword [eax + 8], ebx
mov eax, dword [eax + 4]
mov byte [eax + ebx], 0
jmp 0x4043c7
mov ecx, dword [ebp + 8]
mov eax, dword [ecx + 4]
test eax, eax
jne 0x4044e6
mov eax, 0x473a84
push eax
push 0x4881a0
push str.GetUrlResult__
push str._HTTP
call fcn.004094d0
add esp, 0x10
push esi
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov edi, dword [ebp - 0x1c]
push edi
call dword [sym.imp.WININET.dll_InternetCloseHandle]
jmp 0x40434b