Function at 0x140031c9c
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 [0x1400481f8]
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.14000865c
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 0x140031df1
mov r10, qword [0x140048138]
lea r12, [0x140048138]
lea esi, [r13 + 1]
cmp r10, r12
je 0x140031ddf
test byte [r10 + 0x1c], sil
je 0x140031ddf
cmp byte [r10 + 0x19], 2
jb 0x140031ddf
mov rcx, qword [r10 + 0x10]
lea r8, [0x14003fdf0]
mov edx, 0xb6
mov dword [rsp + 0x20], eax
mov r9, rdi
call fcn.140008b3c
mov r10, qword [0x140048138]
bts ebx, 0x1c
mov r14d, 2
mov dword [rbp - 0x68], ebx
jmp 0x1400321ae
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 0x140031e79
mov ebx, 0x8007000e
mov dword [rbp - 0x68], ebx
mov r10, qword [0x140048138]
lea r12, [0x140048138]
lea esi, [rax + 1]
cmp r10, r12
je 0x1400321ae
test byte [r10 + 0x1c], sil
je 0x1400321ae
cmp byte [r10 + 0x19], 2
jb 0x1400321ae
mov rcx, qword [r10 + 0x10]
lea r8, [0x14003fdf0]
mov edx, 0xb7
mov dword [rsp + 0x20], ebx
mov r9, rdi
call fcn.140008b3c
mov r10, qword [0x140048138]
jmp 0x1400321ae
mov rax, qword [rbp - 0x78]
lea r12, [0x140048138]
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 0x140031ef1
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 0x140032115
xor r9d, r9d
cmp qword [rsp + 0x60], r9
jne 0x140031efc
and dword [rbp - 0xc], 0xfffffffe
mov ecx, dword [r13]
add qword [rsp + 0x60], rcx
cmp dword [r13], r9d
je 0x140032198
mov ecx, dword [rsp + 0x58]
cmp rcx, 0x10
jb 0x140031f38
cmp dword [r13 + 4], r9d
jbe 0x140031f38
mov edx, dword [r13 + 4]
lea rax, [rdx + 0x28]
cmp rax, rcx
ja 0x140031f38
mov r15d, ecx
lea r14, [rdx + r13]
sub r15, rdx
jmp 0x140031f3b
mov r14, r9
mov r10, qword [0x140048138]
test r14, r14
je 0x140032108
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 0x140031f92
mov edx, dword [r14 + 0x1c]
test edx, edx
je 0x140031f92
lea ecx, [rdx + 0x30]
cmp rcx, r15
ja 0x140031f92
lea rdi, [rdx + r14]
mov rcx, r15
mov eax, dword [rdi + 0x2c]
sub rcx, rdx
add eax, 0x30
cmp rax, rcx
ja 0x140031f92
mov r8, rcx
mov qword [rsp + 0x68], rcx
jmp 0x140031f9a
mov r8, qword [rsp + 0x68]
mov rdi, r9
test rdi, rdi
je 0x1400320d7
cmp dword [rdi], esi
jne 0x140032174
cmp dword [rdi + 0x24], 0x100
jne 0x140031fe8
mov eax, dword [rdi + 8]
shr eax, 4
test sil, al
je 0x140031fe8
cmp dword [rdi + 0x2c], 0x38
jne 0x140031fe8
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 0x14003202c
mov r8, qword [rsp + 0x68]
cmp r8, 0x38
jb 0x14003201b
mov edx, dword [rdi + 4]
test edx, edx
je 0x14003201b
lea ecx, [rdx + 0x30]
cmp rcx, r8
ja 0x14003201b
add rdi, rdx
mov rcx, r8
sub rcx, rdx
mov eax, dword [rdi + 0x2c]
add eax, 0x30
cmp rax, rcx
ja 0x14003201b
mov r8, rcx
mov qword [rsp + 0x68], rcx
jmp 0x14003201e
mov rdi, r9
test rdi, rdi
je 0x1400320d0
jmp 0x140031fa3
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.14001d410
xor r9d, r9d
mov dword [rbp - 0x68], eax
mov ebx, eax
test eax, eax
jns 0x140032097
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 0x140032097
cmp ax, word [rsp + 0x40]
jae 0x140032097
movzx edx, ax
mov ecx, dword [rbp + rdx*4 + 0x10]
cmp ecx, ebx
je 0x140032097
test ecx, ecx
je 0x14003208b
add ax, si
jmp 0x140032070
add r8d, esi
mov dword [rbp + rdx*4 + 0x10], ebx
mov dword [rsp + 0x5c], r8d
mov r10, qword [0x140048138]
cmp r10, r12
je 0x1400320d7
test byte [r10 + 0x1c], sil
je 0x1400320d7
cmp byte [r10 + 0x19], 4
jb 0x1400320d7
mov r9, qword [r14 + 0x10]
lea r8, [0x14003fdf0]
mov rcx, qword [r10 + 0x10]
mov edx, 0xb9
mov dword [rsp + 0x20], edi
call fcn.14000a89c
xor r9d, r9d
mov r10, qword [0x140048138]
cmp r15, 0x28
jb 0x1400320f8
cmp dword [r14 + 4], r9d
jbe 0x1400320f8
mov ecx, dword [r14 + 4]
lea rax, [rcx + 0x28]
cmp rax, r15
ja 0x1400320f8
sub r15, rcx
add r14, rcx
jmp 0x1400320fb
mov r14, r9
test r14, r14
jne 0x140031f4b
mov edi, dword [rsp + 0x48]
test edi, edi
jne 0x14003219f
jmp 0x140031e9d
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
mov dword [rbp - 0x68], ebx
mov r10, qword [0x140048138]
cmp r10, r12
je 0x140032169
test byte [r10 + 0x1c], sil
je 0x140032169
cmp byte [r10 + 0x19], 2
mov rdi, qword [rsp + 0x50]
jb 0x14003216e
mov rcx, qword [r10 + 0x10]
lea r8, [0x14003fdf0]
mov edx, 0xb8
mov dword [rsp + 0x20], ebx
mov r9, rdi
call fcn.140008b3c
mov r10, qword [0x140048138]
jmp 0x14003216e
mov rdi, qword [rsp + 0x50]
movzx r14d, si
jmp 0x1400321a9
mov r10, qword [0x140048138]
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 0x1400321b3
mov r10, qword [0x140048138]
mov rdi, qword [rsp + 0x50]
mov r14d, dword [rsp + 0x4c]
mov r15, qword [rsp + 0x70]
mov eax, 4
cmp r10, r12
je 0x1400321d7
test byte [r10 + 0x1c], sil
je 0x1400321d7
cmp byte [r10 + 0x19], al
jb 0x1400321d7
mov r9, qword [rsp + 0x60]
mov rcx, qword [r10 + 0x10]
mov qword [rsp + 0x20], rdi
call fcn.14002b420
xor edi, edi
test r13, r13
je 0x1400321e7
mov rcx, r13
call qword [sym.imp.msvcrt.dll_free]
test ebx, ebx
js 0x1400321f6
cmp qword [rsp + 0x78], rdi
jbe 0x140032310
mov eax, 5
cmp dword [0x1400480a0], eax
jbe 0x140032310
movabs rdx, 0x200000000000
test qword [0x1400480b0], rdx
je 0x140032310
mov rax, qword [0x1400480b8]
and rax, rdx
cmp rax, qword [0x1400480b8]
jne 0x140032310
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, [0x14004178b]
mov dword [rsp + 0x20], 0xa
call fcn.140001078
mov rcx, qword [rbp - 0x80]
test rcx, rcx
je 0x14003231f
call qword [sym.imp.ntdll.dll_NtClose]
lea rcx, [rbp - 0x70]
call fcn.1400084bc
mov eax, ebx
mov rcx, qword [rbp + 0xd0]
xor rcx, rsp
call fcn.14003b8a0
mov rbx, qword [rsp + 0x230]
add rsp, 0x1e0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret