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

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r14
push r15
sub rsp, 0x70
mov rax, qword [0x1400b2080]
xor rax, rsp
mov qword [rsp + 0x60], rax
mov rbx, rcx
mov qword [rsp + 0x38], rcx
xor r15d, r15d
cmp qword [rcx + 0x18], 8
jb 0x14003fa5c
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x14003fbdf
mov rdi, qword [rbx + 0x10]
test rdi, rdi
jne 0x14003faba
mov rdx, qword [rbx + 0x18]
cmp rdx, 8
jb 0x14003fab3
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbx]
cmp rdx, 0x1000
jb 0x14003faae
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14003fcf5
mov rcx, r8
call fcn.140057c14
xor al, al
jmp 0x14003fc20
mov rbp, r15
lea r14, [0x14009b544]
nop dword [rax]
nop dword [rax + rax]
mov rax, 0xffffffffffffffff
nop word [rax + rax]
inc rax
cmp word [r14 + rax*2], 0
jne 0x14003fae0
mov rcx, rbx
mov rsi, qword [rbx + 0x18]
cmp rsi, 8
jb 0x14003fafb
mov rcx, qword [rbx]
mov qword [rsp + 0x20], rax
mov r9, r14
mov r8, rbp
mov rdx, rdi
call fcn.140028e10
mov rbp, rdi
cmp rax, 0xffffffffffffffff
cmovne rbp, rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x50], r15
mov qword [rsp + 0x58], r15
mov r8, rbp
cmp rdi, rbp
cmovb r8, rdi
mov rdx, rbx
cmp rsi, 8
jb 0x14003fb41
mov rdx, qword [rbx]
lea rcx, [rsp + 0x40]
call fcn.140003dd0
cmp qword [rsp + 0x50], 0
je 0x14003fb8d
lea rcx, [rsp + 0x40]
cmp qword [rsp + 0x58], 8
cmovae rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x14003fb8d
lea rcx, [rsp + 0x40]
cmp qword [rsp + 0x58], 8
cmovae rcx, qword [rsp + 0x40]
call fcn.1400636e0
test eax, eax
jne 0x14003fc57
inc rbp
mov rdx, qword [rsp + 0x58]
cmp rdx, 8
jb 0x14003fbd2
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14003fbcd
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14003fce9
call fcn.140057c14
mov rdi, qword [rbx + 0x10]
cmp rbp, rdi
jb 0x14003fad0
mov rdx, qword [rbx + 0x18]
cmp rdx, 8
jb 0x14003fc1e
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbx]
cmp rdx, 0x1000
jb 0x14003fc19
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14003fcf5
mov rcx, r8
call fcn.140057c14
mov al, 1
mov word [rbx], r15w
mov qword [rbx + 0x18], 7
mov qword [rbx + 0x10], r15
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.140057960
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x28]
mov rbp, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rdi
ret
mov rdx, qword [rsp + 0x58]
cmp rdx, 8
jb 0x14003fc95
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14003fc90
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14003fce9
call fcn.140057c14
mov qword [rsp + 0x50], r15
mov qword [rsp + 0x58], 7
mov word [rsp + 0x40], r15w
mov rdx, qword [rbx + 0x18]
cmp rdx, 8
jb 0x14003fab3
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbx]
cmp rdx, 0x1000
jb 0x14003faae
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14003fcef
jmp 0x14003faab
call fcn.14005e6c4
nop
call fcn.14005e6c4
int3
call fcn.14005e6c4
int3