Function at 0x18005a4d0
Capabilities:
Set console window title

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0xe0]
sub rsp, 0x1e0
mov rax, qword [0x18009da48]
xor rax, rsp
mov qword [rbp + 0xd0], rax
mov r10, r9
mov qword [rbp - 0x80], r9
mov r9d, r8d
mov dword [rsp + 0x4c], r8d
mov qword [rsp + 0x60], rdx
mov r12, rcx
mov qword [rbp - 0x78], rcx
xor edi, edi
mov qword [rbp - 0x58], rdi
mov qword [rbp - 0x50], ILClone
mov byte [rbp - 0x68], dil
add r8d, 6
mov dword [rsp + 0x38], r8d
cmp r9d, r8d
jae case.0x18005a585.3
lea r8d, [r9 - 0x58]
mov dword [rsp + 0x50], r8d
lea r11, [0x180000000]
mov r13, qword [rsp + 0x78]
movzx esi, byte [rsp + 0x48]
mov qword [rsp + 0x58], rsi
mov r14, qword [rsp + 0x70]
mov r15, qword [rsp + 0x40]
mov eax, dword [rsp + 0x38]
nop dword [rax]
cmp r8d, 7
ja case.default.0x18005a585
mov ecx, dword [r11 + r8*4 + 0x5a9bc]
add rcx, r11
jmp rcx
mov rax, qword [rbp - 0x70]
cmp r13, rax
jae 0x18005a699
add r12, 2
add r12, r13
mov r15, rax
sub r15, r13
dec r15
shr r15, 2
inc r15
lea r13, [r13 + r15*4]
mov qword [rsp + 0x78], r13
mov r14, qword [rsp + 0x40]
mov r13, qword [rsp + 0x60]
nop
movzx eax, byte [r12 - 2]
mov dword [rsp + 0x40], eax
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x20], rdi
lea r9, [rsp + 0x40]
xor r8d, r8d
xor edx, edx
lea ecx, [rdx + 0x18]
call fcn.18002abc0
mov ebx, eax
movzx eax, byte [r12 - 1]
mov dword [rsp + 0x30], eax
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x20], rdi
lea r9, [rsp + 0x30]
xor r8d, r8d
xor edx, edx
lea ecx, [rdx + 0x18]
call fcn.18002abc0
shl bl, 4
or bl, al
mov byte [r14 + r13], bl
movzx eax, byte [r12]
mov dword [rsp + 0x30], eax
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x20], rdi
lea r9, [rsp + 0x30]
xor r8d, r8d
xor edx, edx
lea ecx, [rdx + 0x18]
call fcn.18002abc0
mov ebx, eax
movzx eax, byte [r12 + 1]
mov dword [rsp + 0x40], eax
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x20], rdi
lea r9, [rsp + 0x40]
xor r8d, r8d
xor edx, edx
lea ecx, [rdx + 0x18]
call fcn.18002abc0
shl bl, 4
or bl, al
mov byte [r14 + r13 + 1], bl
lea r12, [r12 + 4]
add r14, 2
sub r15, 1
jne 0x18005a5c0
mov qword [rsp + 0x40], r14
mov r14, qword [rsp + 0x70]
mov r13, qword [rsp + 0x78]
mov r15, qword [rsp + 0x40]
mov r12, qword [rbp - 0x78]
cmp r13, qword [rsp + 0x68]
jae 0x18005a721
mov r14, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
nop
movzx eax, byte [r12 + r13]
mov dword [rsp + 0x30], eax
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x20], rdi
lea r9, [rsp + 0x30]
xor r8d, r8d
xor edx, edx
lea ecx, [rdx + 0x18]
call fcn.18002abc0
mov ebx, eax
movzx eax, byte [r12 + r13 + 1]
mov dword [rsp + 0x40], eax
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x20], rdi
lea r9, [rsp + 0x40]
xor r8d, r8d
xor edx, edx
lea ecx, [rdx + 0x18]
call fcn.18002abc0
shl bl, 4
or bl, al
mov byte [r14 + r15], bl
add r13, 2
inc r15
cmp r13, rsi
jb 0x18005a6b0
mov qword [rsp + 0x40], r15
mov rsi, qword [rsp + 0x58]
mov r14, qword [rsp + 0x70]
mov qword [rsp + 0x30], r15
jmp 0x18005a86a
test rdx, rdx
je 0x18005a93f
mov rcx, qword [r10]
mov rax, rcx
and rax, 0xfffffffffffffffe
mov qword [rsp + 0x68], rax
and rcx, 0xfffffffffffffffc
mov qword [rbp - 0x70], rcx
jmp case.0x18005a585.4
cmp qword [rsp + 0x68], 0
je 0x18005a951
mov r13, rdi
mov r15, rdi
mov qword [rsp + 0x40], rdi
jmp case.0x18005a585.4
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x20], rdi
mov r9d, 0xa4
xor r8d, r8d
xor edx, edx
mov rcx, r12
call fcn.180015530
test al, al
je 0x18005a947
mov qword [rsp + 0x28], r12
mov qword [rsp + 0x20], rdi
mov r9d, 0xf6
lea r8, [rbp - 0x68]
xor edx, edx
xor ecx, ecx
call fcn.180014590
test al, al
jne 0x18005a7f9
mov ebx, 0xd7
nop word [rax + rax]
mov eax, ebx
sub eax, 0xd6
je 0x18005a947
cmp eax, 1
jne 0x18005a7ef
mov edx, 0x104
lea rcx, [rbp - 0x40]
call qword [sym.imp.KERNEL32.dll_GetConsoleTitleA]
test eax, eax
je 0x18005a7ef
lea rcx, [rbp - 0x40]
call qword [sym.imp.KERNEL32.dll_SetConsoleTitleA]
dec ebx
cmp ebx, 0xd5
ja 0x18005a7c0
mov ebx, PathMakeUniqueName
nop
cmp ebx, 0x25fc
ja 0x18005a8d2
je 0x18005a8b6
mov eax, ebx
sub eax, 0x2c
je 0x18005a8a6
sub eax, 0x59
je 0x18005a91d
cmp eax, 0x128f
jne 0x18005a906
mov r9d, 0x40
mov r8d, 0x1000
mov rdx, qword [rbp - 0x58]
xor ecx, ecx
call qword [0x18009db50]
mov r14, rax
mov qword [rsp + 0x70], rax
test rax, rax
jne 0x18005a906
xor sil, sil
mov qword [rsp + 0x58], rsi
movzx eax, sil
mov byte [rsp + 0x30], al
lea r11, [0x180000000]
mov r10, qword [rbp - 0x80]
mov r9d, dword [rsp + 0x4c]
mov r8d, dword [rsp + 0x50]
mov rdx, qword [rsp + 0x60]
mov eax, dword [rsp + 0x38]
inc r9d
mov dword [rsp + 0x4c], r9d
inc r8d
mov dword [rsp + 0x50], r8d
cmp r9d, eax
jae case.0x18005a585.3
jmp 0x18005a570
mov qword [0x18009db48], rdi
mov qword [0x18009db40], rdi
jmp 0x18005a906
lea rdx, [rbp - 0x68]
cmp qword [rbp - 0x50], 0x10
cmovae rdx, qword [rbp - 0x68]
mov r8, qword [rbp - 0x58]
mov rcx, r14
call sub.VCRUNTIME140.dll_memcpy
jmp 0x18005a906
cmp ebx, 0x38e4
je 0x18005a8e4
cmp ebx, 0x4bcc
je 0x18005a862
jmp 0x18005a906
mov eax, dword [rbp - 0x48]
add rax, r14
mov qword [0x18009db48], rax
mov eax, dword [rbp - 0x44]
add rax, r14
mov qword [0x18009db40], rax
mov sil, 1
mov qword [rsp + 0x58], rsi
add ebx, 0x12e8
cmp ebx, 0x7170
ja 0x18005a862
jmp 0x18005a800
lea r8, [0x18009db50]
lea rdx, [rbp - 0x68]
mov ecx, 0x10c
call fcn.1800217c0
mov rsi, rax
mov qword [rsp + 0x58], rax
jmp 0x18005a866
mov rdi, qword [r10]
shr rdi, 1
jmp 0x18005a951
mov byte [rsp + 0x30], 0
mov rdi, qword [rsp + 0x30]
mov rdx, qword [rbp - 0x50]
cmp rdx, 0x10
jb 0x18005a98f
inc rdx
mov rcx, qword [rbp - 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18005a98a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18005a98a
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180083768
mov rax, rdi
mov rcx, qword [rbp + 0xd0]
xor rcx, rsp
call fcn.180083f10
mov rbx, qword [rsp + 0x230]
add rsp, 0x1e0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret