Function at 0x140002a50
Capabilities:
Set console window title

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x37]
sub rsp, 0xb0
mov rax, qword [0x140040020]
xor rax, rsp
mov qword [rbp + 0x27], rax
mov r14, rdx
movsxd rbx, ecx
lea rcx, [0x140042c90]
cmp qword [0x140042ca8], 8
cmovae rcx, qword [0x140042c90]
call qword [sym.imp.KERNEL32.dll_SetConsoleTitleW]
xorps xmm1, xmm1
movdqu xmmword [rbp + 0xf], xmm1
xor r10d, r10d
mov edx, r10d
mov qword [rbp - 0x39], rdx
mov qword [rbp + 0x1f], rdx
mov rsi, rbx
mov r12d, 1
mov rdi, qword [rbp + 0x17]
cmp rbx, r12
jle 0x140002b2b
mov ebx, r12d
mov rcx, qword [r14 + rbx*8]
mov qword [rbp - 0x39], rcx
mov rax, 0xffffffffffffffff
nop
inc rax
cmp word [rcx + rax*2], 0
jne 0x140002ae0
mov qword [rbp - 0x31], rax
cmp rdi, rdx
je 0x140002b04
movups xmm0, xmmword [rbp - 0x39]
movups xmmword [rdi], xmm0
add rdi, 0x10
mov qword [rbp + 0x17], rdi
jmp 0x140002b1c
lea r8, [rbp - 0x39]
mov rdx, rdi
lea rcx, [rbp + 0xf]
call fcn.140003de0
mov rdx, qword [rbp + 0x1f]
mov rdi, qword [rbp + 0x17]
inc rbx
cmp rbx, rsi
jl 0x140002ad0
mov qword [rbp - 0x39], rdx
xor r10d, r10d
mov dword [rbp - 0x19], r12d
cmp qword [0x140042c60], 0
je 0x14000302b
mov r9, qword [0x140042c68]
test r9, r9
je 0x14000302b
cmp qword [0x140042c70], 0
je 0x14000302b
cmp qword [0x140042c78], 0
je 0x14000302b
cmp qword [0x140042c80], 0
je 0x14000302b
cmp qword [0x140042c88], 0
je 0x14000302b
mov r14, rdi
mov rsi, qword [rbp + 0xf]
sub r14, rsi
sar r14, 4
mov qword [rbp - 0x29], r14
test r14, r14
je 0x140002bd9
mov r8, qword [rsi]
mov rdx, qword [rsi + 8]
cmp rdx, 7
jne 0x140002bd9
lea rcx, str.install
test rdx, rdx
je 0x140002bd3
sub r8, rcx
nop dword [rax + rax]
movzx eax, word [rcx + r8]
cmp ax, word [rcx]
jne 0x140002bd9
add rcx, 2
sub rdx, r12
jne 0x140002bc0
movzx r15d, r12b
jmp 0x140002bdc
xor r15b, r15b
mov ebx, r10d
lea r13, [0x140042c40]
mov rcx, r13
cmp qword [0x140042c58], 8
cmovae rcx, qword [0x140042c40]
call r9
test eax, eax
jne 0x140002c86
test r15b, r15b
je 0x140002c47
cmp r14, r12
jbe 0x140002c47
mov r8, qword [rsi + 0x10]
mov rdx, qword [rsi + 0x18]
cmp rdx, 6
jne 0x140002c47
lea rcx, str.__root
test rdx, rdx
je 0x140002c43
sub r8, rcx
nop dword [rax + rax]
movzx eax, word [rcx + r8]
cmp ax, word [rcx]
jne 0x140002c47
add rcx, 2
sub rdx, r12
jne 0x140002c30
xor cl, cl
jmp 0x140002c4b
movzx ecx, r12b
call fcn.140002530
mov ebx, eax
test eax, eax
jns 0x140002c74
cmp eax, 0x800700b7
jne 0x140002c67
mov ecx, 0x3f5
call fcn.140002290
mov eax, ebx
shr eax, 0x1f
mov dword [rbp - 0x19], eax
jmp 0x140002fe3
mov ecx, 0x3ef
call fcn.140002290
mov eax, ebx
shr eax, 0x1f
mov dword [rbp - 0x19], eax
test r15b, r15b
jne 0x140002cee
cmp rsi, rdi
jne 0x140002cfa
mov rax, qword [0x140042c80]
cmp qword [0x140042c58], 8
cmovae r13, qword [0x140042c40]
lea r9, [rbp - 0x19]
xor r8d, r8d
lea rdx, [0x14003a6f0]
mov rcx, r13
call rax
mov ebx, eax
test eax, eax
jns 0x140002cd9
mov r8d, eax
lea rdx, [0x14003a6f0]
mov ecx, 0x3eb
call fcn.140002290
jmp 0x140002fe3
cmp dword [rbp - 0x19], 0xffffffff
jne 0x140002cee
mov ecx, 0x3f3
call fcn.140002290
call fcn.140016424
test ebx, ebx
cmovns r12d, dword [rbp - 0x19]
jmp 0x1400030a4
mov r8, qword [rsi]
mov rdx, qword [rsi + 8]
cmp rdx, 3
jne 0x140002d2b
lea rcx, [0x14003a6f8]
test rdx, rdx
je 0x140002d67
sub r8, rcx
movzx eax, word [rcx + r8]
cmp ax, word [rcx]
jne 0x140002d2b
add rcx, 2
sub rdx, r12
jne 0x140002d16
jmp 0x140002d67
mov r8, qword [rsi]
mov rdx, qword [rsi + 8]
cmp rdx, 2
jne 0x140002f0e
lea rcx, [0x14003a700]
test rdx, rdx
je 0x140002d67
sub r8, rcx
nop dword [rax + rax]
movzx eax, word [r8 + rcx]
cmp ax, word [rcx]
jne 0x140002f0e
add rcx, 2
sub rdx, r12
jne 0x140002d50
xorps xmm0, xmm0
movups xmmword [rbp - 0x11], xmm0
xor r9d, r9d
mov ecx, r9d
mov qword [rbp - 1], rcx
mov r8d, 7
mov qword [rbp + 7], r8
mov word [rbp - 0x11], r9w
mov r15, r12
cmp r14, r12
jbe 0x140002e77
lea r12, [rsi + 0x10]
mov rsi, qword [rbp - 0x29]
mov rdi, r15
nop
mov rax, r8
sub rax, rcx
cmp rax, rdi
jb 0x140002dc9
lea rax, [rcx + 1]
mov qword [rbp - 1], rax
lea rax, [rbp - 0x11]
cmp r8, 8
cmovae rax, qword [rbp - 0x11]
mov dword [rax + rcx*2], 0x20
jmp 0x140002de1
mov qword [rsp + 0x20], rdi
lea r9, [0x14003a708]
mov rdx, rdi
lea rcx, [rbp - 0x11]
call fcn.140001b70
movups xmm1, xmmword [r12]
mov r13, qword [rbp - 1]
mov rcx, qword [rbp + 7]
mov rax, rcx
sub rax, r13
mov r14, qword [r12 + 8]
cmp r14, rax
ja 0x140002e33
lea rax, [r14 + r13]
mov qword [rbp - 1], rax
lea rbx, [rbp - 0x11]
cmp rcx, 8
cmovae rbx, qword [rbp - 0x11]
lea rcx, [rbx + r13*2]
lea r8, [r14 + r14]
movq rdx, xmm1
call fcn.140009930
lea rax, [r14 + r13]
xor r9d, r9d
mov word [rbx + rax*2], r9w
jmp 0x140002e49
mov qword [rsp + 0x20], r14
movq r9, xmm1
mov rdx, r14
lea rcx, [rbp - 0x11]
call fcn.140001b70
inc r15
add r12, 0x10
mov r8, qword [rbp + 7]
cmp r15, rsi
jae 0x140002e62
mov rcx, qword [rbp - 1]
jmp 0x140002da0
mov rdi, qword [rbp + 0x17]
mov rsi, qword [rbp + 0xf]
mov r12d, 1
lea r13, [0x140042c40]
lea r14, [rbp - 0x11]
cmp r8, 8
cmovae r14, qword [rbp - 0x11]
mov rax, qword [0x140042c80]
cmp qword [0x140042c58], 8
cmovae r13, qword [0x140042c40]
lea r9, [rbp - 0x19]
mov r8d, r12d
mov rdx, r14
mov rcx, r13
call rax
mov ebx, eax
test eax, eax
jns 0x140002ec1
mov r8d, eax
mov rdx, r14
mov ecx, 0x3eb
call fcn.140002290
nop
mov rdx, qword [rbp + 7]
cmp rdx, 8
jb 0x140002f01
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x11]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002efc
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140003113
call fcn.140007b08
test ebx, ebx
jns 0x140002cf0
jmp 0x140002fe3
mov r8, qword [rsi]
mov rdx, qword [rsi + 8]
cmp rdx, 6
jne 0x14000301f
lea rcx, str.config
test rdx, rdx
je 0x140002f47
sub r8, rcx
nop
movzx eax, word [r8 + rcx]
cmp ax, word [rcx]
jne 0x14000301f
add rcx, 2
sub rdx, r12
jne 0x140002f30
mov ebx, 0x80070057
cmp r14, 3
jne 0x140003010
mov r8, qword [rsi + 0x10]
mov rdx, qword [rsi + 0x18]
cmp rdx, 0xe
jne 0x140003010
lea rcx, str.__default_user
test rdx, rdx
je 0x140002f97
sub r8, rcx
nop word [rax + rax]
movzx eax, word [r8 + rcx]
cmp ax, word [rcx]
jne 0x140003010
add rcx, 2
sub rdx, r12
jne 0x140002f80
movups xmm0, xmmword [rsi + 0x20]
movaps xmmword [rbp - 0x29], xmm0
lea rcx, [rbp - 0x29]
call fcn.140001650
mov edx, eax
cmp eax, 0xffffffff
je 0x140003010
mov rax, qword [0x140042c78]
cmp qword [0x140042c58], 8
cmovae r13, qword [0x140042c40]
mov r8d, 7
mov rcx, r13
call rax
mov ebx, eax
test eax, eax
jns 0x140002ffd
mov edx, eax
mov ecx, 0x3ea
call fcn.140002290
cmp ebx, 0x80370102
jne 0x140003010
mov ecx, 0x3f6
call fcn.140002290
cmp rsi, rdi
jmp 0x140002cdd
mov dword [rbp - 0x19], 0
test ebx, ebx
cmovns r12d, dword [rbp - 0x19]
jmp 0x1400030a4
mov ecx, ebx
call fcn.140002200
cmp rsi, rdi
jmp 0x140002cdd
mov ecx, 0x3ed
call fcn.140002290
jmp 0x1400030a0
mov qword [rbp - 0x29], r10
mov qword [rsp + 0x30], r10
mov dword [rsp + 0x28], r10d
lea rax, [rbp - 0x29]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor edx, edx
mov ecx, 0x1100
mov r8d, 0x8007019e
call qword [sym.imp.KERNEL32.dll_FormatMessageW]
mov r8, qword [rbp - 0x29]
mov edx, 0x8007019e
mov ecx, 0x3f0
call fcn.140002290
mov rbx, qword [rbp - 0x29]
test rbx, rbx
je 0x140003088
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, rbx
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov rsi, qword [rbp + 0xf]
cmp rsi, rdi
jne 0x1400030a0
mov ecx, 0x3f3
call fcn.140002290
call fcn.140016424
mov r12d, dword [rbp - 0x19]
test rsi, rsi
je 0x1400030dd
mov rdx, qword [rbp - 0x39]
sub rdx, rsi
and rdx, 0xfffffffffffffff0
mov rax, rsi
cmp rdx, 0x1000
jb 0x1400030d5
add rdx, 0x27
mov rsi, qword [rsi - 8]
sub rax, rsi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000310d
mov rcx, rsi
call fcn.140007b08
mov eax, r12d
mov rcx, qword [rbp + 0x27]
xor rcx, rsp
call fcn.140007a80
lea r11, [rsp + 0xb0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
call fcn.14000e2e4
nop
call fcn.14000e2e4
nop
int3