Function at 0x14000e2d0
Capabilities:
Create directory
Timestomp file
Write file on windows

Disassembly:
mov word [rsp + 0x20], r9w
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0xe8
mov rax, qword [0x1401b7098]
xor rax, rsp
mov qword [rsp + 0xd8], rax
cmp qword [rsp + 0xf8], 0
jne 0x14000e313
mov eax, 1
jmp 0x14000e60b
movzx eax, word [rsp + 0x108]
and eax, 0xf000
cmp eax, 0x4000
jne 0x14000e3c5
mov rcx, qword [rsp + 0xf8]
call fcn.1401697ec
test eax, eax
je 0x14000e3c0
call fcn.14015a044
cmp dword [rax], 0x11
jne 0x14000e3b6
lea rdx, [rsp + 0xa8]
mov rcx, qword [rsp + 0xf8]
call fcn.14000e0e0
test eax, eax
jne 0x14000e3b6
movzx eax, word [rsp + 0xae]
and eax, 0xf000
cmp eax, 0x4000
jne 0x14000e3b6
movzx eax, word [rsp + 0xae]
and eax, 0x1ff
movzx ecx, word [rsp + 0x108]
and ecx, 0x1ff
cmp eax, ecx
je 0x14000e3c0
movzx eax, word [rsp + 0x108]
and eax, 0x1ff
mov edx, eax
mov rcx, qword [rsp + 0xf8]
call fcn.140168c78
test eax, eax
je 0x14000e3c0
mov eax, 1
jmp 0x14000e60b
jmp 0x14000e4dc
mov qword [rsp + 0x58], 0
mov dword [rsp + 0x40], 0
lea rdx, [0x14019fdd4]
mov rcx, qword [rsp + 0xf8]
call fcn.14015c570
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x50], 0
jne 0x14000e401
mov eax, 1
jmp 0x14000e60b
mov rcx, qword [rsp + 0x100]
call sym.sqlite3.exe_sqlite3_value_blob
mov qword [rsp + 0x70], rax
cmp qword [rsp + 0x70], 0
je 0x14000e474
mov rcx, qword [rsp + 0x100]
call sym.sqlite3.exe_sqlite3_value_bytes
cdqe
mov r9, qword [rsp + 0x50]
mov r8, rax
mov edx, 1
mov rcx, qword [rsp + 0x70]
call fcn.14015d4f8
mov qword [rsp + 0x88], rax
mov rcx, qword [rsp + 0x100]
call sym.sqlite3.exe_sqlite3_value_bytes
cdqe
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x88]
cmp qword [rsp + 0x58], rax
je 0x14000e474
mov dword [rsp + 0x40], 1
mov rcx, qword [rsp + 0x50]
call fcn.14015be10
cmp dword [rsp + 0x40], 0
jne 0x14000e4b9
movzx eax, word [rsp + 0x108]
test eax, eax
je 0x14000e4b9
movzx eax, word [rsp + 0x108]
and eax, 0x1ff
mov edx, eax
mov rcx, qword [rsp + 0xf8]
call fcn.140168c78
test eax, eax
je 0x14000e4b9
mov dword [rsp + 0x40], 1
cmp dword [rsp + 0x40], 0
je 0x14000e4ca
mov eax, 2
jmp 0x14000e60b
mov rdx, qword [rsp + 0x58]
mov rcx, qword [rsp + 0xf0]
call sym.sqlite3.exe_sqlite3_result_int64
cmp qword [rsp + 0x110], 0
jl 0x14000e609
lea rcx, [rsp + 0x98]
call qword [sym.imp.KERNEL32.dll_GetSystemTime]
lea rdx, [rsp + 0x90]
lea rcx, [rsp + 0x98]
call qword [sym.imp.KERNEL32.dll_SystemTimeToFileTime]
movsxd rax, dword [rsp + 0x110]
imul rax, rax, 0x989680
movabs rcx, 0x19db1ded53e8000
add rax, rcx
mov qword [rsp + 0x78], rax
mov eax, dword [rsp + 0x78]
mov dword [rsp + 0x80], eax
mov rax, qword [rsp + 0x78]
sar rax, 0x20
mov dword [rsp + 0x84], eax
mov rcx, qword [rsp + 0xf8]
call sym.sqlite3.exe_sqlite3_win32_utf8_to_unicode
mov qword [rsp + 0x60], rax
cmp qword [rsp + 0x60], 0
jne 0x14000e56f
mov eax, 1
jmp 0x14000e60b
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x2000000
mov dword [rsp + 0x20], 3
xor r9d, r9d
xor r8d, r8d
mov edx, 0x100
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov qword [rsp + 0x68], rax
mov rcx, qword [rsp + 0x60]
call sym.sqlite3.exe_sqlite3_free
cmp qword [rsp + 0x68], 0xffffffffffffffff
je 0x14000e602
lea r9, [rsp + 0x80]
lea r8, [rsp + 0x90]
xor edx, edx
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.KERNEL32.dll_SetFileTime]
mov dword [rsp + 0x48], eax
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [rsp + 0x48], 0
jne 0x14000e5f2
mov dword [rsp + 0x44], 1
jmp 0x14000e5fa
mov dword [rsp + 0x44], 0
mov eax, dword [rsp + 0x44]
jmp 0x14000e60b
mov eax, 1
jmp 0x14000e60b
xor eax, eax
mov rcx, qword [rsp + 0xd8]
xor rcx, rsp
call fcn.140157ff0
add rsp, 0xe8
ret