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

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0xa0]
sub rsp, 0x1a0
mov rax, qword [0x140164030]
xor rax, rsp
mov qword [rbp + 0x90], rax
mov rdi, rdx
mov qword [rsp + 0x40], rdx
xor r13d, r13d
mov qword [rsp + 0x68], r13
mov qword [rsp + 0x78], r13
mov qword [rbp - 0x80], 7
mov word [rsp + 0x68], r13w
mov rcx, rdx
cmp qword [rdx + 0x18], 8
jb 0x14005a038
mov rcx, qword [rdx]
call qword [sym.imp.api_ms_win_core_file_l1_1_0.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x14005a25f
mov rbx, r13
mov qword [rsp + 0x48], r13
mov qword [rsp + 0x58], r13
mov qword [rsp + 0x60], 7
mov word [rsp + 0x48], r13w
mov r12d, 0x100
nop dword [rax]
mov rsi, rdi
mov r15, qword [rdi + 0x18]
cmp r15, 8
jb 0x14005a080
mov rsi, qword [rdi]
mov r14, qword [rdi + 0x10]
cmp rbx, r14
jae 0x14005a125
mov r8, r12
xor edx, edx
lea rcx, [rbp - 0x70]
call fcn.1400c5120
lea rcx, [0x140119f68]
movzx eax, word [rcx]
cmp ax, r12w
jae 0x14005a0ee
movzx eax, al
mov byte [rbp + rax - 0x70], 1
add rcx, 2
lea rax, [0x140119f6a]
cmp rcx, rax
jne 0x14005a0a2
lea rcx, [rsi + r14*2]
lea rbx, [rsi + rbx*2]
cmp rbx, rcx
jae 0x14005a125
movzx eax, word [rbx]
cmp ax, r12w
jae 0x14005a0e0
cmp byte [rbp + rax - 0x70], 0
jne 0x14005a0e6
add rbx, 2
jmp 0x14005a0cb
sub rbx, rsi
sar rbx, 1
jmp 0x14005a12c
lea r8, [rsi + r14*2]
lea rbx, [rsi + rbx*2]
cmp rbx, r8
jae 0x14005a125
mov ecx, 1
lea rax, [0x140119f68]
movzx edx, word [rbx]
nop word [rax + rax]
cmp word [rax], dx
je 0x14005a0e6
add rax, 2
sub rcx, 1
jne 0x14005a110
add rbx, 2
jmp 0x14005a0f6
mov rbx, 0xffffffffffffffff
cmp rbx, 0xffffffffffffffff
je 0x14005a207
mov qword [rsp + 0x20], r13
mov qword [rsp + 0x30], r13
mov qword [rsp + 0x38], 7
mov r8, rbx
cmp r14, rbx
cmovb r8, r14
mov rdx, rdi
cmp r15, 8
jb 0x14005a15f
mov rdx, qword [rdi]
lea rcx, [rsp + 0x20]
call fcn.140017c00
mov rdx, qword [rsp + 0x60]
cmp rdx, 8
jb 0x14005a1ab
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005a1a6
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14005a2e6
call fcn.1400c2470
movups xmm0, xmmword [rsp + 0x20]
movups xmmword [rsp + 0x48], xmm0
movups xmm1, xmmword [rsp + 0x30]
movups xmmword [rsp + 0x58], xmm1
lea rcx, [rsp + 0x48]
movq rdx, xmm0
psrldq xmm1, 8
movq rax, xmm1
cmp rax, 8
cmovae rcx, rdx
call qword [sym.imp.api_ms_win_core_file_l1_1_0.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x14005a1ff
lea rcx, [rsp + 0x48]
cmp qword [rsp + 0x60], 8
cmovae rcx, qword [rsp + 0x48]
xor edx, edx
call qword [sym.imp.api_ms_win_core_file_l1_1_0.dll_CreateDirectoryW]
inc rbx
jmp 0x14005a070
mov rcx, rdi
cmp r15, 8
jb 0x14005a213
mov rcx, qword [rdi]
xor edx, edx
call qword [sym.imp.api_ms_win_core_file_l1_1_0.dll_CreateDirectoryW]
nop
mov rdx, qword [rsp + 0x60]
cmp rdx, 8
jb 0x14005a25f
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005a259
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14005a2da
call fcn.1400c2470
nop
mov rdx, qword [rdi + 0x18]
cmp rdx, 8
jb 0x14005a29a
lea rdx, [rdx*2 + 2]
mov rcx, qword [rdi]
cmp rdx, 0x1000
jb 0x14005a295
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14005a2e0
mov rcx, r8
call fcn.1400c2470
mov qword [rdi + 0x10], r13
mov qword [rdi + 0x18], 7
mov word [rdi], r13w
mov rcx, qword [rbp + 0x90]
xor rcx, rsp
call fcn.1400c2450
lea r11, [rsp + 0x1a0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
call fcn.1400c8b64
nop
call fcn.1400c8b64
nop
call fcn.1400c8b64
int3