Function at 0x140006670
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 [0x140024028]
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 0x140006728
lea rax, [rbx + 1]
mov qword [rbp - 0x31], rax
lea rax, [rbp - 0x41]
cmp rdi, 0x10
cmovae rax, qword [rbp - 0x41]
mov byte [rax + rbx], r9b
mov byte [rax + rbx + 1], 0
jmp 0x140006731
lea rcx, [rbp - 0x41]
call fcn.14001be20
sub rsi, 1
je 0x140006741
mov rdi, qword [rbp - 0x29]
mov rbx, qword [rbp - 0x31]
jmp 0x1400066d8
mov rsi, qword [0x1400d5e60]
movabs rcx, 0x7fffffffffffffff
mov rax, rcx
sub rax, rsi
cmp rax, 8
jb 0x1400069db
lea r15, [0x1400d5e50]
cmp qword [0x1400d5e68], 0x10
cmovae r15, qword [0x1400d5e50]
xorps xmm0, xmm0
movups xmmword [rbp - 0x21], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x11], xmm1
lea r14, [rsi + 8]
mov ebx, 0xf
lea rdi, [rbp - 0x21]
cmp r14, rbx
jbe 0x140006813
mov rbx, r14
or rbx, 0xf
cmp rbx, rcx
jbe 0x1400067d6
mov rbx, rcx
movabs rax, 0x8000000000000000
add rax, 0x27
mov rcx, rax
call fcn.14001c640
test rax, rax
je 0x140006905
lea rdi, [rax + 0x27]
and rdi, 0xffffffffffffffe0
mov qword [rdi - 8], rax
jmp 0x14000680f
mov eax, 0x16
cmp rbx, rax
cmovb rbx, rax
lea rcx, [rbx + 1]
cmp rcx, 0x1000
jb 0x1400067fe
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x1400069e1
jmp 0x1400067b7
test rcx, rcx
je 0x14000680d
call fcn.14001c640
mov rdi, rax
jmp 0x14000680f
xor edi, edi
mov qword [rbp - 0x21], rdi
mov qword [rbp - 0x11], r14
mov qword [rbp - 9], rbx
movabs rax, 0x20535953494e4547
mov qword [rdi], rax
lea rcx, [rdi + 8]
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, [0x14001ec4c]
lea rcx, [rbp - 0x21]
call fcn.14001b6b0
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.14001c160
nop
mov rdx, qword [rbp + 0x17]
cmp rdx, 0x10
jb 0x1400068d3
inc rdx
mov rcx, qword [rbp - 1]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400068cd
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400068cd
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14001c67c
nop
mov rdx, qword [rbp - 9]
cmp rdx, 0x10
jb 0x140006911
inc rdx
mov rcx, qword [rbp - 0x21]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000690c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000690c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14001c67c
movdqa xmm0, xmmword [0x14001fdc0]
movdqu xmmword [rbp - 0x11], xmm0
mov byte [rbp - 0x21], 0
mov rdx, qword [rbp - 0x29]
cmp rdx, 0x10
jb 0x140006960
inc rdx
mov rcx, qword [rbp - 0x41]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000695b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000695b
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14001c67c
lea rcx, [rbp + 0x1f]
cmp qword [rbp + 0x37], 0x10
cmovae rcx, qword [rbp + 0x1f]
call qword [sym.imp.KERNEL32.dll_SetConsoleTitleA]
mov rdx, qword [rbp + 0x37]
cmp rdx, 0x10
jb 0x1400069b2
inc rdx
mov rcx, qword [rbp + 0x1f]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400069ad
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400069ad
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14001c67c
mov rcx, qword [rbp + 0x3f]
xor rcx, rsp
call fcn.14001c620
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.140001bc0
nop
call fcn.140001b20
int3