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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x41d665
mov eax, dword fs:[0]
push eax
sub esp, 0x50
mov eax, dword [0x42c014]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x58], ecx
mov ebx, dword [ebp + 8]
mov ecx, ebx
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x401ea0
sub ecx, edx
push ecx
push ebx
lea ecx, [ebp - 0x2c]
call fcn.00402760
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x2c]
cmp dword [ebp - 0x18], 0x10
mov ebx, dword [ebp - 0x1c]
cmovae ecx, dword [ebp - 0x2c]
mov dword [ebp - 0x30], ecx
cmp ebx, 7
jb 0x401f98
lea eax, [ebx - 6]
add eax, ecx
mov dword [ebp - 0x54], eax
sub eax, ecx
push eax
push 0x68
push ecx
call fcn.0040b700
add esp, 0xc
test eax, eax
je 0x401f98
mov edx, eax
mov esi, str.http:__
mov edi, 3
mov ecx, dword [edx]
cmp ecx, dword [esi]
jne 0x401f0d
add edx, 4
add esi, 4
or edi, 0xffffffff
mov cl, byte [edx]
cmp cl, byte [esi]
jne 0x401f34
mov cl, byte [edx + 1]
cmp cl, byte [esi + 1]
jne 0x401f34
mov cl, byte [edx + 2]
cmp cl, byte [esi + 2]
jne 0x401f34
cmp edi, 0xffffffff
je 0x401f30
mov cl, byte [edx + 3]
cmp cl, byte [esi + 3]
jne 0x401f34
xor ecx, ecx
jmp 0x401f39
sbb ecx, ecx
or ecx, 1
test ecx, ecx
je 0x401f55
mov ecx, dword [ebp - 0x54]
inc eax
sub ecx, eax
push ecx
push 0x68
push eax
call fcn.0040b700
add esp, 0xc
test eax, eax
jne 0x401ef2
jmp 0x401f98
sub eax, dword [ebp - 0x30]
cmp eax, 0xffffffff
je 0x401f98
cmp ebx, eax
jb 0x4021c3
mov ecx, ebx
lea edx, [ebp - 0x2c]
sub ecx, eax
mov esi, 7
cmp ecx, esi
cmovb esi, ecx
cmp dword [ebp - 0x18], 0x10
cmovae edx, dword [ebp - 0x2c]
sub ebx, esi
add edx, eax
mov ecx, ebx
sub ecx, eax
inc ecx
push ecx
lea eax, [edx + esi]
push eax
push edx
call fcn.0040b020
add esp, 0xc
mov dword [ebp - 0x1c], ebx
cmp dword [ebp - 0x18], 0x10
lea esi, [ebp - 0x2c]
cmovae esi, dword [ebp - 0x2c]
test ebx, ebx
je 0x401fbd
push ebx
push 0x2f
push esi
call fcn.0040b700
mov edi, eax
add esp, 0xc
test edi, edi
je 0x401fbd
sub edi, esi
jmp 0x401fc0
or edi, 0xffffffff
cmp ebx, edi
mov dword [ebp - 0x50], 0
mov ecx, edi
mov dword [ebp - 0x40], 0
cmovb ecx, ebx
mov dword [ebp - 0x3c], 0
cmp dword [ebp - 0x18], 0x10
lea eax, [ebp - 0x2c]
push ecx
cmovae eax, dword [ebp - 0x2c]
lea ecx, [ebp - 0x50]
push eax
call fcn.00402760
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x2c]
mov esi, dword [ebp - 0x1c]
cmp esi, edi
cmovb edi, esi
cmp dword [ebp - 0x18], 0x10
cmovae ecx, dword [ebp - 0x2c]
sub esi, edi
lea eax, [esi + 1]
push eax
lea eax, [ecx + edi]
push eax
push ecx
call fcn.0040b020
mov ebx, dword [ebp - 0x58]
add esp, 0xc
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x54], 0
push 0x103
push dword [ebp - 0x34]
lea eax, [ebx + 0x44]
push 0x104
push eax
call fcn.0040d120
mov eax, dword [ebx + 0x38]
add esp, 0x10
push 0
push 0
push eax
neg eax
sbb eax, eax
and eax, 3
push eax
push dword [ebx + 0xc]
call dword [sym.imp.WININET.dll_InternetOpenA]
mov edi, eax
test edi, edi
je 0x402129
mov esi, dword [sym.imp.WININET.dll_InternetSetOptionA]
lea eax, [ebp - 0x34]
push 4
push eax
push 6
push edi
mov dword [ebp - 0x34], 0x2bf20
call esi
push 4
lea eax, [ebp - 0x30]
mov dword [ebp - 0x30], 0x2bf20
push eax
push 2
push edi
call esi
push 4
lea eax, [ebp - 0x38]
mov dword [ebp - 0x38], 1
push eax
push 0x41
push edi
call esi
cmp dword [ebp - 0x3c], 0x10
lea eax, [ebp - 0x50]
push 1
cmovae eax, dword [ebp - 0x50]
push 0
push 3
push dword [ebx + 0x40]
push dword [ebx + 0x3c]
push 0x50
push eax
push edi
call dword [sym.imp.WININET.dll_InternetConnectA]
mov ebx, dword [sym.imp.WININET.dll_InternetCloseHandle]
mov dword [ebp - 0x5c], eax
test eax, eax
je 0x402126
cmp dword [ebp - 0x18], 0x10
lea ecx, [ebp - 0x2c]
push 1
cmovae ecx, dword [ebp - 0x2c]
push 0x80400000
push 0
push 0
push 0
push ecx
push 0x4291e4
push eax
call dword [sym.imp.WININET.dll_HttpOpenRequestA]
mov esi, eax
test esi, esi
je 0x402121
push esi
call fcn.00401830
push 0
push 0
push 0
push 0
push esi
call dword [sym.imp.WININET.dll_HttpSendRequestA]
test eax, eax
je 0x40211e
mov ecx, dword [ebp - 0x58]
push esi
call fcn.00401970
mov dword [ebp - 0x54], eax
push esi
call ebx
push dword [ebp - 0x5c]
call ebx
push edi
call ebx
mov ecx, dword [ebp - 0x3c]
xor ebx, ebx
cmp dword [ebp - 0x54], ebx
setg bl
cmp ecx, 0x10
jb 0x402161
mov edx, dword [ebp - 0x50]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x402157
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4021c8
push ecx
push edx
call fcn.00409bac
add esp, 8
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x3c], 0xf
mov byte [ebp - 0x50], 0
cmp ecx, 0x10
jb 0x4021a3
mov edx, dword [ebp - 0x2c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x402199
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4021c8
push ecx
push edx
call fcn.00409bac
add esp, 8
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00409a47
mov esp, ebp
pop ebp
ret 4
call fcn.004025d0
call fcn.0040d01f
int3