Function at 0x44e2f0
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 0x4602aa
mov eax, dword fs:[0]
push eax
sub esp, 0x268
mov eax, dword [0x47e014]
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 0x470210
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 0x44e3c2
mov eax, dword [ebp - 0x228]
add eax, 0xcc
push eax
mov ecx, dword [ebp - 0x228]
add ecx, 4
push ecx
push 0x470224
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 0x44e405
mov edx, dword [ebp - 0x240]
and edx, 4
jne 0x44e3ea
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 0x44e405
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 0x44e415
xor eax, eax
jmp 0x44e78d
mov edx, dword [ebp + 8]
push edx
lea ecx, [ebp - 0x224]
call fcn.00405020
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x224]
call fcn.004091d0
lea ecx, [ebp - 0x234]
call fcn.004050d0
mov byte [ebp - 4], 1
push 8
push 0x470248
lea ecx, [ebp - 0x224]
call fcn.00404f40
mov dword [ebp - 0x238], eax
cmp dword [ebp - 0x238], 0
jle 0x44e589
push 0
push 0x47024c
lea ecx, [ebp - 0x224]
call fcn.00404f40
test eax, eax
jne 0x44e4d7
mov eax, dword [ebp - 0x238]
sub eax, 8
push eax
push 8
lea ecx, [ebp - 0x24c]
push ecx
lea ecx, [ebp - 0x224]
call fcn.00409d70
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.00404f80
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x24c]
call fcn.00404fe0
jmp 0x44e52c
mov ecx, dword [ebp - 0x238]
sub ecx, 7
push ecx
push 7
lea edx, [ebp - 0x258]
push edx
lea ecx, [ebp - 0x224]
call fcn.00409d70
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.00404f80
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x258]
call fcn.00404fe0
lea ecx, [ebp - 0x224]
call fcn.00405330
sub eax, dword [ebp - 0x238]
push eax
lea edx, [ebp - 0x264]
push edx
lea ecx, [ebp - 0x224]
call fcn.00409140
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.00404f80
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x264]
call fcn.00404fe0
jmp 0x44e5a8
mov edx, dword [ebp + 8]
push edx
lea ecx, [ebp - 0x234]
call fcn.00405230
push 0x470260
lea ecx, [ebp - 0x224]
call fcn.00405230
push 0
push 0x200
push 3
push 0
push 0
push 0x50
lea ecx, [ebp - 0x234]
call fcn.00405110
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 0x44e622
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.00404fe0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x224]
call fcn.00404fe0
mov eax, dword [ebp - 0x268]
jmp 0x44e78d
mov edx, dword [ebp - 0x228]
cmp dword [edx], 0
je 0x44e68b
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 0x47e990
push 0
push 0x470264
lea ecx, [ebp - 0x224]
call fcn.00405110
push eax
push 0x470278
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 0x44e718
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.00404fe0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x224]
call fcn.00404fe0
mov eax, dword [ebp - 0x26c]
jmp 0x44e78d
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.00404fe0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x224]
call fcn.00404fe0
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.004216bd
mov esp, ebp
pop ebp
ret 4