Function at 0x14001a150
Capabilities:
Set current directory

Disassembly:
mov rax, rsp
push rbp
push rsi
push rdi
sub rsp, 0x160
cmp byte [0x140105d83], 0
mov esi, r8d
mov ebp, edx
mov dword [rcx + 0xb3c], edx
mov rdi, rcx
jne 0x14001a380
cmp byte [rcx + 0xba8], 0
je 0x14001a380
mov rcx, qword [0x140101f48]
mov qword [rax + 8], rbx
mov dword [0x140106b08], r8d
xor r8d, r8d
mov qword [rax + 0x10], r14
mov qword [rax + 0x18], r15
lea edx, [r8 + 1]
call fcn.140001470
mov r8d, 0x7f
lea rcx, [rsp + 0x60]
mov rdx, rax
call fcn.1400b1fa4
mov r8, qword [0x1400fda58]
lea rcx, [0x140101bd0]
inc dword [0x140101d24]
xor r15d, r15d
add r8, 0x150
mov word [rsp + 0x15e], r15w
mov qword [0x1400fda58], r8
mov rax, r8
lea edx, [r15 + 2]
lea rax, [rax + 0x80]
movups xmm0, xmmword [rcx]
lea rcx, [rcx + 0x80]
movups xmmword [rax - 0x80], xmm0
movups xmm1, xmmword [rcx - 0x70]
movups xmmword [rax - 0x70], xmm1
movups xmm0, xmmword [rcx - 0x60]
movups xmmword [rax - 0x60], xmm0
movups xmm1, xmmword [rcx - 0x50]
movups xmmword [rax - 0x50], xmm1
movups xmm0, xmmword [rcx - 0x40]
movups xmmword [rax - 0x40], xmm0
movups xmm1, xmmword [rcx - 0x30]
movups xmmword [rax - 0x30], xmm1
movups xmm0, xmmword [rcx - 0x20]
movups xmmword [rax - 0x20], xmm0
movups xmm1, xmmword [rcx - 0x10]
movups xmmword [rax - 0x10], xmm1
sub rdx, 1
jne 0x14001a1f3
movups xmm0, xmmword [rcx]
movups xmmword [rax], xmm0
movups xmm1, xmmword [rcx + 0x10]
movups xmmword [rax + 0x10], xmm1
movups xmm0, xmmword [rcx + 0x20]
movups xmmword [rax + 0x20], xmm0
movups xmm1, xmmword [rcx + 0x30]
movups xmmword [rax + 0x30], xmm1
movups xmm0, xmmword [rcx + 0x40]
lea rcx, [0x1401044f0]
movups xmmword [rax + 0x40], xmm0
mov dword [r8 + 0x3c], r15d
call fcn.140019c80
cmp dword [0x140101f64], r15d
mov qword [0x1401050a0], r15
je 0x14001a299
lea rcx, [0x140101d30]
call qword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
mov rcx, qword [rdi + 0xb28]
mov bl, 1
mov r14d, dword [0x1400fda50]
mov dword [0x1400fda50], r15d
mov byte [0x140105d83], 1
mov byte [0x140100220], r15b
test rcx, rcx
je 0x14001a2da
call fcn.140001580
test eax, eax
je 0x14001a2da
cmp byte [0x140100220], r15b
movzx ebx, bl
cmove ebx, r15d
mov byte [0x140100220], 1
test bl, bl
je 0x14001a337
mov dword [rsp + 0x30], r15d
call fcn.14004fa70
mov r9d, r15d
mov qword [rsp + 0x20], rax
cmp qword [rdi + 0xb28], r9
lea rcx, [rdi + 0xad8]
movsxd rax, dword [0x140106b08]
lea rdx, [rsp + 0x20]
sete r9b
mov dword [rsp + 0x50], 1
mov r8d, 2
mov qword [rsp + 0x40], rax
call fcn.140083c80
cmp eax, 3
movzx ebx, bl
cmove ebx, r15d
mov byte [0x140105d83], r15b
test bl, bl
mov r15, qword [rsp + 0x190]
mov rbx, qword [rsp + 0x180]
jne 0x14001a3bd
cmp ebp, 3
je 0x14001a3bd
lea rcx, [rsp + 0x60]
call fcn.140003ee0
mov dword [0x1400fda50], r14d
mov eax, 8
mov r14, qword [rsp + 0x188]
add rsp, 0x160
pop rdi
pop rsi
pop rbp
ret
cmp byte [0x140100220], 0
jne 0x14001a3c9
cmp ebp, 9
jne 0x14001a3c9
mov rax, qword [0x140104320]
mov ecx, dword [0x140106b08]
mov byte [0x140100220], 1
cmp word [rax], 0
lea eax, [rbp - 1]
cmovne ecx, esi
mov dword [0x140106b08], ecx
add rsp, 0x160
pop rdi
pop rsi
pop rbp
ret
mov r8d, esi
mov rcx, rdi
call fcn.14001a3d0
int3
call fcn.14001a3d0
int3