Function at 0x180019f50
Capabilities:
Set console window title

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0xfc0]
mov eax, 0x10c0
call fcn.18006b110
sub rsp, rax
mov rax, qword [0x18008a300]
xor rax, rsp
mov qword [rbp + 0xfb0], rax
mov rax, qword [rbp + 0x1038]
mov r11, rdx
mov esi, dword [rbp + 0x1040]
mov edi, dword [rsp + 0x20]
mov qword [rsp + 0x40], rax
mov eax, dword [rsp + 0x20]
mov r13, qword [rsp + 0x40]
lea r10d, [rsi - 0xc]
mov dword [rsp + 0x30], eax
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x38], rax
mov eax, dword [rsp + 0x20]
mov dword [rsp + 0x20], eax
mov qword [rsp + 0x58], r9
mov qword [rsp + 0x48], r8
mov qword [rsp + 0x50], rcx
cmp esi, r10d
jbe 0x18001a120
mov r8, qword [rbp + 0x1030]
lea edx, [rsi - 0x7f]
mov r9d, dword [0x18007e018]
lea rcx, [0x180000000]
movsd xmm0, qword [str.ser32]
mov r14d, dword [0x18007e01c]
movzx r15d, word [0x18007e028]
mov r12d, dword [0x18007e024]
cmp edx, 0x2a
ja case.default.0x18001a032
movzx eax, byte [rcx + rdx + 0x1a540]
mov ecx, dword [rcx + rax*4 + 0x1a50c]
lea rax, [0x180000000]
add rcx, rax
jmp rcx
mov dword [rsp + 0x70], 0x6e6946
jmp case.0x18001a032.12
mov eax, 0x6f
mov word [rsp + 0x78], ax
jmp case.0x18001a032.12
mov dword [rbp - 0x68], 0x75
movsd qword [rbp - 0x66], xmm0
mov dword [rbp - 0x5e], r9d
jmp case.0x18001a032.12
mov eax, 0x64
mov word [rsp + 0x73], ax
mov dword [rsp + 0x74], 0x646e6957
jmp case.0x18001a032.12
mov rax, qword [rbp + 0x1020]
mov ecx, dword [r11]
sub ecx, dword [rax]
cmp qword [rbp + 0x1048], 0
mov dword [rsp + 0x30], ecx
je 0x18001a09e
cmp qword [rsp + 0x50], 0
jne case.0x18001a032.12
mov dword [rsp + 0x28], 0xffffffff
jmp 0x18001a41c
mov rax, qword [rsp + 0x50]
mov rcx, qword [rax + 0x38]
mov r13, qword [rax + 0x40]
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x38], rcx
mov eax, dword [rax]
test eax, eax
jle case.0x18001a032.12
shl rax, 2
add rcx, rax
mov qword [rsp + 0x38], rcx
add r13, rax
jmp case.0x18001a032.12
mov rcx, qword [rsp + 0x58]
xor edi, edi
mov eax, dword [r8]
sub eax, dword [rcx]
mov dword [rsp + 0x20], eax
jmp case.0x18001a032.12
mov dword [rbp - 0x5c], r14d
mov dword [rbp - 0x58], r12d
mov word [rbp - 0x54], r15w
jmp case.0x18001a032.12
mov byte [rsp + 0x7b], 0
jmp case.0x18001a032.12
mov eax, 0x5777
mov word [rsp + 0x79], ax
lea rcx, [0x180000000]
dec edx
lea eax, [rdx + 0x7f]
cmp eax, r10d
ja 0x18001a010
lea r14d, [rsi + 0x294]
cmp esi, r14d
jae 0x18001a41c
mov r15, qword [rsp + 0x48]
mov ecx, 0x65
mov r12, qword [rsp + 0x48]
mov rbx, qword [rsp + 0x48]
lea edx, [rcx + 0xd]
lea eax, [rcx - 0x33]
lea r8d, [rcx - 0x32]
lea r9d, [rcx - 0x37]
cmp esi, 0x175
ja 0x18001a27e
je 0x18001a267
mov eax, esi
sub eax, 0x85
je 0x18001a244
sub eax, 0x18
je 0x18001a379
sub eax, 0x24
je 0x18001a222
sub eax, 0x3c
je 0x18001a211
cmp eax, 0x3c
mov eax, 0x32
jne 0x18001a368
mov dword [rbp - 0x7c], 0x720065
mov word [rbp - 0x78], r8w
jmp 0x18001a368
mov rax, qword [rbp + 0x1048]
xorps xmm0, xmm0
movss xmm1, dword [rax]
mov rax, qword [rsp + 0x50]
subss xmm1, dword [rax]
comiss xmm0, xmm1
jbe 0x18001a1ce
xorps xmm1, xmmword [0x180082cc0]
movsd xmm0, qword [0x180081f50]
xor ecx, ecx
mov eax, ecx
cvtss2sd xmm1, xmm1
comisd xmm0, xmm1
seta al
test eax, eax
jne 0x18001a1f3
mov word [rsp + 0x28], cx
jmp 0x18001a41c
mov eax, 1
mov word [rsp + 0x28], ax
jmp 0x18001a41c
mov rax, qword [rbp + 0x1048]
mov eax, dword [rax + 0x70]
jmp 0x18001a418
mov byte [rsp + 0x69], 0
mov dword [rbp - 0x80], 0x730075
jmp 0x18001a363
mov r8d, 4
lea rdx, [0x18007e05c]
lea rcx, [rsp + 0x60]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncat]
mov byte [rsp + 0x68], 0x57
jmp 0x18001a344
movzx eax, word [0x18007e04b]
mov word [rsp + 0x60], ax
movzx eax, byte [0x18007e04d]
mov byte [rsp + 0x62], al
mov word [rsp + 0x63], 0x72
jmp 0x18001a363
mov r10d, 0x64
mov dword [rbp - 0x76], 0x2e0032
mov word [rbp - 0x72], r10w
jmp 0x18001a368
mov eax, esi
sub eax, 0x1b1
je 0x18001a356
sub eax, 0x3c
je 0x18001a304
sub eax, 0x3c
je 0x18001a2bf
sub eax, 0x3c
je 0x18001a2a8
cmp eax, 0x3c
je 0x18001a41c
jmp 0x18001a363
lea rcx, [rbp + 0x7b0]
call qword [sym.imp.KERNEL32.dll_SetConsoleTitleW]
mov qword [rsp + 0x28], rbx
jmp 0x18001a344
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov r9d, ebx
lea rdx, str._d__d
mov r8d, eax
lea rcx, [rbp - 0x50]
call r12
lea rcx, [rbp - 0x50]
call qword [sym.imp.KERNEL32.dll_SetConsoleTitleW]
mov ecx, 0x28
call qword [sym.imp.KERNEL32.dll_Sleep]
lea rdx, [rbp - 0x50]
xor ecx, ecx
call r15
mov rbx, rax
jmp 0x18001a344
mov r8d, 0x114
lea rdx, [rsp + 0x70]
lea rcx, [rbp - 0x68]
call fcn.180006550
mov r8d, 0x114
lea rdx, [rsp + 0x60]
lea rcx, [rbp - 0x80]
mov r15, rax
call fcn.180006550
mov edx, 0x400
lea rcx, [rbp + 0x7b0]
mov r12, rax
call qword [sym.imp.KERNEL32.dll_GetConsoleTitleW]
mov ecx, 0x65
lea edx, [rcx + 0xd]
lea r8d, [rcx - 0x32]
lea r9d, [rcx - 0x37]
jmp 0x18001a363
xor eax, eax
mov dword [rbp - 0x70], 0x6c006c
mov word [rbp - 0x6c], ax
mov eax, 0x32
add esi, 0x3c
cmp esi, r14d
jb 0x18001a152
jmp 0x18001a41c
mov r12d, dword [rsp + 0x30]
xor eax, eax
mov r15d, eax
test r12d, r12d
jle 0x18001a418
mov rbx, qword [rbp + 0x1028]
mov r10, qword [rsp + 0x48]
mov r9d, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x38]
mov r11d, 0x114
xor r12d, r12d
nop dword [rax + rax]
mov eax, r11d
sub eax, 0x111
je 0x18001a4f8
sub eax, 1
je 0x18001a4c0
sub eax, 1
je 0x18001a44b
cmp eax, 1
jne 0x18001a400
mov rax, qword [rbp + 0x1020]
mov rcx, qword [rsp + 0x58]
mov eax, dword [rax]
movsxd rcx, dword [rcx]
add eax, r15d
movsxd rdx, eax
mov rax, qword [rbp + 0x1048]
mov rax, qword [rax + 0x30]
mov rax, qword [rax + rdx*8]
lea r10, [rax + rcx*4]
mov rcx, qword [rsp + 0x38]
dec r11d
cmp r11d, 0x110
ja 0x18001a3b0
inc r15d
cmp r15d, dword [rsp + 0x30]
jl 0x18001a3a2
xor eax, eax
mov dword [rsp + 0x28], eax
mov rax, qword [rsp + 0x28]
mov rcx, qword [rbp + 0xfb0]
xor rcx, rsp
call fcn.18006b180
mov rbx, qword [rsp + 0x1108]
add rsp, 0x10c0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
mov rdx, qword [rsp + 0x40]
mov r9d, 0xffffffff
mov r8, qword [rsp + 0x50]
mov r14, qword [rsp + 0x48]
mov esi, dword [rsp + 0x20]
mov eax, dword [rdx]
add eax, r15d
movsxd rcx, dword [r14]
movsxd rdx, eax
mov rax, qword [r8 + 0x30]
mov rax, qword [rax + rdx*8]
lea rdx, [rax + rcx*4]
mov ecx, r12d
test esi, esi
jle 0x18001a3fb
mov r8d, dword [r10]
cmp r8d, dword [rdx]
je 0x18001a4ad
cmp r8w, 0x20
jne 0x18001a49a
cmp byte [rbx], r12b
jne 0x18001a4ad
mov dword [rdx], r8d
mov eax, dword [r14]
cmp r9d, 0xffffffff
jne 0x18001a4aa
lea r9d, [rax + rcx]
lea edi, [rcx + rax]
add r10, 4
add rdx, 4
inc ecx
cmp ecx, esi
jl 0x18001a486
jmp 0x18001a3fb
mov eax, dword [rcx]
cmp eax, 0xffffffff
jne 0x18001a4d3
mov dword [rcx], r9d
mov dword [r13], edi
jmp 0x18001a400
cmp r9d, 0xffffffff
je 0x18001a400
cmp r9d, eax
jge 0x18001a4e5
mov dword [rcx], r9d
cmp edi, dword [r13]
jle 0x18001a400
mov dword [r13], edi
jmp 0x18001a400
add rcx, 4
mov qword [rsp + 0x38], rcx
add r13, 4
jmp 0x18001a400