Function at 0x140024eec
Capabilities:
Create directory
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 [0x1400592a0]
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 0x14002539d
mov qword [rcx + 0xb8], r13
mov rax, qword [rax + 0x78]
test rax, rax
je 0x14002539d
mov rax, qword [rax + 0x2a0]
mov qword [rcx + 0xb8], rax
test rax, rax
je 0x14002539d
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]
nop dword [rax + rax]
test eax, eax
je 0x140025398
lea edx, [r13 + 0x5c]
lea rcx, [rbp + 0x390]
call qword [sym.imp.api_ms_win_crt_private_l1_1_0.dll_strrchr]
nop dword [rax + rax]
mov rdi, rax
test rax, rax
jne 0x140024ff3
lea edx, [rax + 0x2f]
lea rcx, [rbp + 0x390]
call qword [sym.imp.api_ms_win_crt_private_l1_1_0.dll_strrchr]
nop dword [rax + rax]
mov rdi, rax
test rax, rax
je 0x140025398
add rdi, 1
je 0x140025398
mov esi, 0x104
lea rdx, [rbp + 0x280]
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_GetTempPath2A]
nop dword [rax + rax]
test eax, eax
je 0x140025398
call qword [sym.imp.KERNEL32.dll_GetTickCount]
nop dword [rax + rax]
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.140018504
test eax, eax
js 0x140025398
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]
nop dword [rax + rax]
test eax, eax
je 0x140025398
lea rsi, [rbx + 0x50]
mov dword [rbx + 0x84], 1
test rsi, rsi
je 0x140025113
mov rcx, qword [rsi]
test rcx, rcx
je 0x1400250b8
call fcn.140001454
mov qword [rsi], r13
lea rax, [rbp + 0x70]
inc r14
cmp word [rax + r14*2], r13w
jne 0x1400250bc
mov rcx, 0xffffffffffffffff
inc r14
mov eax, 2
mul r14
cmovo rax, rcx
mov rcx, rax
call fcn.1400014a0
mov qword [rsi], rax
test rax, rax
je 0x14002510f
lea r8, [rbp + 0x70]
mov rdx, r14
mov rcx, rax
call fcn.140010dd0
test eax, eax
jns 0x14002510f
mov rcx, qword [rsi]
test rcx, rcx
je 0x14002510f
call fcn.140001454
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.140018504
test eax, eax
js 0x140025398
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]
nop dword [rax + rax]
test eax, eax
je 0x140025398
xor edx, edx
lea rcx, [rbp + 0x70]
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
nop dword [rax + rax]
test eax, eax
je 0x140025398
lea rdi, [rbx + 0x38]
mov r14d, 1
test rdi, rdi
je 0x140025203
mov rcx, qword [rdi]
test rcx, rcx
je 0x1400251aa
call fcn.140001454
mov qword [rdi], r13
or r12, 0xffffffffffffffff
lea rax, [rbp + 0x70]
mov rsi, r12
inc rsi
cmp word [rax + rsi*2], r13w
jne 0x1400251b5
inc rsi
mov eax, 2
mul rsi
cmovo rax, r12
mov rcx, rax
call fcn.1400014a0
mov qword [rdi], rax
test rax, rax
je 0x140025207
lea r8, [rbp + 0x70]
mov rdx, rsi
mov rcx, rax
call fcn.140010dd0
test eax, eax
jns 0x140025207
mov rcx, qword [rdi]
test rcx, rcx
je 0x140025207
call fcn.140001454
mov qword [rdi], r13
jmp 0x140025207
or r12, 0xffffffffffffffff
mov dword [rbx + 0x80], r14d
mov rcx, qword [rbx + 0x60]
test rcx, rcx
je 0x140025227
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop dword [rax + rax]
mov qword [rbx + 0x60], r13
lea rcx, [rbp + 0x70]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
nop dword [rax + rax]
or esi, 0xffffffff
cmp eax, esi
je 0x1400252cf
test al, 0x10
jne 0x1400252cf
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]
nop dword [rax + rax]
mov rdi, rax
cmp rax, r12
je 0x1400252cf
lea rdx, [rsp + 0x50]
mov dword [rsp + 0x50], r13d
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileSize]
nop dword [rax + rax]
cmp eax, esi
je 0x1400252b7
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]
nop dword [rax + rax]
test r14d, r14d
je 0x140025398
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateEventW]
nop dword [rax + rax]
mov ecx, 0x64
mov dword [rbx + 0x68], 1
mov qword [rbx + 0x60], rax
call fcn.140019314
call qword [sym.imp.KERNEL32.dll_GetTickCount]
nop dword [rax + rax]
mov dword [rbx + 0x98], eax
cmp qword [rbx + 0x60], r13
je 0x140025398
mov rcx, qword [rbx + 0xb8]
mov rax, qword [rcx]
movabs r10, 0xc21c264172560870
mov rax, qword [rax + 0x28]
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 dword [rsp + 0x20], 0x8000080
call qword [0x140048188]
mov r15d, eax
test eax, eax
js 0x140025398
jmp 0x14002538f
mov edx, 0x258
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
nop dword [rax + rax]
cmp eax, 0x102
jne 0x140025398
cmp dword [rbx + 0x68], r13d
je 0x140025398
mov rcx, rbx
call fcn.14002c478
mov r15d, eax
mov rcx, qword [rbx + 0x60]
test rcx, rcx
jne 0x140025366
mov eax, r15d
jmp 0x1400253a2
mov eax, 0x80004005
mov rcx, qword [rbp + 0xb90]
xor rcx, rsp
call fcn.1400017f0
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