Function at 0x14001ef50
Capabilities:
Create directory
Get common file path
Get file attributes
Get file size

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0xbc8]
sub rsp, 0xca0
mov rax, qword [0x1400502a8]
xor rax, rsp
mov qword [rbp + 0xb90], rax
mov rax, qword [rcx + 0xc0]
xor r13d, r13d
mov rbx, rcx
mov r15d, r13d
test rax, rax
je 0x14001f38c
mov qword [rcx + 0xb8], r13
mov rax, qword [rax + 0x78]
test rax, rax
jne 0x14001efb5
mov eax, r13d
jmp 0x14001efbc
mov rax, qword [rax + 0x2a0]
mov qword [rcx + 0xb8], rax
test rax, rax
je 0x14001f38c
mov r8, qword [rcx + 0x10]
lea rax, [rbp + 0x390]
mov qword [rsp + 0x38], r13
or r14, 0xffffffffffffffff
mov qword [rsp + 0x30], r13
mov r9d, r14d
mov dword [rsp + 0x28], 0x800
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
test eax, eax
je 0x14001f387
lea edx, [r14 + 0x5d]
lea rcx, [rbp + 0x390]
call qword [sym.imp.msvcrt.dll_strrchr]
mov rdi, rax
test rax, rax
jne 0x14001f046
lea edx, [rax + 0x2f]
lea rcx, [rbp + 0x390]
call qword [sym.imp.msvcrt.dll_strrchr]
mov rdi, rax
test rax, rax
je 0x14001f387
add rdi, 1
je 0x14001f387
mov esi, 0x104
lea rdx, [rbp + 0x280]
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_GetTempPathA]
test eax, eax
je 0x14001f387
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov r12d, eax
lea r9, [rbp + 0x280]
mov ecx, r12d
lea r8, str._stmp_05d.WMC
mov eax, 0x4f8b588f
mul r12d
sub ecx, edx
shr ecx, 1
add ecx, edx
mov edx, esi
shr ecx, 0x10
imul ecx, ecx, 0x186a0
sub r12d, ecx
lea rcx, [rsp + 0x60]
mov dword [rsp + 0x20], r12d
call fcn.140013d18
test eax, eax
js 0x14001f387
lea rax, [rbp + 0x70]
mov dword [rsp + 0x28], esi
mov r9d, r14d
mov qword [rsp + 0x20], rax
lea r8, [rsp + 0x60]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
test eax, eax
je 0x14001f387
lea rsi, [rbx + 0x50]
mov dword [rbx + 0x84], 1
test rsi, rsi
je 0x14001f154
mov rcx, qword [rsi]
test rcx, rcx
je 0x14001f0f9
call fcn.14003c408
mov qword [rsi], r13
lea rax, [rbp + 0x70]
inc r14
cmp word [rax + r14*2], r13w
jne 0x14001f0fd
mov rcx, 0xffffffffffffffff
inc r14
mov eax, 2
mul r14
cmovo rax, rcx
mov rcx, rax
call fcn.14003c460
mov qword [rsi], rax
test rax, rax
je 0x14001f150
lea r8, [rbp + 0x70]
mov rdx, r14
mov rcx, rax
call fcn.140001470
test eax, eax
jns 0x14001f150
mov rcx, qword [rsi]
test rcx, rcx
je 0x14001f150
call fcn.14003c408
mov qword [rsi], r13
or r14, 0xffffffffffffffff
mov qword [rsp + 0x28], rdi
lea r9, [rbp + 0x280]
mov edi, 0x104
mov dword [rsp + 0x20], r12d
mov edx, edi
lea r8, str._stmp_05d.WMC_s
lea rcx, [rsp + 0x60]
call fcn.140013d18
test eax, eax
js 0x14001f387
lea rax, [rbp + 0x70]
mov dword [rsp + 0x28], edi
mov r9d, r14d
mov qword [rsp + 0x20], rax
lea r8, [rsp + 0x60]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
test eax, eax
je 0x14001f387
xor edx, edx
lea rcx, [rbp + 0x70]
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x14001f387
lea rdi, [rbx + 0x38]
mov r14d, 1
test rdi, rdi
je 0x14001f238
mov rcx, qword [rdi]
test rcx, rcx
je 0x14001f1df
call fcn.14003c408
mov qword [rdi], r13
or r12, 0xffffffffffffffff
lea rax, [rbp + 0x70]
mov rsi, r12
inc rsi
cmp word [rax + rsi*2], r13w
jne 0x14001f1ea
inc rsi
mov eax, 2
mul rsi
cmovo rax, r12
mov rcx, rax
call fcn.14003c460
mov qword [rdi], rax
test rax, rax
je 0x14001f23c
lea r8, [rbp + 0x70]
mov rdx, rsi
mov rcx, rax
call fcn.140001470
test eax, eax
jns 0x14001f23c
mov rcx, qword [rdi]
test rcx, rcx
je 0x14001f23c
call fcn.14003c408
mov qword [rdi], r13
jmp 0x14001f23c
or r12, 0xffffffffffffffff
mov dword [rbx + 0x80], r14d
mov rcx, qword [rbx + 0x60]
test rcx, rcx
je 0x14001f256
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rbx + 0x60], r13
lea rcx, [rbp + 0x70]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
or esi, 0xffffffff
cmp eax, esi
je 0x14001f2de
test al, 0x10
jne 0x14001f2de
mov qword [rsp + 0x30], r13
lea rcx, [rbp + 0x70]
mov dword [rsp + 0x28], 0x80
xor r9d, r9d
mov edx, 0x80000000
mov dword [rsp + 0x20], 3
mov r8d, r14d
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rdi, rax
cmp rax, r12
je 0x14001f2de
lea rdx, [rsp + 0x50]
mov dword [rsp + 0x50], r13d
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileSize]
cmp eax, esi
je 0x14001f2cc
mov edx, dword [rsp + 0x50]
shl rdx, 0x20
mov ecx, eax
or rdx, rcx
cmp rdx, qword [rbx + 0xa8]
cmove r14d, r13d
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test r14d, r14d
je 0x14001f387
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov ecx, 0x64
mov dword [rbx + 0x68], 1
mov qword [rbx + 0x60], rax
call fcn.140015a28
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [rbx + 0x98], eax
cmp qword [rbx + 0x60], r13
je 0x14001f387
mov rcx, qword [rbx + 0xb8]
lea r8, [rsp + 0x60]
mov qword [rsp + 0x38], r13
lea rdx, [rbp + 0x390]
mov qword [rsp + 0x30], r13
mov r9d, 2
mov dword [rsp + 0x28], r13d
mov rax, qword [rcx]
mov dword [rsp + 0x20], 0x8000080
mov rax, qword [rax + 0x28]
call qword [0x14003f118]
mov r15d, eax
test eax, eax
js 0x14001f387
jmp 0x14001f37e
mov edx, 0x258
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x14001f387
cmp dword [rbx + 0x68], r13d
je 0x14001f387
mov rcx, rbx
call fcn.14001eac8
mov r15d, eax
mov rcx, qword [rbx + 0x60]
test rcx, rcx
jne 0x14001f35b
mov eax, r15d
jmp 0x14001f391
mov eax, 0x80004005
mov rcx, qword [rbp + 0xb90]
xor rcx, rsp
call fcn.14003c810
lea r11, [rsp + 0xca0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret