Function at 0x180003f10
Capabilities:
Get file attributes
Set current directory

Disassembly:
push rbp
push rsi
push rdi
lea rbp, [rsp - 0x2b0]
sub rsp, 0x3b0
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x3d0], rbx
mov rax, qword [0x1803b0b00]
xor rax, rsp
mov qword [rbp + 0x2a0], rax
mov rsi, r8
mov rbx, rdx
mov rdi, rcx
mov byte [rbp + 0x190], 0
xor edx, edx
mov r8d, 0x103
lea rcx, [rbp + 0x191]
call fcn.18014af80
mov edx, 0x104
lea rcx, [rbp + 0x190]
call fcn.18014849c
test rdi, rdi
je 0x18000424b
mov byte [rbp + 0x80], 0
xor edx, edx
mov r8d, 0x103
lea rcx, [rbp + 0x81]
call fcn.18014af80
lea rcx, [rbp + 0x80]
sub rcx, rdi
nop dword [rax + rax]
movzx eax, byte [rdi]
mov byte [rdi + rcx], al
inc rdi
test al, al
jne 0x180003fb0
xor eax, eax
or rcx, 0xffffffffffffffff
lea rdi, [rbp + 0x80]
repne scasb al, byte [rdi]
not rcx
cmp byte [rbp + rcx + 0x7e], 0x5c
je 0x180003fdb
mov byte [rbp + rcx + 0x7f], 0x5c
lea rcx, [rbp + 0x80]
call fcn.1801484e0
lea rdx, [rsp + 0x50]
lea rcx, [0x1803648c8]
call fcn.1801486a0
mov rdi, rax
cmp eax, 0xffffffff
je 0x18000423f
lea rcx, [rsp + 0x74]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesA]
test al, 0x10
je 0x18000408c
cmp byte [rsp + 0x74], 0x2e
je 0x180004106
lea rdx, [0x1803648d0]
lea rcx, [rsp + 0x74]
call fcn.18014890c
test rax, rax
jne 0x180004106
lea r8, [rsp + 0x74]
mov rdx, rsi
lea rcx, [rsp + 0x28]
call fcn.180007050
nop
mov rdx, rax
mov rcx, rsi
call fcn.1800087f0
nop
cmp qword [rsp + 0x40], 0x10
jb 0x180004069
mov rcx, qword [rsp + 0x28]
call fcn.18000c5fc
lea r8, [0x1803648d8]
mov rdx, rsi
lea rcx, [rsp + 0x28]
call fcn.180007050
nop
mov rdx, rax
mov rcx, rsi
call fcn.1800087f0
nop
jmp 0x1800040f4
lea rdx, [0x1803648dc]
lea rcx, [rsp + 0x74]
call fcn.18014890c
test rax, rax
jne 0x180004106
lea r8, [rsp + 0x74]
mov rdx, rbx
lea rcx, [rsp + 0x28]
call fcn.180007050
nop
mov rdx, rax
mov rcx, rbx
call fcn.1800087f0
nop
cmp qword [rsp + 0x40], 0x10
jb 0x1800040d3
mov rcx, qword [rsp + 0x28]
call fcn.18000c5fc
lea r8, [0x1803648d8]
mov rdx, rbx
lea rcx, [rsp + 0x28]
call fcn.180007050
nop
mov rdx, rax
mov rcx, rbx
call fcn.1800087f0
nop
cmp qword [rsp + 0x40], 0x10
jb 0x180004106
mov rcx, qword [rsp + 0x28]
call fcn.18000c5fc
movsxd rdi, edi
lea rdx, [rsp + 0x50]
mov rcx, rdi
call fcn.1801487e8
test eax, eax
jne 0x180004237
nop
lea rcx, [rsp + 0x74]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesA]
test al, 0x10
je 0x1800041a8
cmp byte [rsp + 0x74], 0x2e
je 0x180004222
lea rdx, [0x1803648d0]
lea rcx, [rsp + 0x74]
call fcn.18014890c
test rax, rax
jne 0x180004222
lea r8, [rsp + 0x74]
mov rdx, rsi
lea rcx, [rsp + 0x28]
call fcn.180007050
nop
mov rdx, rax
mov rcx, rsi
call fcn.1800087f0
nop
cmp qword [rsp + 0x40], 0x10
jb 0x180004185
mov rcx, qword [rsp + 0x28]
call fcn.18000c5fc
lea r8, [0x1803648d8]
mov rdx, rsi
lea rcx, [rsp + 0x28]
call fcn.180007050
nop
mov rdx, rax
mov rcx, rsi
call fcn.1800087f0
nop
jmp 0x180004210
lea rdx, [0x1803648dc]
lea rcx, [rsp + 0x74]
call fcn.18014890c
test rax, rax
jne 0x180004222
lea r8, [rsp + 0x74]
mov rdx, rbx
lea rcx, [rsp + 0x28]
call fcn.180007050
nop
mov rdx, rax
mov rcx, rbx
call fcn.1800087f0
nop
cmp qword [rsp + 0x40], 0x10
jb 0x1800041ef
mov rcx, qword [rsp + 0x28]
call fcn.18000c5fc
lea r8, [0x1803648d8]
mov rdx, rbx
lea rcx, [rsp + 0x28]
call fcn.180007050
nop
mov rdx, rax
mov rcx, rbx
call fcn.1800087f0
nop
cmp qword [rsp + 0x40], 0x10
jb 0x180004222
mov rcx, qword [rsp + 0x28]
call fcn.18000c5fc
lea rdx, [rsp + 0x50]
mov rcx, rdi
call fcn.1801487e8
test eax, eax
je 0x180004120
mov rcx, rdi
call fcn.180148964
lea rcx, [rbp + 0x190]
call fcn.1801484e0
mov eax, 1
mov rcx, qword [rbp + 0x2a0]
xor rcx, rsp
call fcn.180146c80
mov rbx, qword [rsp + 0x3d0]
add rsp, 0x3b0
pop rdi
pop rsi
pop rbp
ret