Function at 0x14008d0f0
Capabilities:
Create directory
Delete file
Write file on windows

Disassembly:
mov rax, rsp
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x468]
sub rsp, 0x540
mov qword [rsp + 0x60], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
movaps xmmword [rax - 0x38], xmm6
mov rax, qword [0x14017c430]
xor rax, rsp
mov qword [rbp + 0x420], rax
mov r13, rcx
mov r8b, 1
lea rdx, [rsp + 0x48]
mov rcx, qword [0x140183758]
call fcn.14005ef00
nop
xor r8d, r8d
mov rdx, qword [rsp + 0x48]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
mov rcx, qword [rsp + 0x48]
add rcx, 0xffffffffffffffe8
call fcn.140001d80
add rax, 0x18
mov qword [rsp + 0x28], rax
mov r8d, 1
lea rdx, [0x14012ed28]
lea rcx, [rsp + 0x28]
call fcn.14003bd50
lea rcx, [0x14017bd30]
mov rax, qword [0x14017bd30]
call qword [rax + 0x18]
lea rbx, [rax + 0x18]
mov qword [rsp + 0x20], rbx
lea rcx, [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_GetLocalTime]
xor r15d, r15d
mov qword [rsp + 0x78], r15
movaps xmm0, xmmword [rsp + 0x70]
movdqa xmmword [rbp - 0x60], xmm0
lea rdx, [rsp + 0x40]
lea rcx, [rbp - 0x60]
call qword [sym.imp.OLEAUT32.dll_VariantTimeToSystemTime]
movsd xmm6, qword [rsp + 0x40]
test eax, eax
je 0x14008d1f8
movzx eax, word [rbp - 0x52]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
divsd xmm0, qword [0x140132ba8]
addsd xmm6, xmm0
movsd qword [rsp + 0x40], xmm6
lea rdx, [rbp - 0x80]
movapd xmm0, xmm6
call qword [sym.imp.OLEAUT32.dll_UnRegisterTypeLib]
test eax, eax
je 0x14008d21a
mov r8d, eax
lea rdx, [rbp - 0x80]
movapd xmm0, xmm6
call fcn.140016470
lea rdx, [rsp + 0x30]
lea rcx, [rbp - 0x80]
call qword [sym.imp.KERNEL32.dll_SystemTimeToFileTime]
mov r8d, 0xa
lea rdx, [rbp + 0x210]
mov ecx, dword [rsp + 0x30]
call fcn.1400da6c8
xor eax, eax
or rsi, 0xffffffffffffffff
mov rcx, rsi
lea rdi, [rbp + 0x210]
repne scasw ax, word [rdi]
not rcx
dec rcx
mov rdi, rcx
test ecx, ecx
jne 0x14008d2be
lea rdx, [rbx - 0x18]
mov rdi, qword [rdx]
cmp dword [rdx + 8], eax
je 0x14008d341
cmp dword [rdx + 0x10], eax
jge 0x14008d291
cmp dword [rbx - 0xc], eax
jge 0x14008d284
mov ecx, 0x80070057
call fcn.1400022b0
int3
mov dword [rbx - 0x10], r15d
mov word [rbx], r15w
jmp 0x14008d341
mov eax, esi
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x14008d2a7
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + VariantCopy]
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x20], rax
jmp 0x14008d341
mov r14d, dword [rbx - 0x10]
lea r12, [rbp + 0x210]
sub r12, rbx
sar r12, 1
test ecx, ecx
jns 0x14008d2de
mov ecx, 0x80070057
call fcn.1400022b0
int3
mov ecx, 1
sub ecx, dword [rbx - 8]
mov eax, dword [rbx - 0xc]
sub eax, edi
or eax, ecx
jge 0x14008d300
mov edx, edi
lea rcx, [rsp + 0x20]
call fcn.1400020c0
mov rbx, qword [rsp + 0x20]
movsxd rax, edi
movsxd rdx, dword [rbx - 0xc]
mov rcx, rbx
add rdx, rdx
cmp r12, r14
lea r14, [rax + rax]
mov r9, r14
ja 0x14008d324
lea r8, [rbx + r12*2]
call fcn.1400d4ebc
jmp 0x14008d330
lea r8, [rbp + 0x210]
call fcn.1400d4e34
cmp edi, dword [rbx - 0xc]
jg 0x14008d62a
mov dword [rbx - 0x10], edi
mov word [r14 + rbx], r15w
mov r8d, 1
lea rdx, [0x14012ffcc]
lea rcx, [rsp + 0x20]
call fcn.14003bd50
mov r8d, 0xa
lea rdx, [rbp + 0x210]
mov ecx, dword [rsp + 0x34]
call fcn.1400da6c8
xor eax, eax
mov rcx, rsi
lea rdi, [rbp + 0x210]
repne scasw ax, word [rdi]
not rcx
lea r8d, [rcx - 1]
lea rdx, [rbp + 0x210]
lea rcx, [rsp + 0x20]
call fcn.14003bd50
mov r8d, 1
lea rdx, reloc.msi.dll_MsiGetActiveDatabase
lea rcx, [rsp + 0x20]
call fcn.14003bd50
mov eax, 0x3b
mov dword [rsp + 0x78], 0x3b0017
mov word [rsp + 0x7c], ax
mov eax, 0x3e7
mov word [rsp + 0x7e], ax
movaps xmm0, xmmword [rsp + 0x70]
movdqa xmmword [rbp - 0x50], xmm0
lea rdx, [rsp + 0x38]
lea rcx, [rbp - 0x50]
call qword [sym.imp.OLEAUT32.dll_VariantTimeToSystemTime]
movsd xmm6, qword [rsp + 0x38]
test eax, eax
je 0x14008d409
movzx eax, word [rbp - 0x42]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
divsd xmm0, qword [0x140132ba8]
addsd xmm6, xmm0
movsd qword [rsp + 0x38], xmm6
lea rdx, [rbp - 0x70]
movapd xmm0, xmm6
call qword [sym.imp.OLEAUT32.dll_UnRegisterTypeLib]
test eax, eax
je 0x14008d42b
mov r8d, eax
lea rdx, [rbp - 0x70]
movapd xmm0, xmm6
call fcn.140016470
lea rdx, [rsp + 0x58]
lea rcx, [rbp - 0x70]
call qword [sym.imp.KERNEL32.dll_SystemTimeToFileTime]
mov rcx, qword [rsp + 0x58]
mov qword [rsp + 0x30], rcx
mov r8d, 0xa
lea rdx, [rbp + 0x210]
call fcn.1400da6c8
xor eax, eax
mov rcx, rsi
lea rdi, [rbp + 0x210]
repne scasw ax, word [rdi]
not rcx
lea r8d, [rcx - 1]
lea rdx, [rbp + 0x210]
lea rcx, [rsp + 0x20]
call fcn.14003bd50
mov r8d, 1
lea rdx, [0x14012ffcc]
lea rcx, [rsp + 0x20]
call fcn.14003bd50
mov r8d, 0xa
lea rdx, [rbp + 0x210]
mov ecx, dword [rsp + 0x34]
call fcn.1400da6c8
xor eax, eax
mov rcx, rsi
lea rdi, [rbp + 0x210]
repne scasw ax, word [rdi]
not rcx
lea r8d, [rcx - 1]
lea rdx, [rbp + 0x210]
lea rcx, [rsp + 0x20]
call fcn.14003bd50
mov rdx, qword [rsp + 0x20]
mov r8d, dword [rdx - 0x10]
lea rcx, [rsp + 0x28]
call fcn.14003bd50
xor r8d, r8d
mov rdx, qword [rsp + 0x28]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
mov r8d, 1
lea rdx, [0x14012ed28]
lea rcx, [rsp + 0x28]
call fcn.14003bd50
lea rcx, [r13 + 8]
lea rdx, [rsp + 0x50]
call fcn.1400376c0
nop
mov rdx, qword [rax]
mov r8d, dword [rdx - 0x10]
lea rcx, [rsp + 0x28]
call fcn.14003bd50
nop
mov rdx, qword [rsp + 0x50]
add rdx, 0xffffffffffffffe8
mov eax, esi
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x14008d54b
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + VariantCopy]
mov rdi, qword [rsp + 0x28]
cmp dword [r13 + 0x18], 0
je 0x14008d58d
lea rdx, [rbp - 0x40]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x14008d58d
cmp dword [r13 + 0x18], 1
je 0x14008d584
cmp dword [r13 + 0x1c], 1
je 0x14008d584
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindClose]
cmp qword [r13 + 0x28], 0
je 0x14008d5c9
lea rdx, [0x140131ba8]
mov rcx, rdi
call fcn.1400d9d24
mov rdi, rax
test rax, rax
je 0x14008d5c9
mov r8d, dword [r13 + 0x30]
mov r9, rax
mov edx, 1
mov rcx, qword [r13 + 0x28]
call fcn.1400d6c94
mov rcx, rdi
call fcn.1400d79b4
nop
mov rdx, qword [rsp + 0x20]
add rdx, 0xffffffffffffffe8
mov eax, esi
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x14008d5e9
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + VariantCopy]
nop
mov rdx, qword [rsp + 0x28]
add rdx, 0xffffffffffffffe8
mov eax, esi
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x14008d609
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + VariantCopy]
nop
mov rdx, qword [rsp + 0x48]
add rdx, 0xffffffffffffffe8
lock xadd dword [rdx + 0x10], esi
dec esi
test esi, esi
jg 0x14008d626
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + VariantCopy]
xor eax, eax
jmp 0x14008d635
mov ecx, 0x80070057
call fcn.1400022b0
nop
mov rcx, qword [rbp + 0x420]
xor rcx, rsp
call fcn.1400d4d90
lea r11, [rsp + 0x540]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
movaps xmm6, xmmword [r11 - 0x10]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret