Function at 0x4ee190
Capabilities:
Check http status code
Check internet connectivity via wininet
Connect to http server
Create http request
Parse url
Send data
Send http request

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x4060
call fcn.00527d30
mov eax, dword [0x5d6b80]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x14]
push ebx
mov ebx, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0x4008], eax
mov eax, dword [ebp + 0x1c]
push 0x1000
mov dword [ebp - 0x4020], eax
lea eax, [ebp - 0x4004]
push 0
push eax
mov dword [ebp - 0x4014], ebx
call fcn.00525ee0
push 0x1000
lea eax, [ebp - 0x3004]
push 0
push eax
call fcn.00525ee0
push 0x3c
lea eax, [ebp - 0x4060]
push 0
push eax
call fcn.00525ee0
lea eax, [ebp - 0x4004]
mov dword [ebp - 0x4060], 0x3c
mov dword [ebp - 0x4050], eax
add esp, 0x24
lea eax, [ebp - 0x3004]
mov dword [ebp - 0x404c], 0x1000
mov dword [ebp - 0x4034], eax
mov eax, 0x1bb
mov word [ebp - 0x4048], ax
lea eax, [ebp - 0x4060]
push eax
push 0x10000000
push 0
push dword [esi]
mov dword [ebp - 0x4030], 0x1000
call dword [sym.imp.WININET.dll_InternetCrackUrlW]
test eax, eax
je 0x4ee2c9
push 0
lea eax, [ebp - 0x401c]
mov dword [ebp - 0x401c], 0
push eax
call dword [sym.imp.WININET.dll_InternetGetConnectedState]
test eax, eax
je 0x4ee2c9
push 0
push 0
push 0
push 0
push dword [edi]
call dword [sym.imp.WININET.dll_InternetOpenW]
mov esi, eax
mov dword [ebp - 0x4010], esi
test esi, esi
je 0x4ee2c9
push 0
push 0
push 3
push 0
push 0
push 0x1bb
lea eax, [ebp - 0x4004]
push eax
push esi
call dword [sym.imp.WININET.dll_InternetConnectW]
mov edi, eax
mov dword [ebp - 0x400c], edi
test edi, edi
jne 0x4ee2d0
push esi
call dword [sym.imp.WININET.dll_InternetCloseHandle]
xor eax, eax
jmp 0x4ee565
mov esi, dword [sym.imp.WININET.dll_InternetSetOptionW]
lea eax, [ebp - 0x4018]
push 4
push eax
push 2
push edi
mov dword [ebp - 0x4018], 0x2710
call esi
push 0
push 0x4800000
push 0
push 0
push 0
lea eax, [ebp - 0x3004]
push eax
push 0x58c304
push edi
call dword [sym.imp.WININET.dll_HttpOpenRequestW]
mov edi, eax
test edi, edi
jne 0x4ee331
push dword [ebp - 0x4010]
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
call esi
push dword [ebp - 0x400c]
call esi
xor eax, eax
jmp 0x4ee565
push 4
lea eax, [ebp - 0x4018]
push eax
push 5
push edi
call esi
push 4
lea eax, [ebp - 0x4018]
push eax
push 6
push edi
call esi
mov ebx, dword [ebx]
cmp dword [ebx - 0xc], 0
jle 0x4ee3d1
test ebx, ebx
jne 0x4ee35d
xor eax, eax
jmp 0x4ee395
mov ecx, ebx
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4ee362
sub ecx, edx
sar ecx, 1
lea esi, [ecx + 1]
cmp esi, 0x3fffffff
jle 0x4ee380
xor eax, eax
jmp 0x4ee395
add esi, esi
mov eax, esi
call fcn.00527aa0
mov eax, esp
push 3
push esi
push ebx
push eax
call fcn.004ee060
mov ecx, dword [ebp - 0x4014]
push 0x60000000
mov ecx, dword [ecx]
push dword [ecx - 0xc]
push eax
push edi
call dword [sym.imp.WININET.dll_HttpAddRequestHeadersA]
test eax, eax
jne 0x4ee3d1
push dword [ebp - 0x4010]
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
call esi
push dword [ebp - 0x400c]
call esi
push edi
call esi
xor eax, eax
jmp 0x4ee565
mov eax, dword [ebp - 0x4008]
mov ebx, dword [eax]
test ebx, ebx
jne 0x4ee3e1
xor eax, eax
jmp 0x4ee419
mov ecx, ebx
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4ee3e6
sub ecx, edx
sar ecx, 1
lea esi, [ecx + 1]
cmp esi, 0x3fffffff
jle 0x4ee404
xor eax, eax
jmp 0x4ee419
add esi, esi
mov eax, esi
call fcn.00527aa0
mov eax, esp
push 3
push esi
push ebx
push eax
call fcn.004ee060
mov ecx, dword [ebp - 0x4008]
mov ecx, dword [ecx]
push dword [ecx - 0xc]
push eax
push 0
push 0
push edi
call dword [sym.imp.WININET.dll_HttpSendRequestA]
test eax, eax
je 0x4ee3b1
cmp dword [ebp + 0x18], 1
jne 0x4ee547
push 0
lea eax, [ebp - 0x4024]
mov dword [ebp - 0x4014], 0xc8
push eax
lea eax, [ebp - 0x4014]
mov dword [ebp - 0x4024], 4
push eax
push 0x20000013
push edi
call dword [sym.imp.WININET.dll_HttpQueryInfoW]
mov eax, dword [ebp - 0x4014]
cmp eax, 0xc8
jae 0x4ee48a
cmp eax, 0xce
ja 0x4ee3b1
mov ebx, dword [sym.imp.WININET.dll_InternetReadFile]
mov dword [ebp - 0x4008], 0
lea ebx, [ebx]
mov ecx, 0x2000
lea eax, [ebp - 0x2004]
jmp 0x4ee4b0
mov byte [eax], 0
lea eax, [eax + 1]
dec ecx
jne 0x4ee4b0
lea eax, [ebp - 0x4008]
mov dword [ebp - 0x4008], ecx
push eax
push 0x1fff
lea eax, [ebp - 0x2004]
push eax
push edi
call ebx
test eax, eax
je 0x4ee547
mov edx, dword [ebp - 0x4008]
test edx, edx
je 0x4ee547
lea ecx, [ebp - 0x2004]
lea esi, [ecx + 1]
lea esp, [esp]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4ee4f0
sub ecx, esi
lea esi, [ecx + 1]
cmp esi, 0x3fffffff
jle 0x4ee515
mov ecx, dword [ebp - 0x4020]
xor eax, eax
push edx
push eax
call fcn.00472540
jmp 0x4ee4a0
lea eax, [esi + esi]
call fcn.00527aa0
mov eax, esp
lea ecx, [ebp - 0x2004]
push 3
push esi
push ecx
push eax
call fcn.00485830
mov edx, dword [ebp - 0x4008]
mov ecx, dword [ebp - 0x4020]
push edx
push eax
call fcn.00472540
jmp 0x4ee4a0
push dword [ebp - 0x4010]
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
call esi
push dword [ebp - 0x400c]
call esi
push edi
call esi
mov eax, 1
lea esp, [ebp - 0x406c]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00525878
mov esp, ebp
pop ebp
ret