Function at 0x140011505
Capabilities:
Read and send data from client to server
Read file on windows
Receive data
Receive data on socket
Send data
Send data on socket

Disassembly:
jmp 0x14001a630
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x4f8
lea rbp, [rsp + 0x20]
lea rdi, [rsp + 0x20]
mov ecx, 0xd6
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x518]
mov rax, qword [0x14002e040]
xor rax, rbp
mov qword [rbp + 0x4c8], rax
lea rcx, [0x140034548]
call fcn.14001166d
nop
mov dword [rbp + 4], 1
mov qword [rbp + 0x1c8], 0
mov qword [rbp + 0x1e8], 0
mov eax, 1
imul rax, rax, 0x2c
mov rcx, qword [rbp + 0x4f8]
add rcx, rax
mov rax, rcx
mov ecx, 1
imul rcx, rcx, 0
lea rcx, [rbp + rcx + 0xc8]
mov r8d, 8
mov rdx, rax
call fcn.140011311
nop
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov dword [rbp + 0x24], eax
mov r8d, 0x104
xor edx, edx
lea rcx, [rbp + 0x230]
call fcn.1400114ec
nop
mov rcx, qword [rbp + 0x508]
call qword [sym.imp.ucrtbased.dll_wcslen]
mov r8, rax
mov rdx, qword [rbp + 0x508]
lea rcx, [rbp + 0x230]
call qword [sym.imp.ucrtbased.dll_wcstombs]
nop
lea rdx, [0x140029d0c]
lea rcx, [rbp + 0x230]
call qword [sym.imp.ucrtbased.dll_fopen]
mov qword [rbp + 0x1a8], rax
cmp qword [rbp + 0x1a8], 0
jne 0x14001a75f
lea rdx, [rbp + 0x230]
lea rcx, str.____Unable_to_open_input_file:__s_n
call fcn.1400112e9
nop
xor eax, eax
jmp 0x14001abee
mov qword [rbp + 0x160], 0
mov rax, qword [rbp + 0x4f8]
add rax, 0x84
mov r8d, reloc.WS2_32.dll_recv
mov rdx, rax
lea rcx, [rbp + 0x108]
call fcn.140011311
nop
mov r8d, 4
lea rdx, [0x140029af4]
lea rcx, [rbp + 0x70]
call fcn.140011311
nop
mov r8d, 2
lea rdx, [0x140029afc]
lea rcx, [rbp + 0x76]
call fcn.140011311
nop
mov r8d, 2
lea rdx, [0x140029b00]
lea rcx, [rbp + 0x74]
call fcn.140011311
nop
mov eax, 1
imul rax, rax, 0
lea rax, [rbp + rax + 0x78]
mov r8d, 2
lea rdx, [0x140029b04]
mov rcx, rax
call fcn.140011311
nop
mov eax, 1
imul rax, rax, 0
lea rax, [rbp + rax + 0x7a]
mov r8d, 2
lea rdx, [0x140029b04]
mov rcx, rax
call fcn.140011311
nop
mov eax, 1
imul rax, rax, 0
lea rax, [rbp + rax + 0x7c]
mov r8d, 2
lea rdx, [0x140029d3c]
mov rcx, rax
call fcn.140011311
nop
mov eax, 1
imul rax, rax, 0
lea rax, [rbp + rax + 0x7e]
mov r8d, 2
lea rdx, [0x140029b08]
mov rcx, rax
call fcn.140011311
nop
mov eax, 1
imul rax, rax, 0
lea rax, [rbp + rax + 0x80]
mov r8d, 4
lea rdx, [0x140029b0c]
mov rcx, rax
call fcn.140011311
nop
mov eax, 1
imul rax, rax, 0
lea rax, [rbp + rax + 0x84]
mov r8d, 4
lea rdx, [0x140029b0c]
mov rcx, rax
call fcn.140011311
nop
mov eax, 1
imul rax, rax, 0
lea rax, [rbp + rax + 0x90]
mov r8d, 4
lea rdx, [rbp + 0x24]
mov rcx, rax
call fcn.140011311
nop
mov eax, 1
imul rax, rax, 0
lea rax, [rbp + rax + 0x94]
mov r8d, 4
lea rdx, [0x140029c68]
mov rcx, rax
call fcn.140011311
nop
mov eax, 1
imul rax, rax, 0
lea rax, [rbp + rax + 0x98]
mov r8d, 8
lea rdx, [rbp + 0xc8]
mov rcx, rax
call fcn.140011311
nop
mov eax, 1
imul rax, rax, 0
lea rax, [rbp + rax + 0xa0]
mov r8d, reloc.WS2_32.dll_recv
lea rdx, [0x140029b28]
mov rcx, rax
call fcn.140011311
nop
mov r8d, 0x30
xor edx, edx
lea rcx, [rbp + 0x158]
call fcn.1400114ec
nop
mov eax, 1
imul rax, rax, 0
lea rax, [rbp + rax + 0x168]
mov r8d, reloc.WS2_32.dll_recv
lea rdx, [rbp + 0x108]
mov rcx, rax
call fcn.140011311
nop
mov qword [rbp + 0x160], 0
mov eax, 0x31
mov word [rbp + 0x158], ax
mov eax, WSACleanup
mov word [rbp + 0x15a], ax
mov ecx, 0x2710
call qword [sym.imp.ucrtbased.dll_malloc]
mov qword [rbp + 0x1c8], rax
mov ecx, 0x20000
call qword [sym.imp.ucrtbased.dll_malloc]
mov qword [rbp + 0x1e8], rax
mov r9, qword [rbp + 0x1a8]
mov r8d, 0x2710
mov edx, 1
mov rcx, qword [rbp + 0x1c8]
call qword [sym.imp.ucrtbased.dll_fread]
mov qword [rbp + 0x208], rax
cmp qword [rbp + 0x208], 0
jbe 0x14001abbb
mov eax, dword [rbp + 0x208]
mov dword [rbp + 0x15c], eax
mov rax, qword [rbp + 0x500]
movsxd rax, dword [rax]
mov qword [rbp + 0x88], rax
mov rax, qword [rbp + 0x500]
mov eax, dword [rax]
inc eax
mov rcx, qword [rbp + 0x500]
mov dword [rcx], eax
mov rax, qword [rbp + 0x208]
add rax, 0x70
mov word [rbp + 0x44], ax
mov r8d, 4
xor edx, edx
lea rcx, [rbp + 0xe4]
call fcn.1400114ec
nop
mov eax, 1
imul rax, rax, 0
mov ecx, 1
imul rcx, rcx, 3
movzx eax, byte [rbp + rax + 0x44]
mov byte [rbp + rcx + 0xe4], al
mov eax, 1
imul rax, rax, 1
mov ecx, 1
imul rcx, rcx, 2
movzx eax, byte [rbp + rax + 0x44]
mov byte [rbp + rcx + 0xe4], al
mov r8d, 0x20000
xor edx, edx
mov rcx, qword [rbp + 0x1e8]
call fcn.1400114ec
nop
mov r8d, 4
lea rdx, [rbp + 0xe4]
mov rcx, qword [rbp + 0x1e8]
call fcn.140011311
nop
mov rax, qword [rbp + 0x1e8]
add rax, 4
mov r8d, 0x40
lea rdx, [rbp + 0x70]
mov rcx, rax
call fcn.140011311
nop
mov rax, qword [rbp + 0x1e8]
add rax, 0x44
mov r8d, 0x30
lea rdx, [rbp + 0x158]
mov rcx, rax
call fcn.140011311
nop
mov rax, qword [rbp + 0x1e8]
add rax, 0x74
mov r8, qword [rbp + 0x208]
mov rdx, qword [rbp + 0x1c8]
mov rcx, rax
call fcn.140011311
nop
mov rax, qword [rbp + 0x208]
add rax, 0x74
xor r9d, r9d
mov r8d, eax
mov rdx, qword [rbp + 0x1e8]
mov rcx, qword [rbp + 0x4f0]
call fcn.1400116a9
nop
xor r9d, r9d
mov r8d, 0x2000
mov rdx, qword [rbp + 0x4f8]
mov rcx, qword [rbp + 0x4f0]
call fcn.1400111f9
nop
mov rax, qword [rbp + 0x4f8]
add rax, 0xc
mov qword [rbp + 0x138], rax
mov rax, qword [rbp + 0x138]
cmp dword [rax], 0
je 0x14001ab9b
mov rax, qword [rbp + 0x138]
mov edx, dword [rax]
lea rcx, str.____SMB_Write_Request_failed_with_status_code_0x_x_n
call fcn.1400112e9
nop
xor eax, eax
jmp 0x14001abee
mov rax, qword [rbp + 0x208]
mov rcx, qword [rbp + 0x160]
add rcx, rax
mov rax, rcx
mov qword [rbp + 0x160], rax
jmp 0x14001a9cc
mov rdx, qword [rbp + 0x510]
lea rcx, str.___SMB_Write_Request_file:__S_success_n
call fcn.1400112e9
nop
mov rcx, qword [rbp + 0x1c8]
call qword [sym.imp.ucrtbased.dll_free]
nop
mov rcx, qword [rbp + 0x1e8]
call qword [sym.imp.ucrtbased.dll_free]
nop
mov eax, dword [rbp + 4]
mov rdi, rax
lea rcx, [rbp - 0x20]
lea rdx, [0x140029370]
call fcn.140011582
mov rax, rdi
mov rcx, qword [rbp + 0x4c8]
xor rcx, rbp
call fcn.140011307
lea rsp, [rbp + 0x4d8]
pop rdi
pop rbp
ret