Function at 0x140006600
Capabilities:
Set console window title

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r14
push r15
lea rbp, [rsp - 0x47]
sub rsp, 0xb0
mov rax, qword [0x140024040]
xor rax, rsp
mov qword [rbp + 0x3f], rax
mov dword [rbp - 0x49], 0
xorps xmm0, xmm0
movups xmmword [rbp - 0x41], xmm0
xor ebx, ebx
mov qword [rbp - 0x31], rbx
mov edi, 0xf
mov qword [rbp - 0x29], rdi
mov byte [rbp - 0x41], bl
mov dword [rbp - 0x49], 1
mov esi, edi
movabs r14, 0x842108421084211
lea r15, str.0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_rand]
movsxd rcx, eax
mov rax, r14
mul rcx
mov rax, rcx
sub rax, rdx
shr rax, 1
add rax, rdx
shr rax, 5
imul rax, rax, 0x3e
sub rcx, rax
movzx r9d, byte [rcx + r15]
cmp rbx, rdi
jae 0x1400066b8
lea rax, [rbx + 1]
mov qword [rbp - 0x31], rax
lea rax, [rbp - 0x41]
cmp rdi, 0xf
cmova rax, qword [rbp - 0x41]
mov byte [rax + rbx], r9b
mov byte [rax + rbx + 1], 0
jmp 0x1400066c1
lea rcx, [rbp - 0x41]
call fcn.14001bee0
sub rsi, 1
je 0x1400066d1
mov rdi, qword [rbp - 0x29]
mov rbx, qword [rbp - 0x31]
jmp 0x140006668
mov rsi, qword [0x1400d5eb0]
movabs rcx, 0x7fffffffffffffff
mov rax, rcx
sub rax, rsi
cmp rax, 9
jb 0x140006974
lea r15, [0x1400d5ea0]
cmp qword [0x1400d5eb8], 0xf
cmova r15, qword [0x1400d5ea0]
xorps xmm0, xmm0
movups xmmword [rbp - 0x21], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x11], xmm1
lea r14, [rsi + 9]
mov ebx, 0xf
lea rdi, [rbp - 0x21]
cmp r14, rbx
jbe 0x1400067a3
mov rbx, r14
or rbx, 0xf
cmp rbx, rcx
jbe 0x140006766
mov rbx, rcx
movabs rax, 0x8000000000000000
add rax, 0x27
mov rcx, rax
call fcn.14001c710
test rax, rax
je 0x14000689e
lea rdi, [rax + 0x27]
and rdi, 0xffffffffffffffe0
mov qword [rdi - 8], rax
jmp 0x14000679f
mov eax, 0x16
cmp rbx, rax
cmovb rbx, rax
lea rcx, [rbx + 1]
cmp rcx, 0x1000
jb 0x14000678e
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x14000697a
jmp 0x140006747
test rcx, rcx
je 0x14000679d
call fcn.14001c710
mov rdi, rax
jmp 0x14000679f
xor edi, edi
mov qword [rbp - 0x21], rdi
mov qword [rbp - 0x11], r14
mov qword [rbp - 9], rbx
movsd xmm0, qword [str.MARS_Perm]
movsd qword [rdi], xmm0
movzx eax, byte [0x14001ea00]
mov byte [rdi + 8], al
lea rcx, [rdi + 9]
mov r8, rsi
mov rdx, r15
call sub.VCRUNTIME140.dll_memcpy
mov byte [rdi + r14], 0
mov dword [rbp - 0x49], 3
mov r8d, 3
lea rdx, [0x14001e9f4]
lea rcx, [rbp - 0x21]
call fcn.14001b8a0
movups xmm0, xmmword [rax]
movups xmmword [rbp - 1], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0xf], xmm1
mov qword [rax + 0x10], 0
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
mov dword [rbp - 0x49], 7
lea r9, [rbp - 0x41]
lea r8, [rbp - 1]
lea rcx, [rbp + 0x1f]
call fcn.14001c220
nop
mov rdx, qword [rbp + 0x17]
cmp rdx, 0xf
jbe 0x14000686c
inc rdx
mov rcx, qword [rbp - 1]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140006866
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140006866
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14001c74c
nop
mov rdx, qword [rbp - 9]
cmp rdx, 0xf
jbe 0x1400068aa
inc rdx
mov rcx, qword [rbp - 0x21]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400068a5
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400068a5
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14001c74c
movdqa xmm0, xmmword [0x14001fbf0]
movdqu xmmword [rbp - 0x11], xmm0
mov byte [rbp - 0x21], 0
mov rdx, qword [rbp - 0x29]
cmp rdx, 0xf
jbe 0x1400068f9
inc rdx
mov rcx, qword [rbp - 0x41]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400068f4
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400068f4
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14001c74c
lea rcx, [rbp + 0x1f]
cmp qword [rbp + 0x37], 0xf
cmova rcx, qword [rbp + 0x1f]
call qword [sym.imp.KERNEL32.dll_SetConsoleTitleA]
mov rdx, qword [rbp + 0x37]
cmp rdx, 0xf
jbe 0x14000694b
inc rdx
mov rcx, qword [rbp + 0x1f]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140006946
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140006946
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14001c74c
mov rcx, qword [rbp + 0x3f]
xor rcx, rsp
call fcn.14001c6f0
lea r11, [rsp + 0xb0]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
call fcn.140001ca0
nop
call fcn.140001c00
int3