Function at 0x140002600
Capabilities:
Create process on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x150]
sub rsp, 0x250
mov rax, qword [section..data]
xor rax, rsp
mov qword [rbp + 0x140], rax
mov qword [rsp + 0x70], rdx
movsxd r13, ecx
xor esi, esi
mov dword [rbp + 8], esi
cmp r13d, 1
jg 0x140002697
lea rdx, str.No_arguments_to_execute_were_provided_
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcerr]
call fcn.140003700
lea rdx, [0x1400038e0]
mov rcx, rax
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___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64____cdecl___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64_____ptr64]
mov rax, 0xffffffffffffffff
mov rcx, qword [rbp + 0x140]
xor rcx, rsp
call fcn.140005510
mov rbx, qword [rsp + 0x2a0]
add rsp, 0x250
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
mov r14, qword [rdx + 8]
xorps xmm0, xmm0
movups xmmword [rsp + 0x50], xmm0
mov qword [rsp + 0x60], rsi
mov qword [rsp + 0x68], rsi
mov rdi, 0xffffffffffffffff
inc rdi
cmp word [r14 + rdi*2], si
jne 0x1400026b4
movabs r15, 0x7ffffffffffffffe
cmp rdi, r15
ja 0x14000323e
mov r12d, 0xa
mov qword [rsp + 0x68], 7
cmp rdi, 7
ja 0x140002718
mov qword [rsp + 0x60], rdi
lea rbx, [rdi + rdi]
mov r8, rbx
mov rdx, r14
lea rcx, [rsp + 0x50]
call sub.VCRUNTIME140.dll_memcpy
mov word [rsp + rbx + 0x50], si
mov r15, qword [rsp + 0x68]
mov rdi, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x50]
jmp 0x1400027c1
mov rax, rdi
or rax, 7
cmp rax, r15
jbe 0x140002734
movabs rax, 0x7fffffffffffffff
lea rcx, [rax + rax]
jmp 0x140002761
mov r15, rax
cmp rax, r12
cmovb r15, r12
lea rcx, [r15 + 1]
movabs rax, 0x7fffffffffffffff
cmp rcx, rax
ja 0x140003238
add rcx, rcx
cmp rcx, 0x1000
jb 0x14000278d
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x140003238
mov rcx, rax
call fcn.140005530
test rax, rax
je 0x1400029a1
lea rsi, [rax + 0x27]
and rsi, 0xffffffffffffffe0
mov qword [rsi - 8], rax
jmp 0x14000279a
test rcx, rcx
je 0x14000279a
call fcn.140005530
mov rsi, rax
mov qword [rsp + 0x50], rsi
mov qword [rsp + 0x60], rdi
mov qword [rsp + 0x68], r15
lea rbx, [rdi + rdi]
mov r8, rbx
mov rdx, r14
mov rcx, rsi
call sub.VCRUNTIME140.dll_memcpy
xor eax, eax
mov word [rbx + rsi], ax
mov ebx, 1
mov dword [rbp + 8], ebx
lea rdx, [rsp + 0x50]
cmp r15, 7
cmova rdx, rsi
cmp rdi, 9
jne 0x140002905
lea rcx, [0x140007670]
test rdi, rdi
je 0x140002806
sub rdx, rcx
nop
movzx eax, word [rdx + rcx]
cmp ax, word [rcx]
jne 0x140002905
add rcx, 2
sub rdi, rbx
jne 0x1400027f0
call fcn.14000503c
lea rcx, str.._adb.exe
mov qword [rbp - 0x70], rcx
mov qword [rbp - 0x68], 9
lea r8, [rbp - 0x70]
mov edx, eax
lea rcx, [rbp - 0x18]
call fcn.140001840
nop
mov ebx, 0xf
mov dword [rbp + 8], ebx
lea rcx, [rbp - 0x18]
cmp qword [rbp], 7
cmova rcx, qword [rbp - 0x18]
mov r9d, 0xffffffff
lea r8d, [rbx - 0xc]
lea rdx, [rbp + 0x88]
call fcn.140005178
mov r8d, eax
test eax, eax
jne 0x1400028ac
mov edx, dword [rbp + 0x98]
test dl, 1
mov ecx, 0x1ff
mov eax, 0x16d
cmovne ecx, eax
mov dword [rbp - 0x6c], ecx
bt edx, 0xa
jae 0x14000289a
mov eax, dword [rbp + 0x9c]
cmp eax, 0xa000000c
jne 0x140002893
lea r12d, [rbx - 0xb]
jmp 0x1400028d4
cmp eax, 0xa0000003
je 0x1400028d4
movzx r12d, dl
and r12d, 0x10
or r12d, 0x20
shr r12d, 4
jmp 0x1400028d4
mov dword [rbp - 0x6c], 0xffff
sub eax, 2
je 0x1400028ce
sub eax, 1
je 0x1400028ce
sub eax, 0x32
je 0x1400028ce
cmp eax, 0x46
je 0x1400028ce
xor eax, eax
mov r12d, eax
jmp 0x1400028d4
mov r12d, 1
mov dword [rbp - 0x70], r8d
lea rax, [0x14000b080]
mov qword [rbp - 0x68], rax
movaps xmm0, xmmword [rbp - 0x70]
movdqa xmmword [rbp - 0x40], xmm0
test r12d, r12d
je 0x1400028fc
cmp r12d, 1
je 0x140002905
xor dil, dil
jmp 0x140002908
test r8d, r8d
jne 0x14000322a
mov dil, 1
test bl, 2
je 0x14000296a
and ebx, 0xfffffffd
mov rdx, qword [rbp]
cmp rdx, 7
jbe 0x140002953
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x18]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000294e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000294e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140005574
movdqa xmm0, xmmword [0x140007ac0]
movdqu xmmword [rbp - 8], xmm0
xor r12d, r12d
mov word [rbp - 0x18], r12w
jmp 0x14000296d
xor r12d, r12d
test bl, 1
je 0x1400029b0
cmp r15, 7
jbe 0x1400029b0
lea rdx, [r15*2 + 2]
mov rax, rsi
cmp rdx, 0x1000
jb 0x1400029a8
add rdx, 0x27
mov rsi, qword [rsi - 8]
sub rax, rsi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400029a8
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rsi
call fcn.140005574
test dil, dil
je 0x1400029c1
lea rdx, str.Execution_forbidden_
jmp 0x14000264a
mov ecx, 0xfffffff5
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov qword [rbp - 0x50], rax
mov ecx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fflush]
mov ecx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll__fileno]
mov ecx, eax
mov edx, 0x20000
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll__setmode]
mov dword [rbp + 0x1c], eax
cmp eax, 0xffffffff
jne 0x140002a19
lea rdx, str.Couldnt_set_STDOUT_mode_to_UTF16_
jmp 0x14000264a
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fflush]
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll__fileno]
mov ecx, eax
mov edx, 0x20000
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll__setmode]
mov dword [rbp + 0x18], eax
cmp eax, 0xffffffff
jne 0x140002a62
lea rdx, str.Couldnt_set_STDERR_mode_to_UTF16_
jmp 0x14000264a
xorps xmm0, xmm0
movups xmmword [rbp + 0xa8], xmm0
lea rax, [rbp - 0x1d]
mov qword [rbp + 0xa8], rax
lea rax, [rbp + 0x1c]
mov qword [rbp + 0xb0], rax
movups xmmword [rbp + 0xb8], xmm0
lea rax, [rbp - 0x1e]
mov qword [rbp + 0xb8], rax
lea rax, [rbp + 0x18]
mov qword [rbp + 0xc0], rax
mov dword [rbp - 0x40], 0x18
mov qword [rbp - 0x38], r12
mov dword [rbp - 0x30], 1
mov qword [rsp + 0x20], r12
mov r9d, 1
lea r8, [rbp - 0x40]
lea edx, [r9 + 2]
mov ecx, 0xc0000000
call qword [sym.imp.KERNEL32.dll_CreateConsoleScreenBuffer]
mov qword [rbp - 0x80], rax
cmp rax, 0xffffffffffffffff
jne 0x140002ae2
lea rdx, str.Couldnt_create_a_console_screen_buffer_
jmp 0x140002b00
mov dword [rbp + 8], 0x4000400
mov edx, dword [rbp + 8]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetConsoleScreenBufferSize]
test eax, eax
jne 0x140002b28
lea rdx, str.Couldnt_change_console_screen_size_
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcerr]
call fcn.140003700
lea rdx, [0x1400038e0]
mov rcx, rax
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___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64____cdecl___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64_____ptr64]
mov rdi, 0xffffffffffffffff
jmp 0x1400031e0
xorps xmm0, xmm0
movups xmmword [rbp + 8], xmm0
lea rax, [rbp - 0x20]
mov qword [rbp + 8], rax
lea rax, [rbp - 0x80]
mov qword [rbp + 0x10], rax
mov rdx, qword [rbp - 0x80]
mov ecx, 0xfffffff5
call qword [sym.imp.KERNEL32.dll_SetStdHandle]
test eax, eax
jne 0x140002b88
lea rdx, str.Couldnt_set_STDOUT_to_the_created_console_screen_buffer_
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcerr]
call fcn.140003700
lea rdx, [0x1400038e0]
mov rcx, rax
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___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64____cdecl___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64_____ptr64]
mov rbx, 0xffffffffffffffff
mov qword [rbp + 8], rbx
mov rdi, rbx
jmp 0x1400031d5
xorps xmm0, xmm0
movups xmmword [rbp - 0x40], xmm0
lea rax, [rbp - 0x1f]
mov qword [rbp - 0x40], rax
lea rax, [rbp - 0x50]
mov qword [rbp - 0x38], rax
mov ecx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fflush]
mov ecx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll__fileno]
mov ecx, eax
mov edx, 0x20000
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll__setmode]
cmp eax, 0xffffffff
jne 0x140002c08
lea rdx, str.Couldnt_set_the_created_console_screen_buffers_mode_to_UTF16_
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcerr]
call fcn.140003700
lea rdx, [0x1400038e0]
mov rcx, rax
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___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64____cdecl___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64_____ptr64]
mov rdi, 0xffffffffffffffff
jmp 0x140002da1
xorps xmm0, xmm0
movups xmmword [rbp + 0x88], xmm0
mov qword [rbp + 0x98], r12
mov qword [rbp + 0xa0], 7
mov word [rbp + 0x88], r12w
mov rcx, qword [rsp + 0x70]
lea r8, [rcx + r13*8]
movzx eax, byte [rbp - 0x1e]
mov byte [rsp + 0x20], al
lea r9, [rbp + 0x88]
lea rdx, [rcx + 8]
lea rcx, [rbp - 0x18]
call fcn.140003920
nop
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp + 0xd0], xmm0
movups xmmword [rbp + 0xe0], xmm0
movups xmmword [rbp + 0xf0], xmm0
movups xmmword [rbp + 0x100], xmm0
movups xmmword [rbp + 0x110], xmm0
movups xmmword [rbp + 0x120], xmm0
mov qword [rbp + 0x130], rax
mov dword [rbp + 0xd0], 0x68
mov dword [rbp + 0x10c], 0x80
lea rdx, [rbp - 0x18]
cmp qword [rbp], 7
cmova rdx, qword [rbp - 0x18]
lea rax, [rbp - 0x70]
mov qword [rsp + 0x48], rax
lea rax, [rbp + 0xd0]
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]
test eax, eax
jne 0x140002cf6
mov rdi, 0xffffffffffffffff
mov qword [rsp + 0x78], rdi
jmp 0x140002d16
mov rcx, qword [rbp - 0x68]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rax, qword [rbp - 0x70]
mov qword [rsp + 0x78], rax
cmp rax, 0xffffffffffffffff
jne 0x140002db5
mov rdi, rax
lea rdx, str.Couldnt_create_a_child_process_for:
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcerr]
call fcn.140003700
lea rdx, [rbp - 0x18]
cmp qword [rbp], 7
cmova rdx, qword [rbp - 0x18]
mov r8, qword [rbp - 8]
mov rcx, rax
call fcn.140004dd0
lea rdx, [0x1400038e0]
mov rcx, rax
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___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64____cdecl___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64_____ptr64]
nop
mov rdx, qword [rbp]
cmp rdx, 7
jbe 0x140002d90
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x18]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002d8b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140002dec
call fcn.140005574
mov qword [rbp - 8], r12
mov qword [rbp], 7
mov word [rbp - 0x18], r12w
mov rdx, qword [rbp - 0x50]
mov ecx, 0xfffffff5
call qword [sym.imp.KERNEL32.dll_SetStdHandle]
jmp 0x1400031d5
mov rdx, qword [rbp]
cmp rdx, 7
jbe 0x140002df8
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x18]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002df3
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140002df3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140005574
mov qword [rbp - 8], r12
mov qword [rbp], 7
mov word [rbp - 0x18], r12w
mov rdx, qword [rbp - 0x50]
mov ecx, 0xfffffff5
call qword [sym.imp.KERNEL32.dll_SetStdHandle]
xorps xmm0, xmm0
movups xmmword [rbp - 0x40], xmm0
lea rax, [rbp - 0x20]
mov qword [rbp - 0x40], rax
lea rax, [rsp + 0x78]
mov qword [rbp - 0x38], rax
movups xmmword [rbp + 0x68], xmm0
mov r15, r12
mov qword [rbp + 0x78], r12
mov r14d, 7
mov qword [rbp + 0x80], r14
mov word [rbp + 0x68], r12w
xor edx, edx
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rsi, qword [rbp + 0x68]
cmp eax, 0x102
jne 0x140003009
nop dword [rax]
xor r8d, r8d
mov rdx, qword [rbp - 0x80]
lea rcx, [rbp + 0x20]
call fcn.140002310
nop
lea rcx, [rbp + 0x68]
cmp r14, 7
seta r12b
cmova rcx, rsi
lea r9, [rbp + 0x20]
mov r10, qword [rbp + 0x38]
cmp r10, 7
seta bl
mov r8, qword [rbp + 0x20]
cmova r9, r8
mov r11, qword [rbp + 0x30]
cmp r11, r15
jne 0x140002ed9
mov rdx, r11
test r11, r11
je 0x140002fb3
sub r9, rcx
movzx eax, word [r9 + rcx]
cmp ax, word [rcx]
jne 0x140002ed9
add rcx, 2
sub rdx, 1
jne 0x140002ec0
jmp 0x140002fb3
lea rax, [rbp + 0x20]
test bl, bl
je 0x140002eea
mov rbx, r8
lea rdi, [r8 + r11*2]
jmp 0x140002ef2
lea rdi, [rax + r11*2]
lea rbx, [rbp + 0x20]
cmp rbx, rdi
je 0x140002f1d
movzx ecx, word [rbx]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_iswprint]
test eax, eax
je 0x140002fab
add rbx, 2
cmp rbx, rdi
jne 0x140002ef7
mov r10, qword [rbp + 0x38]
mov r11, qword [rbp + 0x30]
mov r8, qword [rbp + 0x20]
lea rdx, [rbp + 0x20]
cmp r10, 7
cmova rdx, r8
mov r8, r11
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcout]
call fcn.140004dd0
lea rdx, [0x1400038e0]
mov rcx, rax
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___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64____cdecl___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64_____ptr64]
mov rdi, qword [rbp + 0x30]
lea r9, [rbp + 0x20]
cmp qword [rbp + 0x38], 7
cmova r9, qword [rbp + 0x20]
cmp rdi, r14
ja 0x140002f85
lea rbx, [rbp + 0x68]
test r12b, r12b
cmovne rbx, rsi
mov qword [rbp + 0x78], rdi
lea r8, [rdi + rdi]
mov rdx, r9
mov rcx, rbx
call sub.VCRUNTIME140.dll_memmove
xor eax, eax
mov word [rbx + rdi*2], ax
jmp 0x140002f91
mov rdx, rdi
lea rcx, [rbp + 0x68]
call fcn.140004140
mov ecx, 0x64
call qword [sym.imp.KERNEL32.dll_Sleep]
mov r14, qword [rbp + 0x80]
mov r15, qword [rbp + 0x78]
mov rsi, qword [rbp + 0x68]
mov r8, qword [rbp + 0x20]
mov r10, qword [rbp + 0x38]
cmp r10, 7
jbe 0x140002fee
lea rdx, [r10*2 + 2]
mov rax, r8
cmp rdx, 0x1000
jb 0x140002fe6
add rdx, 0x27
mov r8, qword [r8 - 8]
sub rax, r8
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140003076
mov rcx, r8
call fcn.140005574
xor edx, edx
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
je 0x140002e70
xor r12d, r12d
mov rbx, 0xffffffffffffffff
mov r8d, ebx
mov rdx, qword [rbp - 0x80]
lea rcx, [rbp + 0x48]
call fcn.140002310
nop
lea rcx, [rbp + 0x68]
cmp r14, 7
cmova rcx, rsi
lea r8, [rbp + 0x48]
mov r10, qword [rbp + 0x48]
mov r11, qword [rbp + 0x60]
cmp r11, 7
cmova r8, r10
mov r9, qword [rbp + 0x58]
cmp r9, r15
jne 0x14000307d
mov rdx, r9
test r9, r9
je 0x1400030f4
sub r8, rcx
nop dword [rax]
movzx eax, word [rcx + r8]
cmp ax, word [rcx]
jne 0x14000307d
add rcx, 2
sub rdx, 1
jne 0x140003060
jmp 0x1400030f4
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
lea rax, [rbp + 0x48]
cmp r11, 7
cmova rax, r10
lea rdi, [rax + r9*2]
lea rbx, [rbp + 0x48]
cmova rbx, r10
cmp rbx, rdi
je 0x1400030c2
nop word [rax + rax]
movzx ecx, word [rbx]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_iswprint]
test eax, eax
je 0x1400030ed
add rbx, 2
cmp rbx, rdi
jne 0x1400030a0
mov r11, qword [rbp + 0x60]
mov r9, qword [rbp + 0x58]
mov r10, qword [rbp + 0x48]
lea rdx, [rbp + 0x48]
cmp r11, 7
cmova rdx, r10
mov r8, r9
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcout]
call fcn.140004dd0
lea rdx, [0x1400038e0]
mov rcx, rax
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___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64____cdecl___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64_____ptr64]
mov rbx, 0xffffffffffffffff
lea rdx, [rbp + 0x40]
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
test eax, eax
jne 0x140003133
lea rdx, str.Couldnt_get_child_process_return_code_
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcerr]
call fcn.140003700
lea rdx, [0x1400038e0]
mov rcx, rax
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___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64____cdecl___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64_____ptr64]
mov qword [rbp + 8], rbx
mov rdi, rbx
jmp 0x140003136
mov edi, dword [rbp + 0x40]
mov rdx, qword [rbp + 0x60]
cmp rdx, 7
jbe 0x140003179
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140003174
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140003174
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140005574
mov qword [rbp + 0x58], r12
mov qword [rbp + 0x60], 7
mov word [rbp + 0x48], r12w
cmp r14, 7
jbe 0x1400031c9
lea rdx, [r14*2 + 2]
mov rax, rsi
cmp rdx, 0x1000
jb 0x1400031c0
add rdx, 0x27
mov rsi, qword [rsi - 8]
sub rax, rsi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400031c0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rsi
call fcn.140005574
nop
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov rcx, qword [rbp - 0x80]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov ebx, dword [rbp + 0x18]
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll__fileno]
mov edx, ebx
mov ecx, eax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll__setmode]
nop
mov ebx, dword [rbp + 0x1c]
mov ecx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll__fileno]
mov edx, ebx
mov ecx, eax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll__setmode]
mov eax, edi
jmp 0x14000266d
lea r8, [rbp - 0x18]
lea rdx, [rbp - 0x40]
call fcn.1400022b0
nop
call fcn.140001100
int3
call fcn.1400011a0
int3