Function at 0x140092148
Capabilities:
Get disk information via ioctl

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0xa0
mov rax, qword [0x14017d140]
xor rax, rsp
mov qword [rsp + 0x90], rax
mov r12, rdx
mov r15d, ecx
mov rbx, qword [0x14017d3a8]
lea rdi, [0x14017d3a8]
cmp rbx, rdi
je 0x1400921b2
test byte [rbx + 0x1c], 1
je 0x1400921b2
cmp byte [rbx + 0x19], 4
jb 0x1400921b2
mov rcx, qword [rbx + 0x10]
lea r8, [0x140008c00]
mov edx, DeleteCriticalSection
call fcn.14001dd24
mov rbx, qword [0x14017d3a8]
xor edx, edx
lea rcx, [rsp + 0x50]
lea r8d, [rdx + 0x3c]
call sub.msvcrt.dll_memset
xor r14d, r14d
mov esi, r14d
mov dword [rsp + 0x40], r14d
cmp rbx, rdi
je 0x1400921ed
test byte [rbx + 0x1c], 1
je 0x1400921ed
cmp byte [rbx + 0x19], 4
jb 0x1400921ed
mov rcx, qword [rbx + 0x10]
mov r8, r12
mov edx, r15d
call fcn.14008edf0
lea r8, [0x140008bd8]
lea rcx, [rsp + 0x50]
mov r9d, r15d
mov edx, 0x1e
call fcn.1400284c0
mov ebx, eax
test eax, eax
jns 0x14009224d
mov rcx, qword [0x14017d3a8]
cmp rcx, rdi
je 0x1400926ff
test byte [rcx + 0x1c], 1
je 0x1400926d9
cmp byte [rcx + 0x19], 2
jb 0x1400926d9
mov rcx, qword [rcx + 0x10]
lea r8, [0x140008c00]
mov edx, DeleteCriticalSection
mov r9d, eax
call fcn.14001de24
jmp 0x1400926d2
mov r8d, 3
mov qword [rsp + 0x30], r14
lea rcx, [rsp + 0x50]
xor r9d, r9d
mov edx, 0xc0000000
mov dword [rsp + 0x28], reloc.ADVAPI32.dll_TraceEvent
mov dword [rsp + 0x20], r8d
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov r13, rax
mov qword [rsp + 0x48], rax
cmp rax, 0xffffffffffffffff
jne 0x1400922e0
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
mov rcx, qword [0x14017d3a8]
cmp rcx, rdi
je 0x1400926ff
test byte [rcx + 0x1c], 1
je 0x1400926d9
cmp byte [rcx + 0x19], 2
jb 0x1400926d9
mov rcx, qword [rcx + 0x10]
lea edx, [r13 + 0x6b]
lea r9, [rsp + 0x50]
lea r8, [0x140008c00]
mov dword [rsp + 0x20], ebx
call fcn.14001ecbc
jmp 0x1400926d2
mov ebp, 0x4830
mov edi, reloc.ADVAPI32.dll_TraceEvent
test rsi, rsi
je 0x1400922fb
mov rcx, rsi
call qword [sym.imp.ole32.dll_CoTaskMemFree]
mov rsi, r14
mov eax, ebp
cmp rax, rdi
ja 0x140092689
mov ecx, eax
mov ebx, eax
call qword [sym.imp.ole32.dll_CoTaskMemAlloc]
mov rsi, rax
test rax, rax
je 0x140092682
mov r8d, ebx
xor edx, edx
mov rcx, rax
call sub.msvcrt.dll_memset
mov qword [rsp + 0x38], r14
lea rax, [rsp + 0x40]
mov qword [rsp + 0x30], rax
xor r9d, r9d
xor r8d, r8d
mov edx, 0x70050
mov rcx, r13
mov dword [rsp + 0x28], ebp
mov qword [rsp + 0x20], rsi
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
jne 0x1400923b9
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
je 0x14009236b
cmp eax, 0xea
jne 0x140092376
add ebp, 0x2400
jmp 0x1400922ea
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
mov rcx, qword [0x14017d3a8]
lea rdi, [0x14017d3a8]
cmp rcx, rdi
je 0x1400926bb
test byte [rcx + 0x1c], 1
je 0x1400926bb
cmp byte [rcx + 0x19], 2
jb 0x1400926bb
mov edx, EnterCriticalSection
jmp 0x14009266d
cmp ebp, 0x30
jb 0x1400923c6
lea edi, [rbp - 0x30]
mov ebx, r14d
jmp 0x1400923cb
mov ebx, 0x80070216
test ebx, ebx
jns 0x14009241c
mov rcx, qword [0x14017d3a8]
lea rdi, [0x14017d3a8]
cmp rcx, rdi
je 0x140092412
test byte [rcx + 0x1c], 1
je 0x140092412
cmp byte [rcx + 0x19], 2
jb 0x140092412
mov rcx, qword [rcx + 0x10]
lea r8, [0x140008c00]
mov edx, EnterCriticalSection
mov r9d, ebp
mov dword [rsp + 0x28], ebx
mov dword [rsp + 0x20], 0x30
call fcn.14008ed38
mov ebx, 0x80070216
jmp 0x1400926bb
mov ecx, edi
movabs rax, 0xe38e38e38e38e38f
mul rcx
shr rdx, 7
cmp dword [rsi + 4], edx
jbe 0x140092472
mov rcx, qword [0x14017d3a8]
lea rdi, [0x14017d3a8]
cmp rcx, rdi
je 0x140092468
test byte [rcx + 0x1c], 1
je 0x140092468
cmp byte [rcx + 0x19], 2
jb 0x140092468
mov rcx, qword [rcx + 0x10]
lea r8, [0x140008c00]
mov edx, EnterCriticalSection
call fcn.14001dd24
mov ebx, 0x8000ffff
jmp 0x1400926bb
cmp dword [rsi + 4], r14d
jbe 0x140092602
lea rdi, [rsi + 0x38]
lea r13, [0x14017d3a8]
mov ecx, dword [rdi - 8]
test ecx, ecx
je 0x14009256d
dec ecx
je 0x1400924b3
lea r8, [0x140003304]
lea rcx, [0x140008858]
mov edx, 0x76c
call fcn.1400a8be8
jmp 0x1400925e9
cmp qword [rdi], r12
jne 0x140092503
mov byte [rdi + 0x14], 1
mov rcx, qword [0x14017d3a8]
cmp rcx, r13
je 0x1400924f2
test byte [rcx + 0x1c], 1
je 0x1400924f2
cmp byte [rcx + 0x19], 4
jb 0x1400924f2
mov r9d, dword [rdi + 0x10]
mov rcx, qword [rcx + 0x10]
mov edx, LeaveCriticalSection
mov r8d, r15d
mov qword [rsp + 0x20], 1
call fcn.14008ed8c
movups xmm0, xmmword [0x1400094a8]
movdqu xmmword [rdi + 0x18], xmm0
jmp 0x1400925e9
mov rdx, qword [rdi + 0x18]
lea rcx, [0x1400094a8]
cmp rdx, qword [rcx]
jne 0x140092521
mov rdx, qword [rdi + 0x20]
cmp rdx, qword [rcx + 8]
jne 0x140092521
xor eax, eax
jmp 0x140092526
sbb eax, eax
sbb eax, reloc.ADVAPI32.dll_TraceEvent
test eax, eax
jne 0x1400925e9
mov rcx, qword [0x14017d3a8]
cmp rcx, r13
je 0x1400925e9
test byte [rcx + 0x1c], 1
je 0x1400925e9
cmp byte [rcx + 0x19], 4
jb 0x1400925e9
mov r9d, dword [rdi + 0x10]
mov rcx, qword [rcx + 0x10]
and qword [rsp + 0x20], 0
lea edx, [rax + 0x72]
mov r8d, r15d
call fcn.14008ed8c
jmp 0x1400925e9
mov byte [rdi + 0x14], 1
cmp qword [rdi], r12
jne 0x1400925b2
mov rcx, qword [0x14017d3a8]
cmp rcx, r13
je 0x1400925ac
test byte [rcx + 0x1c], 1
je 0x1400925ac
cmp byte [rcx + 0x19], 4
jb 0x1400925ac
mov r9d, dword [rdi + 0x10]
mov rcx, qword [rcx + 0x10]
mov edx, EnterCriticalSection
mov r8d, r15d
mov qword [rsp + 0x20], 1
call fcn.14008ed8c
mov byte [rdi + 0x19], 1
jmp 0x1400925e9
mov rcx, qword [0x14017d3a8]
cmp rcx, r13
je 0x1400925e5
test byte [rcx + 0x1c], 1
je 0x1400925e5
cmp byte [rcx + 0x19], 4
jb 0x1400925e5
mov r9d, dword [rdi + 0x10]
mov rcx, qword [rcx + 0x10]
and qword [rsp + 0x20], 0
mov edx, reloc.KERNEL32.dll_EnterCriticalSection
mov r8d, r15d
call fcn.14008ed8c
mov byte [rdi + 0x19], 0
inc r14d
add rdi, 0x90
cmp r14d, dword [rsi + 4]
jb 0x140092487
mov r13, qword [rsp + 0x48]
xor r14d, r14d
lea rax, [rsp + 0x40]
mov r9d, ebp
mov qword [rsp + 0x38], r14
mov qword [rsp + 0x30], rax
mov r8, rsi
mov edx, 0x7c054
mov rcx, r13
mov dword [rsp + 0x28], r14d
mov qword [rsp + 0x20], r14
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
jne 0x1400926b4
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
mov rcx, qword [0x14017d3a8]
lea rdi, [0x14017d3a8]
cmp rcx, rdi
je 0x1400926bb
test byte [rcx + 0x1c], 1
je 0x1400926bb
cmp byte [rcx + 0x19], 2
jb 0x1400926bb
lea edx, [r14 + 0x73]
mov rcx, qword [rcx + 0x10]
lea r8, [0x140008c00]
mov r9d, ebx
call fcn.14001de24
jmp 0x1400926bb
mov ebx, 0x8007000e
jmp 0x14009268e
mov ebx, 0x80070216
mov rcx, qword [0x14017d3a8]
lea rdi, [0x14017d3a8]
cmp rcx, rdi
je 0x1400926bb
test byte [rcx + 0x1c], 1
je 0x1400926bb
cmp byte [rcx + 0x19], 2
jb 0x1400926bb
mov edx, 0x6b
jmp 0x14009266d
lea rdi, [0x14017d3a8]
test rsi, rsi
je 0x1400926c9
mov rcx, rsi
call qword [sym.imp.ole32.dll_CoTaskMemFree]
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [0x14017d3a8]
cmp rcx, rdi
je 0x1400926ff
test byte [rcx + 0x1c], 1
je 0x1400926ff
cmp byte [rcx + 0x19], 4
jb 0x1400926ff
mov rcx, qword [rcx + 0x10]
lea r8, [0x140008c00]
mov edx, 0x74
call fcn.14001dd24
mov eax, ebx
mov rcx, qword [rsp + 0x90]
xor rcx, rsp
call fcn.140168920
mov rbx, qword [rsp + 0xf0]
add rsp, 0xa0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret