Function at 0x438700
Capabilities:
Check internet connectivity via wininet
Connect to http server
Create http request
Send data
Send http request

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x450c08
mov eax, dword fs:[0]
push eax
sub esp, 0x26c
mov eax, dword [0x464080]
xor eax, ebp
mov dword [ebp - 0x14], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x260], ecx
mov dword [ebp - 0xa4], 0
mov dword [ebp - 0xb0], 0
mov dword [ebp - 0x9c], 0
push 0
lea eax, [ebp - 0xa8]
push eax
call dword [sym.imp.WININET.dll_InternetGetConnectedState]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
push 0x455bec
lea ecx, [ebp - 0x94]
push ecx
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
mov edx, dword [ebp - 0x260]
cmp dword [edx], 0
je 0x4387d2
mov eax, dword [ebp - 0x260]
add eax, 0xcc
push eax
mov ecx, dword [ebp - 0x260]
add ecx, 4
push ecx
push 0x455c4c
lea edx, [ebp - 0x244]
push edx
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
push 0
push 0
lea eax, [ebp - 0x244]
push eax
push 3
lea ecx, [ebp - 0x94]
push ecx
call dword [sym.imp.WININET.dll_InternetOpenW]
mov dword [ebp - 0xa4], eax
jmp 0x438815
mov edx, dword [ebp - 0xa8]
and edx, 4
jne 0x4387fa
push 0
push 0
push 0
push 1
lea eax, [ebp - 0x94]
push eax
call dword [sym.imp.WININET.dll_InternetOpenW]
mov dword [ebp - 0xa4], eax
jmp 0x438815
push 0
push 0
push 0
push 0
lea ecx, [ebp - 0x94]
push ecx
call dword [sym.imp.WININET.dll_InternetOpenW]
mov dword [ebp - 0xa4], eax
cmp dword [ebp - 0xa4], 0
jne 0x438825
xor eax, eax
jmp 0x438b97
mov edx, dword [ebp + 8]
push edx
lea ecx, [ebp - 0xa0]
call fcn.00406320
mov dword [ebp - 4], 0
lea ecx, [ebp - 0xa0]
call fcn.004121a0
lea ecx, [ebp - 0x98]
call fcn.004062e0
mov byte [ebp - 4], 1
push 8
push 0x455c70
lea ecx, [ebp - 0xa0]
call fcn.00412120
mov dword [ebp - 0xac], eax
cmp dword [ebp - 0xac], 0
jle 0x438999
push 0
push 0x455c74
lea ecx, [ebp - 0xa0]
call fcn.00412120
test eax, eax
jne 0x4388e7
mov eax, dword [ebp - 0xac]
sub eax, 8
push eax
push 8
lea ecx, [ebp - 0x248]
push ecx
lea ecx, [ebp - 0xa0]
call fcn.00410910
mov dword [ebp - 0x264], eax
mov edx, dword [ebp - 0x264]
mov dword [ebp - 0x268], edx
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x268]
push eax
lea ecx, [ebp - 0x98]
call fcn.004063c0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x248]
call fcn.004063a0
jmp 0x43893c
mov ecx, dword [ebp - 0xac]
sub ecx, 7
push ecx
push 7
lea edx, [ebp - 0x24c]
push edx
lea ecx, [ebp - 0xa0]
call fcn.00410910
mov dword [ebp - 0x26c], eax
mov eax, dword [ebp - 0x26c]
mov dword [ebp - 0x270], eax
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x270]
push ecx
lea ecx, [ebp - 0x98]
call fcn.004063c0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x24c]
call fcn.004063a0
lea ecx, [ebp - 0xa0]
call fcn.00419570
sub eax, dword [ebp - 0xac]
push eax
lea edx, [ebp - 0x250]
push edx
lea ecx, [ebp - 0xa0]
call fcn.004109f0
mov dword [ebp - 0x274], eax
mov eax, dword [ebp - 0x274]
mov dword [ebp - 0x278], eax
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x278]
push ecx
lea ecx, [ebp - 0xa0]
call fcn.004063c0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x250]
call fcn.004063a0
jmp 0x4389b8
mov edx, dword [ebp + 8]
push edx
lea ecx, [ebp - 0x98]
call fcn.004063e0
push 0x455c88
lea ecx, [ebp - 0xa0]
call fcn.004063e0
push 0
push 0x200
push 3
push 0
push 0
push 0x50
lea ecx, [ebp - 0x98]
call fcn.00414010
push eax
mov eax, dword [ebp - 0xa4]
push eax
call dword [sym.imp.WININET.dll_InternetConnectW]
mov dword [ebp - 0xb0], eax
cmp dword [ebp - 0xb0], 0
jne 0x438a32
mov ecx, dword [ebp - 0xa4]
push ecx
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov dword [ebp - 0x254], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x98]
call fcn.004063a0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xa0]
call fcn.004063a0
mov eax, dword [ebp - 0x254]
jmp 0x438b97
mov edx, dword [ebp - 0x260]
cmp dword [edx], 0
je 0x438a9b
mov eax, dword [ebp - 0x260]
add eax, 0xe4
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
push eax
mov ecx, dword [ebp - 0x260]
add ecx, 0xe4
push ecx
push 0x2b
mov edx, dword [ebp - 0xb0]
push edx
call dword [sym.imp.WININET.dll_InternetSetOptionW]
mov eax, dword [ebp - 0x260]
add eax, 0x148
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
push eax
mov ecx, dword [ebp - 0x260]
add ecx, 0x148
push ecx
push 0x2c
mov edx, dword [ebp - 0xb0]
push edx
call dword [sym.imp.WININET.dll_InternetSetOptionW]
push 0
push 0x400200
push 0x466148
push 0
push 0x455c94
lea ecx, [ebp - 0xa0]
call fcn.00414010
push eax
push 0x455ca8
mov eax, dword [ebp - 0xb0]
push eax
call dword [sym.imp.WININET.dll_HttpOpenRequestW]
mov dword [ebp - 0x9c], eax
cmp dword [ebp - 0x9c], 0
jne 0x438b28
mov ecx, dword [ebp - 0xb0]
push ecx
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov edx, dword [ebp - 0xa4]
push edx
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov dword [ebp - 0x258], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x98]
call fcn.004063a0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xa0]
call fcn.004063a0
mov eax, dword [ebp - 0x258]
jmp 0x438b97
push 0
push 0
push 0
push 0
mov eax, dword [ebp - 0x9c]
push eax
call dword [sym.imp.WININET.dll_HttpSendRequestW]
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0x9c]
push ecx
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov edx, dword [ebp - 0xb0]
push edx
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov eax, dword [ebp - 0xa4]
push eax
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 0x25c], ecx
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x98]
call fcn.004063a0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xa0]
call fcn.004063a0
mov eax, dword [ebp - 0x25c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0042047a
mov esp, ebp
pop ebp
ret 4