Function at 0x4373f8
Capabilities:
Connect to http server
Create http request
Send data
Send http request

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc8
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x38], ecx
mov dword [ebp - 0x34], ecx
mov dword [ebp - 8], ecx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x20], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.004066f0
mov ecx, 2
lea eax, [ebp - 0x1c]
mov edx, dword [0x401210]
call fcn.00407274
xor eax, eax
push ebp
push 0x4376fe
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [ebp - 4]
mov eax, 0x437718
call fcn.00407008
test eax, eax
je 0x4374e3
mov edx, dword [ebp - 4]
mov eax, 0x437718
call fcn.00407008
mov esi, eax
mov eax, dword [ebp - 4]
test eax, eax
je 0x437484
mov edx, eax
sub edx, 0xa
cmp word [edx], 2
je 0x437484
lea eax, [ebp - 4]
mov edx, dword [ebp - 4]
call fcn.004060b0
mov ebx, eax
test ebx, ebx
je 0x43748f
sub ebx, 4
mov ebx, dword [ebx]
lea eax, [ebp - 0x18]
push eax
mov ecx, ebx
mov edx, esi
mov eax, dword [ebp - 4]
call fcn.00406e24
mov edx, dword [ebp - 4]
mov eax, 0x437718
call fcn.00407008
mov ebx, eax
mov eax, dword [ebp - 4]
test eax, eax
je 0x4374cb
mov edx, eax
sub edx, 0xa
cmp word [edx], 2
je 0x4374cb
lea eax, [ebp - 4]
mov edx, dword [ebp - 4]
call fcn.004060b0
test eax, eax
je 0x4374d4
sub eax, 4
mov eax, dword [eax]
lea edx, [ebp - 4]
mov ecx, eax
mov eax, ebx
xchg edx, eax
call fcn.00406ef4
jmp 0x4374ed
lea eax, [ebp - 0x18]
xor edx, edx
call fcn.0040675c
lea eax, [ebp - 0x1c]
mov edx, dword [ebp - 4]
call fcn.0040675c
mov dword [ebp - 0x30], 0x2b03
lea edx, [ebp - 0xc]
mov eax, 0x437728
call fcn.0043701c
push 0
push 0
push 0
push 0
mov eax, dword [ebp - 0xc]
call fcn.00406794
push eax
call sub.wininet.dll_InternetOpenW
mov dword [ebp - 0x24], eax
push 4
lea eax, [ebp - 0x30]
push eax
push 0x3f
mov eax, dword [ebp - 0x24]
push eax
call sub.wininet.dll_InternetSetOptionW
push 0
push 0
push 0x2a
mov eax, dword [ebp - 0x24]
push eax
call sub.wininet.dll_InternetSetOptionW
cmp dword [ebp - 0x24], 0
je 0x4376bb
xor edx, edx
push ebp
push 0x4376b4
push dword fs:[edx]
mov dword fs:[edx], esp
push 1
push 0
push 3
push 0
push 0
movzx eax, word [ebp - 0x20]
push eax
mov eax, dword [ebp - 0x1c]
call fcn.00406794
push eax
mov eax, dword [ebp - 0x24]
push eax
call sub.wininet.dll_InternetConnectW
mov dword [ebp - 0x28], eax
lea eax, [ebp - 8]
mov edx, 0x43785c
call fcn.0040675c
cmp dword [ebp - 0x20], 0x1bb
jne 0x43759e
mov ebx, 0x84c00200
jmp 0x4375a3
mov ebx, 0x84000200
cmp dword [ebp - 0x28], 0
je 0x43769d
xor edx, edx
push ebp
push 0x437696
push dword fs:[edx]
mov dword fs:[edx], esp
push 1
push ebx
push 0
push 0
push 0
mov eax, dword [ebp - 0x18]
call fcn.00406794
push eax
mov eax, dword [ebp - 8]
call fcn.00406794
push eax
mov eax, dword [ebp - 0x28]
push eax
call sub.wininet.dll_HttpOpenRequestW
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0
je 0x43767f
xor edx, edx
push ebp
push 0x437678
push dword fs:[edx]
mov dword fs:[edx], esp
lea eax, [ebp - 0x34]
mov edx, dword [ebp - 0x10]
call fcn.0040696c
mov eax, dword [ebp - 0x34]
call fcn.00406580
call fcn.00406590
mov ebx, eax
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x437633
mov edx, eax
sub edx, 0xa
cmp word [edx], 1
je 0x437633
lea eax, [ebp - 0x14]
xor ecx, ecx
mov edx, dword [ebp - 0x14]
call fcn.004060e0
mov esi, eax
test esi, esi
je 0x43763e
sub esi, 4
mov esi, dword [esi]
push esi
mov eax, dword [ebp - 0x14]
push eax
push ebx
lea eax, [ebp - 0x38]
mov edx, dword [ebp - 0x10]
call fcn.0040696c
mov eax, dword [ebp - 0x38]
call fcn.00406580
push eax
mov eax, dword [ebp - 0x2c]
push eax
call sub.wininet.dll_HttpSendRequestW
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x43767f
mov eax, dword [ebp - 0x2c]
push eax
call sub.wininet.dll_InternetCloseHandle
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x43769d
mov eax, dword [ebp - 0x28]
push eax
call sub.wininet.dll_InternetCloseHandle
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4376bb
mov eax, dword [ebp - 0x24]
push eax
call sub.wininet.dll_InternetCloseHandle
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x437705
lea eax, [ebp - 0x38]
mov edx, 2
call fcn.004063cc
lea eax, [ebp - 0x1c]
mov ecx, 2
mov edx, dword [0x401210]
call fcn.0040735c
lea eax, [ebp - 0x14]
call fcn.00405f00
lea eax, [ebp - 0x10]
mov edx, 4
call fcn.00406700
ret