Function at 0x140005cd0
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x10]
sub rsp, 0x110
mov rax, qword [0x14001d040]
xor rax, rsp
mov qword [rbp + 8], rax
xor r12d, r12d
mov dword [rsp + 0x30], r12d
lea rdx, [0x140015a90]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140008750
lea rdx, [0x14001dea0]
cmp qword [0x14001deb8], 0xf
cmova rdx, qword [0x14001dea0]
mov r8, qword [0x14001deb0]
mov rcx, rax
call fcn.14000aa80
lea rdx, [0x140008920]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
lea rdx, [0x140015ab0]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140008750
mov edx, dword [0x14001dec0]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___int____ptr64]
lea rdx, [0x140008920]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
mov ebx, dword [0x14001dec0]
xor ebx, 0x1e240
mov dword [rsp + 0x58], ebx
lea rdx, [0x140015ad0]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140008750
mov edx, ebx
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___int____ptr64]
lea rdx, [0x140008920]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
lea r9, [rbp - 0x80]
xor r8d, r8d
xor edx, edx
lea rcx, [0x140015680]
call qword [sym.imp.SHELL32.dll_SHGetKnownFolderPath]
xorps xmm0, xmm0
movups xmmword [rbp - 0x38], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x28], xmm1
mov rdx, qword [rbp - 0x80]
mov r8, 0xffffffffffffffff
inc r8
cmp word [rdx + r8*2], r12w
jne 0x140005df3
lea rcx, [rbp - 0x38]
call fcn.1400097a0
nop
lea rdx, [rbp - 0x38]
cmp qword [rbp - 0x20], 7
cmova rdx, qword [rbp - 0x38]
mov rax, qword [rbp - 0x28]
lea r14, [rdx + rax*2]
lea rdi, [rbp - 0x38]
cmova rdi, qword [rbp - 0x38]
xorps xmm0, xmm0
movups xmmword [rbp - 0x58], xmm0
movabs rdx, 0x7fffffffffffffff
movabs rcx, 0x8000000000000000
mov r8d, 0x16
mov rsi, r12
mov qword [rbp - 0x48], r12
cmp rdi, r14
jne 0x140005e66
mov r14d, 0xf
mov qword [rbp - 0x40], r14
mov byte [rbp - 0x58], sil
jmp 0x140005f71
mov rax, r14
sub rax, rdi
sar rax, 1
mov ebx, 0xf
mov qword [rbp - 0x40], rbx
cmp rax, rdx
ja 0x14000674e
cmp rax, rbx
jbe 0x140005f20
mov rbx, rax
or rbx, 0xf
cmp rbx, rdx
jbe 0x140005ecf
mov rbx, rdx
lea rax, [rcx + 0x27]
mov rcx, rax
call fcn.140013470
mov rcx, rax
test rax, rax
je 0x1400066ba
add rax, 0x27
and rax, 0xffffffffffffffe0
mov qword [rax - 8], rcx
movabs rdx, 0x7fffffffffffffff
mov r8d, 0x16
jmp 0x140005f11
cmp rbx, r8
cmovb rbx, r8
lea rcx, [rbx + 1]
cmp rcx, 0x1000
jb 0x140005ef2
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x140006742
jmp 0x140005e9d
test rcx, rcx
je 0x140005f0e
call fcn.140013470
movabs rdx, 0x7fffffffffffffff
mov r8d, 0x16
jmp 0x140005f11
mov rax, r12
mov qword [rbp - 0x58], rax
mov qword [rbp - 0x40], rbx
nop dword [rax]
lea rcx, [rbp - 0x58]
cmp rbx, 0xf
cmova rcx, qword [rbp - 0x58]
movzx eax, byte [rdi]
mov byte [rcx + rsi], al
mov rsi, qword [rbp - 0x48]
inc rsi
mov qword [rbp - 0x48], rsi
add rdi, 2
cmp rdi, r14
je 0x140005f4d
mov rbx, qword [rbp - 0x40]
jmp 0x140005f20
lea rax, [rbp - 0x58]
cmp qword [rbp - 0x40], 0xf
cmova rax, qword [rbp - 0x58]
mov byte [rax + rsi], 0
mov r14, qword [rbp - 0x40]
mov rsi, qword [rbp - 0x48]
movabs rcx, 0x8000000000000000
mov rax, rdx
sub rax, rsi
cmp rax, 5
jb 0x14000673c
lea r13, [rbp - 0x58]
mov r15, qword [rbp - 0x58]
cmp r14, 0xf
cmova r13, r15
xorps xmm0, xmm0
movups xmmword [rbp - 0x78], xmm0
mov qword [rbp - 0x68], r12
mov qword [rbp - 0x60], r12
lea r12, [rsi + 5]
mov ebx, 0xf
lea rdi, [rbp - 0x78]
cmp r12, rbx
jbe 0x14000601d
mov rbx, r12
or rbx, 0xf
cmp rbx, rdx
jbe 0x140005fe4
mov rbx, rdx
lea rax, [rcx + 0x27]
mov rcx, rax
call fcn.140013470
test rax, rax
je 0x140006673
lea rdi, [rax + 0x27]
and rdi, 0xffffffffffffffe0
mov qword [rdi - 8], rax
jmp 0x140006019
cmp rbx, 0x16
cmovb rbx, r8
lea rcx, [rbx + 1]
cmp rcx, 0x1000
jb 0x140006008
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x140006748
jmp 0x140005fc5
test rcx, rcx
je 0x140006017
call fcn.140013470
mov rdi, rax
jmp 0x140006019
xor edi, edi
mov qword [rbp - 0x78], rdi
mov qword [rbp - 0x68], r12
mov qword [rbp - 0x60], rbx
mov r8, rsi
mov rdx, r13
mov rcx, rdi
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [str._test]
mov dword [rdi + rsi], eax
movzx eax, byte [0x140015aec]
mov byte [rdi + rsi + 4], al
mov byte [rdi + r12], 0
mov rdi, qword [rbp - 0x68]
lea rbx, [rbp - 0x78]
cmp qword [rbp - 0x60], 0xf
cmova rbx, qword [rbp - 0x78]
call fcn.140012b24
mov qword [rsp + 0x20], rbx
mov qword [rsp + 0x28], rdi
lea r8, [rsp + 0x20]
mov edx, eax
lea rcx, [rsp + 0x38]
call fcn.140001bb0
nop
mov esi, 0x71
mov dword [rsp + 0x30], esi
lea rcx, [rsp + 0x38]
call fcn.140003300
test al, al
je 0x1400060e4
mov rdi, qword [rbp - 0x68]
lea rbx, [rbp - 0x78]
cmp qword [rbp - 0x60], 0xf
cmova rbx, qword [rbp - 0x78]
call fcn.140012b24
mov qword [rsp + 0x20], rbx
mov qword [rsp + 0x28], rdi
lea r8, [rsp + 0x20]
mov edx, eax
lea rcx, [rsp + 0x60]
call fcn.140001bb0
nop
mov esi, 0x1f3
mov dword [rsp + 0x30], esi
lea rcx, [rsp + 0x60]
call fcn.140003400
test al, al
je 0x1400060e4
mov bl, 1
jmp 0x1400060e6
xor bl, bl
test sil, 2
je 0x14000614d
and esi, 0xfffffffd
mov rdx, qword [rsp + 0x78]
cmp rdx, 7
jbe 0x140006134
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000612f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000612f
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140013898
movdqa xmm0, xmmword [0x1400162c0]
movdqu xmmword [rsp + 0x70], xmm0
xor r12d, r12d
mov word [rsp + 0x60], r12w
jmp 0x140006150
xor r12d, r12d
test sil, 1
je 0x14000619e
and esi, 0xfffffffe
mov rdx, qword [rsp + 0x50]
cmp rdx, 7
jbe 0x14000619e
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140006199
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140006199
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140013898
test bl, bl
je 0x1400065f7
lea rdx, str.Searching_in_directory:
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140008750
lea rdx, [rbp - 0x78]
cmp qword [rbp - 0x60], 0xf
cmova rdx, qword [rbp - 0x78]
mov r8, qword [rbp - 0x68]
mov rcx, rax
call fcn.14000aa80
lea rdx, [0x140008920]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
mov rdi, qword [rbp - 0x68]
lea rbx, [rbp - 0x78]
cmp qword [rbp - 0x60], 0xf
cmova rbx, qword [rbp - 0x78]
call fcn.140012b24
mov qword [rsp + 0x20], rbx
mov qword [rsp + 0x28], rdi
lea r8, [rsp + 0x20]
mov edx, eax
lea rcx, [rsp + 0x38]
call fcn.140001bb0
or esi, 0x600
lea rcx, [rsp + 0x38]
call fcn.140004aa0
nop
mov rdx, qword [rsp + 0x50]
cmp rdx, 7
jbe 0x14000626b
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140006266
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140006266
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140013898
lea rdx, str.your_folders_are_encoded:_
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140008750
lea rdx, [0x140008920]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
lea rdx, str.your_productnumber_is_:
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140008750
mov edx, dword [rsp + 0x58]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___int____ptr64]
lea rdx, [0x140008920]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
xorps xmm0, xmm0
movups xmmword [rbp - 0x18], xmm0
movdqa xmm1, xmmword [0x1400162d0]
movdqu xmmword [rbp - 8], xmm1
mov byte [rbp - 0x18], 0
lea rdx, str.whats_the_key_bozo__:
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140008750
lea rdx, [rbp - 0x18]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_istream_char__struct_std::char_traits_char___std::cin]
call fcn.140008eb0
mov rdi, qword [rbp - 0x68]
lea rbx, [rbp - 0x78]
cmp qword [rbp - 0x60], 0xf
cmova rbx, qword [rbp - 0x78]
call fcn.140012b24
mov qword [rsp + 0x20], rbx
mov qword [rsp + 0x28], rdi
lea r8, [rsp + 0x20]
mov edx, eax
lea rcx, [rsp + 0x38]
call fcn.140001bb0
or esi, 0x1800
or esi, 4
mov dword [rsp + 0x30], esi
lea rcx, [rsp + 0x38]
call fcn.140003300
test al, al
je 0x140006397
mov rdi, qword [rbp - 0x68]
lea rbx, [rbp - 0x78]
cmp qword [rbp - 0x60], 0xf
cmova rbx, qword [rbp - 0x78]
call fcn.140012b24
mov qword [rsp + 0x20], rbx
mov qword [rsp + 0x28], rdi
lea r8, [rsp + 0x20]
mov edx, eax
lea rcx, [rsp + 0x60]
call fcn.140001bb0
or esi, 0x18000
or esi, 8
mov dword [rsp + 0x30], esi
lea rcx, [rsp + 0x60]
call fcn.140003400
test al, al
je 0x140006397
mov bl, 1
jmp 0x140006399
xor bl, bl
test sil, 8
je 0x1400063fb
and esi, 0xfffffff7
mov rdx, qword [rsp + 0x78]
cmp rdx, 7
jbe 0x1400063e7
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400063e2
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400063e2
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140013898
movdqa xmm0, xmmword [0x1400162c0]
movdqu xmmword [rsp + 0x70], xmm0
mov word [rsp + 0x60], r12w
test sil, 4
je 0x140006446
mov rdx, qword [rsp + 0x50]
cmp rdx, 7
jbe 0x140006446
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140006441
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140006441
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140013898
test bl, bl
je 0x14000655c
lea rdx, str.Searching_in_directory:
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140008750
lea rdx, [rbp - 0x78]
cmp qword [rbp - 0x60], 0xf
cmova rdx, qword [rbp - 0x78]
mov r8, qword [rbp - 0x68]
mov rcx, rax
call fcn.14000aa80
lea rdx, [0x140008920]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
mov rdi, qword [rbp - 0x68]
lea rbx, [rbp - 0x78]
cmp qword [rbp - 0x60], 0xf
cmova rbx, qword [rbp - 0x78]
call fcn.140012b24
mov qword [rsp + 0x20], rbx
mov qword [rsp + 0x28], rdi
lea r8, [rsp + 0x20]
mov edx, eax
lea rcx, [rsp + 0x38]
call fcn.140001bb0
nop
lea rdx, [rbp - 0x18]
lea rcx, [rsp + 0x38]
call fcn.1400050f0
nop
mov rdx, qword [rsp + 0x50]
cmp rdx, 7
jbe 0x140006512
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000650d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000650d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140013898
lea rdx, str.the_encoding_is_completed:_
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140008750
lea rdx, [0x140008920]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcout]
call fcn.140008c00
lea rdx, [0x140008e70]
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]
call qword [sym.imp.api_ms_win_crt_conio_l1_1_0.dll__getch]
mov ebx, r12d
jmp 0x1400065a6
lea rdx, str.Invalid_directory._2_
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.140008750
lea rdx, [0x140008920]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcout]
call fcn.140008c00
lea rdx, [0x140008e70]
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]
call qword [sym.imp.api_ms_win_crt_conio_l1_1_0.dll__getch]
mov ebx, 1
mov rdx, qword [rbp]
cmp rdx, 0xf
jbe 0x1400065e4
inc rdx
mov rcx, qword [rbp - 0x18]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400065df
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400065df
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140013898
movdqa xmm0, xmmword [0x1400162d0]
movdqu xmmword [rbp - 8], xmm0
mov byte [rbp - 0x18], 0
jmp 0x140006641
lea rdx, str.Invalid_directory._1_
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.140008750
lea rdx, [0x140008920]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcout]
call fcn.140008c00
lea rdx, [0x140008e70]
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]
call qword [sym.imp.api_ms_win_crt_conio_l1_1_0.dll__getch]
mov ebx, 1
mov rdx, qword [rbp - 0x60]
cmp rdx, 0xf
jbe 0x14000667f
inc rdx
mov rcx, qword [rbp - 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000667a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000667a
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140013898
mov qword [rbp - 0x68], r12
mov qword [rbp - 0x60], 0xf
mov byte [rbp - 0x78], 0
cmp r14, 0xf
jbe 0x1400066ca
lea rdx, [r14 + 1]
mov rax, r15
cmp rdx, 0x1000
jb 0x1400066c1
add rdx, 0x27
mov r15, qword [r15 - 8]
sub rax, r15
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400066c1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, r15
call fcn.140013898
nop
mov rdx, qword [rbp - 0x20]
cmp rdx, 7
jbe 0x14000670d
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140006708
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140006708
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140013898
mov eax, ebx
mov rcx, qword [rbp + 8]
xor rcx, rsp
call fcn.140013450
lea r11, [rsp + 0x110]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
call fcn.140001270
nop
call fcn.1400011d0
nop
call fcn.1400011d0
nop
call fcn.140001270
int3