Function at 0x79f400
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, 0xfffff7d4
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x828], ecx
mov dword [ebp - 0x82c], ecx
mov dword [ebp - 0x824], ecx
mov dword [ebp - 4], ecx
mov dword [ebp - 8], ecx
mov ebx, edx
mov esi, eax
xor eax, eax
push ebp
push 0x79f7f1
push dword fs:[eax]
mov dword fs:[eax], esp
lea ecx, [ebp - 8]
lea edx, [ebp - 4]
mov eax, esi
call fcn.0079f234
mov eax, ebx
mov edx, 0x79f80c
call fcn.00409fcc
push 0
push 0
push 0
push 0
mov ecx, dword [0x7cc40c]
mov ecx, dword [ecx]
lea eax, [ebp - 0x824]
mov edx, 0x79f81c
call fcn.0040aa78
mov eax, dword [ebp - 0x824]
call fcn.0040a80c
push eax
call sub.wininet.dll_InternetOpenW
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x79f48f
call sub.kernel32.dll_GetLastError_2
lea ecx, [ebp - 0x82c]
mov edx, 5
mov eax, esi
call fcn.0043dffc
mov eax, dword [ebp - 0x82c]
lea edx, [ebp - 0x828]
call fcn.00422674
mov eax, dword [ebp - 0x828]
mov edx, 0x79f91c
call fcn.0040abb0
je 0x79f644
xor edx, edx
push ebp
push 0x79f63d
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.0040a80c
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.wininet.dll_InternetConnectW
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x79f50e
call sub.kernel32.dll_GetLastError_2
mov eax, ebx
mov edx, 0x79f934
call fcn.00409fcc
xor edx, edx
push ebp
push 0x79f61f
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.0040a80c
push eax
push 0x79f93c
mov eax, dword [ebp - 0x10]
push eax
call sub.wininet.dll_HttpOpenRequestW
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x79f5f7
xor edx, edx
push ebp
push 0x79f5f0
push dword fs:[edx]
mov dword fs:[edx], esp
mov dword [ebp - 0x18], 0x802
xor eax, eax
mov dword [ebp - 0x1c], eax
push 0
push 0
push 0
push 0
mov eax, dword [ebp - 0x14]
push eax
call sub.wininet.dll_HttpSendRequestW
test eax, eax
jne 0x79f58a
call sub.kernel32.dll_GetLastError_2
mov eax, ebx
mov edx, 0x79f954
call fcn.00409fcc
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x81e]
push eax
push 1
mov eax, dword [ebp - 0x14]
push eax
call sub.wininet.dll_HttpQueryInfoW
test eax, eax
jne 0x79f5c7
mov eax, ebx
mov edx, 0x79f968
call fcn.00409fcc
call sub.kernel32.dll_GetLastError_2
mov eax, ebx
mov edx, 0x79f978
call fcn.00409fcc
jmp 0x79f5d9
mov eax, ebx
lea edx, [ebp - 0x81e]
mov ecx, 0x401
call fcn.0040a8c8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x79f608
mov eax, dword [ebp - 0x14]
push eax
call sub.wininet.dll_InternetCloseHandle
ret
call sub.kernel32.dll_GetLastError_2
mov eax, ebx
mov edx, 0x79f98c
call fcn.00409fcc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x79f626
mov eax, dword [ebp - 0x10]
push eax
call sub.wininet.dll_InternetCloseHandle
ret
xor edx, edx
push ebp
push 0x79f7bf
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
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.wininet.dll_InternetConnectW
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x79f68d
call sub.kernel32.dll_GetLastError_2
mov eax, ebx
mov edx, 0x79f9a0
call fcn.00409fcc
xor edx, edx
push ebp
push 0x79f7a1
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.0040a80c
push eax
push 0x79f93c
mov eax, dword [ebp - 0x10]
push eax
call sub.wininet.dll_HttpOpenRequestW
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x79f779
xor edx, edx
push ebp
push 0x79f772
push dword fs:[edx]
mov dword fs:[edx], esp
mov dword [ebp - 0x18], 0x802
xor eax, eax
mov dword [ebp - 0x1c], eax
push 0
push 0
push 0
push 0
mov eax, dword [ebp - 0x14]
push eax
call sub.wininet.dll_HttpSendRequestW
test eax, eax
jne 0x79f70c
call sub.kernel32.dll_GetLastError_2
mov eax, ebx
mov edx, 0x79f9b4
call fcn.00409fcc
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x81e]
push eax
push 1
mov eax, dword [ebp - 0x14]
push eax
call sub.wininet.dll_HttpQueryInfoW
test eax, eax
jne 0x79f749
mov eax, ebx
mov edx, 0x79f9c8
call fcn.00409fcc
call sub.kernel32.dll_GetLastError_2
mov eax, ebx
mov edx, 0x79f9d8
call fcn.00409fcc
jmp 0x79f75b
mov eax, ebx
lea edx, [ebp - 0x81e]
mov ecx, 0x401
call fcn.0040a8c8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x79f78a
mov eax, dword [ebp - 0x14]
push eax
call sub.wininet.dll_InternetCloseHandle
ret
call sub.kernel32.dll_GetLastError_2
mov eax, ebx
mov edx, 0x79f9ec
call fcn.00409fcc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x79f7a8
mov eax, dword [ebp - 0x10]
push eax
call sub.wininet.dll_InternetCloseHandle
ret