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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x431714
mov eax, dword fs:[0]
push eax
sub esp, 0xbc
mov eax, dword [0x43d76c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 4], 1
lea ecx, [ebp + 0x30]
call fcn.00404b90
push eax
push str._nstart_post__s_n
call fcn.00403580
push eax
call fcn.004035b0
add esp, 0xc
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x4c], 0
lea ecx, [ebp - 0x98]
call fcn.00403970
mov byte [ebp - 4], 2
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x7c], 0
mov dword [ebp - 0x48], 0
push str.Content_Type:_application_x_www_form_urlencoded
lea ecx, [ebp - 0x34]
call fcn.00403990
mov byte [ebp - 4], 3
push 0
push 0
push 0
push 0
push str.ProjectTAgent
call dword [sym.imp.WININET.dll_InternetOpenW]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x18], eax
push 0
push 0
push 3
push 0
push 0
movzx ecx, word [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 0x44]
push eax
call dword [sym.imp.WININET.dll_InternetConnectW]
mov dword [ebp - 0x14], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x78], eax
mov ecx, dword [ebp - 0x78]
push ecx
lea edx, [ebp - 0xb4]
push edx
call fcn.00402140
add esp, 8
mov dword [ebp - 0xc4], eax
mov eax, dword [ebp - 0xc4]
mov dword [ebp - 0xc8], eax
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0xc8]
push ecx
lea ecx, [ebp - 0x98]
call fcn.00403a30
mov byte [ebp - 4], 3
lea ecx, [ebp - 0xb4]
call fcn.00403a00
mov dword [ebp - 0x3c], 0
cmp dword [ebp + 0x4c], 0
je 0x40b03d
mov dword [ebp - 0x3c], 0x4c03000
jmp 0x40b044
mov dword [ebp - 0x3c], 0x400000
push 0
mov edx, dword [ebp - 0x3c]
push edx
push 0x43d018
push 0
push 0
lea ecx, [ebp + 0x14]
call fcn.00404b90
push eax
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.WININET.dll_HttpOpenRequestW]
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x74], 0
mov dword [ebp - 0x38], 4
cmp dword [ebp + 0x4c], 0
je 0x40b0b3
lea edx, [ebp - 0x38]
push edx
lea eax, [ebp - 0x74]
push eax
push 0x1f
mov ecx, dword [ebp - 0x40]
push ecx
call dword [sym.imp.WININET.dll_InternetQueryOptionW]
mov edx, dword [ebp - 0x74]
or edx, 0x100
mov dword [ebp - 0x74], edx
push 4
lea eax, [ebp - 0x74]
push eax
push 0x1f
mov ecx, dword [ebp - 0x40]
push ecx
call dword [sym.imp.WININET.dll_InternetSetOptionW]
lea ecx, [ebp + 0x30]
call fcn.00403bb0
imul eax, eax, 3
add eax, 0x64
push eax
call fcn.00420a12
add esp, 4
mov dword [ebp - 0xb8], eax
mov edx, dword [ebp - 0xb8]
mov dword [ebp - 0x54], edx
lea ecx, [ebp + 0x30]
call fcn.00403bb0
imul eax, eax, 3
add eax, 0x64
push eax
push 0
mov eax, dword [ebp - 0x54]
push eax
call fcn.004212e0
add esp, 0xc
push 0
push 0
lea ecx, [ebp + 0x30]
call fcn.00403bb0
imul eax, eax, 3
add eax, 0x62
push eax
mov ecx, dword [ebp - 0x54]
push ecx
lea ecx, [ebp + 0x30]
call fcn.00403bb0
push eax
lea ecx, [ebp + 0x30]
call fcn.00404b90
push eax
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov edx, dword [ebp - 0x54]
push edx
lea ecx, [ebp - 0x70]
call fcn.004038f0
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0xbc], eax
mov ecx, dword [ebp - 0xbc]
push ecx
call fcn.004212d5
add esp, 4
mov dword [ebp - 0x54], 0
lea ecx, [ebp - 0x70]
call fcn.0040b4b0
push eax
lea ecx, [ebp - 0x70]
call fcn.00403960
push eax
lea ecx, [ebp - 0x34]
call fcn.00403bb0
push eax
lea ecx, [ebp - 0x34]
call fcn.00404b90
push eax
mov edx, dword [ebp - 0x40]
push edx
call dword [sym.imp.WININET.dll_HttpSendRequestW]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x50]
push eax
lea ecx, [ebp + 0x30]
call fcn.00404b90
push eax
push str._nend_post__s__d_n
call fcn.00403580
push eax
call fcn.004035b0
add esp, 0x10
cmp dword [ebp - 0x40], 0
je 0x40b1bc
mov ecx, dword [ebp - 0x40]
push ecx
call dword [sym.imp.WININET.dll_InternetCloseHandle]
cmp dword [ebp - 0x14], 0
je 0x40b1cc
mov edx, dword [ebp - 0x14]
push edx
call dword [sym.imp.WININET.dll_InternetCloseHandle]
cmp dword [ebp - 0x44], 0
je 0x40b1dc
mov eax, dword [ebp - 0x44]
push eax
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov ecx, dword [ebp - 0x50]
mov dword [ebp - 0xc0], ecx
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x70]
call fcn.00403930
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x34]
call fcn.00403a00
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x98]
call fcn.00403a00
mov byte [ebp - 4], 0
lea ecx, [ebp + 0x14]
call fcn.00403a00
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x30]
call fcn.00403a00
mov eax, dword [ebp - 0xc0]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00421275
mov esp, ebp
pop ebp
ret