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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x430d34
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x8c0
push ebx
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x20], esi
push 0
push 0
push 0
push 1
push str.Mozilla_5.0
mov dword [ebp - 4], 0
call dword [sym.imp.WININET.dll_InternetOpenA]
mov ebx, eax
mov byte [ebp - 4], 1
push 8
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0
call fcn.00402870
lea ecx, [ebp - 0x3c]
add esp, 4
mov dword [eax + 4], 0
mov dword [ebp - 0x3c], eax
mov dword [eax], ecx
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0xf
mov byte [ebp - 0x38], 0
mov byte [ebp - 4], 3
test ebx, ebx
je 0x40157a
cmp dword [ebp + 0x20], 0x10
lea eax, [ebp + 0xc]
push 0
cmovae eax, dword [ebp + 0xc]
push 0
push 0
push 0
push eax
push ebx
call dword [sym.imp.WININET.dll_InternetOpenUrlA]
mov edi, eax
test edi, edi
je 0x40157a
mov esi, dword [sym.imp.WININET.dll_InternetReadFile]
lea eax, [ebp - 0x14]
push eax
push 0x7d0
lea eax, [ebp - 0x8cc]
push eax
push edi
call esi
push dword [ebp - 0x14]
lea eax, [ebp - 0x8cc]
push eax
lea ecx, [ebp - 0x3c]
call fcn.00401a30
push 0x7d0
lea eax, [ebp - 0x8cc]
push 0
push eax
call fcn.00404c40
add esp, 0xc
cmp dword [ebp - 0x14], 0
jne 0x4013e4
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
push ebx
call esi
push edi
call esi
lea eax, [ebp - 0xd]
mov dword [ebp - 0x74], 0
push 8
mov dword [ebp - 0x70], 0
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], 0
mov dword [ebp - 0x18], eax
call fcn.00402870
lea ecx, [ebp - 0x74]
mov dword [ebp - 0x1c], eax
add esp, 4
mov dword [eax], ecx
mov dword [eax + 4], 0
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x74], eax
push 2
push 0x43f424
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], 0xf
mov byte [ebp - 0x70], 0
mov byte [ebp - 4], 4
call fcn.00401fc0
mov byte [ebp - 4], 6
lea eax, [ebp - 0xe]
push 8
mov dword [ebp - 0x58], 0
mov dword [ebp - 0x54], 0
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x40], 0
mov dword [ebp - 0xb0], eax
call fcn.00402870
lea ecx, [ebp - 0x58]
mov dword [ebp - 0xb4], eax
add esp, 4
mov dword [eax], ecx
mov dword [eax + 4], 0
mov eax, dword [ebp - 0xb4]
mov dword [ebp - 0x58], eax
push 2
push 0x43f428
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x40], 0xf
mov byte [ebp - 0x54], 0
mov byte [ebp - 4], 7
call fcn.00401fc0
lea eax, [ebp - 0x74]
mov byte [ebp - 4], 9
push eax
sub esp, 0x1c
lea eax, [ebp - 0x3c]
mov ecx, esp
lea esi, [ebp - 0x58]
push eax
call fcn.00401d40
mov edx, esi
lea ecx, [ebp - 0xe0]
call fcn.004011a0
add esp, 0x20
mov ecx, esi
call fcn.00401bb0
lea ecx, [ebp - 0x74]
call fcn.00401bb0
mov ecx, dword [ebp - 0x20]
lea eax, [ebp - 0xe0]
push eax
call fcn.00401c40
lea ecx, [ebp - 0xe0]
call fcn.00401bb0
lea ecx, [ebp - 0x3c]
call fcn.00401bb0
lea ecx, [ebp + 8]
call fcn.00401bb0
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push ebx
call dword [sym.imp.WININET.dll_InternetCloseHandle]
lea eax, [ebp - 0xf]
mov dword [ebp - 0xac], 0
push 8
mov dword [ebp - 0xa8], 0
mov dword [ebp - 0x98], 0
mov dword [ebp - 0x94], 0
mov dword [ebp - 0xb8], eax
call fcn.00402870
lea ecx, [ebp - 0xac]
mov dword [ebp - 0xbc], eax
add esp, 4
mov dword [eax], ecx
mov dword [eax + 4], 0
mov eax, dword [ebp - 0xbc]
mov dword [ebp - 0xac], eax
push 2
push 0x43f424
mov dword [ebp - 0x98], 0
mov dword [ebp - 0x94], 0xf
mov byte [ebp - 0xa8], 0
mov byte [ebp - 4], 0xa
call fcn.00401fc0
mov byte [ebp - 4], 0xc
lea eax, [ebp - 0x10]
push 8
mov dword [ebp - 0x90], 0
mov dword [ebp - 0x8c], 0
mov dword [ebp - 0x7c], 0
mov dword [ebp - 0x78], 0
mov dword [ebp - 0xc0], eax
call fcn.00402870
lea ecx, [ebp - 0x90]
mov dword [ebp - 0xc4], eax
add esp, 4
mov dword [eax], ecx
mov dword [eax + 4], 0
mov eax, dword [ebp - 0xc4]
mov dword [ebp - 0x90], eax
push 2
push 0x43f428
mov dword [ebp - 0x7c], 0
mov dword [ebp - 0x78], 0xf
mov byte [ebp - 0x8c], 0
mov byte [ebp - 4], 0xd
call fcn.00401fc0
lea eax, [ebp - 0xac]
mov byte [ebp - 4], 0xf
push eax
sub esp, 0x1c
lea eax, [ebp - 0x3c]
mov ecx, esp
lea edi, [ebp - 0x90]
push eax
call fcn.00401d40
mov edx, edi
lea ecx, [ebp - 0xfc]
call fcn.004011a0
add esp, 0x20
mov ecx, edi
call fcn.00401bb0
lea ecx, [ebp - 0xac]
call fcn.00401bb0
lea eax, [ebp - 0xfc]
mov ecx, esi
push eax
call fcn.00401c40
lea ecx, [ebp - 0xfc]
call fcn.00401bb0
lea ecx, [ebp - 0x3c]
call fcn.00401bb0
lea ecx, [ebp + 8]
call fcn.00401bb0
mov eax, esi
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret