Function at 0x140005eb0
Capabilities:
Execute command

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 - 0x37]
sub rsp, 0xf0
mov rax, qword [0x140011040]
xor rax, rsp
mov qword [rbp + 0x27], rax
lea rcx, [rbp - 0x31]
call fcn.140004130
nop
mov qword [rbp - 0x79], 2
lea rcx, [rbp - 0x79]
call fcn.140007730
lea rdx, [0x14000d3b4]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140007550
movabs rcx, 0x7ffffffffffffffe
mov rax, rcx
mov r15, qword [rbp - 0x21]
sub rax, r15
cmp rax, 8
jb 0x140006299
lea r13, [rbp - 0x31]
mov rsi, qword [rbp - 0x31]
mov r14, qword [rbp - 0x19]
cmp r14, 7
cmova r13, rsi
xorps xmm0, xmm0
movups xmmword [rsp + 0x20], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x30], xmm1
lea r12, [r15 + 8]
mov ebx, 7
lea rdi, [rsp + 0x20]
cmp r12, rbx
jbe 0x140005ff5
mov rbx, r12
or rbx, 7
cmp rbx, rcx
jbe 0x140005fbc
mov rbx, rcx
movabs rax, 0x7fffffffffffffff
lea rcx, [rax + rax]
cmp rcx, 0x1000
jb 0x140005fe8
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x140006293
mov rcx, rax
call fcn.140009e18
test rax, rax
je 0x140006153
lea rdi, [rax + 0x27]
and rdi, 0xffffffffffffffe0
mov qword [rdi - 8], rax
jmp 0x140005ff0
mov eax, 0xa
cmp rbx, rax
cmovb rbx, rax
lea rcx, [rbx + 1]
movabs rax, 0x7fffffffffffffff
cmp rcx, rax
ja 0x140006293
add rcx, rcx
jne 0x140005f87
xor edi, edi
jmp 0x140005ff0
call fcn.140009e18
mov rdi, rax
mov qword [rsp + 0x20], rdi
mov qword [rsp + 0x30], r12
mov qword [rsp + 0x38], rbx
movups xmm0, xmmword [str.Result:]
movups xmmword [rdi], xmm0
lea rcx, [rdi + 0x10]
lea r8, [r15 + r15]
mov rdx, r13
call sub.VCRUNTIME140.dll_memcpy
xor eax, eax
mov word [rdi + r12*2], ax
mov ecx, 0xfffffff5
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov rcx, rax
lea rdx, [rbp - 0x11]
call qword [sym.imp.KERNEL32.dll_GetConsoleScreenBufferInfo]
movsx eax, word [rbp - 3]
movsx ecx, word [rbp - 7]
sub eax, ecx
inc eax
sub eax, dword [rsp + 0x30]
cdq
sub eax, edx
sar eax, 1
xorps xmm0, xmm0
movups xmmword [rbp - 0x51], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x41], xmm1
movsxd r8, eax
lea rcx, [rbp - 0x51]
call fcn.140007930
nop
lea r8, [rsp + 0x20]
lea rdx, [rbp - 0x51]
lea rcx, [rbp + 7]
call fcn.1400073d0
nop
lea rdx, [rbp + 7]
lea rcx, [rbp - 0x71]
call fcn.140006bc0
mov rcx, rax
call fcn.140003830
nop
mov rdx, qword [rbp + 0x1f]
cmp rdx, 7
jbe 0x1400060d6
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 7]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400060d0
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400060d0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140009e10
nop
mov rdx, qword [rbp - 0x39]
cmp rdx, 7
jbe 0x14000611a
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x51]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140006114
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140006114
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140009e10
nop
mov rdx, qword [rsp + 0x38]
cmp rdx, 7
jbe 0x14000615f
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000615a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000615a
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140009e10
lea rdx, [0x14000d3b4]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140007550
xorps xmm0, xmm0
movups xmmword [rsp + 0x20], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x30], xmm1
mov ecx, 0x20
call fcn.140009e18
mov qword [rsp + 0x20], rax
movdqa xmm0, xmmword [0x14000d620]
movdqu xmmword [rsp + 0x30], xmm0
movups xmm0, xmmword [str.Press_any_key_to_continue...]
movups xmmword [rax], xmm0
movsd xmm0, qword [0x14000d3c8]
movsd qword [rax + 0x10], xmm0
mov ecx, dword [0x14000d3d0]
mov dword [rax + 0x18], ecx
mov byte [rax + 0x1c], 0
lea rcx, [rsp + 0x20]
call fcn.1400038f0
nop
mov rdx, qword [rsp + 0x38]
cmp rdx, 0xf
jbe 0x14000620f
inc rdx
mov rcx, qword [rsp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000620a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000620a
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140009e10
call qword [sym.imp.api_ms_win_crt_conio_l1_1_0.dll__getch]
lea rcx, [0x14000cee0]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
call fcn.140004430
nop
cmp r14, 7
jbe 0x140006266
lea rdx, [r14*2 + 2]
mov rax, rsi
cmp rdx, 0x1000
jb 0x14000625e
add rdx, 0x27
mov rsi, qword [rsi - 8]
sub rax, rsi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000625e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rsi
call fcn.140009e10
mov rcx, qword [rbp + 0x27]
xor rcx, rsp
call fcn.140009df0
lea r11, [rsp + 0xf0]
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.140001f90
nop
call fcn.140002030
int3