Function at 0x100032d8c
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
mov rax, rsp
push rbp
push rsi
push rdi
sub rsp, 0x60
mov qword [rsp + 0x28], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov rbx, rcx
lea rcx, [rax + 0x18]
call fcn.100020360
nop
lea rax, [rsp + 0x88]
mov qword [rsp + 0x98], rax
mov rdx, rbx
lea rcx, [rsp + 0x88]
call fcn.100020390
nop
xor r8d, r8d
lea rdx, [rsp + 0x90]
mov rcx, rax
call fcn.100034be4
xor edi, edi
cmp eax, edi
je 0x100032def
jmp 0x1000330fa
mov rbx, qword [rsp + 0x90]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x100032e14
shr eax, 4
and al, 1
je 0x100032e14
mov dil, 1
jmp 0x1000330fa
mov qword [rsp + 0x30], rdi
mov qword [rsp + 0x38], rdi
mov qword [rsp + 0x40], rdi
mov qword [rsp + 0x48], rdi
mov qword [rsp + 0x50], rdi
mov dword [rsp + 0x58], 0xa
mov esi, 3
cmp dword [rbx - 0x10], esi
jl 0x1000330ec
cmp dword [rbx - 0x10], edi
jge 0x100032e53
mov ecx, 0x80070057
call fcn.1000201f8
int3
movzx ecx, word [rbx]
call qword [sym.imp.msvcrt.dll_iswalpha]
cmp eax, edi
je 0x100032e94
cmp dword [rbx - 0x10], 1
jge 0x100032e71
mov ecx, 0x80070057
call fcn.1000201f8
int3
cmp word [rbx + 2], 0x3a
jne 0x100032e94
cmp dword [rbx - 0x10], 2
jge 0x100032e89
mov ecx, 0x80070057
call fcn.1000201f8
int3
cmp word [rbx + 4], 0x5c
je 0x100032f3e
cmp dword [rbx - 0x10], edi
jge 0x100032ea4
mov ecx, 0x80070057
call fcn.1000201f8
int3
cmp word [rbx], 0x5c
jne 0x1000330ec
cmp dword [rbx - 0x10], 1
jge 0x100032ebf
mov ecx, 0x80070057
call fcn.1000201f8
int3
cmp word [rbx + 2], 0x5c
jne 0x1000330ec
cmp dword [rbx - 0x10], 2
jle 0x1000330ec
lea rcx, [rbx + 4]
mov dx, 0x5c
call qword [sym.imp.msvcrt.dll_wcschr]
cmp rax, rdi
je 0x1000330ec
sub rax, rbx
sar rax, 1
cmp eax, edi
jl 0x1000330ec
lea ecx, [rax + 1]
cmp ecx, edi
jl 0x100032f2a
cmp ecx, dword [rbx - 0x10]
jge 0x100032f2a
movsxd rax, ecx
lea rcx, [rbx + rax*2]
mov dx, 0x5c
call qword [sym.imp.msvcrt.dll_wcschr]
mov rsi, rax
cmp rax, rdi
je 0x1000330ec
sub rsi, rbx
sar rsi, 1
jmp 0x100032f2d
or esi, 0xffffffff
cmp esi, edi
jl 0x1000330ec
add esi, 1
js 0x1000330ec
mov dx, 0x5c
mov rcx, rbx
call qword [sym.imp.msvcrt.dll_wcsrchr]
mov rbp, rax
cmp rax, rdi
jne 0x100032f58
or ebp, 0xffffffff
jmp 0x100032f5e
sub rbp, rbx
sar rbp, 1
cmp ebp, esi
jg 0x100032f66
mov ebp, esi
jmp 0x100032f69
add ebp, 1
mov r8d, ebp
lea rdx, [rsp + 0x98]
lea rcx, [rsp + 0x90]
call fcn.100036050
nop
mov r9, qword [rsp + 0x30]
xor r8d, r8d
mov rdx, qword [rax]
lea rcx, [rsp + 0x30]
call fcn.10001f9ac
mov rcx, qword [rsp + 0x30]
cmp rcx, rdi
je 0x100032fa7
mov qword [rcx + 8], rax
jmp 0x100032fac
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rax
lea rcx, [rsp + 0x98]
call fcn.10002006c
cmp ebp, esi
jle 0x100033019
lea r8d, [rbp - 1]
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x90]
call fcn.100028574
nop
mov rdx, rax
lea rcx, [rsp + 0x90]
call fcn.10001f050
nop
lea rcx, [rsp + 0x20]
call fcn.10002006c
mov rbx, qword [rsp + 0x90]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x100032f3e
shr eax, 4
and al, 1
je 0x100032f3e
cmp qword [rsp + 0x40], rdi
jne 0x100033033
lea rcx, [rsp + 0x30]
call fcn.10001f918
nop
mov dil, 1
jmp 0x1000330fa
mov rbx, qword [rsp + 0x30]
cmp rbx, rdi
je 0x1000330d0
lea rdx, [rsp + 0x90]
lea rcx, [rsp + 0x88]
call fcn.100020390
nop
mov eax, edi
cmp rbx, rdi
setne al
cmp eax, edi
je 0x1000330c5
mov rdx, rbx
mov rbx, qword [rbx]
add rdx, 0x10
lea r8, [rsp + 0x90]
lea rcx, [rsp + 0x88]
call fcn.100032a84
xor edx, edx
mov rcx, qword [rsp + 0x90]
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
cmp eax, edi
je 0x1000330aa
lea rcx, [rsp + 0x88]
call fcn.10002006c
cmp rbx, rdi
jne 0x100033041
jmp 0x1000330d0
lea rcx, [rsp + 0x88]
call fcn.10002006c
nop
lea rcx, [rsp + 0x30]
call fcn.10001f918
nop
jmp 0x1000330fa
mov ecx, 0x80004005
call fcn.1000201f8
nop
lea rcx, [rsp + 0x30]
call fcn.10001f918
nop
lea rcx, [rsp + 0x90]
call fcn.10002006c
mov al, 1
jmp 0x10003310a
lea rcx, [rsp + 0x30]
call fcn.10001f918
nop
mov dil, 1
lea rcx, [rsp + 0x90]
call fcn.10002006c
mov al, dil
mov rbx, qword [rsp + 0x80]
add rsp, 0x60
pop rdi
pop rsi
pop rbp
ret