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

Disassembly:
push 0x184
mov eax, 0x4202ca
call fcn.0040f484
mov edi, ecx
mov dword [ebp - 0x188], edi
mov byte [ebp - 0x171], 1
xor ebx, ebx
mov dword [ebp - 4], ebx
lea esi, [edi + 0x30]
sub esp, 0x18
mov ecx, esp
push edi
call fcn.0040228e
push esi
lea eax, [edi + 0x18]
push eax
call fcn.004030d3
test al, al
jne 0x40325b
push str.ParseURL
lea ecx, [ebp - 0xf8]
call fcn.00401f3f
lea eax, [ebp - 0xf8]
push eax
lea ecx, [ebp - 0x110]
call fcn.00408924
push 0x429298
lea eax, [ebp - 0x110]
push eax
call fcn.0040f3c8
push 0x426bfa
call fcn.00401f22
pop ecx
push eax
push 0x426bfa
lea ecx, [edi + 0x74]
call fcn.00401ea9
mov edx, 0x426bfa
lea ecx, [edi + 0x74]
call fcn.00403bd0
test al, al
jne 0x4032df
mov dword [ebp - 0x180], 3
mov eax, dword [edi + 0x84]
mov dword [ebp - 0x178], eax
lea esi, [eax*2 + 2]
push esi
call fcn.0040c015
pop ecx
mov dword [ebp - 0x17c], eax
push esi
push ebx
mov esi, eax
push esi
call fcn.00413ea0
add esp, 0xc
lea ecx, [edi + 0x74]
cmp dword [ecx + 0x14], 0x10
jb 0x4032c7
mov ecx, dword [ecx]
mov edx, esi
mov al, byte [ecx]
mov byte [edx], al
inc ecx
inc edx
test al, al
jne 0x4032c9
mov eax, dword [ebp - 0x178]
mov byte [eax + esi + 1], bl
jmp 0x4032e7
mov dword [ebp - 0x180], ebx
mov esi, ebx
mov edx, ebx
mov dword [ebp - 0x17c], edx
test esi, esi
je 0x40335f
mov ecx, esi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4032f8
sub ecx, edx
lea eax, [ecx + 1]
xor ecx, ecx
push 2
pop edx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0040c015
pop ecx
mov ecx, eax
mov dword [ebp - 0x17c], ecx
mov edx, esi
lea eax, [edx + 1]
mov dword [ebp - 0x178], eax
mov al, byte [edx]
inc edx
test al, al
jne 0x40332c
sub edx, dword [ebp - 0x178]
lea eax, [edx*2 + 2]
push eax
push ebx
push ecx
call fcn.00413ea0
add esp, 0xc
mov edx, dword [ebp - 0x17c]
mov ecx, esi
call fcn.0040a52c
push esi
call fcn.0040c8a4
pop ecx
push ebx
push ebx
mov esi, dword [ebp - 0x17c]
push esi
push dword [ebp - 0x180]
push ebx
call dword [sym.imp.WININET.dll_InternetOpenW]
mov dword [edi + 0x68], eax
test esi, esi
je 0x403383
push esi
call fcn.0040c8a4
pop ecx
cmp dword [edi + 0x68], ebx
jne 0x4033ba
push str.InternetOpen
lea ecx, [ebp - 0xf8]
call fcn.00401f3f
lea eax, [ebp - 0xf8]
push eax
lea ecx, [ebp - 0x128]
call fcn.00408924
push 0x429298
lea eax, [ebp - 0x128]
jmp 0x403255
xor eax, eax
mov word [ebp - 0xe0], ax
push 0xc6
push ebx
lea eax, [ebp - 0xde]
push eax
call fcn.00413ea0
add esp, 0xc
lea eax, [edi + 0x18]
cmp dword [eax + 0x14], 0x10
jb 0x4033e3
mov eax, dword [eax]
lea edx, [ebp - 0xe0]
mov ecx, eax
call fcn.0040a52c
push ebx
push ebx
push 3
push ebx
push ebx
push 0x50
lea eax, [ebp - 0xe0]
push eax
push dword [edi + 0x68]
call dword [sym.imp.WININET.dll_InternetConnectW]
mov dword [edi + 0x6c], eax
test eax, eax
jne 0x403441
push str.InternetConnect
lea ecx, [ebp - 0xf8]
call fcn.00401f3f
lea eax, [ebp - 0xf8]
push eax
lea ecx, [ebp - 0x140]
call fcn.00408924
push 0x429298
lea eax, [ebp - 0x140]
jmp 0x403255
cmp dword [edi + 0x44], 0x10
jb 0x40344c
mov esi, dword [edi + 0x30]
jmp 0x40344f
lea esi, [edi + 0x30]
lea ecx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x403452
sub esi, ecx
inc esi
xor ecx, ecx
mov eax, esi
push 2
pop edx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0040c015
pop ecx
mov dword [ebp - 0x178], eax
lea eax, [esi + esi]
push eax
push ebx
mov esi, dword [ebp - 0x178]
push esi
call fcn.00413ea0
add esp, 0xc
lea eax, [edi + 0x30]
cmp dword [eax + 0x14], 0x10
jb 0x403498
mov eax, dword [eax]
mov edx, esi
mov ecx, eax
call fcn.0040a52c
mov dword [ebp - 0x190], 0x426b48
mov dword [ebp - 0x18c], ebx
push ebx
push 0x80000000
lea eax, [ebp - 0x190]
push eax
push ebx
push str.HTTP_1.1
push esi
push 0x426b64
push dword [edi + 0x6c]
call dword [sym.imp.WININET.dll_HttpOpenRequestW]
mov dword [edi + 0x70], eax
test esi, esi
je 0x4034e1
push esi
call fcn.0040c8a4
pop ecx
cmp dword [edi + 0x70], 0
jne 0x403519
push str.HttpOpenRequest
lea ecx, [ebp - 0xf8]
call fcn.00401f3f
lea eax, [ebp - 0xf8]
push eax
lea ecx, [ebp - 0x170]
call fcn.00408924
push 0x429298
lea eax, [ebp - 0x170]
jmp 0x403255
push ebx
push ebx
push ebx
push ebx
push dword [edi + 0x70]
call dword [sym.imp.WININET.dll_HttpSendRequestW]
test eax, eax
jne 0x40358c
push str.HttpSendRequest
lea ecx, [ebp - 0xf8]
call fcn.00401f3f
lea eax, [ebp - 0xf8]
push eax
lea ecx, [ebp - 0x158]
call fcn.00408924
push 0x429298
lea eax, [ebp - 0x158]
jmp 0x403255
or dword [ebp - 4], 0xffffffff
mov al, byte [ebp - 0x171]
call fcn.0040f43f
ret