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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4272c5
mov eax, dword fs:[0]
push eax
sub esp, 0x50
mov eax, dword [0x438018]
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 - 0x54], ecx
mov edx, dword [ebp + 8]
mov ecx, edx
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x30], edx
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0xf
lea esi, [ecx + 1]
mov byte [ebp - 0x2c], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x401d72
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0x2c]
call fcn.00402460
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x2c]
mov ebx, dword [ebp - 0x18]
cmp ebx, 0x10
mov esi, dword [ebp - 0x1c]
mov edx, esi
cmovae ecx, dword [ebp - 0x2c]
push 7
push str.http:__
push ecx
call fcn.00402640
mov edi, eax
add esp, 0xc
cmp edi, 0xffffffff
je 0x401df0
cmp esi, edi
jb 0x40201d
mov eax, esi
lea ecx, [ebp - 0x2c]
sub eax, edi
mov edx, 7
cmp eax, edx
cmovb edx, eax
cmp ebx, 0x10
cmovae ecx, dword [ebp - 0x2c]
sub esi, edx
add ecx, edi
mov dword [ebp - 0x1c], esi
sub esi, edi
inc esi
push esi
lea eax, [ecx + edx]
push eax
push ecx
call fcn.0040f480
mov esi, dword [ebp - 0x1c]
add esp, 0xc
cmp dword [ebp - 0x18], 0x10
lea ebx, [ebp - 0x2c]
cmovae ebx, dword [ebp - 0x2c]
test esi, esi
je 0x401e15
push esi
push 0x2f
push ebx
call fcn.0040fa10
mov edi, eax
add esp, 0xc
test edi, edi
je 0x401e15
sub edi, ebx
jmp 0x401e18
or edi, 0xffffffff
cmp esi, edi
mov dword [ebp - 0x48], 0
mov ecx, edi
mov dword [ebp - 0x38], 0
cmovb ecx, esi
mov dword [ebp - 0x34], 0xf
cmp dword [ebp - 0x18], 0x10
lea eax, [ebp - 0x2c]
push ecx
cmovae eax, dword [ebp - 0x2c]
lea ecx, [ebp - 0x48]
push eax
mov byte [ebp - 0x48], 0
call fcn.00402460
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x2c]
mov eax, dword [ebp - 0x1c]
cmp eax, edi
cmovb edi, eax
cmp dword [ebp - 0x18], 0x10
cmovae ecx, dword [ebp - 0x2c]
sub eax, edi
mov dword [ebp - 0x1c], eax
inc eax
push eax
lea eax, [ecx + edi]
push eax
push ecx
call fcn.0040f480
mov ebx, dword [ebp - 0x54]
add esp, 0xc
mov dword [ebp - 0x58], 0
push 0x103
push dword [ebp - 0x30]
lea eax, [ebx + 0x44]
push 0x104
push eax
call fcn.00412494
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 0x401f83
mov esi, dword [sym.imp.WININET.dll_InternetSetOptionA]
lea eax, [ebp - 0x30]
push 4
push eax
push 6
push edi
mov dword [ebp - 0x30], 0x2bf20
call esi
push 4
lea eax, [ebp - 0x4c]
mov dword [ebp - 0x4c], 0x2bf20
push eax
push 2
push edi
call esi
push 4
lea eax, [ebp - 0x50]
mov dword [ebp - 0x50], 1
push eax
push 0x41
push edi
call esi
cmp dword [ebp - 0x34], 0x10
lea eax, [ebp - 0x48]
push 1
cmovae eax, dword [ebp - 0x48]
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 0x401f80
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 0x4346ec
push eax
call dword [sym.imp.WININET.dll_HttpOpenRequestA]
mov esi, eax
test esi, esi
je 0x401f7b
push esi
call fcn.00401700
push 0
push 0
push 0
push 0
push esi
call dword [sym.imp.WININET.dll_HttpSendRequestA]
test eax, eax
je 0x401f78
mov ecx, dword [ebp - 0x54]
push esi
call fcn.00401840
mov dword [ebp - 0x58], eax
push esi
call ebx
push dword [ebp - 0x5c]
call ebx
push edi
call ebx
mov edx, dword [ebp - 0x34]
xor ebx, ebx
cmp dword [ebp - 0x58], ebx
setg bl
cmp edx, 0x10
jb 0x401fbb
mov ecx, dword [ebp - 0x48]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x401fb1
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x402022
push edx
push ecx
call fcn.0040df13
add esp, 8
mov edx, dword [ebp - 0x18]
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 0xf
mov byte [ebp - 0x48], 0
cmp edx, 0x10
jb 0x401ffd
mov ecx, dword [ebp - 0x2c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x401ff3
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x402022
push edx
push ecx
call fcn.0040df13
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.0040dcd3
mov esp, ebp
pop ebp
ret 4
call fcn.004025a0
call fcn.004123b7
int3