Function at 0x140019ff0
Capabilities:
Set current directory

Disassembly:
push rbp
push rsi
push rdi
sub rsp, 0x960
mov dword [rcx + 0xb24], edx
mov esi, r9d
mov rdi, rcx
test r8, r8
je 0x14001a018
cmp word [r8], 0
jne 0x14001a018
mov bpl, 1
jmp 0x14001a01b
xor bpl, bpl
test r8, r8
je 0x14001a07f
cmp word [r8], 0
je 0x14001a07f
mov r9, r8
lea rcx, [rsp + 0x160]
lea r8, str.Critical_Error:__s_n_nThe_program_will_exit.
mov edx, 0x400
call fcn.140089190
mov r8, qword [0x140106f10]
lea rdx, [rsp + 0x160]
mov rcx, qword [0x140101ef0]
mov r9d, 0x10000
call qword [sym.imp.USER32.dll_MessageBoxW]
mov rcx, qword [0x140101ef0]
call qword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x14001a300
jmp 0x14001a2ec
cmp byte [0x140107c2a], 0
jne 0x14001a2af
cmp byte [rcx + 0xb90], 0
je 0x14001a2af
mov rcx, qword [0x140101ed0]
xor r8d, r8d
mov qword [rsp + 0x980], rbx
mov qword [rsp + 0x988], r14
mov qword [rsp + 0x990], r15
lea edx, [r8 + 1]
mov dword [0x1401089b8], esi
call fcn.140001470
mov r8d, 0x7f
lea rcx, [rsp + 0x60]
mov rdx, rax
call fcn.1400b2114
mov r8, qword [0x1400fda58]
lea rax, [0x140101b50]
inc dword [0x140101cac]
xor r15d, r15d
add r8, 0x158
mov word [rsp + 0x15e], r15w
mov qword [0x1400fda58], r8
mov rcx, r8
lea edx, [r15 + 2]
lea rcx, [rcx + 0x80]
movups xmm0, xmmword [rax]
lea rax, [rax + 0x80]
movups xmmword [rcx - 0x80], xmm0
movups xmm1, xmmword [rax - 0x70]
movups xmmword [rcx - 0x70], xmm1
movups xmm0, xmmword [rax - 0x60]
movups xmmword [rcx - 0x60], xmm0
movups xmm1, xmmword [rax - 0x50]
movups xmmword [rcx - 0x50], xmm1
movups xmm0, xmmword [rax - 0x40]
movups xmmword [rcx - 0x40], xmm0
movups xmm1, xmmword [rax - 0x30]
movups xmmword [rcx - 0x30], xmm1
movups xmm0, xmmword [rax - 0x20]
movups xmmword [rcx - 0x20], xmm0
movups xmm1, xmmword [rax - 0x10]
movups xmmword [rcx - 0x10], xmm1
sub rdx, 1
jne 0x14001a112
movups xmm0, xmmword [rax]
movups xmmword [rcx], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rcx + 0x10], xmm1
movups xmm0, xmmword [rax + 0x20]
movups xmmword [rcx + 0x20], xmm0
movups xmm1, xmmword [rax + 0x30]
movups xmmword [rcx + 0x30], xmm1
movups xmm0, xmmword [rax + 0x40]
movups xmmword [rcx + 0x40], xmm0
mov rax, qword [rax + 0x50]
mov qword [rcx + 0x50], rax
lea rcx, [0x1401063b0]
mov dword [r8 + 0x3c], r15d
call fcn.140019b30
cmp dword [0x140101eec], r15d
mov qword [0x140106f48], r15
je 0x14001a1c0
lea rcx, [0x140101cc0]
call qword [sym.imp.KERNEL32.DLL_SetCurrentDirectoryW]
mov rcx, qword [rdi + 0xb10]
mov bl, 1
mov r14d, dword [0x1400fda50]
mov dword [0x1400fda50], r15d
mov byte [0x140107c2a], 1
mov byte [0x1401001a0], r15b
test rcx, rcx
je 0x14001a201
call fcn.140001570
test eax, eax
je 0x14001a201
cmp byte [0x1401001a0], r15b
movzx ebx, bl
cmove ebx, r15d
mov byte [0x1401001a0], 1
test bl, bl
je 0x14001a25e
mov dword [rsp + 0x30], r15d
call fcn.14004fbe0
mov r9d, r15d
mov qword [rsp + 0x20], rax
cmp qword [rdi + 0xb10], r9
lea rcx, [rdi + 0xad8]
movsxd rax, dword [0x1401089b8]
lea rdx, [rsp + 0x20]
sete r9b
mov dword [rsp + 0x50], 1
mov r8d, 2
mov qword [rsp + 0x40], rax
call fcn.140084090
cmp eax, 3
movzx ebx, bl
cmove ebx, r15d
mov byte [0x140107c2a], r15b
test bl, bl
mov r15, qword [rsp + 0x990]
mov rbx, qword [rsp + 0x980]
jne 0x14001a30b
test bpl, bpl
jne 0x14001a30b
lea rcx, [rsp + 0x60]
call fcn.140003ee0
mov dword [0x1400fda50], r14d
mov eax, 8
mov r14, qword [rsp + 0x988]
add rsp, 0x960
pop rdi
pop rsi
pop rbp
ret
cmp byte [0x1401001a0], 0
jne 0x14001a317
cmp edx, 9
jne 0x14001a317
mov rax, qword [0x1401061e0]
mov ecx, dword [0x1401089b8]
mov byte [0x1401001a0], 1
cmp word [rax], 0
lea eax, [rdx - 1]
cmovne ecx, esi
mov dword [0x1401089b8], ecx
add rsp, 0x960
pop rdi
pop rsi
pop rbp
ret
mov rcx, qword [0x140101ef0]
mov byte [0x140102de8], 1
call qword [sym.imp.USER32.dll_DestroyWindow]
mov ecx, 2
call fcn.14000b940
int3
mov r8d, esi
mov rcx, rdi
call fcn.14001a320
int3
mov r8d, esi
call fcn.14001a320
int3