Function at 0x14004c9d0
Capabilities:
Set console window title

Disassembly:
push rbp
push rbx
push r14
push r15
lea rbp, [rsp - 0x398]
sub rsp, 0x498
mov rax, qword [0x14041f010]
xor rax, rsp
mov qword [rbp + 0x380], rax
xor r15d, r15d
cmp dword [0x14045b954], r15d
mov ebx, r15d
mov r14d, r15d
jne 0x14004d540
cmp dword [0x14045b478], ebx
je 0x14004ca21
cmp dword [0x14045b8e0], ebx
je 0x14004d540
cmp dword [0x140469c88], ebx
je 0x14004ca46
call fcn.140124090
test eax, eax
je 0x14004ca46
cmp dword [0x14046a358], ebx
jne 0x14004ca46
cmp dword [0x14045b928], ebx
je 0x14004d540
cmp dword [0x14046a2ac], ebx
mov qword [rsp + 0x4c0], rsi
mov esi, 0x401
mov qword [rsp + 0x4c8], rdi
lea rdi, [0x140000000]
mov qword [rsp + 0x4d0], r12
mov qword [rsp + 0x490], r13
mov r13d, 1
mov dword [0x140420b7c], r15d
lea r8d, [r13 + 9]
jne 0x14004caee
cmp dword [0x14046a2c4], ebx
jne 0x14004d03f
cmp qword [0x14045e9b0], rbx
jne 0x14004d03f
cmp qword [0x14045e9f8], rbx
jne 0x14004d03f
mov r12, qword [rsp + 0x4d0]
mov rdi, qword [rsp + 0x4c8]
mov rsi, qword [rsp + 0x4c0]
mov r13, qword [rsp + 0x490]
mov rcx, qword [rbp + 0x380]
xor rcx, rsp
call fcn.140001200
add rsp, 0x498
pop r15
pop r14
pop rbx
pop rbp
ret
mov eax, dword [0x14046a0f8]
test eax, eax
jle 0x14004cb1f
mov ecx, dword [0x140420870]
imul ecx, eax
mov eax, 0x51eb851f
imul ecx
mov r14d, edx
sar r14d, 5
mov eax, r14d
shr eax, 0x1f
add r14d, eax
cmp r14d, r8d
cmovl r14d, r8d
mov rax, qword [0x14046a268]
lea rbx, [rsp + 0x70]
mov qword [rsp + 0x50], rbx
cmp byte [rax], r15b
je 0x14004cb87
test byte [0x14045b51c], 2
je 0x14004cb7f
mov qword [rsp + 0x48], r15
lea rcx, str.titlestring
mov qword [rsp + 0x40], r15
lea rdx, [rsp + 0x70]
mov dword [rsp + 0x38], r14d
mov r9, rax
mov dword [rsp + 0x30], r15d
mov r8, rsi
mov dword [rsp + 0x28], r15d
mov qword [rsp + 0x20], rcx
mov rcx, qword [0x14046a618]
call fcn.140041700
jmp 0x14004d03f
mov rbx, rax
jmp 0x14004d03f
mov rax, qword [0x14045b410]
mov rdx, qword [rax + 0x90]
test rdx, rdx
jne 0x14004cba9
lea rcx, str._No_Name_
call qword [case.0x1400407ae.0]
jmp 0x14004cbba
mov rcx, qword [rax + 0x1f48]
test rcx, rcx
je 0x14004cbd6
call fcn.1403810d0
mov r8d, 0x39d
lea rcx, [rsp + 0x70]
mov rdx, rax
call fcn.140013650
mov byte [rbp + 0x30d], r15b
jmp 0x14004cc19
mov rcx, rdx
call fcn.140111730
mov rcx, rax
call fcn.14005ab50
mov r8d, 0x39d
lea rcx, [rsp + 0x70]
mov rdx, rax
mov rbx, rax
call fcn.140013650
mov byte [rbp + 0x30d], r15b
test rbx, rbx
je 0x14004cc19
cmp dword [0x14045b3f8], r15d
jne 0x14004cc19
mov rcx, rbx
call fcn.140005660
mov r10, qword [0x14045b410]
cmp qword [r10 + 0x1f48], r15
jne case.default.0x14004cc74
mov rcx, r10
call fcn.1402cdb80
mov r10, qword [0x14045b410]
mov edx, 2
mov ecx, r15d
cmp dword [r10 + 0x17a8], r15d
cmove ecx, edx
add ecx, dword [r10 + 0x17c8]
lea edx, [rcx*2 - 1]
add edx, eax
cmp edx, 6
ja case.default.0x14004cc74
movsxd rax, edx
mov ecx, dword [rdi + rax*4 + 0x4d550]
add rcx, rdi
jmp rcx
lea rcx, [rsp + 0x70]
dec rcx
nop
cmp byte [rcx + 1], r15b
lea rcx, [rcx + 1]
jne 0x14004cc80
movzx eax, word [0x1403b08fc]
mov word [rcx], ax
movzx eax, byte [0x1403b08fe]
mov byte [rcx + 2], al
jmp case.default.0x14004cc74
lea rcx, [rsp + 0x70]
dec rcx
nop dword [rax + rax]
cmp byte [rcx + 1], r15b
lea rcx, [rcx + 1]
jne 0x14004ccb0
movzx eax, word [0x1403b0900]
mov word [rcx], ax
movzx eax, byte [0x1403b0902]
mov byte [rcx + 2], al
jmp case.default.0x14004cc74
lea rcx, [rsp + 0x70]
dec rcx
nop dword [rax + rax]
cmp byte [rcx + 1], r15b
lea rcx, [rcx + 1]
jne 0x14004cce0
mov eax, dword [0x1403b0904]
jmp 0x14004cd40
lea rcx, [rsp + 0x70]
dec rcx
nop word [rax + rax]
cmp byte [rcx + 1], r15b
lea rcx, [rcx + 1]
jne 0x14004cd00
movzx eax, word [0x1403b0908]
mov word [rcx], ax
movzx eax, byte [0x1403b090a]
mov byte [rcx + 2], al
jmp case.default.0x14004cc74
lea rcx, [rsp + 0x70]
dec rcx
nop dword [rax + rax]
cmp byte [rcx + 1], r15b
lea rcx, [rcx + 1]
jne 0x14004cd30
mov eax, dword [0x1403b090c]
mov dword [rcx], eax
mov r10, qword [0x14045b410]
cmp qword [r10 + 0x90], r15
je 0x14004ceaf
cmp qword [r10 + 0x1f48], r15
jne 0x14004ceaf
lea rax, [rsp + 0x70]
mov rdi, 0xffffffffffffffff
nop
inc rdi
cmp byte [rax + rdi], r15b
jne 0x14004cd70
mov r10, qword [0x14045b410]
lea rbx, [rsp + 0x70]
movsxd rsi, edi
mov r13d, edi
inc edi
mov dword [rsp + 0x20], 1
movsxd rax, edi
mov r12d, 0x3ed
inc edi
mov r9d, r12d
mov byte [rsp + rsi + 0x70], 0x20
sub r9d, edi
mov rcx, r10
mov byte [rsp + rax + 0x70], 0x28
mov rdx, qword [r10 + 0x80]
movsxd rax, edi
add rbx, rax
mov r8, rbx
call fcn.1401113d0
movzx ecx, byte [rbx]
call fcn.140012590
test eax, eax
je 0x14004cddf
cmp byte [rsp + rsi + 0x73], 0x3a
jne 0x14004cddf
lea edi, [r13 + 4]
movsxd rax, edi
lea rsi, [rsp + 0x70]
add rsi, rax
mov rcx, rsi
call fcn.140111280
cmp rax, rsi
jne 0x14004ce22
mov eax, 0x3ec
lea rcx, str.help
sub eax, edi
movsxd rbx, eax
call qword [case.0x1400407ae.0]
mov r8, rbx
mov rcx, rsi
mov rdx, rax
call fcn.140013650
mov byte [rsi + rbx], r15b
jmp 0x14004ce25
mov byte [rax], r15b
mov rcx, rsi
cmp edi, r12d
jge 0x14004ce65
call fcn.14005ab50
sub r12d, edi
mov rdx, rax
movsxd rbx, r12d
mov rcx, rsi
mov r8, rbx
mov r13, rax
call fcn.140013650
mov byte [rsi + rbx], r15b
test r13, r13
je 0x14004ce82
cmp dword [0x14045b3f8], r15d
jne 0x14004ce82
mov rcx, r13
call fcn.140005660
jmp 0x14004ce82
mov eax, 0x3f7
lea rdx, [0x1403b0918]
sub eax, edi
movsxd rbx, eax
mov r8, rbx
call fcn.140013650
mov byte [rsi + rbx], r15b
lea rcx, [rsp + 0x70]
dec rcx
nop word [rax + rax]
cmp byte [rcx + 1], r15b
lea rcx, [rcx + 1]
jne 0x14004ce90
movzx eax, word [0x1403b091c]
mov esi, 0x401
mov word [rcx], ax
mov r13d, 1
mov rbx, qword [0x14046a618]
mov rax, qword [rbx + 0x378]
cmp dword [rax], 1
jle 0x14004cf62
cmp dword [rbx + 0x384], r15d
mov ecx, r15d
setne cl
test ecx, ecx
je 0x14004cf08
sub ecx, 1
je 0x14004ceff
sub ecx, 1
je 0x14004cef6
cmp ecx, 1
jne 0x14004ceef
lea rcx, str.__file___d__of__d_
jmp 0x14004cf0f
mov r8, qword [rsp + 0x58]
jmp 0x14004cf18
lea rcx, str.__file__d_of__d_
jmp 0x14004cf0f
lea rcx, str.____d__of__d_
jmp 0x14004cf0f
lea rcx, str.___d_of__d_
call qword [case.0x1400407ae.0]
mov r8, rax
lea rcx, [rsp + 0x70]
mov rax, 0xffffffffffffffff
inc rax
cmp byte [rcx + rax], r15b
jne 0x14004cf24
mov r9d, dword [rbx + 0x380]
lea rcx, [rsp + 0x70]
add rcx, rax
lea rdx, [rbp + 0x367]
mov rax, qword [0x14046a618]
inc r9d
sub rdx, rcx
mov rax, qword [rax + 0x378]
mov eax, dword [rax]
mov dword [rsp + 0x20], eax
call fcn.14028ab80
mov rdx, qword [0x14045b528]
lea rcx, [rsp + 0x70]
dec rcx
test rdx, rdx
je 0x14004cfe5
cmp byte [rcx + 1], r15b
lea rcx, [rcx + 1]
jne 0x14004cf76
mov eax, dword [0x1403b0920]
mov dword [rcx], eax
lea rax, [rsp + 0x70]
mov rcx, 0xffffffffffffffff
inc rcx
cmp byte [rax + rcx], r15b
jne 0x14004cf94
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rdx + r8], r15b
jne 0x14004cfa4
lea rax, [rcx + 1]
add rax, r8
cmp rax, rsi
lea rax, [rsp + 0x70]
jbe 0x14004cfd8
mov r8d, 0x400
sub r8, rcx
add rcx, rax
call fcn.140003740
mov byte [rbp + 0x370], r15b
jmp 0x14004d00c
inc r8
add rcx, rax
call fcn.140003740
jmp 0x14004d00c
cmp byte [rcx + 1], r15b
lea rcx, [rcx + 1]
jne 0x14004cfe5
mov eax, dword [str.___VIM]
mov dword [rcx], eax
movzx eax, word [0x1403b0928]
mov word [rcx + 4], ax
movzx eax, byte [0x1403b092a]
mov byte [rcx + 6], al
test r14d, r14d
jle 0x14004d03a
mov edx, 0x7fffffff
lea rcx, [rsp + 0x70]
call fcn.14005a290
cmp eax, r14d
jle 0x14004d03a
mov r9d, esi
lea rdx, [rsp + 0x70]
mov r8d, r14d
lea rcx, [rsp + 0x70]
call fcn.140185720
mov rbx, qword [rsp + 0x50]
mov r8, qword [0x14045e9b0]
mov ecx, r15d
test r8, r8
mov eax, r15d
sete cl
test rbx, rbx
sete al
cmp eax, ecx
jne 0x14004d087
test rbx, rbx
je 0x14004d0bd
test r8, r8
je 0x14004d0bd
mov rax, rbx
sub r8, rbx
nop dword [rax]
movzx edx, byte [rax]
movzx ecx, byte [rax + r8]
sub edx, ecx
jne 0x14004d083
inc rax
test ecx, ecx
jne 0x14004d070
test edx, edx
je 0x14004d0bd
mov r8, qword [0x14045e9b0]
test r8, r8
je 0x14004d0a4
cmp dword [0x14045b3f8], r15d
jne 0x14004d0a4
mov rcx, r8
call fcn.140005660
test rbx, rbx
jne 0x14004d0c2
lea rcx, [0x14045ba10]
mov qword [0x14045e9b0], r15
call qword [sym.imp.KERNEL32.dll_SetConsoleTitleA]
mov r12d, r15d
jmp 0x14004d0d4
mov rcx, rbx
call fcn.14028ad70
mov qword [0x14045e9b0], rax
mov r12d, r13d
cmp dword [0x14046a2c4], r15d
mov dword [rsp + 0x50], r12d
je 0x14004d513
mov rax, qword [0x14046a110]
lea rbx, [rsp + 0x70]
mov qword [rsp + 0x58], rbx
cmp byte [rax], r15b
je 0x14004d14e
test byte [0x14045b51c], 1
je 0x14004d146
mov qword [rsp + 0x48], r15
lea rcx, str.iconstring
mov qword [rsp + 0x40], r15
lea rdx, [rsp + 0x70]
mov dword [rsp + 0x38], r15d
mov r9, rax
mov dword [rsp + 0x30], r15d
mov r8, rsi
mov dword [rsp + 0x28], r15d
mov qword [rsp + 0x20], rcx
mov rcx, qword [0x14046a618]
call fcn.140041700
jmp 0x14004d497
mov rbx, rax
jmp 0x14004d497
mov rcx, qword [0x14045b410]
call fcn.1400406a0
mov rcx, qword [0x14045b410]
test rax, rax
je 0x14004d16d
call fcn.1400406a0
jmp 0x14004d179
mov rcx, qword [rcx + 0x80]
call fcn.140111730
mov rbx, rax
mov byte [rsp + 0x70], r15b
mov rdi, 0xffffffffffffffff
nop dword [rax + rax]
inc rdi
cmp byte [rbx + rdi], r15b
jne 0x14004d190
cmp edi, 0x64
jle 0x14004d1c2
sub edi, 0x64
cmp dword [0x14045b514], r15d
je 0x14004d1bc
movsxd rdx, edi
mov rcx, rbx
add rdx, rbx
call fcn.14016d4e0
inc edi
add edi, eax
movsxd rax, edi
add rbx, rax
lea rcx, [rsp + 0x70]
sub rcx, rbx
nop word [rax + rax]
movzx eax, byte [rbx]
mov byte [rcx + rbx], al
lea rbx, [rbx + 1]
test al, al
jne 0x14004d1d0
lea r14, [rsp + 0x70]
mov rdi, 0xffffffffffffffff
lea rax, [rsp + 0x70]
nop
inc rdi
cmp byte [rax + rdi], r15b
jne 0x14004d1f0
sub esi, edi
mov qword [rsp + 0x60], rsi
cmp byte [rsp + 0x70], r15b
je 0x14004d492
mov r12d, 0x57
lea r9, [0x14045eb20]
nop dword [rax + rax]
cmp dword [0x14045b514], r15d
je 0x14004d247
mov rcx, r14
call qword [0x140420bf8]
mov ebx, eax
cmp eax, 1
jle 0x14004d240
sub edi, eax
jmp 0x14004d477
lea r9, [0x14045eb20]
cmp dword [0x14045b550], r15d
movzx eax, byte [r14]
mov rdx, qword [0x14045b410]
je 0x14004d2a7
cmp eax, 0x80
jb 0x14004d2a7
mov edx, eax
mov byte [0x14045eb20], 0x3c
shr edx, 4
mov ecx, 0x30
cmp edx, 9
mov word [0x14045eb23], 0x3e
cmova ecx, r12d
and eax, 0xf
add cl, dl
mov byte [0x14045eb21], cl
cmp eax, 9
mov ecx, 0x30
cmova ecx, r12d
add cl, al
mov byte [0x14045eb22], cl
jmp 0x14004d41e
cmp dword [0x14045ea18], r15d
jne 0x14004d2b8
lea ecx, [rax - 0x20]
cmp ecx, 0x5e
jbe 0x14004d2e5
cmp dword [0x14045b5a8], r15d
lea r8, [0x140000000]
mov rcx, rax
je 0x14004d2d6
cmp byte [rax + r8 + 0x469e60], 1
jg 0x14004d2f7
test eax, eax
je 0x14004d2f7
test byte [rcx + r8 + 0x45ea20], 0x10
je 0x14004d2f7
mov byte [0x14045eb20], al
mov byte [0x14045eb21], r15b
jmp 0x14004d41e
cmp eax, 0xa
jne 0x14004d301
mov eax, r15d
jmp 0x14004d326
test rdx, rdx
je 0x14004d326
cmp eax, 0xd
jne 0x14004d326
mov rcx, qword [rdx + 0x16f0]
cmp dword [rdx + 0x1608], r15d
jne 0x14004d326
cmp byte [rcx], 0x6d
mov ecx, 0xa
cmove eax, ecx
test byte [0x140469f70], 4
je 0x14004d374
mov edx, eax
mov byte [0x14045eb20], 0x3c
shr edx, 4
mov ecx, 0x30
cmp edx, 9
mov word [0x14045eb23], 0x3e
cmova ecx, r12d
and eax, 0xf
add cl, dl
mov byte [0x14045eb21], cl
cmp eax, 9
mov ecx, 0x30
cmova ecx, r12d
add cl, al
mov byte [0x14045eb22], cl
jmp 0x14004d41e
cmp eax, 0x7f
ja 0x14004d38d
xor al, 0x40
mov byte [0x14045eb20], 0x5e
mov byte [0x14045eb21], al
jmp 0x14004d417
cmp dword [0x14045b550], r15d
je 0x14004d3ee
mov byte [0x14045eb20], 0x3c
cmp eax, 0xff
jbe 0x14004d3ad
mov word [0x14045eb21], 0x3030
mov edx, eax
mov r8d, 3
cmovbe r8, r13
mov ecx, 0x30
shr edx, 4
cmp edx, 9
cmova ecx, r12d
and eax, 0xf
add cl, dl
mov byte [r8 + r9], cl
cmp eax, 9
mov ecx, 0x30
cmova ecx, r12d
add cl, al
mov byte [r8 + r9 + 1], cl
mov word [r8 + r9 + 2], 0x3e
jmp 0x14004d41e
lea ecx, [rax + 0x80]
add eax, 0xffffff60
cmp eax, 0x5e
ja 0x14004d407
mov byte [0x14045eb20], 0x7c
jmp 0x14004d411
mov byte [0x14045eb20], 0x7e
xor cl, 0x40
mov byte [0x14045eb21], cl
mov byte [0x14045eb22], r15b
mov rbx, 0xffffffffffffffff
inc rbx
cmp byte [r9 + rbx], r15b
jne 0x14004d425
cmp ebx, 1
jle 0x14004d45f
mov eax, r13d
sub eax, ebx
add esi, eax
mov qword [rsp + 0x60], rsi
test esi, esi
jle 0x14004d48d
movsxd rsi, ebx
lea rdx, [r14 + 1]
movsxd r8, edi
lea rcx, [rsi + r14]
call fcn.140003740
lea r9, [0x14045eb20]
jmp 0x14004d462
movsxd rsi, ebx
mov r8, rsi
mov rdx, r9
mov rcx, r14
call fcn.140003740
mov rsi, qword [rsp + 0x60]
dec edi
movsxd rax, ebx
lea r9, [0x14045eb20]
add r14, rax
cmp byte [r14], r15b
jne 0x14004d220
mov r12d, dword [rsp + 0x50]
mov rbx, qword [rsp + 0x58]
mov r8, qword [0x14045e9f8]
mov ecx, r15d
test r8, r8
mov eax, r15d
sete cl
test rbx, rbx
sete al
cmp eax, ecx
jne 0x14004d4db
test rbx, rbx
je 0x14004d52d
test r8, r8
je 0x14004d52d
mov rax, rbx
sub r8, rbx
movzx edx, byte [rax]
movzx ecx, byte [rax + r8]
sub edx, ecx
jne 0x14004d4d7
inc rax
test ecx, ecx
jne 0x14004d4c4
test edx, edx
je 0x14004d52d
mov r8, qword [0x14045e9f8]
test r8, r8
je 0x14004d4f8
cmp dword [0x14045b3f8], r15d
jne 0x14004d4f8
mov rcx, r8
call fcn.140005660
test rbx, rbx
jne 0x14004d51b
lea rcx, [0x14045ba10]
mov qword [0x14045e9f8], r15
call qword [sym.imp.KERNEL32.dll_SetConsoleTitleA]
jmp 0x14004d52d
mov rbx, r15
jmp 0x14004d497
mov rcx, rbx
call fcn.14028ad70
mov qword [0x14045e9f8], rax
mov r15d, r13d
or r15d, r12d
je 0x14004cab1
call fcn.1400448d0
jmp 0x14004cab1
mov eax, 1
mov dword [0x140420b7c], eax
jmp 0x14004cad1