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

Disassembly:
mov r11, rsp
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x780
mov qword [r11 - 0x5b8], 0xfffffffffffffffe
mov qword [r11 + 0x10], rbx
mov qword [r11 + 0x18], rsi
mov rax, qword [0x14015d3e0]
xor rax, rsp
mov qword [rsp + 0x770], rax
mov dil, dl
mov r13, rcx
lea r14, str.base_stor_vssmodulescoord_srchwwrpdb.cxx
mov qword [r11 - 0x720], r14
lea rbx, str.CVssHardwareProviderWrapper::CreateDataStore
mov qword [r11 - 0x718], rbx
lea rax, str.CORHWDBC
mov qword [r11 - 0x710], rax
mov dword [rsp + 0xa0], 0x72
mov esi, 1
mov dword [rsp + 0xa4], esi
mov dword [rsp + 0xa8], 0xff
xor r15d, r15d
mov dword [rsp + 0x128], 0x1000000
xor edx, edx
lea r8d, [rsi + 0x77]
lea rcx, [r11 - 0x6f8]
call sub.msvcrt.dll_memset
xor r8d, r8d
lea rdx, [rsp + 0x88]
lea rcx, [rsp + 0x150]
call fcn.1400bec34
nop
mov qword [rsp + 0x130], r15
mov dword [rsp + 0x230], r15d
mov word [rsp + 0x234], 0x500
lea edx, [rsi + 0x7f]
lea r8d, [rsi + 1]
lea rcx, [rsp + 0x250]
call qword [sym.imp.api_ms_win_security_base_l1_1_0.dll_InitializeAcl]
nop dword [rax + rax]
test eax, eax
jne 0x14007de43
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
mov r12d, 0x80070000
test eax, eax
jle 0x14007ddc4
movzx eax, ax
or eax, r12d
mov dword [rsp + 0x158], eax
mov qword [rsp + 0x88], r14
mov qword [rsp + 0x90], rbx
lea rax, str.CORHWDBC
mov qword [rsp + 0x98], rax
mov dword [rsp + 0xa0], 0x87
mov dword [rsp + 0xa4], esi
mov dword [rsp + 0xa8], 0xff
mov dword [rsp + 0x128], 0x1000000
xor edx, edx
lea r8d, [rdx + 0x78]
lea rcx, [rsp + 0xb0]
call sub.msvcrt.dll_memset
lea r8, [0x1401062c8]
lea rdx, [rsp + 0x88]
lea rcx, [rsp + 0x150]
call fcn.140027ed8
jmp 0x14007de49
mov r12d, 0x80070000
lea rax, [rsp + 0x130]
mov qword [rsp + 0x50], rax
mov dword [rsp + 0x48], r15d
mov dword [rsp + 0x40], r15d
mov dword [rsp + 0x38], r15d
mov dword [rsp + 0x30], r15d
mov dword [rsp + 0x28], r15d
mov dword [rsp + 0x20], r15d
xor r9d, r9d
lea r8d, [r9 + 0x12]
mov dl, sil
lea rcx, [rsp + 0x230]
call qword [sym.imp.api_ms_win_security_base_l1_1_0.dll_AllocateAndInitializeSid]
nop dword [rax + rax]
test eax, eax
jne 0x14007df2e
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
test eax, eax
jle 0x14007deb0
movzx eax, ax
or eax, r12d
mov dword [rsp + 0x158], eax
mov qword [rsp + 0x88], r14
mov qword [rsp + 0x90], rbx
lea rax, str.CORHWDBC
mov qword [rsp + 0x98], rax
mov dword [rsp + 0xa0], RegisterTypeLib
mov dword [rsp + 0xa4], esi
mov dword [rsp + 0xa8], 0xff
mov dword [rsp + 0x128], 0x1000000
xor edx, edx
lea r8d, [rdx + 0x78]
lea rcx, [rsp + 0xb0]
call sub.msvcrt.dll_memset
lea r8, [0x140119dc0]
lea rdx, [rsp + 0x88]
lea rcx, [rsp + 0x150]
call fcn.140027ed8
nop
mov r9, qword [rsp + 0x130]
mov edx, 2
mov r8d, 0x101f0000
lea rcx, [rsp + 0x250]
call qword [sym.imp.api_ms_win_security_base_l1_1_0.dll_AddAccessAllowedAce]
nop dword [rax + rax]
test eax, eax
jne 0x14007dff0
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
test eax, eax
jle 0x14007df73
movzx eax, ax
or eax, r12d
mov dword [rsp + 0x158], eax
mov qword [rsp + 0x88], r14
mov qword [rsp + 0x90], rbx
lea rax, str.CORHWDBC
mov qword [rsp + 0x98], rax
mov dword [rsp + 0xa0], 0xaa
mov dword [rsp + 0xa4], esi
mov dword [rsp + 0xa8], 0xff
mov dword [rsp + 0x128], 0x1000000
xor edx, edx
lea r8d, [rdx + 0x78]
lea rcx, [rsp + 0xb0]
call sub.msvcrt.dll_memset
lea r8, [0x1401062e8]
lea rdx, [rsp + 0x88]
lea rcx, [rsp + 0x150]
call fcn.140027ed8
mov rcx, qword [rsp + 0x130]
call qword [sym.imp.api_ms_win_security_base_l1_1_0.dll_FreeSid]
nop dword [rax + rax]
mov qword [rsp + 0x130], r15
mov edx, esi
lea rcx, [rsp + 0x208]
call qword [sym.imp.api_ms_win_security_base_l1_1_0.dll_InitializeSecurityDescriptor]
nop dword [rax + rax]
test eax, eax
jne 0x14007e0bd
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
test eax, eax
jle 0x14007e040
movzx eax, ax
or eax, r12d
mov dword [rsp + 0x158], eax
mov qword [rsp + 0x88], r14
mov qword [rsp + 0x90], rbx
lea rax, str.CORHWDBC
mov qword [rsp + 0x98], rax
mov dword [rsp + 0xa0], 0xb5
mov dword [rsp + 0xa4], esi
mov dword [rsp + 0xa8], 0xff
mov dword [rsp + 0x128], 0x1000000
xor edx, edx
lea r8d, [rdx + 0x78]
lea rcx, [rsp + 0xb0]
call sub.msvcrt.dll_memset
lea r8, [0x140106310]
lea rdx, [rsp + 0x88]
lea rcx, [rsp + 0x150]
call fcn.140027ed8
xor r9d, r9d
lea r8, [rsp + 0x250]
mov edx, esi
lea rcx, [rsp + 0x208]
call qword [sym.imp.api_ms_win_security_base_l1_1_0.dll_SetSecurityDescriptorDacl]
nop dword [rax + rax]
test eax, eax
jne 0x14007e179
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
test eax, eax
jle 0x14007e0fc
movzx eax, ax
or eax, r12d
mov dword [rsp + 0x158], eax
mov qword [rsp + 0x88], r14
mov qword [rsp + 0x90], rbx
lea rax, str.CORHWDBC
mov qword [rsp + 0x98], rax
mov dword [rsp + 0xa0], 0xbb
mov dword [rsp + 0xa4], esi
mov dword [rsp + 0xa8], 0xff
mov dword [rsp + 0x128], 0x1000000
xor edx, edx
lea r8d, [rdx + 0x78]
lea rcx, [rsp + 0xb0]
call sub.msvcrt.dll_memset
lea r8, [0x140106350]
lea rdx, [rsp + 0x88]
lea rcx, [rsp + 0x150]
call fcn.140027ed8
mov qword [rsp + 0x1c0], 0x18
mov qword [rsp + 0x1d0], 1
lea rax, [rsp + 0x208]
mov qword [rsp + 0x1c8], rax
lea rcx, [rsp + 0x560]
call fcn.14007eb9c
lea r9, [rsp + 0x560]
lea r8, str._sSystem_Volume_Information
mov edx, 0x144
lea rcx, [rsp + 0x2d0]
call fcn.1400053e0
mov ebx, eax
mov dword [rsp + 0x158], eax
mov ecx, eax
shr ecx, 0x1f
test cl, cl
je 0x14007e265
mov qword [rsp + 0x88], r14
lea rax, str.CVssHardwareProviderWrapper::CreateDataStore
mov qword [rsp + 0x90], rax
lea rax, str.CORHWDBC
mov qword [rsp + 0x98], rax
mov dword [rsp + 0xa0], 0xd1
mov dword [rsp + 0xa4], esi
mov dword [rsp + 0xa8], 0xff
mov dword [rsp + 0x128], 0x1000000
xor edx, edx
lea r8d, [rdx + 0x78]
lea rcx, [rsp + 0xb0]
call sub.msvcrt.dll_memset
lea r9, str.StringCchPrintfW__
mov r8d, ebx
lea rdx, [rsp + 0x88]
lea rcx, [rsp + 0x150]
call fcn.1400c2a9c
lea rdx, [rsp + 0x2d0]
call fcn.14007eb74
test al, al
jne 0x14007e3f5
lea rdx, [rsp + 0x1c0]
lea rcx, [rsp + 0x2d0]
call qword [sym.imp.api_ms_win_core_file_l1_1_0.dll_CreateDirectoryW]
nop dword [rax + rax]
test eax, eax
jne 0x14007e33a
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
test eax, eax
jle 0x14007e2b4
movzx eax, ax
or eax, r12d
mov dword [rsp + 0x158], eax
mov qword [rsp + 0x88], r14
lea rbx, str.CVssHardwareProviderWrapper::CreateDataStore
mov qword [rsp + 0x90], rbx
lea rax, str.CORHWDBC
mov qword [rsp + 0x98], rax
mov dword [rsp + 0xa0], 0xda
mov dword [rsp + 0xa4], esi
mov dword [rsp + 0xa8], 0xff
mov dword [rsp + 0x128], 0x1000000
xor edx, edx
lea r8d, [rdx + 0x78]
lea rcx, [rsp + 0xb0]
call sub.msvcrt.dll_memset
lea r8, str.CreateDirectory
lea rdx, [rsp + 0x88]
lea rcx, [rsp + 0x150]
call fcn.140027ed8
jmp 0x14007e341
lea rbx, str.CVssHardwareProviderWrapper::CreateDataStore
mov edx, 0x2006
lea rcx, [rsp + 0x2d0]
call qword [sym.imp.api_ms_win_core_file_l1_1_0.dll_SetFileAttributesW]
nop dword [rax + rax]
test eax, eax
jne 0x14007e3f5
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
test eax, eax
jle 0x14007e378
movzx eax, ax
or eax, r12d
mov dword [rsp + 0x158], eax
mov qword [rsp + 0x88], r14
mov qword [rsp + 0x90], rbx
lea rax, str.CORHWDBC
mov qword [rsp + 0x98], rax
mov dword [rsp + 0xa0], 0xe8
mov dword [rsp + 0xa4], esi
mov dword [rsp + 0xa8], 0xff
mov dword [rsp + 0x128], 0x1000000
xor edx, edx
lea r8d, [rdx + 0x78]
lea rcx, [rsp + 0xb0]
call sub.msvcrt.dll_memset
lea r8, str.SetFileAttributes
lea rdx, [rsp + 0x88]
lea rcx, [rsp + 0x150]
call fcn.140027ed8
lea rax, str.7cc467ef_6865_4831_853f_2a4817fd1bcaDB
lea rdx, str.7cc467ef_6865_4831_853f_2a4817fd1bcaALT
test dil, dil
cmove rdx, rax
movzx eax, byte [r13 + 0x1a3]
movzx ecx, byte [r13 + 0x1a2]
movzx r8d, byte [r13 + 0x1a1]
movzx r9d, byte [r13 + 0x1a0]
movzx r10d, byte [r13 + 0x19f]
movzx r11d, byte [r13 + 0x19e]
movzx ebx, byte [r13 + 0x19d]
movzx edi, byte [r13 + 0x19c]
movzx esi, word [r13 + 0x19a]
movzx r14d, word [r13 + 0x198]
mov qword [rsp + 0x78], rdx
mov dword [rsp + 0x70], eax
mov dword [rsp + 0x68], ecx
mov dword [rsp + 0x60], r8d
mov dword [rsp + 0x58], r9d
mov dword [rsp + 0x50], r10d
mov dword [rsp + 0x48], r11d
mov dword [rsp + 0x40], ebx
mov dword [rsp + 0x38], edi
mov dword [rsp + 0x30], esi
mov dword [rsp + 0x28], r14d
mov eax, dword [r13 + 0x194]
mov dword [rsp + 0x20], eax
lea r9, [rsp + 0x560]
lea r8, str._sSystem_Volume_Information_.8x__.4x__.4x__.2x_.2x__.2x_.2x_.2x_.2x_.2x_.2x._s
mov edx, 0x144
lea rcx, [rsp + 0x2d0]
call fcn.1400053e0
mov ebx, eax
mov dword [rsp + 0x158], eax
mov ecx, eax
shr ecx, 0x1f
mov edi, 1
test cl, cl
je 0x14007e55a
lea rsi, str.base_stor_vssmodulescoord_srchwwrpdb.cxx
mov qword [rsp + 0x88], rsi
lea rax, str.CVssHardwareProviderWrapper::CreateDataStore
mov qword [rsp + 0x90], rax
lea rax, str.CORHWDBC
mov qword [rsp + 0x98], rax
mov dword [rsp + 0xa0], 0xf5
mov dword [rsp + 0xa4], edi
mov dword [rsp + 0xa8], 0xff
mov dword [rsp + 0x128], 0x1000000
xor edx, edx
lea r8d, [rdi + 0x77]
lea rcx, [rsp + 0xb0]
call sub.msvcrt.dll_memset
lea r9, str.StringCchPrintfW__
mov r8d, ebx
lea rdx, [rsp + 0x88]
lea rcx, [rsp + 0x150]
call fcn.1400c2a9c
mov qword [rsp + 0x30], r15
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], edi
lea r9, [rsp + 0x1c0]
mov edx, 0xc0000000
mov r8d, 3
lea rcx, [rsp + 0x2d0]
call qword [sym.imp.api_ms_win_core_file_l1_1_0.dll_CreateFileW]
nop dword [rax + rax]
mov rbx, rax
lea rax, [0x1400f6268]
mov qword [rsp + 0x1e0], rax
mov qword [rsp + 0x1e8], rbx
cmp rbx, 0xffffffffffffffff
jne 0x14007e659
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
test eax, eax
jle 0x14007e5cc
movzx eax, ax
or eax, r12d
mov dword [rsp + 0x158], eax
lea rsi, str.base_stor_vssmodulescoord_srchwwrpdb.cxx
mov qword [rsp + 0x88], rsi
lea r14, str.CVssHardwareProviderWrapper::CreateDataStore
mov qword [rsp + 0x90], r14
lea r13, str.CORHWDBC
mov qword [rsp + 0x98], r13
mov dword [rsp + 0xa0], 0x108
mov dword [rsp + 0xa4], edi
mov dword [rsp + 0xa8], 0xff
mov dword [rsp + 0x128], 0x1000000
xor edx, edx
lea r8d, [rdx + 0x78]
lea rcx, [rsp + 0xb0]
call sub.msvcrt.dll_memset
lea r8, str.CreateFile
lea rdx, [rsp + 0x88]
lea rcx, [rsp + 0x150]
call fcn.140027ed8
jmp 0x14007e66e
lea rsi, str.base_stor_vssmodulescoord_srchwwrpdb.cxx
lea r14, str.CVssHardwareProviderWrapper::CreateDataStore
lea r13, str.CORHWDBC
mov edx, 0x2006
lea rcx, [rsp + 0x2d0]
call qword [sym.imp.api_ms_win_core_file_l1_1_0.dll_SetFileAttributesW]
nop dword [rax + rax]
test eax, eax
jne 0x14007e71b
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
test eax, eax
jle 0x14007e6a5
movzx eax, ax
or eax, r12d
mov dword [rsp + 0x158], eax
mov qword [rsp + 0x88], rsi
mov qword [rsp + 0x90], r14
mov qword [rsp + 0x98], r13
mov dword [rsp + 0xa0], reloc.OLEAUT32.dll_VarUI4FromDisp
mov dword [rsp + 0xa4], edi
mov dword [rsp + 0xa8], 0xff
mov dword [rsp + 0x128], 0x1000000
xor edx, edx
lea r8d, [rdx + 0x78]
lea rcx, [rsp + 0xb0]
call sub.msvcrt.dll_memset
lea r8, str.SetFileAttributes
lea rdx, [rsp + 0x88]
lea rcx, [rsp + 0x150]
call fcn.140027ed8
mov dword [rsp + 0x238], 0x9d4feff5
mov qword [rsp + 0x23c], 1
mov qword [rsp + 0x20], r15
lea r9, [rsp + 0x138]
mov r8d, reloc.OLEAUT32.dll_VariantTimeToDosDateTime
lea rdx, [rsp + 0x238]
mov rcx, rbx
call qword [sym.imp.api_ms_win_core_file_l1_1_0.dll_WriteFile]
nop dword [rax + rax]
test eax, eax
je 0x14007e76e
cmp dword [rsp + 0x138], 0xc
je 0x14007e7fb
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
test eax, eax
jle 0x14007e784
movzx eax, ax
or eax, r12d
mov dword [rsp + 0x158], eax
mov qword [rsp + 0x88], rsi
mov qword [rsp + 0x90], r14
mov qword [rsp + 0x98], r13
mov dword [rsp + 0xa0], 0x124
mov dword [rsp + 0xa4], edi
mov dword [rsp + 0xa8], 0xff
mov dword [rsp + 0x128], 0x1000000
xor edx, edx
lea r8d, [rdx + 0x78]
lea rcx, [rsp + 0xb0]
call sub.msvcrt.dll_memset
lea r8, [0x140119e40]
lea rdx, [rsp + 0x88]
lea rcx, [rsp + 0x150]
call fcn.140027ed8
nop
lea rcx, [rsp + 0x1e0]
call fcn.14002e56c
nop
jmp 0x14007e811
mov eax, dword [rsp + 0x158]
test eax, eax
jns 0x14007e858
mov rcx, qword [rsp + 0x130]
test rcx, rcx
je 0x14007e83c
call qword [sym.imp.api_ms_win_security_base_l1_1_0.dll_FreeSid]
nop dword [rax + rax]
mov eax, dword [rsp + 0x158]
mov dword [rsp + 0x140], eax
lea rdx, [0x140159b90]
lea rcx, [rsp + 0x140]
call sub.msvcrt.dll__CxxThrowException
nop
lea rcx, [rsp + 0x150]
call fcn.140009990
mov rcx, qword [rsp + 0x770]
xor rcx, rsp
call fcn.1400164a0
lea r11, [rsp + 0x780]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret