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 0x14001a420
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 [0x14002d018]
xor rax, rbp
mov qword [rbp + 0x4c8], rax
lea rcx, [0x140033548]
call fcn.14001166d
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
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
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]
lea rdx, [0x140028d0c]
lea rcx, [rbp + 0x230]
call qword [sym.imp.ucrtbased.dll_fopen]
mov qword [rbp + 0x1a8], rax
cmp qword [rbp + 0x1a8], 0
jne 0x14001a54a
lea rdx, [rbp + 0x230]
lea rcx, str.____Unable_to_open_input_file:__s_n
call fcn.1400112e9
xor eax, eax
jmp 0x14001a9bd
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
mov r8d, 4
lea rdx, [0x140028af4]
lea rcx, [rbp + 0x70]
call fcn.140011311
mov r8d, 2
lea rdx, [0x140028afc]
lea rcx, [rbp + 0x76]
call fcn.140011311
mov r8d, 2
lea rdx, [0x140028b00]
lea rcx, [rbp + 0x74]
call fcn.140011311
mov eax, 1
imul rax, rax, 0
lea rax, [rbp + rax + 0x78]
mov r8d, 2
lea rdx, [0x140028b04]
mov rcx, rax
call fcn.140011311
mov eax, 1
imul rax, rax, 0
lea rax, [rbp + rax + 0x7a]
mov r8d, 2
lea rdx, [0x140028b04]
mov rcx, rax
call fcn.140011311
mov eax, 1
imul rax, rax, 0
lea rax, [rbp + rax + 0x7c]
mov r8d, 2
lea rdx, [0x140028d3c]
mov rcx, rax
call fcn.140011311
mov eax, 1
imul rax, rax, 0
lea rax, [rbp + rax + 0x7e]
mov r8d, 2
lea rdx, [0x140028b08]
mov rcx, rax
call fcn.140011311
mov eax, 1
imul rax, rax, 0
lea rax, [rbp + rax + 0x80]
mov r8d, 4
lea rdx, [0x140028b0c]
mov rcx, rax
call fcn.140011311
mov eax, 1
imul rax, rax, 0
lea rax, [rbp + rax + 0x84]
mov r8d, 4
lea rdx, [0x140028b0c]
mov rcx, rax
call fcn.140011311
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
mov eax, 1
imul rax, rax, 0
lea rax, [rbp + rax + 0x94]
mov r8d, 4
lea rdx, [0x140028c68]
mov rcx, rax
call fcn.140011311
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
mov eax, 1
imul rax, rax, 0
lea rax, [rbp + rax + 0xa0]
mov r8d, reloc.WS2_32.dll_recv
lea rdx, [0x140028b28]
mov rcx, rax
call fcn.140011311
mov r8d, 0x30
xor edx, edx
lea rcx, [rbp + 0x158]
call fcn.1400114ec
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
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 0x14001a98d
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
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
mov r8d, 4
lea rdx, [rbp + 0xe4]
mov rcx, qword [rbp + 0x1e8]
call fcn.140011311
mov rax, qword [rbp + 0x1e8]
add rax, 4
mov r8d, 0x40
lea rdx, [rbp + 0x70]
mov rcx, rax
call fcn.140011311
mov rax, qword [rbp + 0x1e8]
add rax, 0x44
mov r8d, 0x30
lea rdx, [rbp + 0x158]
mov rcx, rax
call fcn.140011311
mov rax, qword [rbp + 0x1e8]
add rax, 0x74
mov r8, qword [rbp + 0x208]
mov rdx, qword [rbp + 0x1c8]
mov rcx, rax
call fcn.140011311
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
xor r9d, r9d
mov r8d, 0x2000
mov rdx, qword [rbp + 0x4f8]
mov rcx, qword [rbp + 0x4f0]
call fcn.1400111f9
mov rax, qword [rbp + 0x4f8]
add rax, 0xc
mov qword [rbp + 0x138], rax
mov rax, qword [rbp + 0x138]
cmp dword [rax], 0
je 0x14001a96d
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
xor eax, eax
jmp 0x14001a9bd
mov rax, qword [rbp + 0x208]
mov rcx, qword [rbp + 0x160]
add rcx, rax
mov rax, rcx
mov qword [rbp + 0x160], rax
jmp 0x14001a7a7
mov rdx, qword [rbp + 0x510]
lea rcx, str.___SMB_Write_Request_file:__S_success_n
call fcn.1400112e9
mov rcx, qword [rbp + 0x1c8]
call qword [sym.imp.ucrtbased.dll_free]
mov rcx, qword [rbp + 0x1e8]
call qword [sym.imp.ucrtbased.dll_free]
mov eax, dword [rbp + 4]
mov rdi, rax
lea rcx, [rbp - 0x20]
lea rdx, [0x140028370]
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