Function at 0x80c264
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 0x80c6a8
push dword fs:[eax]
mov dword fs:[eax], esp
lea ecx, [ebp - 8]
lea edx, [ebp - 4]
mov eax, esi
call fcn.0080c098
mov eax, ebx
mov edx, 0x80c6c4
call fcn.0040a33c
push 0
push 0
push 0
push 0
mov ecx, dword [0x84cf90]
mov ecx, dword [ecx]
lea eax, [ebp - 0x428]
mov edx, 0x80c6d4
call fcn.0040aed8
mov eax, dword [ebp - 0x428]
call fcn.0040ac6c
push eax
call sub.wininet.dll_InternetOpenW
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x80c2f6
call sub.kernel32.dll_GetLastError_2
lea ecx, [ebp - 0x430]
mov edx, 5
mov eax, esi
call fcn.0043f380
mov eax, dword [ebp - 0x430]
lea edx, [ebp - 0x42c]
call fcn.0042249c
mov eax, dword [ebp - 0x42c]
mov edx, 0x80c7d4
call fcn.0040b010
je 0x80c4d3
xor edx, edx
push ebp
push 0x80c4cc
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.0040ac6c
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 0x80c375
call sub.kernel32.dll_GetLastError_2
mov eax, ebx
mov edx, 0x80c7ec
call fcn.0040a33c
xor edx, edx
push ebp
push 0x80c4ae
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.0040ac6c
push eax
push 0x80c7f4
mov eax, dword [ebp - 0x14]
push eax
call sub.wininet.dll_HttpOpenRequestW
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x80c486
xor edx, edx
push ebp
push 0x80c47f
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 0x80c3e5
call sub.kernel32.dll_GetLastError_2
mov eax, ebx
mov edx, 0x80c7ec
call fcn.0040a33c
cmp dword [ebp - 0x14], 0
jne 0x80c3f9
mov eax, ebx
mov edx, 0x80c80c
call fcn.0040a33c
jmp 0x80c468
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 0x80c431
mov eax, ebx
mov edx, 0x80c80c
call fcn.0040a33c
jmp 0x80c468
lea eax, [ebp - 0xc]
lea edx, [ebp - 0x422]
mov ecx, 0x201
call fcn.0040ad28
mov eax, ebx
mov edx, dword [ebp - 0xc]
call fcn.0040a33c
mov eax, dword [ebx]
mov edx, 0x80c7ec
call fcn.0040b010
jne 0x80c468
mov eax, ebx
mov edx, 0x80c834
call fcn.0040a33c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x80c497
mov eax, dword [ebp - 0x18]
push eax
call sub.wininet.dll_InternetCloseHandle
ret
call sub.kernel32.dll_GetLastError_2
mov eax, ebx
mov edx, 0x80c7ec
call fcn.0040a33c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x80c4b5
mov eax, dword [ebp - 0x14]
push eax
call sub.wininet.dll_InternetCloseHandle
ret
xor edx, edx
push ebp
push 0x80c676
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.0040ac6c
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 0x80c51c
call sub.kernel32.dll_GetLastError_2
mov eax, ebx
mov edx, 0x80c7ec
call fcn.0040a33c
xor edx, edx
push ebp
push 0x80c658
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.0040ac6c
push eax
push 0x80c7f4
mov eax, dword [ebp - 0x14]
push eax
call sub.wininet.dll_HttpOpenRequestW
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x80c630
xor edx, edx
push ebp
push 0x80c629
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 0x80c58f
call sub.kernel32.dll_GetLastError_2
mov eax, ebx
mov edx, 0x80c7ec
call fcn.0040a33c
cmp dword [ebp - 0x14], 0
jne 0x80c5a3
mov eax, ebx
mov edx, 0x80c80c
call fcn.0040a33c
jmp 0x80c612
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 0x80c5db
mov eax, ebx
mov edx, 0x80c80c
call fcn.0040a33c
jmp 0x80c612
lea eax, [ebp - 0xc]
lea edx, [ebp - 0x422]
mov ecx, 0x201
call fcn.0040ad28
mov eax, ebx
mov edx, dword [ebp - 0xc]
call fcn.0040a33c
mov eax, dword [ebx]
mov edx, 0x80c7ec
call fcn.0040b010
jne 0x80c612
mov eax, ebx
mov edx, 0x80c834
call fcn.0040a33c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x80c641
mov eax, dword [ebp - 0x18]
push eax
call sub.wininet.dll_InternetCloseHandle
ret
call sub.kernel32.dll_GetLastError_2
mov eax, ebx
mov edx, 0x80c7ec
call fcn.0040a33c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x80c65f
mov eax, dword [ebp - 0x14]
push eax
call sub.wininet.dll_InternetCloseHandle
ret