Function at 0x448250
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 0x44f3fe
mov eax, dword fs:[0]
push eax
sub esp, 0x268
mov eax, dword [0x46800c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x228], ecx
mov dword [ebp - 0x22c], 0
mov dword [ebp - 0x230], 0
mov dword [ebp - 0x23c], 0
push 0
lea eax, [ebp - 0x240]
push eax
call dword [sym.imp.WININET.dll_InternetGetConnectedState]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
push 0x45d980
lea ecx, [ebp - 0x90]
push ecx
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
mov edx, dword [ebp - 0x228]
cmp dword [edx], 0
je 0x448322
mov eax, dword [ebp - 0x228]
add eax, 0xcc
push eax
mov ecx, dword [ebp - 0x228]
add ecx, 4
push ecx
push 0x45d994
lea edx, [ebp - 0x220]
push edx
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
push 0
push 0
lea eax, [ebp - 0x220]
push eax
push 3
lea ecx, [ebp - 0x90]
push ecx
call dword [sym.imp.WININET.dll_InternetOpenW]
mov dword [ebp - 0x22c], eax
jmp 0x448365
mov edx, dword [ebp - 0x240]
and edx, 4
jne 0x44834a
push 0
push 0
push 0
push 1
lea eax, [ebp - 0x90]
push eax
call dword [sym.imp.WININET.dll_InternetOpenW]
mov dword [ebp - 0x22c], eax
jmp 0x448365
push 0
push 0
push 0
push 0
lea ecx, [ebp - 0x90]
push ecx
call dword [sym.imp.WININET.dll_InternetOpenW]
mov dword [ebp - 0x22c], eax
cmp dword [ebp - 0x22c], 0
jne 0x448375
xor eax, eax
jmp 0x4486ed
mov edx, dword [ebp + 8]
push edx
lea ecx, [ebp - 0x224]
call fcn.004093b0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x224]
call fcn.00410a30
lea ecx, [ebp - 0x234]
call fcn.00409460
mov byte [ebp - 4], 1
push 8
push 0x45d9b8
lea ecx, [ebp - 0x224]
call fcn.00410a80
mov dword [ebp - 0x238], eax
cmp dword [ebp - 0x238], 0
jle 0x4484e9
push 0
push 0x45d9bc
lea ecx, [ebp - 0x224]
call fcn.00410a80
test eax, eax
jne 0x448437
mov eax, dword [ebp - 0x238]
sub eax, 8
push eax
push 8
lea ecx, [ebp - 0x24c]
push ecx
lea ecx, [ebp - 0x224]
call fcn.0040f130
mov dword [ebp - 0x244], eax
mov edx, dword [ebp - 0x244]
mov dword [ebp - 0x248], edx
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x248]
push eax
lea ecx, [ebp - 0x234]
call fcn.0040b7b0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x24c]
call fcn.00409370
jmp 0x44848c
mov ecx, dword [ebp - 0x238]
sub ecx, 7
push ecx
push 7
lea edx, [ebp - 0x258]
push edx
lea ecx, [ebp - 0x224]
call fcn.0040f130
mov dword [ebp - 0x250], eax
mov eax, dword [ebp - 0x250]
mov dword [ebp - 0x254], eax
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x254]
push ecx
lea ecx, [ebp - 0x234]
call fcn.0040b7b0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x258]
call fcn.00409370
lea ecx, [ebp - 0x224]
call fcn.004094a0
sub eax, dword [ebp - 0x238]
push eax
lea edx, [ebp - 0x264]
push edx
lea ecx, [ebp - 0x224]
call fcn.004109a0
mov dword [ebp - 0x25c], eax
mov eax, dword [ebp - 0x25c]
mov dword [ebp - 0x260], eax
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x260]
push ecx
lea ecx, [ebp - 0x224]
call fcn.0040b7b0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x264]
call fcn.00409370
jmp 0x448508
mov edx, dword [ebp + 8]
push edx
lea ecx, [ebp - 0x234]
call fcn.00409320
push 0x45d9d0
lea ecx, [ebp - 0x224]
call fcn.00409320
push 0
push 0x200
push 3
push 0
push 0
push 0x50
lea ecx, [ebp - 0x234]
call fcn.004094b0
push eax
mov eax, dword [ebp - 0x22c]
push eax
call dword [sym.imp.WININET.dll_InternetConnectW]
mov dword [ebp - 0x230], eax
cmp dword [ebp - 0x230], 0
jne 0x448582
mov ecx, dword [ebp - 0x22c]
push ecx
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov dword [ebp - 0x268], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x234]
call fcn.00409370
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x224]
call fcn.00409370
mov eax, dword [ebp - 0x268]
jmp 0x4486ed
mov edx, dword [ebp - 0x228]
cmp dword [edx], 0
je 0x4485eb
mov eax, dword [ebp - 0x228]
add eax, 0xe4
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
push eax
mov ecx, dword [ebp - 0x228]
add ecx, 0xe4
push ecx
push 0x2b
mov edx, dword [ebp - 0x230]
push edx
call dword [sym.imp.WININET.dll_InternetSetOptionW]
mov eax, dword [ebp - 0x228]
add eax, 0x148
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
push eax
mov ecx, dword [ebp - 0x228]
add ecx, 0x148
push ecx
push 0x2c
mov edx, dword [ebp - 0x230]
push edx
call dword [sym.imp.WININET.dll_InternetSetOptionW]
push 0
push 0x400200
push 0x468980
push 0
push 0x45d9d4
lea ecx, [ebp - 0x224]
call fcn.004094b0
push eax
push 0x45d9e8
mov eax, dword [ebp - 0x230]
push eax
call dword [sym.imp.WININET.dll_HttpOpenRequestW]
mov dword [ebp - 0x23c], eax
cmp dword [ebp - 0x23c], 0
jne 0x448678
mov ecx, dword [ebp - 0x230]
push ecx
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov edx, dword [ebp - 0x22c]
push edx
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov dword [ebp - 0x26c], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x234]
call fcn.00409370
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x224]
call fcn.00409370
mov eax, dword [ebp - 0x26c]
jmp 0x4486ed
push 0
push 0
push 0
push 0
mov eax, dword [ebp - 0x23c]
push eax
call dword [sym.imp.WININET.dll_HttpSendRequestW]
mov dword [ebp - 0x270], eax
mov ecx, dword [ebp - 0x23c]
push ecx
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov edx, dword [ebp - 0x230]
push edx
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov eax, dword [ebp - 0x22c]
push eax
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov ecx, dword [ebp - 0x270]
mov dword [ebp - 0x274], ecx
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x234]
call fcn.00409370
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x224]
call fcn.00409370
mov eax, dword [ebp - 0x274]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00416d81
mov esp, ebp
pop ebp
ret 4