Function at 0x140005660
Capabilities:
Set console window title

Disassembly:
push rbp
lea rbp, [rsp - 0x57]
sub rsp, 0xa0
lea rcx, [rbp - 0x19]
call fcn.140004070
cmp qword [rax + 0x18], 0xf
jbe 0x140005681
mov rax, qword [rax]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetConsoleTitleA]
mov rdx, qword [rbp - 1]
cmp rdx, 0xf
jbe 0x1400056c5
mov rcx, qword [rbp - 0x19]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400056c0
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140005cb3
call fcn.140005fc0
mov qword [rsp + 0x98], rbx
mov cl, 0x17
mov qword [rsp + 0x90], rsi
xor cl, 0x62
mov qword [rsp + 0x88], rdi
mov dl, 0x11
xor dl, 0x62
mov qword [rsp + 0x80], r12
mov al, 0x30
mov qword [rsp + 0x78], r13
mov byte [rbp + 0x69], cl
xor r8d, r8d
mov byte [rbp + 0x6a], dl
xor al, 0x62
mov qword [rsp + 0x70], r14
lea rdx, [rbp + 0x68]
xor ecx, ecx
mov qword [rsp + 0x68], r15
mov byte [rbp + 0x67], 0x62
mov byte [rbp + 0x68], al
mov byte [rbp + 0x6b], r8b
call fcn.14000d208
call fcn.140004f90
call fcn.140002710
movzx r13d, word [0x140023686]
mov ecx, 0x2e
movzx r14d, word [str.C:dll.dll]
mov r15d, 0x49
movzx ebx, word [0x14002368a]
movzx esi, cx
movzx r11d, word [0x14002368c]
xor r13w, cx
movzx r10d, word [0x14002368e]
lea edi, [rcx + 0x1d]
movzx r9d, word [0x140023690]
lea r12d, [rcx + 0x28]
movzx r8d, word [0x140023692]
xor r14w, cx
movzx edx, word [0x140023694]
xor bx, cx
mov dword [rbp + 0x77], ecx
xor r11w, cx
xor r15w, word [rbp + 0x77]
xor r10w, cx
mov word [rbp - 0x17], r15w
xor r9w, cx
mov qword [rbp + 0x7f], rax
mov r15d, 0x5a
xor r15w, word [rbp + 0x77]
xor r8w, cx
mov word [rbp - 0x15], r15w
xor dx, cx
mov r15d, 0x4f
mov word [rbp - 0x19], cx
xor r15w, word [rbp + 0x77]
mov eax, 0x4f
movzx ecx, word [0x140023696]
mov word [rbp - 0x13], r15w
xor cx, si
mov word [rbp + 0x67], ax
mov r15d, 0x71
xor r15w, word [rbp + 0x77]
xor eax, eax
mov word [rbp - 0x11], r15w
mov r15d, 0x5d
xor r15w, word [rbp + 0x77]
mov word [rbp - 0xf], r15w
movzx r15d, word [rbp + 0x67]
xor r15w, word [rbp + 0x77]
mov word [rbp - 0xd], r15w
mov word [rbp + 0x6f], ax
movzx r15d, word [rbp + 0x6f]
xor r15w, word [rbp + 0x77]
movzx eax, word [0x140023698]
mov word [rbp - 0xb], r15w
xor ax, si
mov r15d, edi
xor r15w, word [rbp + 0x77]
mov word [rbp - 9], r15w
mov r15d, 0x2e
xor r12w, r15w
xor ax, r15w
mov word [rbp - 7], r12w
xor cx, r15w
mov word [rbp + 0x11], ax
xor eax, eax
mov word [rbp + 0xf], cx
xor r11w, r15w
mov word [rbp + 0x13], ax
xor r10w, r15w
mov word [rbp + 5], r11w
xor r9w, r15w
mov word [rbp + 7], r10w
xor r8w, r15w
mov word [rbp + 9], r9w
xor dx, r15w
mov word [rbp + 0xb], r8w
xor di, r15w
mov word [rbp + 0xd], dx
xor si, r15w
mov word [rbp - 5], di
xor r13w, r15w
mov word [rbp - 3], si
xor r14w, r15w
mov word [rbp - 1], r13w
xor bx, r15w
mov word [rbp + 1], r14w
lea rcx, [rbp - 0x17]
mov word [rbp + 3], bx
call fcn.140003760
mov rcx, qword [rbp + 0x7f]
xor r8d, r8d
mov edx, eax
call fcn.140001fc0
movzx r13d, word [str.invalid_string_position]
mov edx, 0x57
movzx ebx, word [0x1400236a2]
mov eax, 0x3b
movzx r11d, word [0x1400236a4]
movzx r15d, ax
movzx r10d, word [0x1400236a6]
movzx r14d, ax
movzx r9d, word [0x1400236a8]
lea esi, [rdx - 0x24]
movzx r8d, word [0x1400236aa]
movzx r12d, dx
movzx ecx, word [0x1400236ae]
xor r13w, dx
mov dword [rbp + 0x77], edx
xor bx, dx
mov word [rbp + 0x67], ax
xor r11w, dx
movzx eax, word [0x14002369e]
xor r10w, dx
xor ax, dx
mov word [rbp - 0x19], dx
xor r9w, dx
mov word [rbp + 0x6f], ax
movzx eax, word [0x1400236b0]
xor r8w, dx
movzx edx, word [0x1400236ac]
mov edi, 0x14
xor di, word [rbp + 0x77]
xor dx, r12w
mov word [rbp - 0x17], di
xor cx, r12w
mov edi, 0x6d
xor ax, r12w
xor di, word [rbp + 0x77]
mov word [rbp - 0x15], di
mov edi, 0xb
xor di, word [rbp + 0x77]
mov word [rbp - 0x13], di
mov edi, esi
xor di, word [rbp + 0x77]
mov word [rbp - 0x11], di
mov edi, 0x3b
xor di, word [rbp + 0x77]
mov word [rbp - 0xf], di
movzx edi, r15w
xor di, word [rbp + 0x77]
mov word [rbp - 0xd], di
xor si, r12w
mov edi, 0x79
xor di, word [rbp + 0x77]
mov word [rbp - 0xb], di
movzx edi, word [rbp + 0x6f]
mov word [rbp - 9], si
mov esi, 0x57
xor ax, si
xor r11w, si
mov word [rbp + 0x11], ax
xor r10w, si
xor eax, eax
mov word [rbp + 5], r11w
xor r9w, si
mov word [rbp + 0x13], ax
xor r8w, si
mov word [rbp + 7], r10w
xor dx, si
mov word [rbp + 9], r9w
xor cx, si
mov word [rbp + 0xb], r8w
xor r14w, si
mov word [rbp + 0xd], dx
xor r15w, si
mov word [rbp - 7], r14w
xor r12w, si
mov word [rbp - 5], r15w
xor di, si
mov word [rbp - 3], r12w
xor r13w, si
mov word [rbp - 1], di
xor bx, si
mov word [rbp + 1], r13w
mov word [rbp + 3], bx
mov word [rbp + 0xf], cx
call fcn.140002710
lea rdx, [rbp - 0x17]
mov rcx, rax
call fcn.140002580
test eax, eax
jne 0x140005a97
mov r8b, 0x74
mov byte [rbp - 0x29], 0x11
movzx r11d, r8b
mov al, 0x58
mov cl, 0x7f
mov dl, 0x7b
mov r9b, 0x72
mov r10b, 0x65
mov bl, 0x75
xor r11b, 0x11
mov dil, 0x1b
xor esi, esi
xor al, 0x11
xor cl, 0x11
xor dl, 0x11
xor r8b, 0x11
xor r9b, 0x11
xor r10b, 0x11
xor bl, 0x11
xor dil, 0x11
jmp 0x140005b02
mov cl, 2
mov byte [rbp - 0x29], 0x70
movzx edx, cl
movzx r9d, cl
xor r13d, r13d
mov al, 0x35
mov r8b, 0x1f
mov byte [rbp - 0x1b], r13b
mov r10b, 0x50
mov r11b, 0x19
mov bl, 0x1e
mov dil, 0x1a
mov sil, 0x15
mov r14b, 0x13
xor r14b, 0x70
mov r15b, 4
xor r15b, 0x70
mov byte [rbp - 0x1e], r14b
xor dl, 0x70
mov byte [rbp - 0x1d], r15b
xor r9b, 0x70
mov r12b, 0x7a
xor al, 0x70
xor cl, 0x70
xor r8b, 0x70
xor r10b, 0x70
xor r11b, 0x70
xor bl, 0x70
xor dil, 0x70
xor sil, 0x70
xor r12b, 0x70
mov byte [rbp - 0x1c], r12b
mov byte [rbp - 0x27], cl
lea rcx, [rbp - 0x28]
mov byte [rbp - 0x28], al
mov byte [rbp - 0x26], dl
mov byte [rbp - 0x25], r8b
mov byte [rbp - 0x24], r9b
mov byte [rbp - 0x23], r10b
mov byte [rbp - 0x22], r11b
mov byte [rbp - 0x21], bl
mov byte [rbp - 0x20], dil
mov byte [rbp - 0x1f], sil
call fcn.140005cc0
lea rcx, [rbp + 0x67]
call fcn.140003f90
mov rbx, qword [rbp + 0x67]
movabs rax, 0x7fffffff88ca6bff
mov r13, qword [rsp + 0x78]
mov r12, qword [rsp + 0x80]
cmp rbx, rax
jge 0x140005b61
add rbx, 0x77359400
jmp 0x140005b6b
movabs rbx, 0x7fffffffffffffff
movabs rsi, 0xb2f4fc0794908cf3
movabs r14, 0x4e94914f0000
movabs r15, 0x431bde82d7b634db
nop dword [rax]
call fcn.140005eec
mov rdi, rax
call fcn.140005ed0
mov rcx, rax
cmp rdi, 0x989680
jne 0x140005baf
imul rax, rcx, 0x64
jmp 0x140005c20
cmp rdi, 0x16e3600
jne 0x140005c02
mov rax, rsi
imul rcx
lea r9, [rcx + rdx]
sar r9, 0x18
mov rax, r9
shr rax, 0x3f
add r9, rax
imul rax, r9, 0x16e3600
sub rcx, rax
mov rax, rsi
imul r8, rcx, 0x3b9aca00
imul r8
lea rax, [r8 + rdx]
sar rax, 0x18
mov rcx, rax
shr rcx, 0x3f
add rax, rcx
imul rcx, r9, 0x3b9aca00
jmp 0x140005c1d
cqo
idiv rdi
mov rcx, rax
imul rax, rdx, 0x3b9aca00
cqo
idiv rdi
imul rcx, rcx, 0x3b9aca00
add rax, rcx
cmp rax, rbx
jge 0x140005c6e
mov rcx, rbx
sub rcx, rax
cmp rcx, r14
jl 0x140005c3f
mov ecx, 0x5265c00
call sub.KERNEL32.dll_Sleep
jmp 0x140005b90
mov rax, r15
imul rcx
sar rdx, 0x12
mov rax, rdx
shr rax, 0x3f
add rdx, rax
imul rax, rdx, 0xf4240
cmp rax, rcx
jge 0x140005c62
inc rdx
mov ecx, edx
call sub.KERNEL32.dll_Sleep
jmp 0x140005b90
call fcn.140002710
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov edx, eax
mov rcx, rbx
call fcn.140002790
mov r15, qword [rsp + 0x68]
xor eax, eax
mov r14, qword [rsp + 0x70]
mov rdi, qword [rsp + 0x88]
mov rsi, qword [rsp + 0x90]
mov rbx, qword [rsp + 0x98]
add rsp, 0xa0
pop rbp
ret
call fcn.14000a93c
int3