Function at 0x140006e34
Capabilities:
Create directory
Set current directory

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x1a8]
sub rsp, 0x280
mov rax, qword [0x14004d298]
xor rax, rsp
mov qword [rbp + 0x170], rax
mov rax, qword gs:[0x58]
mov rbx, rdx
mov rsi, qword [0x14004d968]
mov edx, 8
mov rcx, qword [rax]
lea rax, str.CTieringEngineLib::Initialize
mov qword [rdx + rcx], rax
lea rcx, [rsp + 0x50]
call fcn.140005448
mov rcx, qword [0x14004d128]
lea r12, [0x14004d128]
lea r13, [0x1400460f0]
mov r15d, 1
cmp rcx, r12
je 0x140006eda
test byte [rcx + 0x1c], r15b
je 0x140006eda
cmp byte [rcx + 0x19], 4
jb 0x140006eda
mov rcx, qword [rcx + 0x10]
lea edx, [r15 + 9]
mov r9, rsi
mov r8, r13
call fcn.14000a998
movdqa xmm0, xmmword [0x140047800]
lea rax, str.Storage_Tiers_Optimization
movdqa xmm1, xmmword [str.________________]
lea rcx, [0x140009d60]
mov r8, qword [0x14004dcc8]
mov rdx, rsi
mov qword [rsi + 0xb0], rax
lea rax, str.MicrosoftWindowsStorage_Tiers_Management
mov qword [rsi + 0xb8], rax
mov qword [rsi + 0xa8], rbx
movups xmmword [0x14004d9c0], xmm0
movups xmmword [0x14004d9b0], xmm1
call qword [sym.imp.api_ms_win_core_threadpool_l1_2_0.dll_CreateThreadpoolWait]
nop dword [rax + rax]
xor r14d, r14d
mov rbx, rax
test rax, rax
jne 0x140006fa9
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
mov ebx, eax
test eax, eax
jle 0x140006f5e
movzx ebx, ax
or ebx, 0x80070000
test ebx, ebx
mov eax, 0x80004005
cmovns ebx, eax
mov dword [rsp + 0x58], ebx
mov rcx, qword [0x14004d128]
cmp rcx, r12
je 0x14000763e
test byte [rcx + 0x1c], r15b
je 0x14000763e
cmp byte [rcx + 0x19], 2
jb 0x14000763e
mov rcx, qword [rcx + 0x10]
mov edx, 0xb
mov r9d, ebx
mov r8, r13
call fcn.140004f30
jmp 0x14000763e
xor r9d, r9d
mov r8d, r15d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_core_synch_l1_2_1.dll_CreateSemaphoreW]
nop dword [rax + rax]
mov rdi, rax
test rax, rax
jne 0x140007032
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
mov edi, eax
test eax, eax
jle 0x140006fe2
movzx edi, ax
or edi, 0x80070000
test edi, edi
mov eax, 0x80004005
cmovns edi, eax
mov dword [rsp + 0x58], edi
mov rcx, qword [0x14004d128]
cmp rcx, r12
je 0x14000701c
test byte [rcx + 0x1c], r15b
je 0x14000701c
cmp byte [rcx + 0x19], 2
jb 0x14000701c
mov rcx, qword [rcx + 0x10]
mov edx, 0xc
mov r9d, edi
mov r8, r13
call fcn.140004f30
mov rcx, rbx
call qword [sym.imp.api_ms_win_core_threadpool_l1_2_0.dll_CloseThreadpoolWait]
nop dword [rax + rax]
mov ebx, edi
jmp 0x14000763e
xor r9d, r9d
xor r8d, r8d
mov edx, r15d
xor ecx, ecx
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_CreateEventW]
nop dword [rax + rax]
mov qword [rsi + 0xd8], rax
test rax, rax
jne 0x1400070cf
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
mov esi, eax
test eax, eax
jle 0x140007070
movzx esi, ax
or esi, 0x80070000
test esi, esi
mov eax, 0x80004005
cmovns esi, eax
mov dword [rsp + 0x58], esi
mov rcx, qword [0x14004d128]
cmp rcx, r12
je 0x1400070aa
test byte [rcx + 0x1c], r15b
je 0x1400070aa
cmp byte [rcx + 0x19], 2
jb 0x1400070aa
mov rcx, qword [rcx + 0x10]
mov edx, 0xd
mov r9d, esi
mov r8, r13
call fcn.140004f30
mov rcx, rdi
call qword [sym.imp.api_ms_win_core_handle_l1_1_0.dll_CloseHandle]
nop dword [rax + rax]
mov rcx, rbx
call qword [sym.imp.api_ms_win_core_threadpool_l1_2_0.dll_CloseThreadpoolWait]
nop dword [rax + rax]
mov ebx, esi
jmp 0x14000763e
xor edx, edx
lea rcx, [rsp + 0x60]
mov r8d, 0x208
call sub.msvcrt.dll_memset
mov edx, 0x104
lea rcx, [rsp + 0x60]
call qword [sym.imp.api_ms_win_core_sysinfo_l1_1_0.dll_GetSystemWindowsDirectoryW]
nop dword [rax + rax]
mov r13d, 3
test eax, eax
jne 0x140007154
mov rax, qword [0x14004d128]
cmp rax, r12
je 0x140007321
test byte [rax + 0x1c], r15b
je 0x140007321
cmp byte [rax + 0x19], r13b
jb 0x140007321
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
mov rcx, qword [0x14004d128]
lea edx, [r13 + 0xb]
mov rcx, qword [rcx + 0x10]
lea r8, [0x1400460f0]
mov r9d, eax
call fcn.140004e9c
jmp 0x140007321
mov rcx, qword [0x14004d128]
cmp rcx, r12
je 0x140007186
test byte [rcx + 0x1c], r15b
je 0x140007186
cmp byte [rcx + 0x19], 4
jb 0x140007186
mov rcx, qword [rcx + 0x10]
lea r9, [rsp + 0x60]
mov edx, 0xf
lea r8, [0x1400460f0]
call fcn.14000a3f0
cmp word [rsp + 0x60], r14w
je 0x140007321
cmp word [rsp + 0x62], 0x3a
jne 0x140007321
cmp word [rsp + 0x64], 0x5c
jne 0x140007321
movaps xmm0, xmmword [str.System_Volume_InformationHeat_]
lea rcx, [rsp + 0x60]
movaps xmm1, xmmword [0x140045850]
mov eax, dword [0x140045878]
movups xmmword [rsp + 0x66], xmm0
mov dword [rbp - 0x62], eax
movaps xmm0, xmmword [0x140045860]
movzx eax, word [0x14004587c]
movups xmmword [rsp + 0x76], xmm1
mov word [rbp - 0x5e], ax
movsd xmm1, qword [0x140045870]
movups xmmword [rbp - 0x7a], xmm0
movsd qword [rbp - 0x6a], xmm1
call qword [sym.imp.api_ms_win_core_processenvironment_l1_1_0.dll_SetCurrentDirectoryW]
nop dword [rax + rax]
test eax, eax
jne 0x1400072ef
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
lea ecx, [rax - 2]
cmp ecx, r15d
jbe 0x140007249
mov rcx, qword [0x14004d128]
cmp rcx, r12
je 0x140007321
test byte [rcx + 0x1c], r15b
je 0x140007321
cmp byte [rcx + 0x19], r13b
jb 0x140007321
mov edx, 0x12
jmp 0x14000713c
xor edx, edx
lea rcx, [rsp + 0x60]
call qword [sym.imp.api_ms_win_core_file_l1_1_0.dll_CreateDirectoryW]
nop dword [rax + rax]
test eax, eax
je 0x1400072a0
lea rcx, [rsp + 0x60]
call qword [sym.imp.api_ms_win_core_processenvironment_l1_1_0.dll_SetCurrentDirectoryW]
nop dword [rax + rax]
test eax, eax
je 0x1400072a0
mov rcx, qword [0x14004d128]
cmp rcx, r12
je 0x140007321
test byte [rcx + 0x1c], r15b
je 0x140007321
cmp byte [rcx + 0x19], 5
jb 0x140007321
mov edx, 0x11
jmp 0x14000730c
mov rax, qword [0x14004d128]
cmp rax, r12
je 0x140007321
test byte [rax + 0x1c], r15b
je 0x140007321
cmp byte [rax + 0x19], r13b
jb 0x140007321
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
lea rcx, [rsp + 0x60]
mov edx, 0x10
mov qword [rsp + 0x20], rcx
lea r8, [0x1400460f0]
mov rcx, qword [0x14004d128]
mov r9d, eax
mov rcx, qword [rcx + 0x10]
call fcn.14000a290
jmp 0x140007321
mov rcx, qword [0x14004d128]
cmp rcx, r12
je 0x140007321
test byte [rcx + 0x1c], r15b
je 0x140007321
cmp byte [rcx + 0x19], 5
jb 0x140007321
mov edx, 0x13
mov rcx, qword [rcx + 0x10]
lea r9, [rsp + 0x60]
lea r8, [0x1400460f0]
call fcn.14000a3f0
mov qword [rsp + 0x40], r14
lea rax, [rsi + 0x80]
mov qword [rsp + 0x38], rax
lea rdx, str.SystemCurrentControlSetServicesTieringEngineServiceParameters
mov qword [rsp + 0x30], r14
xor r9d, r9d
mov dword [rsp + 0x28], 0x20019
xor r8d, r8d
mov rcx, 0xffffffff80000002
mov dword [rsp + 0x20], r14d
mov qword [rsi + 0xc8], rdi
mov qword [rsi + 0x198], rbx
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCreateKeyExW]
nop dword [rax + rax]
test eax, eax
je 0x1400073a4
mov rcx, qword [0x14004d128]
cmp rcx, r12
je 0x140007636
test byte [rcx + 0x1c], r15b
je 0x140007636
cmp byte [rcx + 0x19], r13b
jb 0x140007636
mov edx, 0x14
jmp 0x1400075ef
mov rcx, rsi
call fcn.140008aac
test eax, eax
je 0x1400073e0
mov rcx, qword [0x14004d128]
cmp rcx, r12
je 0x1400073e0
test byte [rcx + 0x1c], r15b
je 0x1400073e0
cmp byte [rcx + 0x19], r13b
jb 0x1400073e0
mov rcx, qword [rcx + 0x10]
lea r8, [0x1400460f0]
mov edx, 0x15
mov r9d, eax
call fcn.140004e9c
xor r9d, r9d
xor r8d, r8d
mov edx, r15d
xor ecx, ecx
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_CreateEventW]
nop dword [rax + rax]
mov qword [rsi + 0x78], rax
test rax, rax
jne 0x140007441
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
mov ecx, eax
call fcn.140002f1c
mov rcx, qword [0x14004d128]
cmp rcx, r12
je 0x140007636
test byte [rcx + 0x1c], r15b
je 0x140007636
cmp byte [rcx + 0x19], r13b
jb 0x140007636
mov edx, 0x16
jmp 0x1400075ef
lea rbx, [rsi + 0x10]
mov byte [rsi + 0x58], r15b
xor ecx, ecx
mov dword [rbx], r13d
mov qword [rbx + 8], r14
mov qword [rbx + 0x10], r14
mov qword [rbx + 0x18], r14
mov qword [rbx + 0x20], r14
mov qword [rbx + 0x28], r14
mov qword [rbx + 0x30], r14
mov dword [rbx + 0x38], r14d
mov dword [rbx + 0x3c], r15d
mov dword [rbx + 0x40], 0x48
call qword [sym.imp.api_ms_win_core_threadpool_l1_2_0.dll_CreateThreadpool]
nop dword [rax + rax]
mov qword [rsi + 0x60], rax
test rax, rax
jne 0x1400074cb
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
mov ecx, eax
call fcn.140002f1c
mov rcx, qword [0x14004d128]
cmp rcx, r12
je 0x140007636
test byte [rcx + 0x1c], r15b
je 0x140007636
cmp byte [rcx + 0x19], r13b
jb 0x140007636
mov edx, 0x17
jmp 0x1400075ef
mov edx, r15d
mov rcx, rax
call qword [sym.imp.api_ms_win_core_threadpool_l1_2_0.dll_SetThreadpoolThreadMaximum]
nop dword [rax + rax]
mov rcx, qword [rsi + 0x60]
mov edx, r15d
call qword [sym.imp.api_ms_win_core_threadpool_l1_2_0.dll_SetThreadpoolThreadMinimum]
nop dword [rax + rax]
test eax, eax
jne 0x140007535
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
mov ecx, eax
call fcn.140002f1c
mov rcx, qword [0x14004d128]
cmp rcx, r12
je 0x140007636
test byte [rcx + 0x1c], r15b
je 0x140007636
cmp byte [rcx + 0x19], r13b
jb 0x140007636
mov edx, 0x18
jmp 0x1400075ef
mov rax, qword [rsi + 0x60]
lea rcx, [0x1400087a0]
mov r8, rbx
mov qword [rsi + 0x18], rax
mov rdx, rsi
call qword [sym.imp.api_ms_win_core_threadpool_l1_2_0.dll_CreateThreadpoolWait]
nop dword [rax + rax]
mov qword [rsi + 0x70], rax
test rax, rax
jne 0x14000759d
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
mov ecx, eax
call fcn.140002f1c
mov rcx, qword [0x14004d128]
cmp rcx, r12
je 0x140007636
test byte [rcx + 0x1c], r15b
je 0x140007636
cmp byte [rcx + 0x19], r13b
jb 0x140007636
mov edx, 0x19
jmp 0x1400075ef
mov r8, rbx
lea rcx, [0x140009030]
mov rdx, rsi
call qword [sym.imp.api_ms_win_core_threadpool_l1_2_0.dll_CreateThreadpoolWork]
nop dword [rax + rax]
mov qword [rsi + 0x68], rax
test rax, rax
jne 0x140007604
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
mov ecx, eax
call fcn.140002f1c
mov rcx, qword [0x14004d128]
cmp rcx, r12
je 0x140007636
test byte [rcx + 0x1c], r15b
je 0x140007636
cmp byte [rcx + 0x19], r13b
jb 0x140007636
mov edx, 0x1a
mov rcx, qword [rcx + 0x10]
lea r8, [0x1400460f0]
mov r9d, eax
call fcn.140004e9c
jmp 0x140007636
xor r8d, r8d
lea rcx, [0x140046100]
mov edx, 0x60c2052
call qword [sym.imp.ntdll.dll_WinSqmStartSession]
nop dword [rax + rax]
mov rcx, qword [rsi + 0x68]
mov qword [rsi + 0x1a0], rax
call qword [sym.imp.api_ms_win_core_threadpool_l1_2_0.dll_SubmitThreadpoolWork]
nop dword [rax + rax]
mov ebx, r14d
mov dword [rsp + 0x58], r14d
lea rcx, [rsp + 0x50]
call fcn.1400059b8
mov eax, ebx
mov rcx, qword [rbp + 0x170]
xor rcx, rsp
call fcn.140001e70
lea r11, [rsp + 0x280]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret