Function at 0x7712a8
Capabilities:
Connect to http server
Create http request
Reference http user-agent string
Send data
Send http request

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffbd0
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x42c], ecx
mov dword [ebp - 0x430], ecx
mov dword [ebp - 0x428], ecx
mov dword [ebp - 4], ecx
mov dword [ebp - 8], ecx
mov dword [ebp - 0xc], ecx
mov ebx, edx
mov esi, eax
xor eax, eax
push ebp
push 0x7716ec
push dword fs:[eax]
mov dword fs:[eax], esp
lea ecx, [ebp - 8]
lea edx, [ebp - 4]
mov eax, esi
call fcn.007710dc
mov eax, ebx
mov edx, 0x771708
call fcn.0040a2f4
push 0
push 0
push 0
push 0
mov ecx, dword [0x79e4dc]
mov ecx, dword [ecx]
lea eax, [ebp - 0x428]
mov edx, 0x771718
call fcn.0040ada0
mov eax, dword [ebp - 0x428]
call fcn.0040ab34
push eax
call sub.wininet.dll_InternetOpenW
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x77133a
call sub.kernel32.dll_GetLastError_2
lea ecx, [ebp - 0x430]
mov edx, 5
mov eax, esi
call fcn.0043d3b4
mov eax, dword [ebp - 0x430]
lea edx, [ebp - 0x42c]
call fcn.004219b8
mov eax, dword [ebp - 0x42c]
mov edx, 0x771818
call fcn.0040aed8
je 0x771517
xor edx, edx
push ebp
push 0x771510
push dword fs:[edx]
mov dword fs:[edx], esp
push 0
push 0
push 3
push 0
push 0
push 0x50
mov eax, dword [ebp - 4]
call fcn.0040ab34
push eax
mov eax, dword [ebp - 0x10]
push eax
call sub.wininet.dll_InternetConnectW
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x7713b9
call sub.kernel32.dll_GetLastError_2
mov eax, ebx
mov edx, 0x771830
call fcn.0040a2f4
xor edx, edx
push ebp
push 0x7714f2
push dword fs:[edx]
mov dword fs:[edx], esp
push 0
push 0
push 0
push 0
push 0
mov eax, dword [ebp - 8]
call fcn.0040ab34
push eax
push 0x771838
mov eax, dword [ebp - 0x14]
push eax
call sub.wininet.dll_HttpOpenRequestW
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x7714ca
xor edx, edx
push ebp
push 0x7714c3
push dword fs:[edx]
mov dword fs:[edx], esp
push 0
push 0
push 0
push 0
mov eax, dword [ebp - 0x18]
push eax
call sub.wininet.dll_HttpSendRequestW
test eax, eax
jne 0x771429
call sub.kernel32.dll_GetLastError_2
mov eax, ebx
mov edx, 0x771830
call fcn.0040a2f4
cmp dword [ebp - 0x14], 0
jne 0x77143d
mov eax, ebx
mov edx, 0x771850
call fcn.0040a2f4
jmp 0x7714ac
xor eax, eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x20], 0x201
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x422]
push eax
push 0x13
mov eax, dword [ebp - 0x18]
push eax
call sub.wininet.dll_HttpQueryInfoW
test eax, eax
jne 0x771475
mov eax, ebx
mov edx, 0x771850
call fcn.0040a2f4
jmp 0x7714ac
lea eax, [ebp - 0xc]
lea edx, [ebp - 0x422]
mov ecx, 0x201
call fcn.0040abf0
mov eax, ebx
mov edx, dword [ebp - 0xc]
call fcn.0040a2f4
mov eax, dword [ebx]
mov edx, 0x771830
call fcn.0040aed8
jne 0x7714ac
mov eax, ebx
mov edx, 0x771878
call fcn.0040a2f4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x7714db
mov eax, dword [ebp - 0x18]
push eax
call sub.wininet.dll_InternetCloseHandle
ret
call sub.kernel32.dll_GetLastError_2
mov eax, ebx
mov edx, 0x771830
call fcn.0040a2f4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x7714f9
mov eax, dword [ebp - 0x14]
push eax
call sub.wininet.dll_InternetCloseHandle
ret
xor edx, edx
push ebp
push 0x7716ba
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.0040ab34
push eax
mov eax, dword [ebp - 0x10]
push eax
call sub.wininet.dll_InternetConnectW
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x771560
call sub.kernel32.dll_GetLastError_2
mov eax, ebx
mov edx, 0x771830
call fcn.0040a2f4
xor edx, edx
push ebp
push 0x77169c
push dword fs:[edx]
mov dword fs:[edx], esp
push 0
push 0x803000
push 0
push 0
push 0
mov eax, dword [ebp - 8]
call fcn.0040ab34
push eax
push 0x771838
mov eax, dword [ebp - 0x14]
push eax
call sub.wininet.dll_HttpOpenRequestW
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x771674
xor edx, edx
push ebp
push 0x77166d
push dword fs:[edx]
mov dword fs:[edx], esp
push 0
push 0
push 0
push 0
mov eax, dword [ebp - 0x18]
push eax
call sub.wininet.dll_HttpSendRequestW
test eax, eax
jne 0x7715d3
call sub.kernel32.dll_GetLastError_2
mov eax, ebx
mov edx, 0x771830
call fcn.0040a2f4
cmp dword [ebp - 0x14], 0
jne 0x7715e7
mov eax, ebx
mov edx, 0x771850
call fcn.0040a2f4
jmp 0x771656
xor eax, eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x20], 0x201
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x422]
push eax
push 0x13
mov eax, dword [ebp - 0x18]
push eax
call sub.wininet.dll_HttpQueryInfoW
test eax, eax
jne 0x77161f
mov eax, ebx
mov edx, 0x771850
call fcn.0040a2f4
jmp 0x771656
lea eax, [ebp - 0xc]
lea edx, [ebp - 0x422]
mov ecx, 0x201
call fcn.0040abf0
mov eax, ebx
mov edx, dword [ebp - 0xc]
call fcn.0040a2f4
mov eax, dword [ebx]
mov edx, 0x771830
call fcn.0040aed8
jne 0x771656
mov eax, ebx
mov edx, 0x771878
call fcn.0040a2f4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x771685
mov eax, dword [ebp - 0x18]
push eax
call sub.wininet.dll_InternetCloseHandle
ret
call sub.kernel32.dll_GetLastError_2
mov eax, ebx
mov edx, 0x771830
call fcn.0040a2f4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x7716a3
mov eax, dword [ebp - 0x14]
push eax
call sub.wininet.dll_InternetCloseHandle
ret