Function at 0x14001b5a0
Capabilities:
Set current directory

Disassembly:
push rbx
sub rsp, 0x40
mov rax, qword [rcx + 0xb80]
mov rbx, rcx
mov byte [rcx + 0x2d0], 1
mov word [rcx + 0xbb0], 0
test rax, rax
je 0x14001b85b
cmp word [rax], 0
je 0x14001b85b
mov ecx, 0x28
mov qword [rsp + 0x58], rbp
call fcn.1400887d0
xor ebp, ebp
mov qword [rsp + 0x50], rax
test rax, rax
je 0x14001b611
lea rcx, vtable.Label.0
mov qword [rax + 0x10], rbp
mov qword [rax], rcx
lea rcx, [0x1400cffcc]
mov qword [rax + 8], rcx
mov qword [rax + 0x18], rbp
mov qword [rax + 0x20], rbp
jmp 0x14001b614
mov rax, rbp
mov qword [rbx + 0x6a8], rax
test rax, rax
je 0x14001b84d
cmp byte [0x140106b2e], 0
lea rdx, [0x1400e5d98]
jne 0x14001b63b
mov rdx, qword [rbx + 0xb80]
mov rcx, rbx
call fcn.14001bbb0
cmp eax, 1
jne 0x14001b84d
xor r9d, r9d
mov qword [rsp + 0x20], rbp
xor r8d, r8d
mov dl, 0x68
mov rcx, rbx
call fcn.140022f70
test eax, eax
je 0x14001b84d
mov rdx, qword [rbx]
mov rcx, rbx
call fcn.1400297b0
test eax, eax
je 0x14001b84d
mov rdx, qword [rbx]
mov rcx, rbx
mov qword [rsp + 0x60], rsi
call fcn.140029890
cmp qword [rbx + 0x10], 0
je 0x14001b6b0
mov rax, qword [rbx]
mov rcx, qword [rbx + 0x18]
mov qword [rcx + 0x20], rax
mov rcx, qword [rbx]
mov rax, qword [rbx + 0x18]
mov qword [rcx + 0x18], rax
mov rax, qword [rbx + 0x10]
mov qword [rbx], rax
cmp dword [rbx + 0x38], 0
mov esi, ebp
jle 0x14001b71f
mov qword [rsp + 0x38], rdi
mov qword [rsp + 0x30], r14
mov r14, rbp
nop word [rax + rax]
mov rax, qword [rbx + 0x30]
mov rdi, qword [r14 + rax]
cmp byte [rdi + 0x5d], 0
jne 0x14001b70a
test byte [rdi + 0x5c], 4
jne 0x14001b70a
mov r8, qword [rdi + 0x30]
lea r9, [rdi + 0x48]
mov rdx, rdi
mov rcx, rbx
call fcn.140039fa0
mov r8, qword [rdi + 0x38]
lea r9, [rdi + 0x50]
mov rdx, rdi
mov rcx, rbx
call fcn.140039fa0
inc esi
add r14, 8
cmp esi, dword [rbx + 0x38]
jl 0x14001b6d0
mov r14, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x38]
cmp qword [rbx + 0x2b0], 0
mov rsi, qword [rsp + 0x60]
je 0x14001b752
mov rcx, rbx
call fcn.140026db0
test eax, eax
je 0x14001b84d
mov rcx, qword [rbx + 0x2b0]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
mov qword [rbx + 0x2b0], rbp
cmp dword [0x140106b30], 0
je 0x14001b763
mov rcx, rbx
call fcn.14003a0a0
mov rcx, qword [0x140105da0]
call qword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
inc dword [rbx + 0x2cc]
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x20], rbp
mov dl, 0x68
mov rcx, rbx
call fcn.140022f70
test eax, eax
je 0x14001b84d
xor r9d, r9d
mov qword [rsp + 0x20], rbp
xor r8d, r8d
mov dl, 0x68
mov rcx, rbx
call fcn.140022f70
test eax, eax
je 0x14001b84d
mov rcx, qword [rbx + 0x6a8]
xor r9d, r9d
mov rax, qword [rbx + 8]
xor r8d, r8d
mov qword [rsp + 0x20], rbp
mov qword [rcx + 0x10], rax
mov rcx, rbx
mov rdx, qword [rbx]
call fcn.140029910
test rax, rax
je 0x14001b84d
mov rdx, qword [rbx]
mov rcx, rbx
call fcn.140029e90
test rax, rax
je 0x14001b84d
mov r9d, 3
lea rdx, [0x1400e5da0]
xor r8d, r8d
mov rcx, rbx
call fcn.140028c10
mov qword [0x140105d40], rax
test rax, rax
je 0x14001b84d
xor r9d, r9d
mov byte [rsp + 0x20], 1
or r8, 0xffffffffffffffff
lea rdx, [0x1400cffdc]
mov rcx, rax
call fcn.14008ec90
lea rcx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_GetSystemTimeAsFileTime]
mov ecx, dword [rsp + 0x50]
call fcn.1400171b0
mov rbp, qword [rsp + 0x58]
mov eax, 1
add rsp, 0x40
pop rbx
ret
or eax, 0xffffffff
mov rbp, qword [rsp + 0x58]
add rsp, 0x40
pop rbx
ret
or eax, 0xffffffff
add rsp, 0x40
pop rbx
ret