Function at 0x7a1084
Capabilities:
Connect to http server
Create http request
Read data from internet
Receive data
Send data
Send http request

Disassembly:
push ebp
mov ebp, esp
push eax
mov eax, 8
add esp, 0xfffff004
push eax
dec eax
jne 0x7a108d
mov eax, dword [ebp - 4]
add esp, 0xffffffc8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x803c], ebx
mov dword [ebp - 0x8038], ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov edi, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
call fcn.0040ac30
mov eax, dword [ebp - 8]
call fcn.0040ac30
mov eax, dword [ebp - 0xc]
call fcn.0040ac30
xor eax, eax
push ebp
push 0x7a1453
push dword fs:[eax]
mov dword fs:[eax], esp
mov si, 0x50
push 0
push 0
mov eax, dword [ebp + 8]
call fcn.00477204
push 0
push 0
mov eax, dword [ebp + 8]
call fcn.004771a0
xor eax, eax
mov dword [ebp - 0x28], eax
xor ebx, ebx
lea edx, [ebp - 0x8038]
mov eax, dword [ebp - 4]
call fcn.00426a6c
mov edx, dword [ebp - 0x8038]
mov ecx, 1
mov eax, 0x7a1474
call fcn.0040bf80
test eax, eax
je 0x7a1142
lea eax, [ebp - 4]
mov ecx, 7
mov edx, 1
call fcn.0040be6c
lea edx, [ebp - 0x803c]
mov eax, dword [ebp - 4]
call fcn.00426a6c
mov edx, dword [ebp - 0x803c]
mov ecx, 1
mov eax, 0x7a1490
call fcn.0040bf80
test eax, eax
je 0x7a1181
lea eax, [ebp - 4]
mov ecx, 8
mov edx, 1
call fcn.0040be6c
mov bl, 1
mov si, 0x1bb
test di, di
jbe 0x7a1188
mov esi, edi
mov ecx, 1
mov edx, dword [ebp - 4]
mov eax, 0x7a14b0
call fcn.0040bf80
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x10]
push eax
mov ecx, dword [ebp - 0x34]
mov edx, 1
mov eax, dword [ebp - 4]
call fcn.0040be24
mov edi, dword [ebp - 4]
test edi, edi
je 0x7a11bd
sub edi, 4
mov edi, dword [edi]
lea eax, [ebp - 0x14]
push eax
mov eax, edi
cdq
push edx
push eax
mov eax, dword [ebp - 0x34]
xor edx, edx
sub dword [esp], eax
sbb dword [esp + 4], edx
pop eax
pop edx
add eax, 1
adc edx, 0
mov ecx, eax
mov edx, dword [ebp - 0x34]
mov eax, dword [ebp - 4]
call fcn.0040be24
mov edx, dword [ebp - 0x10]
mov eax, edx
test eax, eax
je 0x7a11f5
sub eax, 4
mov eax, dword [eax]
test eax, eax
jle 0x7a1225
mov eax, edx
test eax, eax
je 0x7a1204
sub eax, 4
mov eax, dword [eax]
mov ecx, dword [ebp - 0x10]
cmp word [ecx + eax*2 - 2], 0x2f
jne 0x7a1225
mov eax, edx
test eax, eax
je 0x7a121a
sub eax, 4
mov eax, dword [eax]
mov edx, eax
dec edx
lea eax, [ebp - 0x10]
call fcn.0040bb7c
push 0
push 0
push 0
push 0
push 0x7a14b4
call sub.wininet.dll_InternetOpenW
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x7a1413
xor eax, eax
push ebp
push 0x7a140c
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
push 0
push 3
mov eax, dword [ebp - 0xc]
call fcn.0040b9ec
push eax
mov eax, dword [ebp - 8]
call fcn.0040b9ec
push eax
push esi
mov eax, dword [ebp - 0x10]
call fcn.0040b9ec
push eax
mov eax, dword [ebp - 0x18]
push eax
call sub.wininet.dll_InternetConnectW
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x7a13f3
xor eax, eax
push ebp
push 0x7a13ec
push dword fs:[eax]
mov dword fs:[eax], esp
mov esi, 0x80000000
test bl, bl
je 0x7a12b9
or esi, 0x800000
or esi, 0x1000
or esi, 0x2000
or esi, 0x100
push 0
push esi
push 0x806950
push 0
push 0x7a14c0
mov eax, dword [ebp - 0x14]
call fcn.0040b9ec
push eax
push 0x7a14d4
mov eax, dword [ebp - 0x1c]
push eax
call sub.wininet.dll_HttpOpenRequestW
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
je 0x7a13d3
xor eax, eax
push ebp
push 0x7a13cc
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
push 0
push 0
push 0
mov eax, dword [ebp - 0x20]
push eax
call sub.wininet.dll_HttpSendRequestW
test eax, eax
je 0x7a13b3
xor eax, eax
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], 0x8000
mov eax, dword [ebp - 0x30]
call fcn.004071c4
mov dword [ebp - 0x24], eax
xor eax, eax
push ebp
push 0x7a13ac
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x30]
push eax
mov eax, dword [ebp - 0x24]
push eax
push 0x15
mov eax, dword [ebp - 0x20]
push eax
call sub.wininet.dll_HttpQueryInfoW
test eax, eax
je 0x7a1394
xor eax, eax
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x2c]
push eax
push 0x8000
lea eax, [ebp - 0x8034]
push eax
mov eax, dword [ebp - 0x20]
push eax
call sub.wininet.dll_InternetReadFile
test eax, eax
je 0x7a1394
cmp dword [ebp - 0x2c], 0
je 0x7a1394
lea edx, [ebp - 0x8034]
mov ecx, dword [ebp - 0x2c]
mov eax, dword [ebp + 8]
mov ebx, dword [eax]
call dword [ebx + 0x10]
mov eax, dword [ebp - 0x2c]
add dword [ebp - 0x28], eax
jmp 0x7a1358
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x7a13b3
mov eax, dword [ebp - 0x24]
call fcn.004071e0
pop eax
jmp eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x7a13d3
mov eax, dword [ebp - 0x20]
push eax
call sub.wininet.dll_InternetCloseHandle
pop eax
jmp eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x7a13f3
mov eax, dword [ebp - 0x1c]
push eax
call sub.wininet.dll_InternetCloseHandle
pop eax
jmp eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x7a1413
mov eax, dword [ebp - 0x18]
push eax
call sub.wininet.dll_InternetCloseHandle
pop eax
jmp eax
cmp dword [ebp - 0x28], 0
seta bl
push 0
push 0
mov eax, dword [ebp + 8]
call fcn.004771a0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x7a145a
lea eax, [ebp - 0x803c]
mov edx, 2
call fcn.0040abac
lea eax, [ebp - 0x14]
mov edx, 5
call fcn.0040abac
pop eax
jmp eax