Function at 0x14003311c
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0xe0]
sub rsp, 0x1e0
mov rax, qword [0x1400491f8]
xor rax, rsp
mov qword [rbp + 0xd0], rax
mov rax, qword gs:[0x58]
mov r15, rcx
mov qword [rsp + 0x68], rcx
mov ecx, 8
mov qword [rbp - 0x70], rdx
mov r8, qword [rax]
lea rax, str.CTieredVolume::PopulatePinnedCacheFromQfl
mov qword [rcx + r8], rax
lea rcx, [rbp - 0x80]
call fcn.140008b4c
xor esi, esi
mov dword [rsp + 0x28], 0x40
xor eax, eax
mov qword [rsp + 0x78], rsi
mov qword [rbp + 0x10], rax
lea rdi, [r15 + 0x2a0]
mov qword [rbp + 0x18], rax
lea r9, [rbp - 0x30]
mov dword [rbp + 0x20], eax
lea r8, [rbp - 0x60]
lea eax, [rsi + 5]
mov dword [rsp + 0x58], esi
movzx r14d, si
mov word [rsp + 0x40], ax
xor eax, eax
mov dword [rsp + 0x4c], r14d
xorps xmm0, xmm0
mov qword [rbp - 0x20], rax
lea r14d, [rsi + 3]
mov qword [rbp - 0x18], rax
mov edx, 0x80000000
mov qword [rsp + 0x60], rsi
lea rcx, [rsp + 0x78]
mov qword [rsp + 0x70], rsi
mov r12d, esi
mov dword [rsp + 0x5c], esi
mov dword [rbp - 0x60], 0x30
mov qword [rbp - 0x58], rsi
mov qword [rsp + 0x50], rdi
mov qword [rbp - 0x50], rdi
mov dword [rbp - 0x48], 0xc0
movdqu xmmword [rbp - 0x40], xmm0
mov dword [rsp + 0x20], r14d
call qword [sym.imp.ntdll.dll_NtOpenFile]
mov ebx, eax
test eax, eax
jns 0x140033274
mov r11, qword [0x140049138]
lea r13, [0x140049138]
lea esi, [r12 + 1]
cmp r11, r13
je 0x140033262
test byte [r11 + 0x1c], sil
je 0x140033262
cmp byte [r11 + 0x19], 2
jb 0x140033262
mov rcx, qword [r11 + 0x10]
lea r8, [0x140041e60]
mov edx, 0xb6
mov dword [rsp + 0x20], eax
mov r9, rdi
call fcn.14000903c
mov r11, qword [0x140049138]
bts ebx, 0x1c
mov r14d, 2
mov dword [rbp - 0x78], ebx
jmp 0x1400335dd
mov ecx, 0xa00000
mov qword [rbp - 0xc], 0x19a5
mov dword [rbp - 0x10], esi
mov qword [rbp], rsi
mov qword [rbp + 8], rsi
call qword [sym.imp.msvcrt.dll_malloc]
mov r12, rax
test rax, rax
jne 0x1400332f9
mov ebx, 0x8007000e
mov dword [rbp - 0x78], ebx
mov r11, qword [0x140049138]
lea r13, [0x140049138]
lea esi, [rax + 1]
cmp r11, r13
je 0x1400335dd
test byte [r11 + 0x1c], sil
je 0x1400335dd
cmp byte [r11 + 0x19], 2
jb 0x1400335dd
mov rcx, qword [r11 + 0x10]
lea r8, [0x140041e60]
mov edx, 0xb7
mov dword [rsp + 0x20], ebx
mov r9, rdi
call fcn.14000903c
mov r11, qword [0x140049138]
jmp 0x1400335dd
mov ebx, dword [rbp - 0x78]
lea r13, [0x140049138]
mov r15, qword [rbp - 0x70]
mov edi, esi
mov dword [rsp + 0x48], esi
xor r9d, r9d
mov esi, 1
mov rcx, qword [rsp + 0x78]
lea rax, [rsp + 0x58]
mov qword [rsp + 0x38], r9
lea r8, [rbp - 0x10]
mov qword [rsp + 0x30], rax
mov r9d, 0x20
mov dword [rsp + 0x28], 0xa00000
mov edx, 0x90277
mov qword [rsp + 0x20], r12
call qword [sym.imp.api_ms_win_core_io_l1_1_0.dll_DeviceIoControl]
xor r9d, r9d
test eax, eax
jne 0x14003336a
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
mov dword [rsp + 0x48], eax
mov edi, eax
cmp eax, 0x26
jne 0x140033544
xor r9d, r9d
cmp qword [rsp + 0x60], r9
jne 0x140033375
and dword [rbp - 0xc], 0xfffffffe
mov ecx, dword [r12]
add qword [rsp + 0x60], rcx
cmp dword [r12], r9d
je 0x1400335c7
mov ecx, dword [rsp + 0x58]
cmp rcx, 0x10
jb 0x1400333b3
cmp dword [r12 + 4], r9d
jbe 0x1400333b3
mov edx, dword [r12 + 4]
lea rax, [rdx + 0x28]
cmp rax, rcx
ja 0x1400333b3
mov r15d, ecx
lea r14, [rdx + r12]
sub r15, rdx
jmp 0x1400333b6
mov r14, r9
mov r11, qword [0x140049138]
test r14, r14
je 0x140033537
xor eax, eax
mov qword [rbp - 0x20], rax
mov qword [rbp - 0x18], rax
mov rax, qword [r14 + 0x10]
mov qword [rbp - 0x20], rax
cmp r15, 0x28
jb 0x1400333f5
lea r8, [rbp - 0x68]
mov rdx, r15
mov rcx, r14
call fcn.14003a13c
mov rdi, rax
xor r9d, r9d
jmp 0x1400333f8
mov rdi, r9
test rdi, rdi
je 0x140033506
cmp dword [rdi], esi
jne 0x1400335a3
cmp dword [rdi + 0x24], 0x100
jne 0x14003343e
mov eax, dword [rdi + 8]
shr eax, 4
test sil, al
je 0x14003343e
cmp dword [rdi + 0x2c], 0x38
jne 0x14003343e
lea rcx, [rdi + 0x30]
mov r8d, 0x1c
lea rdx, str.:_DSC:_LOGGED_UTILITY_STREAM
call qword [sym.imp.msvcrt.dll_wcsncmp]
test eax, eax
je 0x14003345b
lea rdx, [rbp - 0x68]
mov rcx, rdi
call fcn.14003a17c
xor r9d, r9d
mov rdi, rax
test rax, rax
je 0x1400334ff
jmp 0x140033401
mov eax, dword [rdi + 0x20]
lea rdx, [rbp - 0x20]
mov rcx, qword [rbp - 0x70]
mov edi, dword [rax + rdi + 8]
mov r8d, edi
call fcn.14001e458
xor r9d, r9d
mov dword [rbp - 0x78], eax
mov ebx, eax
test eax, eax
jns 0x1400334c6
add qword [rsp + 0x70], rsi
lea eax, [r9 + 5]
movzx ecx, word [rsp + 0x40]
mov r8d, dword [rsp + 0x5c]
mov word [rsp + 0x4c], ax
movzx eax, r9w
cmp r8d, ecx
jae 0x1400334c6
cmp ax, word [rsp + 0x40]
jae 0x1400334c6
movzx edx, ax
mov ecx, dword [rbp + rdx*4 + 0x10]
cmp ecx, ebx
je 0x1400334c6
test ecx, ecx
je 0x1400334ba
add ax, si
jmp 0x14003349f
add r8d, esi
mov dword [rbp + rdx*4 + 0x10], ebx
mov dword [rsp + 0x5c], r8d
mov r11, qword [0x140049138]
cmp r11, r13
je 0x140033506
test byte [r11 + 0x1c], sil
je 0x140033506
cmp byte [r11 + 0x19], 4
jb 0x140033506
mov r9, qword [r14 + 0x10]
lea r8, [0x140041e60]
mov rcx, qword [r11 + 0x10]
mov edx, 0xb9
mov dword [rsp + 0x20], edi
call fcn.14000af24
xor r9d, r9d
mov r11, qword [0x140049138]
cmp r15, 0x28
jb 0x140033527
cmp dword [r14 + 4], r9d
jbe 0x140033527
mov ecx, dword [r14 + 4]
lea rax, [rcx + 0x28]
cmp rax, r15
ja 0x140033527
sub r15, rcx
add r14, rcx
jmp 0x14003352a
mov r14, r9
test r14, r14
jne 0x1400333c6
mov edi, dword [rsp + 0x48]
test edi, edi
jne 0x1400335ce
jmp 0x140033315
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
mov dword [rbp - 0x78], ebx
mov r11, qword [0x140049138]
cmp r11, r13
je 0x140033598
test byte [r11 + 0x1c], sil
je 0x140033598
cmp byte [r11 + 0x19], 2
mov rdi, qword [rsp + 0x50]
jb 0x14003359d
mov rcx, qword [r11 + 0x10]
lea r8, [0x140041e60]
mov edx, 0xb8
mov dword [rsp + 0x20], ebx
mov r9, rdi
call fcn.14000903c
mov r11, qword [0x140049138]
jmp 0x14003359d
mov rdi, qword [rsp + 0x50]
movzx r14d, si
jmp 0x1400335d8
mov r11, qword [0x140049138]
mov ebx, 0x80070057
mov rdi, qword [rsp + 0x50]
mov eax, 4
mov r15, qword [rsp + 0x68]
movzx r14d, ax
mov dword [rbp - 0x78], ebx
jmp 0x1400335e2
mov r11, qword [0x140049138]
mov rdi, qword [rsp + 0x50]
mov r14d, dword [rsp + 0x4c]
mov r15, qword [rsp + 0x68]
mov eax, 4
cmp r11, r13
je 0x14003360b
test byte [r11 + 0x1c], sil
je 0x14003360b
cmp byte [r11 + 0x19], al
jb 0x14003360b
mov r9, qword [rsp + 0x60]
mov edx, 0xba
mov rcx, qword [r11 + 0x10]
mov qword [rsp + 0x20], rdi
call fcn.14002c214
xor edi, edi
test r12, r12
je 0x14003361b
mov rcx, r12
call qword [sym.imp.msvcrt.dll_free]
test ebx, ebx
js 0x14003362a
cmp qword [rsp + 0x70], rdi
jbe 0x140033744
mov eax, 5
cmp dword [0x1400490a0], eax
jbe 0x140033744
movabs rdx, 0x200000000000
test qword [0x1400490b0], rdx
je 0x140033744
mov rax, qword [0x1400490b8]
and rax, rdx
cmp rax, qword [0x1400490b8]
jne 0x140033744
lea rax, [rbp + 0x68]
mov qword [rbp + 0x58], 2
mov qword [rbp + 0x50], rax
mov rax, qword [r15 + 0x2c0]
mov qword [rbp + 0x60], rax
movzx eax, word [r15 + 0x2b8]
mov dword [rbp + 0x68], eax
lea rax, [rsp + 0x44]
mov qword [rbp + 0x70], rax
lea rax, [rsp + 0x60]
mov qword [rbp + 0x80], rax
lea rax, [rsp + 0x70]
mov qword [rbp + 0x90], rax
lea rax, [rsp + 0x48]
mov qword [rbp + 0xa0], rax
lea rax, [rsp + 0x40]
mov qword [rbp + 0xb0], rax
lea rax, [rbp + 0x10]
mov qword [rbp + 0xc0], rax
movzx eax, word [rsp + 0x40]
shl eax, 2
mov dword [rbp + 0xc8], eax
mov dword [rbp + 0x6c], edi
mov byte [rsp + 0x44], r14b
mov qword [rbp + 0x78], 1
mov qword [rbp + 0x88], 8
mov qword [rbp + 0x98], 8
mov dword [rsp + 0x48], ebx
mov qword [rbp + 0xa8], 4
mov qword [rbp + 0xb8], 2
mov dword [rbp + 0xcc], edi
lea rax, [rbp + 0x30]
mov qword [rsp + 0x28], rax
lea rdx, [0x1400437cb]
mov dword [rsp + 0x20], 0xa
call fcn.1400010d0
mov rcx, qword [rsp + 0x78]
test rcx, rcx
je 0x140033754
call qword [sym.imp.ntdll.dll_NtClose]
lea rcx, [rbp - 0x80]
call fcn.1400089a4
mov eax, ebx
mov rcx, qword [rbp + 0xd0]
xor rcx, rsp
call fcn.14003d760
mov rbx, qword [rsp + 0x230]
add rsp, 0x1e0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret