Function at 0x140031eb4
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 [0x1400471f8]
xor rax, rsp
mov qword [rbp + 0xd0], rax
mov rax, qword gs:[0x58]
mov r15, rcx
mov qword [rsp + 0x70], rcx
mov ecx, 8
mov qword [rbp - 0x78], rdx
mov r8, qword [rax]
lea rax, str.CTieredVolume::PopulatePinnedCacheFromQfl
mov qword [rcx + r8], rax
lea rcx, [rbp - 0x70]
call fcn.140008524
xor esi, esi
mov dword [rsp + 0x28], 0x40
xor eax, eax
mov qword [rbp - 0x80], 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, [rbp - 0x80]
mov qword [rsp + 0x78], rsi
mov r13d, 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 0x140032009
mov r10, qword [0x140047138]
lea r12, [0x140047138]
lea esi, [r13 + 1]
cmp r10, r12
je 0x140031ff7
test byte [r10 + 0x1c], sil
je 0x140031ff7
cmp byte [r10 + 0x19], 2
jb 0x140031ff7
mov rcx, qword [r10 + 0x10]
lea r8, [0x14003fe70]
mov edx, 0xb6
mov dword [rsp + 0x20], eax
mov r9, rdi
call fcn.140008a18
mov r10, qword [0x140047138]
bts ebx, 0x1c
mov r14d, 2
mov dword [rbp - 0x68], ebx
jmp 0x1400323c6
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]
xor r9d, r9d
mov r13, rax
test rax, rax
jne 0x140032091
mov ebx, 0x8007000e
mov dword [rbp - 0x68], ebx
mov r10, qword [0x140047138]
lea r12, [0x140047138]
lea esi, [rax + 1]
cmp r10, r12
je 0x1400323c6
test byte [r10 + 0x1c], sil
je 0x1400323c6
cmp byte [r10 + 0x19], 2
jb 0x1400323c6
mov rcx, qword [r10 + 0x10]
lea r8, [0x14003fe70]
mov edx, 0xb7
mov dword [rsp + 0x20], ebx
mov r9, rdi
call fcn.140008a18
mov r10, qword [0x140047138]
jmp 0x1400323c6
mov rax, qword [rbp - 0x78]
lea r12, [0x140047138]
mov ebx, dword [rbp - 0x68]
mov edi, r9d
mov r15, qword [rbp - 0x78]
mov esi, 1
mov qword [rsp + 0x68], rax
mov dword [rsp + 0x48], r9d
mov rcx, qword [rbp - 0x80]
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], r13
call qword [sym.imp.api_ms_win_core_io_l1_1_0.dll_DeviceIoControl]
xor r9d, r9d
test eax, eax
jne 0x140032109
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 0x14003232d
xor r9d, r9d
cmp qword [rsp + 0x60], r9
jne 0x140032114
and dword [rbp - 0xc], 0xfffffffe
mov ecx, dword [r13]
add qword [rsp + 0x60], rcx
cmp dword [r13], r9d
je 0x1400323b0
mov ecx, dword [rsp + 0x58]
cmp rcx, 0x10
jb 0x140032150
cmp dword [r13 + 4], r9d
jbe 0x140032150
mov edx, dword [r13 + 4]
lea rax, [rdx + 0x28]
cmp rax, rcx
ja 0x140032150
mov r15d, ecx
lea r14, [rdx + r13]
sub r15, rdx
jmp 0x140032153
mov r14, r9
mov r10, qword [0x140047138]
test r14, r14
je 0x140032320
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 0x1400321aa
mov edx, dword [r14 + 0x1c]
test edx, edx
je 0x1400321aa
lea ecx, [rdx + 0x30]
cmp rcx, r15
ja 0x1400321aa
lea rdi, [rdx + r14]
mov rcx, r15
mov eax, dword [rdi + 0x2c]
sub rcx, rdx
add eax, 0x30
cmp rax, rcx
ja 0x1400321aa
mov r8, rcx
mov qword [rsp + 0x68], rcx
jmp 0x1400321b2
mov r8, qword [rsp + 0x68]
mov rdi, r9
test rdi, rdi
je 0x1400322ef
cmp dword [rdi], esi
jne 0x14003238c
cmp dword [rdi + 0x24], 0x100
jne 0x140032200
mov eax, dword [rdi + 8]
shr eax, 4
test sil, al
je 0x140032200
cmp dword [rdi + 0x2c], 0x38
jne 0x140032200
lea rcx, [rdi + 0x30]
mov r8d, 0x1c
lea rdx, str.:_DSC:_LOGGED_UTILITY_STREAM
call qword [sym.imp.msvcrt.dll_wcsncmp]
xor r9d, r9d
test eax, eax
je 0x140032244
mov r8, qword [rsp + 0x68]
cmp r8, 0x38
jb 0x140032233
mov edx, dword [rdi + 4]
test edx, edx
je 0x140032233
lea ecx, [rdx + 0x30]
cmp rcx, r8
ja 0x140032233
add rdi, rdx
mov rcx, r8
sub rcx, rdx
mov eax, dword [rdi + 0x2c]
add eax, 0x30
cmp rax, rcx
ja 0x140032233
mov r8, rcx
mov qword [rsp + 0x68], rcx
jmp 0x140032236
mov rdi, r9
test rdi, rdi
je 0x1400322e8
jmp 0x1400321bb
mov eax, dword [rdi + 0x20]
lea rdx, [rbp - 0x20]
mov rcx, qword [rbp - 0x78]
mov edi, dword [rax + rdi + 8]
mov r8d, edi
call fcn.14001d774
xor r9d, r9d
mov dword [rbp - 0x68], eax
mov ebx, eax
test eax, eax
jns 0x1400322af
add qword [rsp + 0x78], 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 0x1400322af
cmp ax, word [rsp + 0x40]
jae 0x1400322af
movzx edx, ax
mov ecx, dword [rbp + rdx*4 + 0x10]
cmp ecx, ebx
je 0x1400322af
test ecx, ecx
je 0x1400322a3
add ax, si
jmp 0x140032288
add r8d, esi
mov dword [rbp + rdx*4 + 0x10], ebx
mov dword [rsp + 0x5c], r8d
mov r10, qword [0x140047138]
cmp r10, r12
je 0x1400322ef
test byte [r10 + 0x1c], sil
je 0x1400322ef
cmp byte [r10 + 0x19], 4
jb 0x1400322ef
mov r9, qword [r14 + 0x10]
lea r8, [0x14003fe70]
mov rcx, qword [r10 + 0x10]
mov edx, 0xb9
mov dword [rsp + 0x20], edi
call fcn.14000a6d4
xor r9d, r9d
mov r10, qword [0x140047138]
cmp r15, 0x28
jb 0x140032310
cmp dword [r14 + 4], r9d
jbe 0x140032310
mov ecx, dword [r14 + 4]
lea rax, [rcx + 0x28]
cmp rax, r15
ja 0x140032310
sub r15, rcx
add r14, rcx
jmp 0x140032313
mov r14, r9
test r14, r14
jne 0x140032163
mov edi, dword [rsp + 0x48]
test edi, edi
jne 0x1400323b7
jmp 0x1400320b5
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
mov dword [rbp - 0x68], ebx
mov r10, qword [0x140047138]
cmp r10, r12
je 0x140032381
test byte [r10 + 0x1c], sil
je 0x140032381
cmp byte [r10 + 0x19], 2
mov rdi, qword [rsp + 0x50]
jb 0x140032386
mov rcx, qword [r10 + 0x10]
lea r8, [0x14003fe70]
mov edx, 0xb8
mov dword [rsp + 0x20], ebx
mov r9, rdi
call fcn.140008a18
mov r10, qword [0x140047138]
jmp 0x140032386
mov rdi, qword [rsp + 0x50]
movzx r14d, si
jmp 0x1400323c1
mov r10, qword [0x140047138]
mov ebx, 0x80070057
mov rdi, qword [rsp + 0x50]
mov eax, 4
mov r15, qword [rsp + 0x70]
movzx r14d, ax
mov dword [rbp - 0x68], ebx
jmp 0x1400323cb
mov r10, qword [0x140047138]
mov rdi, qword [rsp + 0x50]
mov r14d, dword [rsp + 0x4c]
mov r15, qword [rsp + 0x70]
mov eax, 4
cmp r10, r12
je 0x1400323ef
test byte [r10 + 0x1c], sil
je 0x1400323ef
cmp byte [r10 + 0x19], al
jb 0x1400323ef
mov r9, qword [rsp + 0x60]
mov rcx, qword [r10 + 0x10]
mov qword [rsp + 0x20], rdi
call fcn.14002b77c
xor edi, edi
test r13, r13
je 0x1400323ff
mov rcx, r13
call qword [sym.imp.msvcrt.dll_free]
test ebx, ebx
js 0x14003240e
cmp qword [rsp + 0x78], rdi
jbe 0x140032528
mov eax, 5
cmp dword [section..data], eax
jbe 0x140032528
movabs rdx, 0x200000000000
test qword [0x140047010], rdx
je 0x140032528
mov rax, qword [0x140047018]
and rax, rdx
cmp rax, qword [0x140047018]
jne 0x140032528
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 + 0x78]
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, [0x140041601]
mov dword [rsp + 0x20], 0xa
call fcn.140001078
mov rcx, qword [rbp - 0x80]
test rcx, rcx
je 0x140032537
call qword [sym.imp.ntdll.dll_NtClose]
lea rcx, [rbp - 0x70]
call fcn.140008380
mov eax, ebx
mov rcx, qword [rbp + 0xd0]
xor rcx, rsp
call fcn.14003b910
mov rbx, qword [rsp + 0x230]
add rsp, 0x1e0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret