Function at 0x40a800
Capabilities:
Send data
Send http request

Disassembly:
sub esp, 0x43c
mov eax, dword [0x4b1598]
xor eax, esp
mov dword [esp + 0x438], eax
push ebp
push esi
push edi
mov edi, dword [esp + 0x44c]
push str.__MULTI_PARTS_FORM_DATA_BOUNDARY
lea eax, [esp + 0x10]
push eax
mov esi, ecx
mov dword [esp + 0x20], 0x487f40
mov dword [esp + 0x14], 0
call fcn.0040a370
mov ebp, eax
test ebp, ebp
je 0x40aa76
mov edx, dword [esi + 0x39fe04]
push 0
push 0x4400040
lea ecx, [esp + 0x20]
push ecx
push 0x487c3a
push str.HTTP_1.0
push edi
push str.POST
push edx
call dword [sym.imp.WININET.dll_HttpOpenRequestA]
test eax, eax
mov dword [esi + 0x39fe08], eax
jne 0x40a8a1
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov dword [esi + 0x39fe0c], eax
push str.HttpOpenRequest__d
add esi, 0x6c
push esi
call fcn.00411b16
add esp, 0xc
xor eax, eax
jmp 0x40aa7b
push 4
lea ecx, [esp + 0x14]
push ecx
push 8
push eax
mov dword [esp + 0x20], 0xea60
call dword [sym.imp.WININET.dll_InternetSetOptionA]
mov edx, dword [esi + 0x39fe08]
mov edi, dword [sym.imp.WININET.dll_HttpAddRequestHeadersA]
push connect
push 0xd
push str.Accept:___r_n
push edx
call edi
test eax, eax
jne 0x40a8fd
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov dword [esi + 0x39fe0c], eax
push str.HttpAddRequestHeaders__d
add esi, 0x6c
push esi
call fcn.00411b16
add esp, 0xc
xor eax, eax
jmp 0x40aa7b
mov eax, str.Content_Type:_multipart_form_data__boundary__MULTI_PARTS_FORM_DATA_BOUNDARY_r_n
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x40a905
push 0x10000000
sub eax, edx
push eax
mov eax, dword [esi + 0x39fe08]
push str.Content_Type:_multipart_form_data__boundary__MULTI_PARTS_FORM_DATA_BOUNDARY_r_n
push eax
call edi
test eax, eax
je 0x40a8d8
push 0x400
lea ecx, [esp + 0x48]
push 0
push ecx
call fcn.00410e00
push ebp
lea edx, [esp + 0x54]
push str.Content_Length:__d_r_n
push edx
call fcn.00411b16
lea eax, [esp + 0x5c]
add esp, 0x18
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x40a953
mov ecx, dword [esi + 0x39fe08]
push 0x10000000
sub eax, edx
push eax
lea eax, [esp + 0x4c]
push eax
push ecx
call edi
test eax, eax
je 0x40a8d8
xor eax, eax
push eax
push 8
push eax
mov dword [esp + 0x2c], eax
lea edx, [esp + 0x28]
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], eax
mov dword [esp + 0x2c], eax
mov eax, dword [esi + 0x39fe08]
push edx
push eax
mov dword [esp + 0x30], 0x28
call dword [sym.imp.WININET.dll_HttpSendRequestExA]
test eax, eax
jne 0x40a9eb
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov dword [esi + 0x39fe0c], eax
push str.HttpSendRequestEx__d
add esi, 0x6c
push esi
call fcn.00411b16
add esp, 0xc
xor eax, eax
jmp 0x40aa7b
mov edx, dword [esp + 0xc]
mov eax, dword [esi + 0x39fe08]
lea ecx, [esp + 0x14]
push ecx
push ebp
push edx
push eax
mov dword [esp + 0x24], 0
call dword [sym.imp.WININET.dll_InternetWriteFile]
test eax, eax
jne 0x40aa31
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov dword [esi + 0x39fe0c], eax
push str.InternetWriteFile__d
add esi, 0x6c
push esi
call fcn.00411b16
add esp, 0xc
xor eax, eax
jmp 0x40aa7b
mov ecx, dword [esi + 0x39fe08]
push 0
push 8
push 0
push ecx
call dword [sym.imp.WININET.dll_HttpEndRequestA]
test eax, eax
jne 0x40aa6a
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov dword [esi + 0x39fe0c], eax
push str.HttpEndRequest__d
add esi, 0x6c
push esi
call fcn.00411b16
add esp, 0xc
xor eax, eax
jmp 0x40aa7b
lea edx, [esp + 0xc]
push edx
mov ecx, esi
call fcn.00409a20
mov eax, 1
mov ecx, dword [esp + 0x444]
pop edi
pop esi
pop ebp
xor ecx, esp
call fcn.004117a8
add esp, 0x43c
ret 4