Function at 0x140043bb0
Capabilities:
Delete directory
Get common file path
Set current directory

Disassembly:
push rbx
sub rsp, 0x380
mov qword [rsp + 0x38], 0xfffffffffffffffe
mov rax, qword [0x1402ba4e0]
xor rax, rsp
mov qword [rsp + 0x370], rax
mov rbx, rcx
call fcn.1400d17c0
test eax, eax
je 0x140043e92
mov rcx, rbx
call fcn.1400437b0
mov rcx, rbx
call fcn.140043440
mov rcx, rbx
call fcn.140042190
mov r11, qword [rbx]
mov rcx, qword [r11 + 0xb0]
add rcx, 0x181c
xor edx, edx
call fcn.1400d67e0
mov r11, qword [rbx]
mov rcx, qword [r11 + 0xb0]
add rcx, 0x454
xor edx, edx
call fcn.1400d67e0
mov r11, qword [rbx]
mov rcx, qword [r11 + 0xb0]
add rcx, 0x1920
xor edx, edx
call fcn.1400d67e0
mov r11, qword [rbx]
mov rcx, qword [r11 + 0xb0]
add rcx, 0x1a24
xor edx, edx
call fcn.1400d67e0
mov r11, qword [rbx]
mov rcx, qword [r11 + 0xb0]
add rcx, 0x998c
xor edx, edx
call fcn.1400d67e0
mov r11, qword [rbx]
mov rcx, qword [r11 + 0xb0]
add rcx, 0x9b94
xor edx, edx
call fcn.1400d67e0
mov r11, qword [rbx]
mov rcx, qword [r11 + 0xb0]
add rcx, 0xa6c
xor edx, edx
call fcn.1400d67e0
mov r11, qword [rbx]
mov rcx, qword [r11 + 0xb0]
add rcx, 0x760
xor edx, edx
call fcn.1400d67e0
mov r11, qword [rbx]
mov rcx, qword [r11 + 0xb0]
add rcx, 0x1d4
xor edx, edx
call fcn.1400d67e0
mov r11, qword [rbx]
mov rcx, qword [r11 + 0xb0]
add rcx, 0x65c
xor edx, edx
call fcn.1400d67e0
mov r11, qword [rbx]
mov rcx, qword [r11 + 0xb0]
add rcx, 0x1b28
xor edx, edx
call fcn.1400d67e0
mov r11, qword [rbx]
mov rcx, qword [r11 + 0xb0]
add rcx, 0x1f38
xor edx, edx
call fcn.1400d67e0
mov r11, qword [rbx]
mov rcx, qword [r11 + 0xb0]
add rcx, 0xb70
cmp byte [rcx], 0
je 0x140043d39
xor edx, edx
call fcn.1400d67e0
mov rax, qword [rbx]
mov rcx, qword [rax + 0xb0]
add rcx, 0x864
cmp byte [rcx], 0
je 0x140043d56
xor edx, edx
call fcn.1400d67e0
mov rax, qword [rbx]
mov rcx, qword [rax + 0xb0]
add rcx, 0x1e34
cmp byte [rcx], 0
je 0x140043d73
xor edx, edx
call fcn.1400d67e0
call qword [sym.imp.KERNEL32.dll_GetVersion]
cmp eax, 0x80000000
jae 0x140043d96
mov rax, qword [rbx]
mov rcx, qword [rax + 0xb0]
add rcx, 0x1c2c
call fcn.1400433a0
mov rcx, rbx
call fcn.140042c30
mov rcx, rbx
call fcn.140042f70
mov rcx, rbx
call fcn.140043730
mov rcx, rbx
call fcn.140042e80
mov rcx, rbx
call fcn.1400429a0
lea r11, [rsp + 0x150]
mov qword [rsp + 0x20], r11
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 0x29]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetFolderPathA]
lea rdx, [rsp + 0x30]
mov rcx, qword [rbx]
call fcn.140042130
nop
mov rcx, qword [rax]
lea rdx, [rsp + 0x40]
movzx eax, byte [rcx]
mov byte [rdx], al
inc rcx
inc rdx
test al, al
jne 0x140043df3
lea rcx, [rsp + 0x30]
call fcn.1400ca400
mov edx, 0x5c
lea rcx, [rsp + 0x40]
call fcn.14010db4c
test rax, rax
je 0x140043e23
mov byte [rax], 0
lea rdx, [rsp + 0x150]
lea rcx, [rsp + 0x40]
call fcn.14010d534
test eax, eax
je 0x140043e8b
lea rdx, [rsp + 0x260]
mov ecx, 0x104
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
lea rcx, [0x140207c38]
call qword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
lea rcx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
call qword [sym.imp.KERNEL32.dll_GetVersion]
cmp eax, 0x80000000
jae 0x140043e7d
xor edx, edx
lea rcx, [rsp + 0x40]
call fcn.1400d67e0
lea rcx, [rsp + 0x260]
call qword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
mov eax, 1
jmp 0x140043e94
xor eax, eax
mov rcx, qword [rsp + 0x370]
xor rcx, rsp
call fcn.14010d170
add rsp, 0x380
pop rbx
ret