Function at 0x1400014a0
Capabilities:
Create process on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0xf0]
sub rsp, 0x1f0
mov rax, qword [0x140007008]
xor rax, rsp
mov qword [rbp + 0xe0], rax
mov r14, rdx
movsxd rsi, ecx
cmp esi, 1
jg 0x140001512
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.1400021d0
mov rcx, rax
lea rdx, [0x1400023b0]
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
jmp 0x140001e88
lea rdi, [rdx + 8]
mov rdx, qword [rdi]
xor r13d, r13d
mov qword [rbp - 0x18], r13
mov qword [rbp - 8], r13
mov qword [rbp], 7
mov r15, 0xffffffffffffffff
mov r8, r15
inc r8
cmp word [rdx + r8*2], r13w
jne 0x140001536
lea rcx, [rbp - 0x18]
call fcn.140002050
lea r8, [rbp - 0x18]
mov r9, qword [rbp - 0x18]
mov r10, qword [rbp]
cmp r10, 8
cmovae r8, r9
cmp qword [rbp - 8], 9
jne 0x14000158b
mov edx, 9
lea rcx, str.._adb.exe
sub r8, rcx
movzx eax, word [rcx]
cmp word [rcx + r8], ax
jne 0x14000158b
add rcx, 2
sub rdx, 1
jne 0x140001573
xor bl, bl
jmp 0x14000158d
mov bl, 1
cmp r10, 8
jb 0x1400015cb
lea rdx, [r10*2 + 2]
mov rax, r9
cmp rdx, 0x1000
jb 0x1400015c3
add rdx, 0x27
mov r9, qword [r9 - 8]
sub rax, r9
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400015c3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, r9
call fcn.140002eac
test bl, bl
je 0x1400015f7
lea rdx, str.Execution_forbidden_
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcerr]
call fcn.1400021d0
mov rcx, rax
lea rdx, [0x1400023b0]
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]
jmp 0x140001e85
mov ecx, 0xfffffff5
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov qword [rbp - 0x78], 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 + 0x10], eax
cmp eax, r15d
jne 0x14000164c
lea rdx, str.Couldnt_set_STDOUT_mode_to_UTF16_
jmp 0x1400015d6
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 + 0xc], eax
cmp eax, r15d
jne 0x140001695
lea rdx, str.Couldnt_set_STDERR_mode_to_UTF16_
jmp 0x1400015d6
xorps xmm0, xmm0
movups xmmword [rbp + 0x38], xmm0
lea rax, [rbp + 8]
mov qword [rbp + 0x38], rax
lea rax, [rbp + 0x10]
mov qword [rbp + 0x40], rax
movups xmmword [rbp + 0x48], xmm0
lea rax, [rbp + 9]
mov qword [rbp + 0x48], rax
lea rax, [rbp + 0xc]
mov qword [rbp + 0x50], rax
mov dword [rbp - 0x70], 0x18
mov qword [rbp - 0x68], r13
mov dword [rbp - 0x60], 1
mov qword [rsp + 0x20], r13
mov r9d, 1
lea r8, [rbp - 0x70]
lea edx, [r9 + 2]
mov ecx, 0xc0000000
call qword [sym.imp.KERNEL32.dll_CreateConsoleScreenBuffer]
mov qword [rbp - 0x80], rax
cmp rax, 0xffffffffffffffff
jne 0x140001703
lea rdx, str.Couldnt_create_a_console_screen_buffer_
jmp 0x140001723
mov dword [rsp + 0x50], 0x4000400
mov edx, dword [rsp + 0x50]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetConsoleScreenBufferSize]
test eax, eax
jne 0x140001744
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.1400021d0
mov rcx, rax
lea rdx, [0x1400023b0]
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]
jmp 0x140001e46
xorps xmm0, xmm0
movups xmmword [rbp + 0x58], xmm0
lea rax, [rbp - 0x40]
mov qword [rbp + 0x58], rax
lea rax, [rbp - 0x80]
mov qword [rbp + 0x60], rax
mov rdx, qword [rbp - 0x80]
mov ecx, 0xfffffff5
call qword [sym.imp.KERNEL32.dll_SetStdHandle]
test eax, eax
jne 0x140001796
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.1400021d0
mov rcx, rax
lea rdx, [0x1400023b0]
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]
jmp 0x140001e3b
xorps xmm0, xmm0
movups xmmword [rbp - 0x70], xmm0
lea rax, [rbp + 0xa]
mov qword [rbp - 0x70], rax
lea rax, [rbp - 0x78]
mov qword [rbp - 0x68], 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 0x14000180f
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.1400021d0
mov rcx, rax
lea rdx, [0x1400023b0]
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]
jmp 0x140001a76
mov qword [rbp - 0x38], r13
mov qword [rbp - 0x28], r13
mov qword [rbp - 0x20], 7
lea rax, [rbp - 0x38]
mov qword [rsp + 0x50], rax
lea rsi, [r14 + rsi*8]
cmp rdi, rsi
je 0x14000190c
mov r9, rdi
lea r8, [rbp - 0x38]
lea rdx, [rsp + 0x58]
call fcn.1400023f0
mov rbx, rax
lea rax, [rbp - 0x38]
cmp rax, rbx
je 0x1400018be
mov rdx, qword [rbp - 0x20]
cmp rdx, 8
jb 0x14000188e
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140001889
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140001905
call fcn.140002eac
mov qword [rbp - 0x28], r13
mov qword [rbp - 0x20], 7
mov word [rbp - 0x38], r13w
movups xmm0, xmmword [rbx]
movups xmmword [rbp - 0x38], xmm0
movups xmm1, xmmword [rbx + 0x10]
movups xmmword [rbp - 0x28], xmm1
mov qword [rbx + 0x10], r13
mov qword [rbx + 0x18], 7
mov word [rbx], r13w
mov rdx, qword [rsp + 0x70]
cmp rdx, 8
jb 0x1400018fc
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400018f7
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140001905
call fcn.140002eac
add rdi, 8
jmp 0x14000182c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
movups xmm1, xmmword [rbp - 0x38]
movups xmmword [rbp - 0x18], xmm1
movups xmm2, xmmword [rbp - 0x28]
movups xmmword [rbp - 8], xmm2
mov qword [rbp - 0x28], r13
mov qword [rbp - 0x20], 7
mov word [rbp - 0x38], r13w
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
movups xmmword [rbp + 0xc0], xmm0
mov qword [rbp + 0xd0], rax
mov dword [rbp + 0x70], 0x68
mov dword [rbp + 0xac], 0x80
lea rdx, [rbp - 0x18]
movq rcx, xmm1
psrldq xmm2, 8
movq rax, xmm2
cmp rax, 8
cmovae rdx, rcx
lea rax, [rbp - 0x58]
mov qword [rsp + 0x48], rax
lea rax, [rbp + 0x70]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], r13
mov qword [rsp + 0x30], r13
mov dword [rsp + 0x28], r13d
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 0x1400019ce
mov qword [rsp + 0x78], r15
jmp 0x1400019eb
mov rcx, qword [rbp - 0x50]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rax, qword [rbp - 0x58]
mov qword [rsp + 0x78], rax
cmp rax, 0xffffffffffffffff
jne 0x140001a8a
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.1400021d0
lea rdx, [rbp - 0x18]
cmp qword [rbp], 8
cmovae rdx, qword [rbp - 0x18]
mov r8, qword [rbp - 8]
mov rcx, rax
call fcn.140002c60
mov rcx, rax
lea rdx, [0x1400023b0]
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, 8
jb 0x140001a65
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x18]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140001a60
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140001ac1
call fcn.140002eac
mov qword [rbp - 8], r13
mov qword [rbp], 7
mov word [rbp - 0x18], r13w
mov rdx, qword [rbp - 0x78]
mov ecx, 0xfffffff5
call qword [sym.imp.KERNEL32.dll_SetStdHandle]
jmp 0x140001e3b
mov rdx, qword [rbp]
cmp rdx, 8
jb 0x140001acd
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x18]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140001ac8
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140001ac8
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140002eac
mov qword [rbp - 8], r13
mov qword [rbp], 7
mov word [rbp - 0x18], r13w
mov rdx, qword [rbp - 0x78]
mov ecx, 0xfffffff5
call qword [sym.imp.KERNEL32.dll_SetStdHandle]
xorps xmm0, xmm0
movups xmmword [rbp - 0x70], xmm0
lea rax, [rbp - 0x40]
mov qword [rbp - 0x70], rax
lea rax, [rsp + 0x78]
mov qword [rbp - 0x68], rax
mov qword [rbp - 0x18], r13
mov r12, r13
mov qword [rbp - 8], r13
mov r14d, 7
mov qword [rbp], r14
mov word [rbp - 0x18], r13w
xor edx, edx
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rsi, qword [rbp - 0x18]
mov rdx, qword [rbp - 0x80]
cmp eax, 0x102
jne 0x140001c97
xor r8d, r8d
lea rcx, [rbp - 0x38]
call fcn.1400011c0
nop
lea rcx, [rbp - 0x18]
cmp r14, 8
cmovae rcx, rsi
lea r9, [rbp - 0x38]
mov r8, qword [rbp - 0x38]
mov r10, qword [rbp - 0x20]
cmp r10, 8
cmovae r9, r8
mov r11, qword [rbp - 0x28]
cmp r11, r12
jne 0x140001b9d
mov rdx, r11
test r11, r11
je 0x140001c47
sub r9, rcx
movzx eax, word [rcx]
cmp word [rcx + r9], ax
jne 0x140001b9d
add rcx, 2
sub rdx, 1
jne 0x140001b84
jmp 0x140001c47
lea rax, [rbp - 0x38]
cmp r10, 8
cmovae rax, r8
lea rdi, [rax + r11*2]
lea rbx, [rbp - 0x38]
cmovae rbx, r8
cmp rbx, rdi
je 0x140001be2
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 0x140001c3f
add rbx, 2
cmp rbx, rdi
jne 0x140001bc0
mov r10, qword [rbp - 0x20]
mov r11, qword [rbp - 0x28]
mov r8, qword [rbp - 0x38]
lea rdx, [rbp - 0x38]
cmp r10, 8
cmovae 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.140002c60
mov rcx, rax
lea rdx, [0x1400023b0]
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]
lea rdx, [rbp - 0x38]
cmp qword [rbp - 0x20], 8
cmovae rdx, qword [rbp - 0x38]
mov r8, qword [rbp - 0x28]
lea rcx, [rbp - 0x18]
call fcn.140002050
mov ecx, 0x64
call qword [sym.imp.KERNEL32.dll_Sleep]
mov r14, qword [rbp]
mov r12, qword [rbp - 8]
mov rsi, qword [rbp - 0x18]
mov r8, qword [rbp - 0x38]
mov r10, qword [rbp - 0x20]
cmp r10, 8
jb 0x140001c7e
lea rdx, [r10*2 + 2]
mov rax, r8
cmp rdx, 0x1000
jb 0x140001c76
add rdx, 0x27
mov r8, qword [r8 - 8]
sub rax, r8
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140001c90
mov rcx, r8
call fcn.140002eac
xor edx, edx
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
jmp 0x140001b30
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov r8d, r15d
lea rcx, [rbp + 0x18]
call fcn.1400011c0
nop
lea rcx, [rbp - 0x18]
cmp r14, 8
cmovae rcx, rsi
lea r8, [rbp + 0x18]
mov r10, qword [rbp + 0x18]
mov r11, qword [rbp + 0x30]
cmp r11, 8
cmovae r8, r10
mov r9, qword [rbp + 0x28]
cmp r9, r12
jne 0x140001cf6
mov rdx, r9
test r9, r9
je 0x140001d60
sub r8, rcx
nop dword [rax]
movzx eax, word [rcx]
cmp word [rcx + r8], ax
jne 0x140001cf6
add rcx, 2
sub rdx, 1
jne 0x140001ce0
jmp 0x140001d60
lea rax, [rbp + 0x18]
cmp r11, 8
cmovae rax, r10
lea rdi, [rax + r9*2]
lea rbx, [rbp + 0x18]
cmovae rbx, r10
cmp rbx, rdi
je 0x140001d35
movzx ecx, word [rbx]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_iswprint]
test eax, eax
je 0x140001d60
add rbx, 2
cmp rbx, rdi
jne 0x140001d13
mov r11, qword [rbp + 0x30]
mov r9, qword [rbp + 0x28]
mov r10, qword [rbp + 0x18]
lea rdx, [rbp + 0x18]
cmp r11, 8
cmovae 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.140002c60
mov rcx, rax
lea rdx, [0x1400023b0]
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]
lea rdx, [rbp + 0x14]
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
test eax, eax
jne 0x140001d98
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.1400021d0
mov rcx, rax
lea rdx, [0x1400023b0]
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]
jmp 0x140001d9c
mov r15d, dword [rbp + 0x14]
mov rdx, qword [rbp + 0x30]
cmp rdx, 8
jb 0x140001ddf
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x18]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140001dda
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140001dda
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140002eac
mov qword [rbp + 0x28], r13
mov qword [rbp + 0x30], 7
mov word [rbp + 0x18], r13w
cmp r14, 8
jb 0x140001e2f
lea rdx, [r14*2 + 2]
mov rax, rsi
cmp rdx, 0x1000
jb 0x140001e26
add rdx, 0x27
mov rsi, qword [rsi - 8]
sub rax, rsi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140001e26
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rsi
call fcn.140002eac
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 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, dword [rbp + 0xc]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll__setmode]
nop
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, dword [rbp + 0x10]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll__setmode]
mov eax, r15d
mov rcx, qword [rbp + 0xe0]
xor rcx, rsp
call fcn.140002e50
lea r11, [rsp + 0x1f0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret