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

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rax - 0x78]
sub rsp, 0x150
movaps xmmword [rax - 0x38], xmm6
movaps xmmword [rax - 0x48], xmm7
mov rax, qword [0x14022b800]
xor rax, rsp
mov qword [rbp + 0x28], rax
mov r15, rcx
xorps xmm0, xmm0
movups xmmword [rbp + 8], xmm0
lea rdi, [rcx + 0x38]
mov qword [rbp + 8], rdi
test rdi, rdi
jne 0x1400e38b0
xor r14b, r14b
jmp 0x1400e38c1
mov rax, qword [rdi]
mov edx, 0xffffffff
mov rcx, rdi
call qword [rax]
movzx r14d, al
mov byte [rbp + 0x10], r14b
lea rdx, [rbp - 0x38]
mov rcx, r15
call fcn.1400e4c30
nop
lea rcx, [rbp + 0x18]
call qword [sym.imp.ole32.dll_CoCreateGuid]
lea rdx, [rbp - 0x60]
lea rcx, [rbp + 0x18]
call qword [sym.imp.ole32.dll_StringFromCLSID]
xor r12d, r12d
mov qword [rbp - 0x58], r12
movdqa xmm0, xmmword [0x1401f9dd0]
movdqu xmmword [rbp - 0x48], xmm0
mov rdx, qword [rbp - 0x60]
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp word [rdx + r8*2], r12w
jne 0x1400e3910
lea rcx, [rbp - 0x58]
call fcn.140005060
mov rcx, qword [rbp - 0x60]
call qword [sym.imp.ole32.dll_CoTaskMemFree]
movups xmm6, xmmword [rbp - 0x58]
movups xmmword [rbp - 0x18], xmm6
movups xmm7, xmmword [rbp - 0x48]
movups xmmword [rbp - 8], xmm7
movdqa xmm0, xmmword [0x1401f9dd0]
movdqu xmmword [rbp - 0x48], xmm0
mov word [rbp - 0x58], r12w
lea rcx, [rbp - 0x58]
call fcn.140004ff0
nop
lea r8, [0x1401c8320]
lea rdx, [rbp - 0x38]
lea rcx, [rsp + 0x40]
call fcn.140029eb0
nop
lea rdx, [rbp - 0x18]
movq r8, xmm6
movdqa xmm0, xmm7
psrldq xmm0, 8
movq rcx, xmm0
cmp rcx, 8
cmovae rdx, r8
movq r8, xmm7
mov rcx, rax
call fcn.140011ba0
movups xmm6, xmmword [rax]
movups xmmword [rbp - 0x58], xmm6
movups xmm7, xmmword [rax + 0x10]
movdqu xmmword [rbp - 0x48], xmm7
mov qword [rax + 0x10], r12
mov qword [rax + 0x18], 7
mov word [rax], r12w
lea rsi, [r15 + 0x78]
lea rax, [rbp - 0x58]
cmp rsi, rax
je 0x1400e39e9
mov rcx, rsi
call fcn.140004ff0
movups xmmword [rsi], xmm6
movups xmmword [rsi + 0x10], xmm7
movdqa xmm0, xmmword [0x1401f9dd0]
movdqu xmmword [rbp - 0x48], xmm0
mov word [rbp - 0x58], r12w
lea rcx, [rbp - 0x58]
call fcn.140004ff0
nop
lea rcx, [rsp + 0x40]
call fcn.140004ff0
call fcn.140061c90
mov rcx, rax
mov r8b, 1
lea rdx, [rbp - 0x80]
call fcn.14001b1c0
mov rbx, rax
lea r8, [0x1401c8320]
lea rdx, [rbp - 0x38]
lea rcx, [rsp + 0x60]
call fcn.140029eb0
nop
lea rdx, [rbp - 0x18]
cmp qword [rbp], 8
cmovae rdx, qword [rbp - 0x18]
mov r8, qword [rbp - 8]
mov rcx, rax
call fcn.140011ba0
mov qword [rsp + 0x20], r12
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x30], xmm0
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x20], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x30], xmm1
mov qword [rax + 0x10], r12
mov qword [rax + 0x18], 7
mov word [rax], r12w
mov r8d, 4
lea rdx, str.out
lea rcx, [rsp + 0x20]
call fcn.140011ba0
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x40], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x50], xmm1
mov qword [rax + 0x10], r12
mov qword [rax + 0x18], 7
mov word [rax], r12w
mov r9, rbx
lea r8, [rsp + 0x40]
lea rcx, [rbp - 0x58]
call fcn.14002ac40
lea rbx, [r15 + 0x98]
lea rax, [rbp - 0x58]
cmp rbx, rax
je 0x1400e3af5
mov rcx, rbx
call fcn.140004ff0
movups xmm0, xmmword [rbp - 0x58]
movups xmmword [rbx], xmm0
movups xmm1, xmmword [rbp - 0x48]
movups xmmword [rbx + 0x10], xmm1
movdqa xmm0, xmmword [0x1401f9dd0]
movdqu xmmword [rbp - 0x48], xmm0
mov word [rbp - 0x58], r12w
lea rcx, [rbp - 0x58]
call fcn.140004ff0
nop
lea rcx, [rsp + 0x40]
call fcn.140004ff0
nop
lea rcx, [rsp + 0x20]
call fcn.140004ff0
nop
lea rcx, [rsp + 0x60]
call fcn.140004ff0
nop
lea rcx, [rbp - 0x80]
call fcn.140004ff0
lea rdx, [rbp - 0x38]
cmp qword [rbp - 0x20], 8
cmovae rdx, qword [rbp - 0x38]
xor r8d, r8d
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
lea rcx, [rbp - 0x38]
cmp qword [rbp - 0x20], 8
cmovae rcx, qword [rbp - 0x38]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x1400e3b74
lea rcx, [rbp - 0x38]
cmp qword [rbp - 0x20], 8
cmovae rcx, qword [rbp - 0x38]
or eax, 2
mov edx, eax
call qword [sym.imp.KERNEL32.dll_SetFileAttributesW]
cmp qword [rsi + 0x18], 8
jb 0x1400e3b7e
mov rsi, qword [rsi]
xor r8d, r8d
mov rdx, rsi
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
nop
lea rcx, [rbp - 0x18]
call fcn.140004ff0
nop
lea rcx, [rbp - 0x38]
call fcn.140004ff0
nop
cmp r14b, 1
jne 0x1400e3bb6
test rdi, rdi
je 0x1400e3bb6
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + 8]
nop
xor eax, eax
mov rcx, qword [rbp + 0x28]
xor rcx, rsp
call fcn.14014f2f0
lea r11, [rsp + 0x150]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret