Function at 0x4120c0
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 [0x41166c]
call fcn.004052a8
xor eax, eax
push ebp
push 0x41249f
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 0x41244f
push dword fs:[edx]
mov dword fs:[edx], esp
mov edx, 0x4124bc
mov eax, dword [ebp - 0x20]
call fcn.00407518
test al, al
je 0x412175
mov edx, 0x1bb
mov eax, dword [ebp - 0x18]
call fcn.00406fa4
mov esi, eax
mov dword [ebp - 0x3c], 0x80803000
jmp 0x41218b
mov edx, 0x50
mov eax, dword [ebp - 0x18]
call fcn.00406fa4
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.00404a00
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 0x4121b7
cmp byte [ebx + 8], 0
je 0x4121c1
call fcn.00403fdc
jmp 0x412456
test edi, edi
je 0x41227f
lea eax, [ebp - 4]
mov edx, 0x4124cc
call fcn.00404608
lea eax, [ebp - 8]
call fcn.00404570
mov eax, edi
call fcn.004079e0
dec eax
test eax, eax
jl 0x412256
inc eax
mov dword [ebp - 0x48], eax
xor esi, esi
cmp dword [ebp - 8], 0
jne 0x412215
lea ecx, [ebp - 0x8c]
mov edx, esi
mov eax, edi
call fcn.004079bc
mov eax, dword [ebp - 0x8c]
lea edx, [ebp - 8]
call fcn.0041177c
jmp 0x412250
push dword [ebp - 8]
push 0x4124dc
lea ecx, [ebp - 0x94]
mov edx, esi
mov eax, edi
call fcn.004079bc
mov eax, dword [ebp - 0x94]
lea edx, [ebp - 0x90]
call fcn.0041177c
push dword [ebp - 0x90]
lea eax, [ebp - 8]
mov edx, 3
call fcn.00404904
inc esi
dec dword [ebp - 0x48]
jne 0x4121f0
mov eax, dword [ebp - 8]
call fcn.00404a00
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 8]
test eax, eax
je 0x41226d
sub eax, 4
mov eax, dword [eax]
mov dword [ebp - 0x44], eax
mov eax, dword [ebx + 0x2c]
mov edx, 0x4124e8
call fcn.004078fc
jmp 0x412296
lea eax, [ebp - 4]
mov edx, 0x412520
call fcn.00404608
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 0x412524
lea edx, [ebp - 0x98]
mov eax, dword [ebp - 0x14]
call fcn.0041177c
mov eax, dword [ebp - 0x98]
call fcn.00404a00
push eax
mov eax, dword [ebp - 4]
call fcn.00404a00
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 0x4122e0
cmp byte [ebx + 8], 0
je 0x4122ea
call fcn.00403fdc
jmp 0x412456
cmp byte [ebx + 0x1c], 0
je 0x41230b
cmp byte [ebx + 0x1d], 0
je 0x41230b
push 0xa0000000
push 0x1d
push 0x412530
mov eax, dword [ebp - 0x30]
push eax
call sub.wininet.dll_HttpAddRequestHeadersA
mov eax, dword [ebx + 0x2c]
call fcn.004079e0
dec eax
test eax, eax
jl 0x41237a
inc eax
mov dword [ebp - 0x48], eax
xor esi, esi
lea ecx, [ebp - 0x9c]
mov eax, dword [ebx + 0x2c]
mov edx, esi
call fcn.004079bc
mov eax, dword [ebp - 0x9c]
mov dword [ebp - 0xa0], eax
mov edi, dword [ebp - 0xa0]
test edi, edi
je 0x412349
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.004079bc
mov eax, dword [ebp - 0xa4]
call fcn.00404a00
push eax
mov eax, dword [ebp - 0x30]
push eax
call sub.wininet.dll_HttpAddRequestHeadersA
inc esi
dec dword [ebp - 0x48]
jne 0x41231e
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 0x412423
cmp byte [ebx + 8], 0
je 0x4123a7
call fcn.00403fdc
jmp 0x412456
lea eax, [ebp - 0x88]
xor ecx, ecx
mov edx, 0x40
call fcn.00403308
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 0x4123ec
call fcn.00403fdc
jmp 0x412456
mov eax, dword [ebp - 0x24]
push eax
lea eax, [ebp - 0xa8]
lea edx, [ebp - 0x88]
mov ecx, 0x40
call fcn.004047e0
mov eax, dword [ebp - 0xa8]
or edx, 0xffffffff
call fcn.00406fa4
mov ecx, eax
mov edx, dword [ebp - 0x30]
mov eax, ebx
call fcn.00411eb8
mov byte [ebp - 0x25], al
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x412456
cmp dword [ebp - 0x30], 0
je 0x41243f
mov eax, dword [ebp - 0x30]
push eax
call sub.wininet.dll_InternetCloseHandle
cmp dword [ebp - 0x2c], 0
je 0x41244e
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 0x4124a6
lea eax, [ebp - 0xa8]
mov edx, 2
call fcn.00404594
lea eax, [ebp - 0x9c]
mov edx, 5
call fcn.00404594
lea eax, [ebp - 0x20]
mov edx, dword [0x41166c]
call fcn.00405164
lea eax, [ebp - 8]
mov edx, 2
call fcn.00404594
ret