Function at 0x407cc7
Capabilities:
Check http status code
Connect to http server
Create http request
Send data
Send http request

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
push 8
call fcn.00449e49
add esp, 4
mov dword [ebp - 4], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
push 0x3c
call fcn.00449e49
add esp, 4
mov dword [ebp - 8], eax
mov ebx, eax
mov edi, eax
xor eax, eax
mov ecx, 0xf
rep stosd dword es:[edi], eax
push 0x1c
call fcn.00449e49
add esp, 4
mov dword [ebp - 0xc], eax
mov ebx, eax
mov edi, eax
xor eax, eax
mov ecx, 7
rep stosd dword es:[edi], eax
call fcn.00408814
push 0
push 0
push 0
push reloc.WS2_32.dll_connect
push 0
push 0x4a0ca7
push 0x10030
push 0
push dword [ebp - 4]
push 3
mov ebx, 0x91c
call fcn.004506b0
add esp, 0x28
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x4085be
push 0
push 0
push 0
push reloc.WS2_32.dll_connect
push 0
push str.MSXML2.XMLHTTP
push 0x10030
push 0
push dword [ebp - 4]
push 3
mov ebx, 0x91c
call fcn.004506b0
add esp, 0x28
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x4085be
push 0
push 0
push 0
push reloc.WS2_32.dll_connect
push 0
push str.Microsoft.XMLHTTP
push 0x10030
push 0
push dword [ebp - 4]
push 3
mov ebx, 0x91c
call fcn.004506b0
add esp, 0x28
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x4085be
call fcn.00408844
mov ebx, dword [ebp - 8]
mov dword [ebp - 0x10], ebx
mov ebx, dword [ebp - 0x10]
mov dword [ebx], 0x3c
mov ebx, dword [ebp - 8]
add ebx, 0x10
mov dword [ebp - 0x10], ebx
push 0x80000301
push 0
push 0x80
push 1
mov ebx, 0x184
call fcn.0044e5e0
add esp, 0x10
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
push eax
mov ebx, dword [ebp - 0x10]
mov ebx, dword [ebx]
test ebx, ebx
je 0x407e33
push ebx
call fcn.00449e4f
add esp, 4
pop eax
mov ebx, dword [ebp - 0x10]
mov dword [ebx], eax
mov ebx, dword [ebp - 8]
add ebx, 0x14
mov dword [ebp - 0x10], ebx
push reloc.OLEAUT32.dll_SysReAllocString
push 0
push 0
push 0xa0000004
push 0
push dword [ebp + 8]
push reloc.WS2_32.dll_connect
push 0
push str.HEAD
push reloc.WS2_32.dll_connect
push 0
push str.Open
push 0x10030
push 0
push dword [ebp - 4]
push 5
mov ebx, 0x94c
call fcn.00450b60
add esp, 0x40
push 0x80000301
push 0
push 0x1388
push 0x80000301
push 0
push 0x1f40
push 0x80000301
push 0
push 0x1388
push 0x80000301
push 0
push 0x1388
push reloc.WS2_32.dll_connect
push 0
push str.SetTimeouts
push 0x10030
push 0
push dword [ebp - 4]
push 6
mov ebx, 0x94c
call fcn.00450b60
add esp, 0x4c
push 0
push 0
push 0
push reloc.WS2_32.dll_connect
push 0
push str.Send
push 0x10030
push 0
push dword [ebp - 4]
push 3
mov ebx, 0x94c
call fcn.00450b60
add esp, 0x28
mov ebx, dword [ebp - 0xc]
add ebx, 0x14
mov dword [ebp - 0x10], ebx
push 0
push 0
push 0
push reloc.WS2_32.dll_connect
push 0
push str.Status
push 0x10030
push 0
push dword [ebp - 4]
push 3
mov ebx, 0x934
call fcn.004508c0
add esp, 0x28
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], edx
fld qword [ebp - 0x20]
call fcn.00401131
mov ebx, dword [ebp - 0x10]
mov dword [ebx], eax
mov ebx, dword [ebp - 0xc]
add ebx, 0x14
mov dword [ebp - 0x10], ebx
mov ebx, dword [ebp - 0x10]
cmp dword [ebx], 0xc8
je 0x40870c
mov ebx, dword [ebp - 0xc]
add ebx, 0x14
mov dword [ebp - 0x18], ebx
mov ebx, dword [ebp - 0x18]
cmp dword [ebx], 0xce
je 0x40870c
xor eax, eax
jmp 0x408711
mov eax, 1
test eax, eax
je 0x408728
mov ebx, dword [ebp - 0xc]
mov dword [ebp - 0x10], ebx
mov ebx, dword [ebp - 0x10]
mov dword [ebx], 1
push 0x10030
push 0
push dword [ebp - 4]
push 1
mov ebx, 0x924
call fcn.00450890
add esp, 0x10
call fcn.00408844
mov ebx, dword [ebp - 0xc]
mov dword [ebp - 0x10], ebx
mov ebx, dword [ebp - 0x10]
mov eax, dword [ebx]
jmp 0x408759