Function at 0x1400833b0
Capabilities:
Create directory
Set file attributes
Write file on windows

Disassembly:
mov rax, rsp
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x208]
sub rsp, 0x2e0
mov qword [rsp + 0x58], 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 + 0x1c0], rax
mov r14, rcx
lea rcx, [0x14017bd30]
mov rax, qword [0x14017bd30]
call qword [rax + 0x18]
lea rbx, [rax + 0x18]
mov qword [rsp + 0x20], rbx
lea rcx, [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_GetLocalTime]
xor r15d, r15d
mov qword [rsp + 0x68], r15
movaps xmm0, xmmword [rsp + 0x60]
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 0x140083465
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, [rsp + 0x70]
movapd xmm0, xmm6
call qword [sym.imp.OLEAUT32.dll_UnRegisterTypeLib]
test eax, eax
je 0x140083489
mov r8d, eax
lea rdx, [rsp + 0x70]
movapd xmm0, xmm6
call fcn.140016470
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_SystemTimeToFileTime]
mov r8d, 0xa
lea rdx, [rbp - 0x50]
mov ecx, dword [rsp + 0x30]
call fcn.1400da6c8
xor eax, eax
or rsi, 0xffffffffffffffff
mov rcx, rsi
lea rdi, [rbp - 0x50]
repne scasw ax, word [rdi]
not rcx
dec rcx
mov rdi, rcx
test ecx, ecx
jne 0x140083525
lea rdx, [rbx - 0x18]
mov rdi, qword [rdx]
cmp dword [rdx + 8], eax
je 0x1400835a3
cmp dword [rdx + 0x10], eax
jge 0x1400834fb
cmp dword [rbx - 0xc], eax
jge 0x1400834ee
mov ecx, 0x80070057
call fcn.1400022b0
int3
mov dword [rbx - 0x10], r15d
mov word [rbx], r15w
jmp 0x1400835a3
mov eax, esi
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x140083511
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 0x1400835a3
mov r13d, dword [rbx - 0x10]
lea r12, [rbp - 0x50]
sub r12, rbx
sar r12, 1
test ecx, ecx
jns 0x140083542
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 0x140083564
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, r13
lea r13, [rax + rax]
mov r9, r13
ja 0x140083588
lea r8, [rbx + r12*2]
call fcn.1400d4ebc
jmp 0x140083591
lea r8, [rbp - 0x50]
call fcn.1400d4e34
cmp edi, dword [rbx - 0xc]
jg 0x140083910
mov dword [rbx - 0x10], edi
mov word [r13 + rbx], r15w
mov r8d, 1
lea rdx, [0x14012ffcc]
lea rcx, [rsp + 0x20]
call fcn.14003bd50
mov r8d, 0xa
lea rdx, [rbp - 0x50]
mov ecx, dword [rsp + 0x34]
call fcn.1400da6c8
xor eax, eax
mov rcx, rsi
lea rdi, [rbp - 0x50]
repne scasw ax, word [rdi]
not rcx
lea r8d, [rcx - 1]
lea rdx, [rbp - 0x50]
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 + 0x68], 0x3b0017
mov word [rsp + 0x6c], ax
mov eax, 0x3e7
mov word [rsp + 0x6e], ax
movaps xmm0, xmmword [rsp + 0x60]
movdqa xmmword [rbp - 0x80], xmm0
lea rdx, [rsp + 0x38]
lea rcx, [rbp - 0x80]
call qword [sym.imp.OLEAUT32.dll_VariantTimeToSystemTime]
movsd xmm6, qword [rsp + 0x38]
test eax, eax
je 0x140083662
movzx eax, word [rbp - 0x72]
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 0x140083684
mov r8d, eax
lea rdx, [rbp - 0x70]
movapd xmm0, xmm6
call fcn.140016470
lea rdx, [rsp + 0x50]
lea rcx, [rbp - 0x70]
call qword [sym.imp.KERNEL32.dll_SystemTimeToFileTime]
mov rcx, qword [rsp + 0x50]
mov qword [rsp + 0x30], rcx
mov r8d, 0xa
lea rdx, [rbp - 0x50]
call fcn.1400da6c8
xor eax, eax
mov rcx, rsi
lea rdi, [rbp - 0x50]
repne scasw ax, word [rdi]
not rcx
lea r8d, [rcx - 1]
lea rdx, [rbp - 0x50]
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 - 0x50]
mov ecx, dword [rsp + 0x34]
call fcn.1400da6c8
xor eax, eax
mov rcx, rsi
lea rdi, [rbp - 0x50]
repne scasw ax, word [rdi]
not rcx
lea r8d, [rcx - 1]
lea rdx, [rbp - 0x50]
lea rcx, [rsp + 0x20]
call fcn.14003bd50
mov r8d, 1
lea rdx, [0x14012ffcc]
lea rcx, [rsp + 0x20]
call fcn.14003bd50
mov r8d, 6
lea rdx, [0x14012afd0]
lea rcx, [rsp + 0x20]
call fcn.14003bd50
mov rdi, qword [rsp + 0x20]
cmp dword [rdi - 0x10], r15d
jle 0x1400838f4
lea rcx, [rsp + 0x28]
call fcn.1400853d0
nop
mov rax, qword [0x140183718]
test rax, rax
je 0x140083787
cmp dword [rax + 0x2a0], 0
je 0x140083787
mov rdx, qword [r14 + 0x78]
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 edx, 2
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_SetFileAttributesW]
lea r8, [0x14012afc8]
lea rdx, [0x14012f530]
lea rcx, [rsp + 0x28]
call fcn.140045040
xor r8d, r8d
mov rdx, qword [rsp + 0x28]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
mov edx, 2
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_SetFileAttributesW]
lea rcx, [0x14017bd30]
mov rax, qword [0x14017bd30]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x48], rax
mov r9, rdi
mov r8, qword [rsp + 0x28]
lea rdx, [0x14012f290]
lea rcx, [rsp + 0x48]
call fcn.140016060
lea rdx, [0x140131c20]
mov rdi, qword [rsp + 0x48]
mov rcx, rdi
call fcn.1400d9d24
mov rbx, rax
test rax, rax
jne 0x140083890
lea rdx, [rdi - 0x18]
mov eax, esi
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x140083849
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 0x140083869
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + VariantCopy]
nop
mov rdx, qword [rsp + 0x20]
add rdx, 0xffffffffffffffe8
lock xadd dword [rdx + 0x10], esi
dec esi
test esi, esi
jg 0x140083886
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + VariantCopy]
mov eax, 1
jmp 0x14008391b
mov edx, dword [r14 + 0x140]
mov r9, rax
mov r8d, 1
mov rcx, qword [r14 + 0x138]
call fcn.1400d6c94
mov rcx, rbx
call fcn.1400d79b4
nop
lea rdx, [rdi - 0x18]
mov eax, esi
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x1400838d0
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 0x1400838ef
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + VariantCopy]
mov rdi, qword [rsp + 0x20]
lea rdx, [rdi - 0x18]
lock xadd dword [rdx + 0x10], esi
dec esi
test esi, esi
jg 0x14008390c
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + VariantCopy]
xor eax, eax
jmp 0x14008391b
mov ecx, 0x80070057
call fcn.1400022b0
nop
mov rcx, qword [rbp + 0x1c0]
xor rcx, rsp
call fcn.1400d4d90
lea r11, [rsp + 0x2e0]
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