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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff58
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0xa8], ebx
mov dword [ebp - 0xa4], ebx
mov dword [ebp - 0x9c], ebx
mov dword [ebp - 0x98], ebx
mov dword [ebp - 0x90], ebx
mov dword [ebp - 0x94], ebx
mov dword [ebp - 0x8c], ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 8], ebx
mov esi, edx
lea edi, [ebp - 0x20]
push ecx
mov ecx, 6
rep movsd dword es:[edi], dword [esi]
pop ecx
mov dword [ebp - 0x24], ecx
mov ebx, eax
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x20]
mov edx, dword [0x41097c]
call fcn.00404ba8
xor eax, eax
push ebp
push 0x4117af
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 0x25], 0
xor eax, eax
mov dword [ebp - 0x2c], eax
xor eax, eax
mov dword [ebp - 0x30], eax
xor edx, edx
push ebp
push 0x41175f
push dword fs:[edx]
mov dword fs:[edx], esp
mov edx, 0x4117cc
mov eax, dword [ebp - 0x20]
call fcn.00406728
test al, al
je 0x411485
mov edx, 0x1bb
mov eax, dword [ebp - 0x18]
call fcn.004061b4
mov esi, eax
mov dword [ebp - 0x3c], 0x80803000
jmp 0x41149b
mov edx, 0x50
mov eax, dword [ebp - 0x18]
call fcn.004061b4
mov esi, eax
mov dword [ebp - 0x3c], 0x80000000
push 0
push 0
push 3
push 0
push 0
push esi
mov eax, dword [ebp - 0x1c]
call fcn.0040430c
push eax
mov eax, dword [ebx + 4]
push eax
call sub.wininet.dll_InternetConnectA
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0
je 0x4114c7
cmp byte [ebx + 8], 0
je 0x4114d1
call fcn.0040397c
jmp 0x411766
test edi, edi
je 0x41158f
lea eax, [ebp - 4]
mov edx, 0x4117dc
call fcn.00403f5c
lea eax, [ebp - 8]
call fcn.00403ec4
mov eax, edi
call fcn.00406c84
dec eax
test eax, eax
jl 0x411566
inc eax
mov dword [ebp - 0x48], eax
xor esi, esi
cmp dword [ebp - 8], 0
jne 0x411525
lea ecx, [ebp - 0x8c]
mov edx, esi
mov eax, edi
call fcn.00406c60
mov eax, dword [ebp - 0x8c]
lea edx, [ebp - 8]
call fcn.00410a8c
jmp 0x411560
push dword [ebp - 8]
push 0x4117ec
lea ecx, [ebp - 0x94]
mov edx, esi
mov eax, edi
call fcn.00406c60
mov eax, dword [ebp - 0x94]
lea edx, [ebp - 0x90]
call fcn.00410a8c
push dword [ebp - 0x90]
lea eax, [ebp - 8]
mov edx, 3
call fcn.00404210
inc esi
dec dword [ebp - 0x48]
jne 0x411500
mov eax, dword [ebp - 8]
call fcn.0040430c
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 8]
test eax, eax
je 0x41157d
sub eax, 4
mov eax, dword [eax]
mov dword [ebp - 0x44], eax
mov eax, dword [ebx + 0x2c]
mov edx, 0x4117f8
call fcn.00406ba0
jmp 0x4115a6
lea eax, [ebp - 4]
mov edx, 0x411830
call fcn.00403f5c
xor eax, eax
mov dword [ebp - 0x40], eax
xor eax, eax
mov dword [ebp - 0x44], eax
push 0
mov eax, dword [ebp - 0x3c]
push eax
push 0
push 0
push 0x411834
lea edx, [ebp - 0x98]
mov eax, dword [ebp - 0x14]
call fcn.00410a8c
mov eax, dword [ebp - 0x98]
call fcn.0040430c
push eax
mov eax, dword [ebp - 4]
call fcn.0040430c
push eax
mov eax, dword [ebp - 0x2c]
push eax
call sub.wininet.dll_HttpOpenRequestA
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0
je 0x4115f0
cmp byte [ebx + 8], 0
je 0x4115fa
call fcn.0040397c
jmp 0x411766
cmp byte [ebx + 0x1c], 0
je 0x41161b
cmp byte [ebx + 0x1d], 0
je 0x41161b
push 0xa0000000
push 0x1d
push 0x411840
mov eax, dword [ebp - 0x30]
push eax
call sub.wininet.dll_HttpAddRequestHeadersA
mov eax, dword [ebx + 0x2c]
call fcn.00406c84
dec eax
test eax, eax
jl 0x41168a
inc eax
mov dword [ebp - 0x48], eax
xor esi, esi
lea ecx, [ebp - 0x9c]
mov eax, dword [ebx + 0x2c]
mov edx, esi
call fcn.00406c60
mov eax, dword [ebp - 0x9c]
mov dword [ebp - 0xa0], eax
mov edi, dword [ebp - 0xa0]
test edi, edi
je 0x411659
sub edi, 4
mov edi, dword [edi]
push 0xa0000000
push edi
lea ecx, [ebp - 0xa4]
mov eax, dword [ebx + 0x2c]
mov edx, esi
call fcn.00406c60
mov eax, dword [ebp - 0xa4]
call fcn.0040430c
push eax
mov eax, dword [ebp - 0x30]
push eax
call sub.wininet.dll_HttpAddRequestHeadersA
inc esi
dec dword [ebp - 0x48]
jne 0x41162e
mov eax, dword [ebp - 0x44]
push eax
mov eax, dword [ebp - 0x40]
push eax
push 0
push 0
mov eax, dword [ebp - 0x30]
push eax
call sub.wininet.dll_HttpSendRequestA
test eax, eax
je 0x411733
cmp byte [ebx + 8], 0
je 0x4116b7
call fcn.0040397c
jmp 0x411766
lea eax, [ebp - 0x88]
xor ecx, ecx
mov edx, 0x40
call fcn.004030ec
mov dword [ebp - 0x34], 0x40
xor eax, eax
mov dword [ebp - 0x38], eax
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x88]
push eax
push 5
mov eax, dword [ebp - 0x30]
push eax
call sub.wininet.dll_HttpQueryInfoA
cmp byte [ebx + 8], 0
je 0x4116fc
call fcn.0040397c
jmp 0x411766
mov eax, dword [ebp - 0x24]
push eax
lea eax, [ebp - 0xa8]
lea edx, [ebp - 0x88]
mov ecx, 0x40
call fcn.004040f8
mov eax, dword [ebp - 0xa8]
or edx, 0xffffffff
call fcn.004061b4
mov ecx, eax
mov edx, dword [ebp - 0x30]
mov eax, ebx
call fcn.004111c8
mov byte [ebp - 0x25], al
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x411766
cmp dword [ebp - 0x30], 0
je 0x41174f
mov eax, dword [ebp - 0x30]
push eax
call sub.wininet.dll_InternetCloseHandle
cmp dword [ebp - 0x2c], 0
je 0x41175e
mov eax, dword [ebp - 0x2c]
push eax
call sub.wininet.dll_InternetCloseHandle
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4117b6
lea eax, [ebp - 0xa8]
mov edx, 2
call fcn.00403ee8
lea eax, [ebp - 0x9c]
mov edx, 5
call fcn.00403ee8
lea eax, [ebp - 0x20]
mov edx, dword [0x41097c]
call fcn.00404a70
lea eax, [ebp - 8]
mov edx, 2
call fcn.00403ee8
ret