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

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
lea rbp, [rsp - 0x1c0]
sub rsp, 0x2c0
mov rax, qword [0x1401c6780]
xor rax, rsp
mov qword [rbp + 0x1b0], rax
movzx edi, r8b
mov rbx, rcx
mov qword [rsp + 0x68], rcx
xor eax, eax
mov dword [rsp + 0x20], eax
xorps xmm0, xmm0
movups xmmword [rcx], xmm0
mov qword [rcx + 0x10], rax
mov qword [rcx + 0x18], 7
mov word [rcx], ax
mov dword [rsp + 0x20], 1
cmp edx, 9
ja case.default.0x1400254fc
movsxd rax, edx
lea rdx, [0x140000000]
mov ecx, dword [rdx + rax*4 + 0x25814]
add rcx, rdx
jmp rcx
movups xmm0, xmmword [0x140183c50]
movaps xmmword [rsp + 0x70], xmm0
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x28]
call fcn.140025370
nop
cmp rbx, rax
je 0x140025539
mov r8, qword [rax + 0x10]
cmp qword [rax + 0x18], 7
jbe 0x14002552d
mov rax, qword [rax]
mov rdx, rax
mov rcx, rbx
call fcn.14000a690
nop
jmp 0x14002577d
movups xmm0, xmmword [0x140183c40]
movaps xmmword [rsp + 0x70], xmm0
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x28]
call fcn.140025370
nop
cmp rbx, rax
je 0x140025579
mov r8, qword [rax + 0x10]
cmp qword [rax + 0x18], 7
jbe 0x14002556d
mov rax, qword [rax]
mov rdx, rax
mov rcx, rbx
call fcn.14000a690
nop
jmp 0x14002577d
movups xmm0, xmmword [0x140183c30]
movaps xmmword [rsp + 0x70], xmm0
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x28]
call fcn.140025370
nop
cmp rbx, rax
je 0x1400255b9
mov r8, qword [rax + 0x10]
cmp qword [rax + 0x18], 7
jbe 0x1400255ad
mov rax, qword [rax]
mov rdx, rax
mov rcx, rbx
call fcn.14000a690
nop
jmp 0x14002577d
lea rsi, [fcn.140025480]
mov qword [rsp + 0x70], rsi
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp - 0x60]
call fcn.140152f80
lea r8, [rsp + 0x70]
mov rdx, rsi
mov ecx, 4
call qword [sym.imp.KERNEL32.dll_GetModuleHandleExW]
mov r8d, 0x104
lea rdx, [rbp - 0x60]
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov rcx, qword [rsp + 0x70]
test rcx, rcx
je 0x14002562b
cmp word [rbp - 0x60], 0
jne 0x14002562b
mov dword [rbp - 0x70], 0x104
lea r9, [rbp - 0x70]
lea r8, [rbp - 0x60]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_QueryFullProcessImageNameW]
xorps xmm0, xmm0
movups xmmword [rsp + 0x28], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x38], xmm1
lea rax, [rbp - 0x60]
mov r8, 0xffffffffffffffff
nop word [rax + rax]
inc r8
cmp word [rax + r8*2], 0
jne 0x140025650
lea rdx, [rbp - 0x60]
lea rcx, [rsp + 0x28]
call fcn.14000c0c0
nop
lea rdx, [rsp + 0x48]
lea rcx, [rsp + 0x28]
call fcn.140025bf0
mov dword [rsp + 0x20], 3
lea rcx, [rsp + 0x28]
call fcn.140009810
nop
lea rax, [rsp + 0x48]
cmp rbx, rax
je 0x1400256b5
lea rdx, [rsp + 0x48]
cmp qword [rsp + 0x60], 7
cmova rdx, qword [rsp + 0x48]
mov r8, qword [rsp + 0x58]
mov rcx, rbx
call fcn.14000a690
nop
lea rcx, [rsp + 0x48]
jmp 0x140025782
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0x28]
call fcn.140025840
nop
cmp rbx, rax
je 0x1400256ee
mov r8, qword [rax + 0x10]
cmp qword [rax + 0x18], 7
jbe 0x1400256e2
mov rax, qword [rax]
mov rdx, rax
mov rcx, rbx
call fcn.14000a690
nop
jmp 0x14002577d
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0x70]
call fcn.140025840
nop
lea rdx, [rsp + 0x28]
mov rcx, rax
call fcn.1400248f0
nop
cmp rbx, rax
je 0x140025730
mov r8, qword [rax + 0x10]
cmp qword [rax + 0x18], 7
jbe 0x140025724
mov rax, qword [rax]
mov rdx, rax
mov rcx, rbx
call fcn.14000a690
nop
lea rcx, [rsp + 0x28]
call fcn.140009810
nop
lea rcx, [rsp + 0x70]
jmp 0x140025782
movups xmm0, xmmword [0x140183c20]
movaps xmmword [rsp + 0x70], xmm0
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x28]
call fcn.140025370
nop
cmp rbx, rax
je 0x14002577d
mov r8, qword [rax + 0x10]
cmp qword [rax + 0x18], 7
jbe 0x140025771
mov rax, qword [rax]
mov rdx, rax
mov rcx, rbx
call fcn.14000a690
nop
lea rcx, [rsp + 0x28]
call fcn.140009810
test dil, dil
je 0x1400257e6
mov rcx, rbx
cmp qword [rbx + 0x18], 7
jbe 0x140025799
mov rcx, qword [rbx]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
cmp eax, 1
jne 0x1400257b9
mov rcx, rbx
cmp qword [rbx + 0x18], 7
jbe 0x1400257b1
mov rcx, qword [rbx]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
jmp 0x1400257e6
mov rdx, rbx
cmp qword [rbx + 0x18], 7
jbe 0x1400257c6
mov rdx, qword [rbx]
xor r8d, r8d
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
test eax, eax
jne 0x1400257e6
xor r8d, r8d
mov edx, dword [0x1401c73d0]
mov rcx, rbx
call fcn.140026260
mov rax, rbx
mov rcx, qword [rbp + 0x1b0]
xor rcx, rsp
call fcn.1401219d0
lea r11, [rsp + 0x2c0]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret