Function at 0x45e0fc
Capabilities:
Connect to http server
Create http request
Send data
Send http request

Disassembly:
push ebp
mov ebp, esp
push eax
mov eax, 0x10
add esp, 0xfffff004
push eax
dec eax
jne 0x45e105
mov eax, dword [ebp - 4]
add esp, 0xffffff8c
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0x10078], edx
mov dword [ebp - 0x10074], edx
mov dword [ebp - 0x10070], edx
mov dword [ebp - 8], edx
mov dword [ebp - 0xc], edx
mov dword [ebp - 0x10], edx
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x20], eax
xor eax, eax
push ebp
push 0x45eaaa
push dword fs:[eax]
mov dword fs:[eax], esp
xor edx, edx
push ebp
push 0x45ea75
push dword fs:[edx]
mov dword fs:[edx], esp
xor edx, edx
push ebp
push 0x45ea64
push dword fs:[edx]
mov dword fs:[edx], esp
xor eax, eax
mov dword [ebp - 0x30], eax
xor eax, eax
mov dword [ebp - 0x2c], eax
xor eax, eax
mov dword [ebp - 0x28], eax
mov byte [ebp - 0x21], 0
mov eax, dword [ebp - 0x20]
mov byte [eax + 0x45], 0
push ebp
lea ecx, [ebp - 0x1c]
lea edx, [ebp - 8]
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0x2c]
call fcn.0045df64
pop ecx
xor ebx, ebx
mov eax, dword [ebp - 0x20]
call fcn.0045df54
cmp dword [eax + 0xd], 0
je 0x45e25b
mov eax, dword [ebp - 0x20]
call fcn.0045df54
mov edx, dword [eax + 0xd]
lea eax, [ebp - 0x18]
call fcn.004054a4
mov eax, dword [ebp - 0x20]
call fcn.0045df54
cmp dword [eax + 0x11], 0
je 0x45e1ed
push dword [ebp - 0x18]
push 0x45eac4
mov eax, dword [ebp - 0x20]
call fcn.0045df54
push dword [eax + 0x11]
lea eax, [ebp - 0x18]
mov edx, 3
call fcn.004057a0
mov eax, dword [ebp - 0x20]
cmp dword [eax + 0x28], 0
je 0x45e21b
push 0
push 0
mov eax, dword [ebp - 0x18]
call fcn.0040589c
push eax
push 3
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0x28]
call fcn.0040589c
push eax
call sub.wininet.dll_InternetOpenA
mov dword [ebp - 0x28], eax
jmp 0x45e234
push 0
push 0
mov eax, dword [ebp - 0x18]
call fcn.0040589c
push eax
push 3
push 0
call sub.wininet.dll_InternetOpenA
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x20]
call fcn.0045df54
mov eax, dword [eax + 0x15]
mov dword [ebp - 0x1005c], eax
mov eax, dword [ebp - 0x1005c]
test eax, eax
je 0x45e254
sub eax, 4
mov eax, dword [eax]
test eax, eax
setne bl
jmp 0x45e294
mov eax, dword [ebp - 0x20]
cmp dword [eax + 0x28], 0
je 0x45e282
push 0
push 0
push 0
push 0
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0x28]
call fcn.0040589c
push eax
call sub.wininet.dll_InternetOpenA
mov dword [ebp - 0x28], eax
jmp 0x45e294
push 0
push 0
push 0
push 0
push 0
call sub.wininet.dll_InternetOpenA
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
jne 0x45e2b6
mov eax, dword [ebp - 0x20]
mov dword [eax + 0x34], 1
call fcn.00404dc4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x45ea7f
push 0
push 0
push 3
mov eax, dword [ebp - 0x20]
call fcn.0045df54
mov eax, dword [eax + 8]
call fcn.0040589c
push eax
mov eax, dword [ebp - 0x20]
call fcn.0045df54
mov eax, dword [eax + 4]
call fcn.0040589c
push eax
movzx eax, word [ebp - 4]
push eax
mov eax, dword [ebp - 8]
call fcn.0040589c
push eax
mov eax, dword [ebp - 0x28]
push eax
call sub.wininet.dll_InternetConnectA
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0
jne 0x45e31a
mov eax, dword [ebp - 0x20]
mov dword [eax + 0x34], 2
call fcn.00404dc4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x45ea7f
test bl, bl
je 0x45e3ae
mov eax, dword [ebp - 0x20]
call fcn.0045df54
mov eax, dword [eax + 0x15]
mov dword [ebp - 0x1005c], eax
mov ebx, dword [ebp - 0x1005c]
test ebx, ebx
je 0x45e342
sub ebx, 4
mov ebx, dword [ebx]
inc ebx
push ebx
mov eax, dword [ebp - 0x20]
call fcn.0045df54
mov eax, dword [eax + 0x15]
call fcn.0040589c
push eax
push 0x2b
mov eax, dword [ebp - 0x2c]
push eax
call sub.wininet.dll_InternetSetOptionA
cmp eax, 1
sbb eax, eax
inc eax
test al, al
mov eax, dword [ebp - 0x20]
call fcn.0045df54
mov eax, dword [eax + 0x19]
mov dword [ebp - 0x1005c], eax
mov ebx, dword [ebp - 0x1005c]
test ebx, ebx
je 0x45e388
sub ebx, 4
mov ebx, dword [ebx]
inc ebx
push ebx
mov eax, dword [ebp - 0x20]
call fcn.0045df54
mov eax, dword [eax + 0x19]
call fcn.0040589c
push eax
push 0x2c
mov eax, dword [ebp - 0x2c]
push eax
call sub.wininet.dll_InternetSetOptionA
cmp eax, 1
sbb eax, eax
inc eax
test al, al
mov eax, dword [ebp - 0x20]
cmp dword [eax + 0x3c], 0
jne 0x45e3be
mov ebx, 0x45eac8
jmp 0x45e3c3
mov ebx, 0x45eacc
mov eax, dword [ebp - 0x20]
cmp byte [eax + 0x4e], 0
je 0x45e3d1
mov ebx, 0x45ead4
mov eax, dword [ebp - 0x20]
cmp byte [eax + 0x4f], 0
je 0x45e3de
xor esi, esi
jmp 0x45e3e3
mov esi, 0x80000000
cmp dword [ebp - 4], 0x1bb
jne 0x45e3f2
or esi, 0x800000
mov eax, dword [ebp - 0x20]
push dword [eax + 0x24]
push 0x45eae4
push 0x45eae4
lea eax, [ebp - 0x10]
mov edx, 3
call fcn.004057a0
lea eax, [ebp - 0x10]
call fcn.004058fc
mov dword [ebp - 0x44], eax
xor eax, eax
mov dword [ebp - 0x40], eax
push 0
push esi
lea eax, [ebp - 0x44]
push eax
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0x40]
call fcn.0040589c
push eax
push 0x45eae8
mov eax, dword [ebp - 0x1c]
call fcn.0040589c
push eax
push ebx
mov eax, dword [ebp - 0x2c]
push eax
call sub.wininet.dll_HttpOpenRequestA
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0
jne 0x45e49b
mov ebx, 0x45eac8
push 0
push esi
lea eax, [ebp - 0x10]
call fcn.004058fc
push eax
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0x40]
call fcn.0040589c
push eax
push 0x45eae8
mov eax, dword [ebp - 0x1c]
call fcn.0040589c
push eax
push ebx
mov eax, dword [ebp - 0x2c]
push eax
call sub.wininet.dll_HttpOpenRequestA
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0
jne 0x45e49b
mov eax, dword [ebp - 0x20]
mov dword [eax + 0x34], 3
mov eax, dword [ebp - 0x20]
call fcn.0045df54
movzx eax, byte [eax + 0xc]
mov byte [ebp - 0x46], al
cmp byte [ebp - 0x46], 0
je 0x45e556
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 4]
mov edx, dword [eax]
call dword [edx]
cmp edx, 0
jne 0x45e4c9
cmp eax, 0
je 0x45e556
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0x30]
mov ebx, dword [eax + 4]
mov eax, ebx
mov edx, dword [eax]
call dword [edx]
push edx
push eax
mov eax, ebx
call fcn.0041e338
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 4]
mov edx, dword [eax]
call dword [edx]
mov dword [ebp - 0x1006c], eax
mov dword [ebp - 0x10068], edx
lea eax, [ebp - 0x1006c]
mov dword [ebp - 0x10064], eax
mov byte [ebp - 0x10060], 0x10
lea edx, [ebp - 0x10064]
xor ecx, ecx
mov eax, 0x45eafc
call fcn.0040a868
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x45e535
sub ebx, 4
mov ebx, dword [ebx]
push 0x20000000
push ebx
mov eax, dword [ebp - 0xc]
call fcn.0040589c
push eax
mov eax, dword [ebp - 0x30]
push eax
call sub.wininet.dll_HttpAddRequestHeadersA
cmp eax, 1
sbb eax, eax
inc eax
mov byte [ebp - 0x46], al
mov eax, dword [ebp - 0x20]
cmp dword [eax + 0x3c], 0
jne 0x45e590
mov eax, dword [ebp - 0x20]
cmp dword [eax + 0x1c], 0
jne 0x45e590
mov eax, dword [ebp - 0x20]
cmp dword [eax + 0x20], 0
jne 0x45e590
push 0
push 0
push 0
push 0
mov eax, dword [ebp - 0x30]
push eax
call sub.wininet.dll_HttpSendRequestA
cmp eax, 1
sbb eax, eax
inc eax
mov byte [ebp - 0x45], al
jmp 0x45e61e
mov eax, dword [ebp - 0x20]
cmp dword [eax + 0x20], 0
jne 0x45e5a8
lea eax, [ebp - 0x14]
mov edx, 0x45eb18
call fcn.004054a4
jmp 0x45e5b6
lea eax, [ebp - 0x14]
mov edx, dword [ebp - 0x20]
mov edx, dword [edx + 0x20]
call fcn.004054a4
mov eax, dword [ebp - 0x20]
cmp dword [eax + 0x1c], 0
je 0x45e5da
push dword [ebp - 0x14]
push 0x45eb50
mov eax, dword [ebp - 0x20]
push dword [eax + 0x1c]
lea eax, [ebp - 0x14]
mov edx, 3
call fcn.004057a0
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x45e5e6
sub ebx, 4
mov ebx, dword [ebx]
mov eax, dword [ebp - 0x20]
mov esi, dword [eax + 0x3c]
test esi, esi
je 0x45e5f5
sub esi, 4
mov esi, dword [esi]
push esi
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0x3c]
call fcn.0040589c
push eax
push ebx
mov eax, dword [ebp - 0x14]
call fcn.0040589c
push eax
mov eax, dword [ebp - 0x30]
push eax
call sub.wininet.dll_HttpSendRequestA
cmp eax, 1
sbb eax, eax
inc eax
mov byte [ebp - 0x45], al
cmp byte [ebp - 0x45], 0
jne 0x45e640
mov eax, dword [ebp - 0x20]
mov dword [eax + 0x34], 4
call fcn.00404dc4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x45ea7f
xor eax, eax
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x38], pe_nt_image_headers32
mov eax, dword [ebp - 0x38]
call fcn.00402eec
mov dword [ebp - 0x34], eax
xor eax, eax
push ebp
push 0x45e762
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x38]
push eax
mov eax, dword [ebp - 0x34]
push eax
push 0x13
mov eax, dword [ebp - 0x30]
push eax
call sub.wininet.dll_HttpQueryInfoA
cmp eax, 1
sbb eax, eax
inc eax
mov byte [ebp - 0x45], al
cmp byte [ebp - 0x45], 0
je 0x45e6ac
lea eax, [ebp - 0x10070]
mov edx, dword [ebp - 0x34]
call fcn.00405604
mov eax, dword [ebp - 0x10070]
xor edx, edx
call fcn.00409688
mov edx, dword [ebp - 0x20]
mov dword [edx + 0x38], eax
xor eax, eax
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x38], pe_nt_image_headers32
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x38]
push eax
mov eax, dword [ebp - 0x34]
push eax
push 1
mov eax, dword [ebp - 0x30]
push eax
call sub.wininet.dll_HttpQueryInfoA
cmp eax, 1
sbb eax, eax
inc eax
mov byte [ebp - 0x45], al
cmp byte [ebp - 0x45], 0
je 0x45e6ec
mov eax, dword [ebp - 0x20]
add eax, 4
mov edx, dword [ebp - 0x34]
call fcn.00405604
xor eax, eax
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x38], pe_nt_image_headers32
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x38]
push eax
mov eax, dword [ebp - 0x34]
push eax
push 5
mov eax, dword [ebp - 0x30]
push eax
call sub.wininet.dll_HttpQueryInfoA
cmp eax, 1
sbb eax, eax
inc eax
mov byte [ebp - 0x45], al
cmp byte [ebp - 0x45], 0
jne 0x45e725
xor eax, eax
mov dword [ebp - 0x4c], eax
jmp 0x45e743
lea eax, [ebp - 0x10074]
mov edx, dword [ebp - 0x34]
call fcn.00405604
mov eax, dword [ebp - 0x10074]
xor edx, edx
call fcn.00409688
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x20]
mov edx, dword [ebp - 0x4c]
mov dword [eax + 0x50], edx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45e769
mov eax, dword [ebp - 0x34]
call fcn.00402f08
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45eab1
lea eax, [ebp - 0x10078]
mov edx, 3
call fcn.00405430
lea eax, [ebp - 0x1c]
mov edx, 6
call fcn.00405430
ret