Function at 0x45ea10
Capabilities:
Check http status code
Connect to http server
Create http request
Parse url
Send data
Send http request

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff6c
push ebx
xor ebx, ebx
mov dword [ebp - 0x90], ebx
mov dword [ebp - 0x94], ebx
mov dword [ebp - 0x8c], ebx
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x3c], ebx
mov dword [ebp - 0x40], ebx
mov dword [ebp - 4], ecx
mov dword [ebp - 0xc], edx
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x45ee04
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x28]
mov edx, 0x45ee24
call fcn.00407020
cmp dword [ebp - 0xc], 0
jne 0x45ea7d
lea eax, [ebp - 0x40]
mov edx, 0x45ee5c
call fcn.00407020
xor eax, eax
mov dword [ebp - 0x48], eax
xor eax, eax
mov dword [ebp - 0x4c], eax
jmp 0x45eaad
lea eax, [ebp - 0x40]
mov edx, 0x45ee70
call fcn.00407020
mov eax, dword [ebp - 0xc]
call fcn.004074e8
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0xc]
call fcn.004070f4
mov dword [ebp - 0x4c], eax
lea eax, [ebp - 0x28]
mov edx, 0x45ee88
call fcn.00407900
mov byte [ebp - 0xd], 0
lea eax, [ebp - 0x88]
mov edx, 0x3c
call fcn.00423e10
mov dword [ebp - 0x80], 0x20
mov dword [ebp - 0x74], pe_nt_image_headers32
mov dword [ebp - 0x58], 0x800
mov dword [ebp - 0x88], 0x3c
mov dword [ebp - 0x34], 0x50
lea eax, [ebp - 0x88]
push eax
push 0
push 0
mov eax, dword [ebp - 8]
call fcn.00407780
push eax
call sub.wininet.dll_InternetCrackUrlW
test eax, eax
je 0x45eb4d
mov byte [ebp - 0xd], 1
movzx eax, word [ebp - 0x70]
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x38]
mov edx, dword [ebp - 0x78]
call fcn.004077d8
lea eax, [ebp - 0x38]
push eax
mov ecx, dword [ebp - 0x74]
mov edx, 1
mov eax, dword [ebp - 0x38]
call fcn.00407ac8
lea eax, [ebp - 0x3c]
mov edx, dword [ebp - 0x5c]
call fcn.004077d8
lea eax, [ebp - 0x3c]
push eax
mov ecx, dword [ebp - 0x58]
mov edx, 1
mov eax, dword [ebp - 0x3c]
call fcn.00407ac8
push 0
push 0
push 0
push 0
push 0x45eeec
call sub.wininet.dll_InternetOpenA
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], 0xea60
push 4
lea eax, [ebp - 0x2c]
push eax
push 2
mov eax, dword [ebp - 0x30]
push eax
call sub.wininet.dll_InternetSetOptionW
mov dword [ebp - 0x2c], 0xea60
push 4
lea eax, [ebp - 0x2c]
push eax
push 6
mov eax, dword [ebp - 0x30]
push eax
call sub.wininet.dll_InternetSetOptionW
push 0
push 0
push 3
push 0
push 0
mov ax, word [ebp - 0x34]
push eax
mov eax, dword [ebp - 0x38]
call fcn.00407780
push eax
mov eax, dword [ebp - 0x30]
push eax
call sub.wininet.dll_InternetConnectW
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x45ebcf
push ebp
mov edx, 0x45ef04
xor eax, eax
call fcn.0045e9d0
pop ecx
jmp 0x45edd1
mov dword [ebp - 0x44], 0x84000100
lea eax, [ebp - 0x8c]
push eax
mov ecx, 8
mov edx, 1
mov eax, dword [ebp - 8]
call fcn.00407ac8
mov eax, dword [ebp - 0x8c]
mov edx, dword [0x46f01c]
call fcn.00407a90
jne 0x45ec09
or dword [ebp - 0x44], 0x800000
xor eax, eax
push ebp
push 0x45edca
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
mov eax, dword [ebp - 0x44]
push eax
push 0
push 0
push 0
mov eax, dword [ebp - 0x3c]
call fcn.00407780
push eax
mov eax, dword [ebp - 0x40]
call fcn.00407780
push eax
mov eax, dword [ebp - 0x14]
push eax
call sub.wininet.dll_HttpOpenRequestW
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jne 0x45ec5f
push ebp
mov edx, 0x45ef30
xor eax, eax
call fcn.0045e9d0
pop ecx
call fcn.00406434
jmp 0x45edd1
xor eax, eax
push ebp
push 0x45edac
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x4c]
push eax
mov eax, dword [ebp - 0x48]
push eax
mov eax, dword [ebp - 0x28]
call fcn.004070e8
push eax
mov eax, dword [ebp - 0x28]
call fcn.00407780
push eax
mov eax, dword [ebp - 0x18]
push eax
call sub.wininet.dll_HttpSendRequestW
test eax, eax
je 0x45ed95
mov dword [ebp - 0x1c], 4
xor eax, eax
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x24]
push eax
push 0x20000013
mov eax, dword [ebp - 0x18]
push eax
call sub.wininet.dll_HttpQueryInfoW
test eax, eax
jne 0x45ecdf
push ebp
mov edx, 0x45ef5c
xor eax, eax
call fcn.0045e9d0
pop ecx
call fcn.00406434
call fcn.00406434
jmp 0x45edd1
cmp dword [ebp - 0x24], 0xc8
sete byte [ebp - 0xd]
cmp byte [ebp - 0xd], 0
jne 0x45ed89
lea eax, [ebp - 0x28]
mov edx, 0x800
call fcn.00407880
mov eax, dword [ebp - 0x28]
call fcn.004070e8
add eax, eax
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x28]
call fcn.004071b0
push eax
push 0x16
mov eax, dword [ebp - 0x18]
push eax
call sub.wininet.dll_HttpQueryInfoW
test eax, eax
je 0x45ed89
mov eax, dword [ebp - 0x28]
call fcn.00407780
mov edx, eax
lea eax, [ebp - 0x28]
call fcn.004077d8
push 0x45ef88
mov eax, dword [ebp - 0x24]
xor edx, edx
push edx
push eax
lea eax, [ebp - 0x94]
call fcn.00415508
push dword [ebp - 0x94]
push 0x45efb4
push dword [ebp - 0x28]
lea eax, [ebp - 0x90]
mov edx, 4
call fcn.004079e0
mov edx, dword [ebp - 0x90]
mov eax, dword [0x46f0f4]
mov eax, dword [eax]
xor ecx, ecx
call fcn.004344b0
push ebp
xor edx, edx
mov eax, dword [ebp - 0x24]
call fcn.0045e9d0
pop ecx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45edb3
mov eax, dword [ebp - 0x18]
push eax
call sub.wininet.dll_InternetCloseHandle
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45ee0b
lea eax, [ebp - 0x94]
mov edx, 3
call fcn.00406ca4
lea eax, [ebp - 0x40]
mov edx, 3
call fcn.00406ca4
lea eax, [ebp - 0x28]
call fcn.00406c44
ret