Function at 0x488810
Capabilities:
Create http request
Read data from internet
Receive data
Reference http user-agent string

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffa88
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x578], ebx
mov dword [ebp - 0x574], ebx
mov dword [ebp - 0x24], ebx
mov esi, ecx
mov edi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x488a7c
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x574]
mov ecx, ebx
mov edx, 0x488a98
call fcn.00404c7c
mov eax, dword [ebp - 0x574]
call fcn.0047d668
push 0
push 0
mov eax, dword [0x4dab90]
push eax
xor eax, eax
mov al, byte [0x4dab8c]
push eax
push 0x488aac
call sub.wininet.dll_InternetOpenA
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x488a56
xor eax, eax
push ebp
push 0x488a4f
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
push 0x80000000
push 0
push 0
mov eax, ebx
call fcn.00404e30
push eax
mov eax, dword [ebp - 8]
push eax
call sub.wininet.dll_InternetOpenUrlA
mov dword [ebp - 0xc], eax
xor eax, eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], 0x14
mov ebx, 0x13
lea eax, [ebp - 0x24]
call fcn.00404970
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x10]
push eax
push ebx
mov eax, dword [ebp - 0xc]
push eax
call sub.wininet.dll_HttpQueryInfoA
test eax, eax
je 0x4888f9
lea eax, [ebp - 0x24]
lea edx, [ebp - 0x10]
call fcn.00404b68
mov eax, dword [ebp - 0x24]
mov edx, 0x488ae8
call fcn.00404d7c
jne 0x488914
mov dword [ebp - 4], 0xffffffff
jmp 0x488a38
mov eax, dword [ebp - 0x24]
mov edx, 0x488af4
call fcn.00404d7c
je 0x48892d
xor eax, eax
mov dword [ebp - 4], eax
jmp 0x488a38
cmp dword [ebp - 0xc], 0
je 0x488a38
xor eax, eax
mov dword [ebp - 4], eax
lea eax, [ebp - 0x578]
mov ecx, edi
mov edx, 0x488b00
call fcn.00404c7c
mov eax, dword [ebp - 0x578]
call fcn.0047d668
mov edx, edi
lea eax, [ebp - 0x570]
call fcn.00402f20
xor eax, eax
mov dword [ebp - 0x20], eax
xor eax, eax
push ebp
push 0x488a1f
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, 1
lea eax, [ebp - 0x570]
call fcn.0040332c
call fcn.00402928
test esi, esi
jbe 0x4889bc
mov eax, esi
sub eax, dword [ebp - 0x20]
cmp eax, 0x400
jae 0x4889bc
lea eax, [ebp - 0x1c]
push eax
mov eax, esi
and eax, 0x3ff
push eax
lea eax, [ebp - 0x424]
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.wininet.dll_InternetReadFile
jmp 0x4889d5
lea eax, [ebp - 0x1c]
push eax
push 0x400
lea eax, [ebp - 0x424]
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.wininet.dll_InternetReadFile
push 0
lea edx, [ebp - 0x424]
mov ecx, dword [ebp - 0x1c]
lea eax, [ebp - 0x570]
call fcn.0040307c
call fcn.00402928
mov eax, dword [ebp - 0x1c]
add dword [ebp - 0x20], eax
cmp dword [ebp - 0x1c], 0
je 0x488a05
test esi, esi
jbe 0x48898e
cmp esi, dword [ebp - 0x20]
ja 0x48898e
lea eax, [ebp - 0x570]
call fcn.0040309c
call fcn.00402928
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x488a29
mov eax, dword [ebp - 0x20]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0xc]
push eax
call sub.wininet.dll_InternetCloseHandle
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x488a56
mov eax, dword [ebp - 8]
push eax
call sub.wininet.dll_InternetCloseHandle
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x488a83
lea eax, [ebp - 0x578]
mov edx, 2
call fcn.00404994
lea eax, [ebp - 0x24]
call fcn.00404970
ret