Function at 0x140075584
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 [0x1401543b0]
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.140003840
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_2_0.dll_InitializeAcl]
test eax, eax
jne 0x140075713
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_1.dll_GetLastError]
mov r12d, 0x80070000
test eax, eax
jle 0x140075694
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, [0x1400f8208]
lea rdx, [rsp + 0x88]
lea rcx, [rsp + 0x150]
call fcn.1400139c0
jmp 0x140075719
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_2_0.dll_AllocateAndInitializeSid]
test eax, eax
jne 0x1400757f2
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_1.dll_GetLastError]
test eax, eax
jle 0x140075774
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, [0x140109570]
lea rdx, [rsp + 0x88]
lea rcx, [rsp + 0x150]
call fcn.1400139c0
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_2_0.dll_AddAccessAllowedAce]
test eax, eax
jne 0x1400758a8
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_1.dll_GetLastError]
test eax, eax
jle 0x14007582b
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, [0x1400f8228]
lea rdx, [rsp + 0x88]
lea rcx, [rsp + 0x150]
call fcn.1400139c0
mov rcx, qword [rsp + 0x130]
call qword [sym.imp.api_ms_win_security_base_l1_2_0.dll_FreeSid]
mov qword [rsp + 0x130], r15
mov edx, esi
lea rcx, [rsp + 0x208]
call qword [sym.imp.api_ms_win_security_base_l1_2_0.dll_InitializeSecurityDescriptor]
test eax, eax
jne 0x140075963
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_1.dll_GetLastError]
test eax, eax
jle 0x1400758e6
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, [0x1400f8250]
lea rdx, [rsp + 0x88]
lea rcx, [rsp + 0x150]
call fcn.1400139c0
xor r9d, r9d
lea r8, [rsp + 0x250]
mov edx, esi
lea rcx, [rsp + 0x208]
call qword [sym.imp.api_ms_win_security_base_l1_2_0.dll_SetSecurityDescriptorDacl]
test eax, eax
jne 0x140075a13
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_1.dll_GetLastError]
test eax, eax
jle 0x140075996
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, [0x1400f8290]
lea rdx, [rsp + 0x88]
lea rcx, [rsp + 0x150]
call fcn.1400139c0
xor eax, eax
mov qword [rsp + 0x1c0], rax
mov qword [rsp + 0x1d0], rax
mov dword [rsp + 0x1c0], 0x18
lea rax, [rsp + 0x208]
mov qword [rsp + 0x1c8], rax
mov dword [rsp + 0x1d0], esi
lea rcx, [rsp + 0x560]
call fcn.1400763e4
lea r9, [rsp + 0x560]
lea r8, str._sSystem_Volume_Information
mov edx, 0x144
lea rcx, [rsp + 0x2d0]
call fcn.140006550
mov ebx, eax
mov dword [rsp + 0x158], eax
test eax, eax
jns 0x140075b06
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.1400b8b90
lea rdx, [rsp + 0x2d0]
call fcn.1400763c4
test al, al
jne 0x140075c7e
lea rdx, [rsp + 0x1c0]
lea rcx, [rsp + 0x2d0]
call qword [sym.imp.api_ms_win_core_file_l1_2_1.dll_CreateDirectoryW]
test eax, eax
jne 0x140075bcf
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_1.dll_GetLastError]
test eax, eax
jle 0x140075b49
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.1400139c0
jmp 0x140075bd6
lea rbx, str.CVssHardwareProviderWrapper::CreateDataStore
mov edx, 0x2006
lea rcx, [rsp + 0x2d0]
call qword [sym.imp.api_ms_win_core_file_l1_2_1.dll_SetFileAttributesW]
test eax, eax
jne 0x140075c7e
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_1.dll_GetLastError]
test eax, eax
jle 0x140075c01
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.1400139c0
lea rdx, str.7cc467ef_6865_4831_853f_2a4817fd1bcaALT
lea rax, str.7cc467ef_6865_4831_853f_2a4817fd1bcaDB
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.140006550
mov ebx, eax
mov dword [rsp + 0x158], eax
mov edi, 1
test eax, eax
jns 0x140075dde
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.1400b8b90
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_2_1.dll_CreateFileW]
mov rbx, rax
lea rax, [0x1400e53a0]
mov qword [rsp + 0x1e0], rax
mov qword [rsp + 0x1e8], rbx
cmp rbx, 0xffffffffffffffff
jne 0x140075ed1
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_1.dll_GetLastError]
test eax, eax
jle 0x140075e44
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.1400139c0
jmp 0x140075ee6
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_2_1.dll_SetFileAttributesW]
test eax, eax
jne 0x140075f87
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_1.dll_GetLastError]
test eax, eax
jle 0x140075f11
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.1400139c0
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_2_1.dll_WriteFile]
test eax, eax
je 0x140075fd4
cmp dword [rsp + 0x138], 0xc
je 0x14007605b
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_1.dll_GetLastError]
test eax, eax
jle 0x140075fe4
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, [0x140109640]
lea rdx, [rsp + 0x88]
lea rcx, [rsp + 0x150]
call fcn.1400139c0
nop
lea rcx, [rsp + 0x1e0]
call fcn.14001ba74
nop
jmp 0x140076071
mov eax, dword [rsp + 0x158]
test eax, eax
jns 0x1400760b2
mov rcx, qword [rsp + 0x130]
test rcx, rcx
je 0x140076096
call qword [sym.imp.api_ms_win_security_base_l1_2_0.dll_FreeSid]
mov eax, dword [rsp + 0x158]
mov dword [rsp + 0x140], eax
lea rdx, [0x140150690]
lea rcx, [rsp + 0x140]
call sub.msvcrt.dll__CxxThrowException
nop
lea rcx, [rsp + 0x150]
call fcn.140003960
mov rcx, qword [rsp + 0x770]
xor rcx, rsp
call fcn.14001ff30
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