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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x61524b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x8c0
mov dword [ebp - 0x8bc], 0
mov dword [ebp - 4], 1
push 0
push 0
push 0
push 1
push str.MyAgent
call dword [sym.imp.WININET.dll_InternetOpenA]
mov dword [ebp - 0x2c], eax
lea ecx, [ebp - 0x4c]
call fcn.0041ce70
mov byte [ebp - 4], 2
cmp dword [ebp - 0x2c], 0
je 0x5c0210
push 0
push 0
push 0
push 0
lea ecx, [ebp + 0xc]
call fcn.00416460
push eax
mov eax, dword [ebp - 0x2c]
push eax
call dword [sym.imp.WININET.dll_InternetOpenUrlA]
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0
je 0x5c0210
lea ecx, [ebp - 0x840]
push ecx
push 0x7d0
lea edx, [ebp - 0x83c]
push edx
mov eax, dword [ebp - 0x30]
push eax
call dword [sym.imp.WININET.dll_InternetReadFile]
mov ecx, dword [ebp - 0x840]
push ecx
lea edx, [ebp - 0x83c]
push edx
lea ecx, [ebp - 0x4c]
call fcn.00423210
push 0x7d0
push 0
lea eax, [ebp - 0x83c]
push eax
call sub.MSVCR90.dll_memset
add esp, 0xc
cmp dword [ebp - 0x840], 0
jne 0x5c00e3
mov ecx, dword [ebp - 0x2c]
push ecx
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov edx, dword [ebp - 0x30]
push edx
call dword [sym.imp.WININET.dll_InternetCloseHandle]
push 0x6b1ad0
lea ecx, [ebp - 0x85c]
call fcn.00416410
mov byte [ebp - 4], 3
push 0x6b1ad4
lea ecx, [ebp - 0x878]
call fcn.00416410
mov byte [ebp - 4], 4
lea eax, [ebp - 0x85c]
push eax
lea ecx, [ebp - 0x878]
push ecx
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x87c], esp
lea edx, [ebp - 0x4c]
push edx
call fcn.0041cd10
mov dword [ebp - 0x8c0], eax
lea eax, [ebp - 0x68]
push eax
call fcn.005bffb0
add esp, 0x28
mov dword [ebp - 0x8c4], eax
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x878]
call fcn.00416470
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x85c]
call fcn.00416470
lea ecx, [ebp - 0x68]
push ecx
mov ecx, dword [ebp + 8]
call fcn.0041cd10
mov edx, dword [ebp - 0x8bc]
or edx, 1
mov dword [ebp - 0x8bc], edx
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x68]
call fcn.00416470
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x4c]
call fcn.00416470
mov byte [ebp - 4], 0
lea ecx, [ebp + 0xc]
call fcn.00416470
mov eax, dword [ebp + 8]
jmp 0x5c02dc
mov eax, dword [ebp - 0x2c]
push eax
call dword [sym.imp.WININET.dll_InternetCloseHandle]
push 0x6b1ad8
lea ecx, [ebp - 0x898]
call fcn.00416410
mov byte [ebp - 4], 8
push 0x6b1adc
lea ecx, [ebp - 0x8b4]
call fcn.00416410
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x898]
push ecx
lea edx, [ebp - 0x8b4]
push edx
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x8b8], esp
lea eax, [ebp - 0x4c]
push eax
call fcn.0041cd10
mov dword [ebp - 0x8c8], eax
lea ecx, [ebp - 0x28]
push ecx
call fcn.005bffb0
add esp, 0x28
mov dword [ebp - 0x8cc], eax
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x8b4]
call fcn.00416470
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x898]
call fcn.00416470
lea edx, [ebp - 0x28]
push edx
mov ecx, dword [ebp + 8]
call fcn.0041cd10
mov eax, dword [ebp - 0x8bc]
or eax, 1
mov dword [ebp - 0x8bc], eax
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x28]
call fcn.00416470
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x4c]
call fcn.00416470
mov byte [ebp - 4], 0
lea ecx, [ebp + 0xc]
call fcn.00416470
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret