Function at 0x7a08fc
Capabilities:
Connect to http server
Create http request
Read data from internet
Receive data
Reference http user-agent string

Disassembly:
push ebp
mov ebp, esp
push eax
mov eax, 2
add esp, 0xfffff004
push eax
dec eax
jne 0x7a0905
mov eax, dword [ebp - 4]
add esp, 0xfffffd8c
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x2278], ebx
mov dword [ebp - 0x2274], ebx
mov dword [ebp - 0x2270], ebx
mov dword [ebp - 0x226c], ebx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00409cd0
mov eax, dword [ebp - 8]
call fcn.00409cd0
lea edi, [ebp - 0x18]
xor eax, eax
push ebp
push 0x7a0d62
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0xc]
call fcn.00409bec
push 0
push 0
push 0
push 0
mov ecx, dword [0x7cc40c]
mov ecx, dword [ecx]
lea eax, [ebp - 0x226c]
mov edx, 0x7a0d7c
call fcn.0040aa78
mov eax, dword [ebp - 0x226c]
call fcn.0040a80c
push eax
call sub.wininet.dll_InternetOpenW
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x7a09b3
mov eax, dword [ebp - 0xc]
mov edx, 0x7a0e7c
call fcn.00409fcc
jmp 0x7a0d37
xor edx, edx
push ebp
push 0x7a0cf7
push dword fs:[edx]
mov dword fs:[edx], esp
push 0
push 0
push 3
push 0
push 0
push 0x1bb
mov eax, dword [ebp - 4]
call fcn.0040a80c
mov esi, eax
push esi
mov eax, dword [ebp - 0x10]
push eax
call sub.wininet.dll_InternetConnectW
xor edx, edx
push ebp
push 0x7a0ce6
push dword fs:[edx]
mov dword fs:[edx], esp
push 0
push 0x84000000
push 0
push 0
push esi
mov eax, dword [ebp - 0x10]
push eax
call sub.wininet.dll_InternetOpenUrlW
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x7a0a2f
mov eax, dword [ebp - 0xc]
mov edx, 0x7a0eb4
call fcn.00409fcc
call fcn.004093a0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x7a0d37
mov eax, dword [ebp - 0x14]
call fcn.007a0044
mov esi, eax
xor edx, edx
push ebp
push 0x7a0cc8
push dword fs:[edx]
mov dword fs:[edx], esp
mov edx, dword [ebp - 8]
lea eax, [ebp - 0x2268]
call fcn.004075bc
call fcn.00406abc
mov edx, 1
lea eax, [ebp - 0x2268]
call fcn.00407948
call fcn.00406abc
xor edx, edx
push ebp
push 0x7a0caa
push dword fs:[edx]
mov dword fs:[edx], esp
xor edx, edx
push ebp
push 0x7a0c42
push dword fs:[edx]
mov dword fs:[edx], esp
push edi
push 0x2000
lea eax, [ebp - 0x2018]
push eax
mov eax, dword [ebp - 0x14]
push eax
call sub.wininet.dll_InternetReadFile
cmp dword [edi], 0
jb 0x7a0ac7
push 0
lea edx, [ebp - 0x2018]
mov ecx, dword [edi]
lea eax, [ebp - 0x2268]
call fcn.0040771c
call fcn.00406abc
add ebx, dword [edi]
jmp 0x7a0bba
call sub.kernel32.dll_GetLastError_2
mov eax, dword [ebp - 0x14]
push eax
call sub.wininet.dll_InternetCloseHandle
mov eax, dword [ebp - 0x10]
push eax
call sub.wininet.dll_InternetCloseHandle
push 0x7d0
call sub.kernel32.dll_Sleep_2
push 0
push 0
push 0
push 0
mov ecx, dword [0x7cc40c]
mov ecx, dword [ecx]
lea eax, [ebp - 0x2270]
mov edx, 0x7a0ee0
call fcn.0040aa78
mov eax, dword [ebp - 0x2270]
call fcn.0040a80c
push eax
call sub.wininet.dll_InternetOpenW
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x7a0b53
mov eax, dword [ebp - 0xc]
mov edx, 0x7a0fe0
call fcn.00409fcc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
call fcn.004093a0
call fcn.004093a0
call fcn.004093a0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x7a0d37
push 0
push 0x84000000
push 0
push 0
mov eax, dword [ebp - 4]
call fcn.0040a80c
push eax
mov eax, dword [ebp - 0x10]
push eax
call sub.wininet.dll_InternetOpenUrlW
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x7a0baa
mov eax, dword [ebp - 0xc]
mov edx, 0x7a1018
call fcn.00409fcc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
call fcn.004093a0
call fcn.004093a0
call fcn.004093a0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x7a0d37
push 0
push 0
push 0
push ebx
mov eax, dword [ebp - 0x14]
push eax
call sub.wininet.dll_InternetSetFilePointer
cmp dword [edi], 0
jne 0x7a0a8b
lea eax, [ebp - 0x2268]
call fcn.0040773c
call fcn.00406abc
cmp esi, 0xffffffff
je 0x7a0c23
mov eax, dword [ebp - 8]
call fcn.0079e660
push edx
push eax
mov eax, esi
cdq
cmp edx, dword [esp + 4]
jne 0x7a0bee
cmp eax, dword [esp]
pop edx
pop eax
je 0x7a0c23
mov eax, dword [ebp - 0xc]
mov edx, 0x7a1044
call fcn.00409fcc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
call fcn.004093a0
call fcn.004093a0
call fcn.004093a0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x7a0d37
mov eax, dword [ebp - 8]
call fcn.007a1b0c
mov eax, dword [ebp - 0xc]
mov edx, 0x7a1090
call fcn.00409fcc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x7a0c9c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x7a0cb1
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x7a0d69
lea eax, [ebp - 0x2278]
mov edx, 4
call fcn.00409c4c
lea eax, [ebp - 8]
mov edx, 2
call fcn.00409c4c
ret