Function at 0x140004110
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 [section..data]
xor rax, rsp
mov qword [rbp + 0x27], rax
lea rcx, [rbp - 0x31]
call fcn.140002390
nop
mov qword [rbp - 0x79], 2
lea rcx, [rbp - 0x79]
call fcn.140005990
lea rdx, [0x14000bce4]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.1400057b0
movabs rcx, 0x7ffffffffffffffe
mov rax, rcx
mov r15, qword [rbp - 0x21]
sub rax, r15
cmp rax, 8
jb 0x1400044f9
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 0x140004255
mov rbx, r12
or rbx, 7
cmp rbx, rcx
jbe 0x14000421c
mov rbx, rcx
movabs rax, 0x7fffffffffffffff
lea rcx, [rax + rax]
cmp rcx, 0x1000
jb 0x140004248
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x1400044f3
mov rcx, rax
call fcn.1400086f0
test rax, rax
je 0x1400043b3
lea rdi, [rax + 0x27]
and rdi, 0xffffffffffffffe0
mov qword [rdi - 8], rax
jmp 0x140004250
mov eax, 0xa
cmp rbx, rax
cmovb rbx, rax
lea rcx, [rbx + 1]
movabs rax, 0x7fffffffffffffff
cmp rcx, rax
ja 0x1400044f3
add rcx, rcx
jne 0x1400041e7
xor edi, edi
jmp 0x140004250
call fcn.1400086f0
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.140005b90
nop
lea r8, [rsp + 0x20]
lea rdx, [rbp - 0x51]
lea rcx, [rbp + 7]
call fcn.140005630
nop
lea rdx, [rbp + 7]
lea rcx, [rbp - 0x71]
call fcn.140004e20
mov rcx, rax
call fcn.140001a90
nop
mov rdx, qword [rbp + 0x1f]
cmp rdx, 7
jbe 0x140004336
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 7]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140004330
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140004330
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14000872c
nop
mov rdx, qword [rbp - 0x39]
cmp rdx, 7
jbe 0x14000437a
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x51]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140004374
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140004374
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14000872c
nop
mov rdx, qword [rsp + 0x38]
cmp rdx, 7
jbe 0x1400043bf
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400043ba
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400043ba
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14000872c
lea rdx, [0x14000bce4]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.1400057b0
xorps xmm0, xmm0
movups xmmword [rsp + 0x20], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x30], xmm1
mov ecx, 0x20
call fcn.1400086f0
mov qword [rsp + 0x20], rax
movdqa xmm0, xmmword [0x14000be50]
movdqu xmmword [rsp + 0x30], xmm0
movups xmm0, xmmword [str.Press_any_key_to_continue...]
movups xmmword [rax], xmm0
movsd xmm0, qword [0x14000bcf8]
movsd qword [rax + 0x10], xmm0
mov ecx, dword [0x14000bd00]
mov dword [rax + 0x18], ecx
mov byte [rax + 0x1c], 0
lea rcx, [rsp + 0x20]
call fcn.140001b50
nop
mov rdx, qword [rsp + 0x38]
cmp rdx, 0xf
jbe 0x14000446f
inc rdx
mov rcx, qword [rsp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000446a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000446a
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14000872c
call qword [sym.imp.api_ms_win_crt_conio_l1_1_0.dll__getch]
lea rcx, [0x14000b804]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
call fcn.140002690
nop
cmp r14, 7
jbe 0x1400044c6
lea rdx, [r14*2 + 2]
mov rax, rsi
cmp rdx, 0x1000
jb 0x1400044be
add rdx, 0x27
mov rsi, qword [rsi - 8]
sub rax, rsi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400044be
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rsi
call fcn.14000872c
mov rcx, qword [rbp + 0x27]
xor rcx, rsp
call fcn.1400086d0
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.140001110
nop
call fcn.1400011b0
int3