Function at 0x4ad018dc
Capabilities:
Set console window title

Disassembly:
movzx ecx, word [rax]
call fcn.4ad05188
cmp eax, ebx
je 0x4ad1a937
mov rax, qword [rsi + 0x70]
movzx ecx, word [rax]
call fcn.4ad058cc
cmp eax, ebx
jne 0x4ad1a94b
mov rax, qword [rsi + 0x70]
movzx ecx, word [rax]
call qword [sym.imp.msvcrt.dll_towupper]
lea r11d, [rax - 0x40]
xor eax, eax
or rcx, 0xffffffffffffffff
mov rdi, qword [rsi + 0x70]
repne scasw ax, word [rdi]
not rcx
dec rcx
cmp rcx, 2
je 0x4ad15670
mov rcx, rsi
call fcn.4ad01650
jmp 0x4ad012f9
mov rcx, qword [rsp + 0x450]
xor rcx, rsp
call fcn.4ad01000
lea r11, [rsp + 0x460]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r13
pop r12
ret
mov rcx, rsi
call fcn.4ad01650
jmp 0x4ad012f9
mov r11, rsp
mov qword [r11 + 0x10], rbx
mov qword [r11 + 0x18], rsi
mov qword [r11 + 0x20], rdi
push r12
push r13
push r15
sub rsp, 0x460
mov rax, qword [0x4ad2e1c8]
xor rax, rsp
mov qword [rsp + 0x450], rax
mov rsi, rcx
mov edx, 0x104
lea rcx, [r11 - 0x238]
call qword [sym.imp.KERNEL32.dll_GetConsoleTitleW]
mov rax, qword [rsi + 0x70]
xor ebx, ebx
cmp rax, rbx
je 0x4ad1a92f
cmp word [rax + 2], 0x3a
je 0x4ad0129d
lea rdx, [rsp + 0x20]
mov rcx, rsi
call fcn.4ad03908
movsxd r13, eax
cmp r13d, 0xffffffff
je 0x4ad016c8
mov rax, r13
shl rax, 5
lea r15, [0x4ad37388]
mov r15, qword [rax + r15]
cmp r15, rbx
je 0x4ad1a964
mov eax, 0x2f
mov word [rsp + 0x30], ax
mov word [rsp + 0x32], bx
lea r8d, [rax - 0x2d]
lea rdx, [rsp + 0x30]
mov rcx, qword [rsi + 0x78]
call fcn.4ad02a74
mov r12, rax
cmp r13d, 0xa
je 0x4ad0444c
cmp r13d, 0x1f
je 0x4ad019bb
mov r8d, 1
mov rdx, r12
mov ecx, r13d
call fcn.4ad03558
cmp al, bl
jne 0x4ad1a96b
cmp r12, rbx
je 0x4ad03ae8
cmp word [r12], bx
je 0x4ad03ae8
mov rcx, r12
call fcn.4ad02e40
mov r8, rax
xor eax, eax
or rcx, 0xffffffffffffffff
mov rdi, r12
repne scasw ax, word [rdi]
not rcx
mov rdx, rcx
mov rcx, r12
call fcn.4ad01744
test byte [rsp + 0x20], 1
jne 0x4ad07d3f
test byte [rsp + 0x20], 2
jne 0x4ad07d08
xor eax, eax
or rcx, 0xffffffffffffffff
mov rdi, r12
repne scasw ax, word [rdi]
not rcx
lea r12, [r12 + rcx*2]
cmp r12, rbx
je 0x4ad03ae8
jmp 0x4ad019c4
mov rcx, rsi
call fcn.4ad02be0
cmp rax, rbx
je 0x4ad03afe
mov rcx, rax
call fcn.4ad02c84
nop
mov rcx, rsi
call r15
mov edi, eax
cmp qword [0x4ad2e1e8], rbx
je 0x4ad0bb72
mov eax, edi
jmp 0x4ad012f9
cmp rax, rbx
je 0x4ad0199c
lea r8d, [r13 - 6]
lea rdx, [0x4ad29838]
mov rcx, rax
call qword [sym.imp.msvcrt.dll_wcsncmp]
cmp eax, ebx
jne 0x4ad019bb
jmp 0x4ad0199c
mov eax, 0x2f
cmp word [r12], ax
jne 0x4ad01a0a
jmp 0x4ad1a9b6
cmp word [r12 + 2], 0x3a
jne 0x4ad019ff
movzx ecx, word [r12]
call fcn.4ad05188
cmp eax, ebx
je 0x4ad1a998
cmp r13d, 4
je 0x4ad019ff
movzx ecx, word [r12]
call fcn.4ad058cc
cmp eax, ebx
je 0x4ad019ff
jmp 0x4ad1a975
cmp byte [0x4ad2e0cc], bl
je 0x4ad03b13
lea rcx, [rsp + 0x240]
call qword [sym.imp.KERNEL32.dll_SetConsoleTitleW]
mov dword [0x4ad2e15c], ebx
jmp 0x4ad03b13
movzx ecx, r11w
call fcn.4ad10500
xor eax, eax
jmp 0x4ad012f9
lea eax, [rbx + 1]
jmp 0x4ad012f9
xor edx, edx
lea ecx, [rdx + 0xf]
call fcn.4ad0b8b0
mov eax, 1
jmp 0x4ad012f9
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
xor edx, edx
call fcn.4ad0b8b0
mov eax, 1
jmp 0x4ad012f9
xor eax, eax
jmp 0x4ad012f9
mov eax, 1
jmp 0x4ad012f9
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
xor edx, edx
call fcn.4ad0b8b0
mov dword [0x4ad2e188], 1
mov eax, 1
jmp 0x4ad012f9
xor edx, edx
lea ecx, [rdx + 0xf]
call fcn.4ad0b8b0
mov dword [0x4ad2e188], 1
mov eax, 1
jmp 0x4ad012f9
xor edx, edx
mov ecx, 0x232a
call fcn.4ad0b8b0
mov dword [0x4ad2e188], 1
mov eax, 1
jmp 0x4ad012f9