Function at 0x1800052f0
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, 0x60
mov rax, qword [0x1801060b8]
xor rax, rsp
mov qword [rsp + 0x58], rax
mov rbx, rcx
mov qword [rsp + 0x30], rcx
cmp qword [rcx + 0x18], 8
jb 0x180005329
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x180005341
mov rcx, rbx
call fcn.1800029a0
jmp 0x1800054cd
mov rdi, qword [rbx + 0x10]
test rdi, rdi
jne 0x180005359
mov rcx, rbx
call fcn.1800029a0
xor al, al
jmp 0x1800054cf
xor r15d, r15d
mov ebp, r15d
lea r14, [0x1800ec580]
nop word [rax + rax]
mov rax, 0xffffffffffffffff
nop word [rax + rax]
inc rax
cmp word [r14 + rax*2], r15w
jne 0x180005380
mov rcx, rbx
mov rsi, qword [rbx + 0x18]
cmp rsi, 8
jb 0x18000539a
mov rcx, qword [rbx]
mov qword [rsp + 0x20], rax
mov r9, r14
mov r8, rbp
mov rdx, rdi
call fcn.1800035b0
mov rbp, rdi
cmp rax, 0xffffffffffffffff
cmovne rbp, rax
mov qword [rsp + 0x38], r15
mov qword [rsp + 0x48], r15
mov qword [rsp + 0x50], 7
mov r8, rbp
cmp rdi, rbp
cmovb r8, rdi
mov rdx, rbx
cmp rsi, 8
jb 0x1800053e1
mov rdx, qword [rbx]
lea rcx, [rsp + 0x38]
call fcn.180002f10
cmp qword [rsp + 0x48], r15
je 0x18000542c
lea rcx, [rsp + 0x38]
cmp qword [rsp + 0x50], 8
cmovae rcx, qword [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x18000542c
lea rcx, [rsp + 0x38]
cmp qword [rsp + 0x50], 8
cmovae rcx, qword [rsp + 0x38]
call fcn.1800a9448
test eax, eax
jne 0x1800054f6
inc rbp
mov rdx, qword [rsp + 0x50]
cmp rdx, 8
jb 0x180005471
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18000546c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18000559a
call fcn.180099854
mov rdi, qword [rbx + 0x10]
cmp rbp, rdi
jb 0x180005370
mov rdx, qword [rbx + 0x18]
cmp rdx, 8
jb 0x1800054bd
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbx]
cmp rdx, 0x1000
jb 0x1800054b8
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1800055a0
mov rcx, r8
call fcn.180099854
mov qword [rbx + 0x10], r15
mov qword [rbx + 0x18], 7
mov word [rbx], r15w
mov al, 1
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.180099a00
lea r11, [rsp + 0x60]
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 + 0x50]
cmp rdx, 8
jb 0x180005534
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18000552f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18000559a
call fcn.180099854
mov qword [rsp + 0x48], r15
mov qword [rsp + 0x50], 7
mov word [rsp + 0x38], r15w
mov rdx, qword [rbx + 0x18]
cmp rdx, 8
jb 0x180005583
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbx]
cmp rdx, 0x1000
jb 0x18000557e
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1800055a6
mov rcx, r8
call fcn.180099854
mov qword [rbx + 0x10], r15
mov qword [rbx + 0x18], 7
mov word [rbx], r15w
xor al, al
jmp 0x1800054cf
call fcn.1800a06ac
nop
call fcn.1800a06ac
int3
call fcn.1800a06ac
int3