Function at 0x140005370
Capabilities:
Set console window title

Disassembly:
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x128
mov eax, dword [0x1400fc07c]
movsxd r9, eax
test eax, eax
js 0x1400057a0
xor ecx, ecx
cmp eax, 9
jbe 0x14000594d
cmp eax, 0x63
jbe 0x1400059fc
cmp eax, 0x3e7
jbe 0x140005a14
cmp eax, 0x270f
jbe 0x140005a2c
mov edx, 5
cmp eax, 0x1869f
jbe 0x1400057d5
cmp eax, 0xf423f
jbe 0x140005a44
cmp eax, 0x98967f
jbe 0x1400057e0
cmp eax, 0x5f5e0ff
jbe 0x1400057f0
cmp eax, 0x3b9ac9ff
jbe 0x1400057d0
mov edx, 5
mov r8d, 9
add edx, 5
lea rbx, [rsp + 0x40]
add edx, ecx
mov qword [rsp + 0x30], rbx
mov edx, edx
movabs rsi, 0x2d2d2d2d2d2d2d2d
mov r10d, edx
mov rcx, rbx
cmp edx, 8
jae 0x140005850
test r10b, 4
jne 0x140005830
test r10b, 2
jne 0x140005810
and r10d, 1
jne 0x140005800
mov rcx, qword [rsp + 0x30]
add rcx, rdx
movabs rdi, 0x3330323031303030
mov qword [rsp + 0x38], rdx
movabs rsi, 0x3732363235323432
movabs rbp, 0x3730363035303430
mov byte [rcx], 0
shr r9, 0x3f
add r9, qword [rsp + 0x30]
mov qword [rsp + 0x50], rdi
movabs rdi, 0x3131303139303830
mov qword [rsp + 0x60], rdi
movabs rdi, 0x3931383137313631
mov qword [rsp + 0x70], rdi
movabs rdi, 0x3133303339323832
mov qword [rsp + 0x80], rsi
movabs rsi, 0x3533343333333233
mov qword [rsp + 0x88], rdi
movabs rdi, 0x3933383337333633
mov qword [rsp + 0x90], rsi
movabs rsi, 0x3334323431343034
mov qword [rsp + 0x98], rdi
movabs rdi, 0x3734363435343434
mov qword [rsp + 0xa0], rsi
movabs rsi, 0x3135303539343834
mov qword [rsp + 0xa8], rdi
movabs rdi, 0x3535343533353235
mov qword [rsp + 0xb0], rsi
movabs rsi, 0x3935383537353635
mov qword [rsp + 0xb8], rdi
movabs rdi, 0x3336323631363036
mov qword [rsp + 0xc0], rsi
movabs rsi, 0x3736363635363436
mov qword [rsp + 0xc8], rdi
movabs rdi, 0x3137303739363836
mov qword [rsp + 0xd0], rsi
movabs rsi, 0x3537343733373237
mov qword [rsp + 0xd8], rdi
movabs rdi, 0x3937383737373637
mov qword [rsp + 0xe0], rsi
movabs rsi, 0x3338323831383038
mov qword [rsp + 0xe8], rdi
movabs rdi, 0x3738363835383438
mov qword [rsp + 0x58], rbp
movabs rbp, 0x3531343133313231
mov qword [rsp + 0xf0], rsi
movabs rsi, 0x3139303939383838
mov qword [rsp + 0xf8], rdi
movabs rdi, 0x3539343933393239
mov qword [rsp + 0x108], rdi
movabs rdi, 0x39393839373936
mov qword [rsp + 0x68], rbp
movabs rbp, 0x3332323231323032
mov qword [rsp + 0x100], rsi
movabs rsi, 0x3935393439333932
mov qword [rsp + 0x78], rbp
mov qword [rsp + 0x109], rsi
mov qword [rsp + 0x111], rdi
cmp eax, 0x63
jbe 0x140005678
nop dword [rax]
mov ecx, eax
mov edx, eax
imul rcx, rcx, 0x51eb851f
shr rcx, 0x25
imul r10d, ecx, 0x64
sub edx, r10d
mov r10d, eax
mov eax, ecx
mov ecx, r8d
add edx, edx
lea r11d, [rdx + 1]
movzx r11d, byte [rsp + r11 + 0x50]
mov byte [r9 + rcx], r11b
movzx edx, byte [rsp + rdx + 0x50]
lea ecx, [r8 - 1]
sub r8d, 2
mov byte [r9 + rcx], dl
cmp r10d, 0x270f
ja 0x140005630
lea edx, [rax + 0x30]
cmp eax, 9
jbe 0x140005693
add eax, eax
lea edx, [rax + 1]
movzx edx, byte [rsp + rdx + 0x50]
mov byte [r9 + 1], dl
movzx edx, byte [rsp + rax + 0x50]
movabs rax, 0x7fffffffffffffff
mov byte [r9], dl
mov rsi, qword [rsp + 0x38]
sub rax, rsi
cmp rax, 0x10
jbe 0x140005a54
mov rdi, qword [rsp + 0x30]
lea rbp, [rsi + 0x11]
lea r13, [rsp + 0x30]
cmp rdi, rbx
je 0x140005870
mov rax, qword [rsp + 0x40]
cmp rax, rbp
jb 0x140005970
lea r9, str.Strings_cleared:
cmp r9, rdi
jb 0x1400056f0
lea rax, [rdi + rsi]
cmp rax, r9
jae 0x140005a86
test rsi, rsi
je 0x14000570e
cmp rsi, 1
je 0x1400059b0
lea rcx, [rdi + 0x11]
mov r8, rsi
mov rdx, rdi
call sub.msvcrt.dll_memmove
movabs rax, 0x2073676e69727453
mov byte [rdi + 0x10], 0x20
movabs rdx, 0x3a64657261656c63
mov qword [rdi], rax
mov qword [rdi + 8], rdx
mov rdi, qword [rsp + 0x30]
mov qword [rsp + 0x38], rbp
mov byte [rdi + rsi + 0x11], 0
mov rcx, qword [rsp + 0x30]
lea rsi, [rsp + 0x60]
mov qword [rsp + 0x50], rsi
cmp rcx, rbx
je 0x1400058f8
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x50], rcx
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x38]
mov qword [rsp + 0x58], rax
call qword [sym.imp.KERNEL32.dll_SetConsoleTitleA]
mov rcx, qword [rsp + 0x50]
cmp rcx, rsi
je 0x14000578c
mov rax, qword [rsp + 0x60]
lea rdx, [rax + 1]
call fcn.1400c6fe0
nop
add rsp, 0x128
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
ret
neg eax
mov ecx, 1
cmp eax, 9
ja 0x14000539b
lea rbx, [rsp + 0x40]
xor r8d, r8d
mov edx, 2
mov qword [rsp + 0x30], rbx
jmp 0x140005412
mov edx, 9
lea r8d, [rdx - 1]
jmp 0x140005404
mov r8d, 6
mov edx, 7
jmp 0x140005404
mov r8d, 7
mov edx, 8
jmp 0x140005404
mov byte [rcx], 0x2d
jmp 0x140005449
mov r11d, 0x2d2d
add rcx, 2
mov word [rcx - 2], r11w
and r10d, 1
je 0x140005449
jmp 0x140005800
mov dword [rcx], 0x2d2d2d2d
add rcx, 4
test r10b, 2
je 0x14000543f
jmp 0x140005810
mov edi, edx
xor ecx, ecx
and edi, 0xfffffff8
mov r11d, ecx
add ecx, 8
mov qword [rbx + r11], rsi
cmp ecx, edi
jb 0x140005857
add rcx, rbx
jmp 0x14000542b
cmp rbp, 0x1d
ja 0x1400059bb
mov ecx, 0x1f
mov r12d, 0x1e
call fcn.1400c7020
mov rdi, rax
mov r13, qword [rsp + 0x30]
movabs rax, 0x2073676e69727453
movabs rdx, 0x3a64657261656c63
mov qword [rdi], rax
mov qword [rdi + 8], rdx
mov byte [rdi + 0x10], 0x20
test rsi, rsi
je 0x1400058cf
cmp rsi, 1
je 0x1400059ef
lea rcx, [rdi + 0x11]
mov r8, rsi
mov rdx, r13
call sub.msvcrt.dll_memcpy
cmp r13, rbx
je 0x1400058e5
mov rax, qword [rsp + 0x40]
mov rcx, r13
lea rdx, [rax + 1]
call fcn.1400c6fe0
mov qword [rsp + 0x30], rdi
mov qword [rsp + 0x40], r12
jmp 0x140005732
mov rax, qword [rsp + 0x38]
mov r9, rsi
mov rdx, rbx
lea rcx, [rax + 1]
cmp ecx, 8
jae 0x1400059c7
xor r8d, r8d
test cl, 4
je 0x140005924
mov r8d, dword [rdx]
mov dword [r9], r8d
mov r8d, 4
test cl, 2
je 0x140005937
movzx r10d, word [rdx + r8]
mov word [r9 + r8], r10w
add r8, 2
and ecx, 1
je 0x140005945
movzx edx, byte [rdx + r8]
mov byte [r9 + r8], dl
mov rcx, rsi
jmp 0x140005768
lea rbx, [rsp + 0x40]
mov byte [rsp + 0x40], 0x2d
lea rcx, [rsp + 0x41]
xor r8d, r8d
mov qword [rsp + 0x30], rbx
mov edx, 1
jmp 0x140005451
test rbp, rbp
js 0x140005a65
lea r12, [rax + rax]
cmp rbp, r12
jae 0x140005995
lea rcx, [r12 + 1]
test r12, r12
jns 0x140005885
call fcn.1400c8d20
mov rcx, rsi
mov r12, rbp
add rcx, 0x12
jns 0x140005885
jmp 0x140005990
movzx eax, byte [rdi]
mov byte [rdi + 0x11], al
jmp 0x14000570e
lea rcx, [rsi + 0x12]
mov r12, rbp
jmp 0x140005885
mov r10d, ecx
xor edx, edx
and r10d, 0xfffffff8
mov r8d, edx
add edx, 8
mov r9, qword [rbx + r8]
mov qword [rsi + r8], r9
cmp edx, r10d
jb 0x1400059d0
lea r9, [rsi + rdx]
add rdx, rbx
jmp 0x140005910
movzx eax, byte [r13]
mov byte [rdi + 0x11], al
jmp 0x1400058cf
lea rbx, [rsp + 0x40]
lea edx, [rcx + 2]
mov r8d, 1
mov qword [rsp + 0x30], rbx
jmp 0x140005412
lea rbx, [rsp + 0x40]
lea edx, [rcx + 3]
mov r8d, 2
mov qword [rsp + 0x30], rbx
jmp 0x140005412
lea rbx, [rsp + 0x40]
lea edx, [rcx + 4]
mov r8d, 3
mov qword [rsp + 0x30], rbx
jmp 0x140005412
mov edx, 1
mov r8d, 5
jmp 0x140005401
lea rcx, [0x1400ce1da]
lea r13, [rsp + 0x30]
call fcn.1400c8f10
lea rcx, [0x1400ce205]
call fcn.1400c8f10
mov rbx, rax
lea rcx, [rsp + 0x50]
call fcn.1400aeb20
mov rcx, rbx
call fcn.140015ab0
mov qword [rsp + 0x28], rsi
xor r8d, r8d
mov rdx, rdi
mov rcx, r13
mov qword [rsp + 0x20], 0x11
call fcn.1400af670
mov rdi, qword [rsp + 0x30]
jmp 0x140005732