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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a8845
mov eax, dword fs:[0]
push eax
sub esp, 0x530
mov eax, dword [0x639354]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
mov dword [ebp - 0x53c], esi
mov dword [ebp - 0x538], 0
xor eax, eax
mov dword [esi], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov dword [ebp - 4], 1
mov word [esi], ax
push eax
push eax
push eax
push eax
push 0x5b8734
mov dword [ebp - 0x538], 1
call dword [sym.imp.WININET.dll_InternetOpenW]
mov ebx, eax
mov dword [ebp - 0x534], ebx
test ebx, ebx
je 0x4b7f73
cmp dword [ebp + 0x20], 8
lea eax, [ebp + 0xc]
push 0
cmovae eax, dword [ebp + 0xc]
push 0x4000000
push 0
push 0
push eax
push ebx
call dword [sym.imp.WININET.dll_InternetOpenUrlW]
mov edi, eax
test edi, edi
je 0x4b7f6c
lea eax, [ebp - 0x530]
mov dword [ebp - 0x530], 0
push eax
push 0x3ff
lea eax, [ebp - 0x410]
push eax
push edi
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x4b7f65
mov edi, edi
mov eax, dword [ebp - 0x530]
test eax, eax
je 0x4b7f5f
cmp eax, 0x400
jae 0x4b7fcc
mov byte [ebp + eax - 0x410], 0
lea ecx, [ebp - 0x52c]
lea eax, [ebp - 0x528]
mov dword [ebp - 0x52c], eax
lea eax, [ebp - 0x410]
push 0xfde9
push eax
call fcn.0044fd40
mov edx, dword [ebp - 0x52c]
xor eax, eax
mov dword [ebp - 0x428], 0
mov word [ebp - 0x428], ax
mov eax, edx
mov byte [ebp - 4], 2
mov dword [ebp - 0x418], 0
mov dword [ebp - 0x414], 7
lea ebx, [eax + 2]
lea ebx, [ebx]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4b7e90
sub eax, ebx
lea ecx, [ebp - 0x428]
sar eax, 1
push eax
push edx
call fcn.0042e330
cmp dword [ebp - 0x414], 8
lea eax, [ebp - 0x428]
push dword [ebp - 0x418]
cmovae eax, dword [ebp - 0x428]
mov ecx, esi
push eax
mov byte [ebp - 4], 3
call fcn.0043ec10
mov edx, dword [ebp - 0x414]
mov byte [ebp - 4], 2
cmp edx, 8
jb 0x4b7f16
mov ecx, dword [ebp - 0x428]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4b7f0c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4b7fc7
push edx
push ecx
call fcn.0055c524
add esp, 8
mov eax, dword [ebp - 0x52c]
lea ecx, [ebp - 0x528]
mov byte [ebp - 4], 1
cmp eax, ecx
je 0x4b7f33
push eax
call fcn.0056a8c4
add esp, 4
lea eax, [ebp - 0x530]
mov dword [ebp - 0x530], 0
push eax
push 0x3ff
lea eax, [ebp - 0x410]
push eax
push edi
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
jne 0x4b7e10
mov ebx, dword [ebp - 0x534]
push edi
call dword [sym.imp.WININET.dll_InternetCloseHandle]
push ebx
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov edx, dword [ebp + 0x20]
cmp edx, 8
jb 0x4b7fa9
mov ecx, dword [ebp + 0xc]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4b7f9f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4b7fc7
push edx
push ecx
call fcn.0055c524
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0055c3a9
mov esp, ebp
pop ebp
ret
call fcn.0056af64
call fcn.0055ceb3
int3