Function at 0x140023850
Capabilities:
Set current directory

Disassembly:
push rbx
sub rsp, 0x40
mov rax, qword [rcx + 0xb90]
mov rbx, rcx
mov byte [rcx + 0x288], 1
mov word [rcx + 0xbc0], 0
test rax, rax
je 0x140023b4b
cmp word [rax], 0
je 0x140023b4b
mov ecx, 0x28
mov qword [rsp + 0x58], rbp
call fcn.1400a3760
xor ebp, ebp
mov qword [rsp + 0x50], rax
test rax, rax
je 0x1400238c1
lea rcx, vtable.Label.0
mov qword [rax + 0x10], rbp
mov qword [rax], rcx
lea rcx, [0x140117ad8]
mov qword [rax + 8], rcx
mov qword [rax + 0x18], rbp
mov qword [rax + 0x20], rbp
jmp 0x1400238c4
mov rax, rbp
mov qword [rbx + 0x6d0], rax
test rax, rax
je 0x140023b3d
cmp byte [0x1401344fb], 0
lea rdx, [0x14010eb98]
jne 0x1400238eb
mov rdx, qword [rbx + 0xb90]
mov rcx, rbx
call fcn.140023d90
cmp eax, 1
jne 0x140023b3d
xor r9d, r9d
mov qword [rsp + 0x20], rbp
xor r8d, r8d
mov dl, 0x68
mov rcx, rbx
call fcn.14002ae80
test eax, eax
je 0x140023b3d
mov rdx, qword [rbx + 0x658]
mov rcx, rbx
call fcn.1400319c0
test eax, eax
je 0x140023b3d
mov rdx, qword [rbx + 0x658]
mov rcx, rbx
mov qword [rsp + 0x60], rsi
call fcn.140031aa0
cmp qword [rbx + 0x668], 0
je 0x140023980
mov rax, qword [rbx + 0x658]
mov rcx, qword [rbx + 0x670]
mov qword [rcx + 0x20], rax
mov rcx, qword [rbx + 0x658]
mov rax, qword [rbx + 0x670]
mov qword [rcx + 0x18], rax
mov rax, qword [rbx + 0x668]
mov qword [rbx + 0x658], rax
cmp dword [rbx + 0x690], 0
mov esi, ebp
jle 0x140023a15
mov qword [rsp + 0x38], rdi
mov qword [rsp + 0x30], r14
mov r14, rbp
nop dword [rax]
mov rax, qword [rbx + 0x688]
mov rdi, qword [r14 + rax]
cmp byte [rdi + 0x79], 0
jne 0x1400239fd
mov r8, qword [rdi + 0x38]
lea r9, [rdi + 0x5c]
mov rdx, rdi
mov rcx, rbx
call fcn.140041cf0
mov r8, qword [rdi + 0x48]
lea r9, [rdi + 0x68]
mov rdx, rdi
mov rcx, rbx
call fcn.140041cf0
mov r8, qword [rdi + 0x40]
lea r9, [rdi + 0x64]
mov rdx, rdi
mov rcx, rbx
call fcn.140041cf0
mov r8, qword [rdi + 0x50]
lea r9, [rdi + 0x70]
mov rdx, rdi
mov rcx, rbx
call fcn.140041cf0
inc esi
add r14, 8
cmp esi, dword [rbx + 0x690]
jl 0x1400239a0
mov r14, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x38]
cmp qword [rbx + 0x268], 0
mov rsi, qword [rsp + 0x60]
je 0x140023a48
mov rcx, rbx
call fcn.14002e8e0
test eax, eax
je 0x140023b3d
mov rcx, qword [rbx + 0x268]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
mov qword [rbx + 0x268], rbp
mov rcx, qword [0x140134460]
call qword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
inc dword [rbx + 0x284]
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x20], rbp
mov dl, 0x68
mov rcx, rbx
call fcn.14002ae80
test eax, eax
je 0x140023b3d
xor r9d, r9d
mov qword [rsp + 0x20], rbp
xor r8d, r8d
mov dl, 0x68
mov rcx, rbx
call fcn.14002ae80
test eax, eax
je 0x140023b3d
mov rcx, qword [rbx + 0x6d0]
xor r9d, r9d
mov rax, qword [rbx + 0x660]
xor r8d, r8d
mov qword [rsp + 0x20], rbp
mov qword [rcx + 0x10], rax
mov rcx, rbx
mov rdx, qword [rbx + 0x658]
call fcn.140031b30
test rax, rax
je 0x140023b3d
mov rdx, qword [rbx + 0x658]
mov rcx, rbx
call fcn.140031ef0
test rax, rax
je 0x140023b3d
mov r9d, 3
lea rdx, str.SSlCX7owowArVxh3jVV6ZIWpanp10WLyAtBaK9rzqnB2uTvcUfgi2TTWP2SSPQUwBe8l0zbJVMRxe16TN3nznVaafGKi7P6WmOKlU1qJZGcm7rn0
xor r8d, r8d
mov rcx, rbx
call fcn.140030b00
mov qword [0x140134400], rax
test rax, rax
je 0x140023b3d
xor r9d, r9d
mov byte [rsp + 0x20], 1
or r8, 0xffffffffffffffff
lea rdx, [0x1400ee234]
mov rcx, rax
call fcn.1400ab090
lea rcx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_GetSystemTimeAsFileTime]
mov ecx, dword [rsp + 0x50]
call fcn.14001f080
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