Function at 0x1400b96a5
Capabilities:
Get disk information
Get disk size
Get storage device properties

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x4a8
movaps xmmword [rsp + 0x490], xmm6
mov rsi, rdx
mov qword [rsp + 0x80], rcx
mov r12, qword [rsp + 0x528]
mov ebp, dword [rsp + 0x520]
mov edi, dword [rsp + 0x518]
mov rax, qword [rsp + 0x510]
mov qword [rsp + 0x190], rdx
lea rbx, [rsp + 0x270]
mov qword [rbx], r9
mov qword [rbx + 8], rax
mov rcx, rbx
call fcn.1400b89ce
test al, al
je 0x1400b982a
shr rsi, 1
mov qword [rsp + 0x128], rsi
xor eax, eax
mov ecx, ebp
sub ecx, edi
cmovb ecx, eax
cmp rsi, rcx
ja 0x1400ba0da
add esi, edi
lea rax, [rsp + 0x190]
mov qword [rsp + 0xe0], rax
lea rax, [rsp + 0x128]
mov qword [rsp + 0xe8], rax
mov qword [rsp + 0xf0], rbx
mov qword [rsp + 0xf8], r12
mov dword [rsp + 0x100], esi
mov dword [rsp + 0x104], ebp
mov qword [rsp + 0x108], rax
mov qword [rsp + 0x110], rbx
mov qword [rsp + 0x118], r12
mov dword [rsp + 0x120], edi
mov dword [rsp + 0x124], esi
call fcn.1400b8a11
test rax, rax
je 0x1400b9ed4
lea rcx, [rsp + 0xa0]
lea rdx, [rsp + 0xe0]
mov r8, rax
xor r9d, r9d
call fcn.1400ba13e
mov rdx, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0xa8]
mov rax, qword [rsp + 0xb0]
movups xmm0, xmmword [rsp + 0xb8]
movaps xmmword [rsp + 0x50], xmm0
mov r8, qword [rsp + 0xc8]
mov qword [rsp + 0x60], r8
test rcx, rcx
je 0x1400b9f96
mov r8, qword [rsp + 0x50]
and qword [rsp + 0x50], 0
test r8, r8
je 0x1400b9fbb
mov qword [rcx + 0x18], r8
mov qword [r8 + 0x20], rcx
mov rcx, qword [rsp + 0x58]
xorps xmm0, xmm0
add rax, qword [rsp + 0x60]
movups xmmword [rsp + 0x58], xmm0
jmp 0x1400b9fbb
xorps xmm6, xmm6
movaps xmmword [rsp + 0x140], xmm6
mov rsi, qword [r12]
mov eax, 8
mov qword [rsp + 0x88], rax
lea rbx, [rsp + 0x40]
mov qword [rsp + 0xd0], rsi
cmp edi, ebp
jae 0x1400b9e1b
mov eax, dword [rsi]
bt eax, edi
jae 0x1400b9df4
lea r14d, [rdi + 0x41]
mov word [rsp + 0x40], r14w
mov dword [rsp + 0x42], 0x5c003a
and word [rsp + 0x46], 0
mov rcx, rbx
call sub.kernel32.dll_GetDriveTypeW
mov r13d, eax
and eax, 0xfffffffe
cmp eax, 2
jne 0x1400b991c
mov r8d, 0x20a
lea r15, [rsp + 0x280]
mov rcx, r15
xor edx, edx
call sub.msvcrt.dll_memset
movaps xmmword [rsp + 0x110], xmm6
movaps xmmword [rsp + 0x100], xmm6
movaps xmmword [rsp + 0xf0], xmm6
movaps xmmword [rsp + 0xe0], xmm6
lea rax, [rsp + 0xe0]
mov qword [rsp + 0x30], rax
movups xmmword [rsp + 0x20], xmm6
mov dword [rsp + 0x38], 0x20
mov rcx, rbx
mov rdx, r15
mov r8d, 0x105
xor r9d, r9d
call sub.kernel32.dll_GetVolumeInformationW
test eax, eax
je 0x1400b991c
xor r8d, r8d
cmp r8, 0x105
je 0x1400b992d
cmp word [rsp + r8*2 + 0x280], 0
je 0x1400b9935
inc r8
jmp 0x1400b9902
mov qword [rsp + 0x1d0], 3
jmp 0x1400b9df4
mov r8d, 0x105
jmp 0x1400b9942
cmp r8, 0x106
jae 0x1400ba0da
lea rcx, [rsp + 0x128]
lea rdx, [rsp + 0x280]
call fcn.1400b8be7
mov rsi, qword [rsp + 0x128]
mov r15, qword [rsp + 0x138]
xor ebx, ebx
cmp rbx, 0x20
je 0x1400b997f
cmp word [rsp + rbx*2 + 0xe0], 0
je 0x1400b9986
inc rbx
jmp 0x1400b9969
mov ebx, 0x20
jmp 0x1400b9990
cmp rbx, 0x21
jae 0x1400ba0da
mov rcx, rbx
xor edx, edx
call fcn.140025f10
mov qword [rsp + 0xa0], rax
mov qword [rsp + 0xa8], rdx
and qword [rsp + 0xb0], 0
lea rcx, [rsp + 0xa0]
mov rdx, rbx
call fcn.140025c1f
mov rbp, qword [rsp + 0xa0]
mov r12, qword [rsp + 0xb0]
test rbx, rbx
je 0x1400b99f1
xor eax, eax
mov cl, byte [rsp + rax*2 + 0xe0]
mov byte [rbp + r12], cl
inc r12
inc rax
cmp rbx, rax
jne 0x1400b99da
mov rax, qword [rsp + 0xa8]
mov qword [rsp + 0xd8], rax
movabs rax, 0x5c002e005c005c
mov qword [rsp + 0xa0], rax
mov word [rsp + 0xa8], r14w
mov dword [rsp + 0xaa], 0x3a
and qword [rsp + 0x30], 0
and dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 3
lea rcx, [rsp + 0xa0]
xor edx, edx
mov r8d, 3
xor r9d, r9d
call sub.kernel32.dll_CreateFileW
cmp rax, 0xffffffffffffffff
je 0x1400b9da0
mov r14, rax
and qword [rsp + 0x90], 0
and qword [rsp + 0x68], 0
lea rbx, [rsp + 0x40]
mov rcx, rbx
xor edx, edx
lea r8, [rsp + 0x90]
lea r9, [rsp + 0x68]
call sub.kernel32.dll_GetDiskFreeSpaceExW
test eax, eax
je 0x1400b9d8a
mov rax, qword [rsp + 0x90]
test rax, rax
je 0x1400b9d8a
mov rcx, qword [rsp + 0x68]
mov qword [rsp + 0x188], rcx
and dword [rsp + 0x70], 0
mov qword [rsp + 0x90], 7
and qword [rsp + 0x68], 0
xor ecx, ecx
mov byte [rsp + 0x98], cl
and dword [rsp + 0x4c], 0
mov qword [rsp + 0x180], rax
lea rax, [rsp + 0x4c]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x68]
mov qword [rsp + 0x20], rax
and qword [rsp + 0x38], 0
mov dword [rsp + 0x28], 0xc
mov rcx, r14
mov edx, 0x2d1400
lea r8, [rsp + 0x90]
mov r9d, 0xc
call sub.kernel32.dll_DeviceIoControl
xor ebx, ebx
xor ecx, ecx
cmp byte [rsp + 0x70], cl
sete bl
cmp dword [rsp + 0x4c], 0xc
mov ecx, 2
cmovne rbx, rcx
test eax, eax
cmove rbx, rcx
mov rcx, r15
call fcn.1400b14fe
mov qword [rsp + 0x168], rax
mov qword [rsp + 0x178], rdx
mov rcx, rax
mov rdx, rsi
mov r8, r15
call sub.msvcrt.dll_memcpy
mov rcx, r12
xor edx, edx
call fcn.140025f10
mov qword [rsp + 0x160], rax
mov qword [rsp + 0x170], rdx
mov rcx, rax
mov rdx, rbp
mov r8, r12
call sub.msvcrt.dll_memcpy
mov ecx, 4
xor edx, edx
call fcn.1400afcb4
mov qword [rsp + 0x150], r15
mov r15, rax
mov qword [rsp + 0x158], rdx
mov rax, qword [rsp + 0x40]
mov qword [r15], rax
mov r8d, 3
lea rsi, [rsp + 0x230]
mov rcx, rsi
lea rdx, [rsp + 0x40]
call fcn.1400b8be7
mov rax, qword [rsp + 0x168]
mov qword [rsp + 0x1e0], rax
mov rax, qword [rsp + 0x178]
mov qword [rsp + 0x1e8], rax
mov rax, qword [rsp + 0x150]
mov qword [rsp + 0x1f0], rax
xor eax, eax
mov byte [rsp + 0x1f8], al
mov eax, dword [rsp + 0x79]
mov ecx, dword [rsp + 0x7c]
mov dword [rsi - 0x34], ecx
mov dword [rsi - 0x37], eax
or qword [rsp + 0x1d8], 0xffffffffffffffff
cmp r13d, 2
mov qword [rsp + 0x1d0], rbx
mov rax, qword [rsp + 0x160]
mov qword [rsp + 0x200], rax
mov rax, qword [rsp + 0x170]
mov qword [rsp + 0x208], rax
mov qword [rsp + 0x210], r12
mov qword [rsp + 0x218], r15
mov rax, qword [rsp + 0x158]
mov qword [rsp + 0x220], rax
mov qword [rsp + 0x228], 4
mov rax, qword [rsp + 0x180]
mov qword [rsp + 0x248], rax
mov rax, qword [rsp + 0x188]
mov qword [rsp + 0x250], rax
sete byte [rsp + 0x258]
mov eax, dword [rsp + 0x79]
mov ecx, dword [rsp + 0x7c]
mov dword [rsi + 0x2c], ecx
mov dword [rsi + 0x29], eax
mov rcx, r14
call fcn.140105b98
mov rcx, rbp
mov rdx, qword [rsp + 0xd8]
call fcn.140025ee7
mov rcx, qword [rsp + 0x128]
mov rdx, qword [rsp + 0x130]
call fcn.140025ee7
mov rdx, qword [rsp + 0x88]
mov qword [rsp + 0x280], rdx
movaps xmm0, xmmword [rsp + 0x140]
lea rax, [rsp + 0x288]
movups xmmword [rax], xmm0
mov rsi, qword [rsp + 0x290]
cmp rsi, qword [rsp + 0x288]
jne 0x1400b9d29
lea rcx, [rsp + 0x280]
mov rdx, rsi
call fcn.1400b85c1
mov rdx, qword [rsp + 0x280]
mov rsi, qword [rsp + 0x290]
mov r12, qword [rsp + 0x528]
mov ebp, dword [rsp + 0x520]
imul rcx, rsi, 0x90
mov qword [rsp + 0x88], rdx
add rcx, rdx
mov r8d, 0x90
lea rdx, [rsp + 0x1d0]
call sub.msvcrt.dll_memcpy
inc rsi
mov qword [rsp + 0x290], rsi
lea rax, [rsp + 0x288]
movups xmm0, xmmword [rax]
movaps xmmword [rsp + 0xe0], xmm0
mov rsi, qword [rsp + 0xd0]
lea rbx, [rsp + 0x40]
jmp 0x1400b9e04
mov qword [rsp + 0x1d0], 3
mov rcx, r14
call fcn.140105b98
jmp 0x1400b9dbd
mov rcx, 0xffffffffffffffff
call fcn.140105b98
mov qword [rsp + 0x1d0], 3
lea rbx, [rsp + 0x40]
mov rcx, rbp
mov rdx, qword [rsp + 0xd8]
call fcn.140025ee7
mov rdx, qword [rsp + 0x130]
mov rcx, rsi
call fcn.140025ee7
mov r12, qword [rsp + 0x528]
mov ebp, dword [rsp + 0x520]
mov rsi, qword [rsp + 0xd0]
movaps xmm0, xmmword [rsp + 0x140]
movaps xmmword [rsp + 0xe0], xmm0
inc edi
movaps xmm0, xmmword [rsp + 0xe0]
movaps xmmword [rsp + 0x140], xmm0
jmp 0x1400b9853
mov rax, qword [rsp + 0x88]
mov qword [rsp + 0x198], rax
movaps xmm0, xmmword [rsp + 0x140]
movups xmmword [rsp + 0x1a0], xmm0
mov qword [rsp + 0x1b0], r12
cmp qword [rsp + 0x1a8], 0
je 0x1400b9fda
mov rax, qword [rsp + 0x1a8]
mov qword [rsp + 0x290], rax
mov rax, qword [rsp + 0x198]
mov qword [rsp + 0x280], rax
mov rax, qword [rsp + 0x1a0]
mov qword [rsp + 0x288], rax
mov ecx, 8
mov edx, 0x28
call fcn.140025db9
test rax, rax
je 0x1400ba0da
mov rcx, qword [rsp + 0x290]
mov qword [rax + 0x10], rcx
movaps xmm0, xmmword [rsp + 0x280]
movups xmmword [rax], xmm0
xorps xmm0, xmm0
movups xmmword [rax + 0x18], xmm0
mov rcx, qword [rsp + 0x80]
mov qword [rcx], rax
mov qword [rcx + 8], rax
mov qword [rcx + 0x10], 1
jmp 0x1400b9ffa
call fcn.1400640e6
mov rsi, qword [rax]
lea rbx, [rsi + 0x80]
call fcn.1400b8a11
test rax, rax
je 0x1400ba016
mov r14, rax
cmp qword [rax + 0x110], rsi
je 0x1400ba0c2
mov rax, r14
add rax, 0x110
mov rdx, qword [r14 + 0x100]
lea r15, [rsp + 0x1d0]
lea rsi, [rsp + 0xe0]
mov ecx, 9
mov rdi, r15
rep movsq qword [rdi], qword [rsi]
lea rsi, [rsp + 0x250]
mov qword [rsi], rax
and qword [rsi + 8], 0
mov qword [rsi + 0x10], rdx
mov byte [rsi + 0x18], 1
and qword [rsi - 0x38], 0
lea rdx, [0x1400ba30c]
mov rcx, rbx
mov r8, r15
call fcn.140065324
mov rcx, r14
mov rdx, rsi
call fcn.1400b8a2d
lea rcx, [rsp + 0x280]
mov r8d, 0xa0
mov rdx, r15
call sub.msvcrt.dll_memcpy
lea rdx, [rsp + 0x2c8]
lea rcx, [rsp + 0xa0]
call fcn.1400b89a6
jmp 0x1400b97bc
mov r8, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x58]
mov r9, qword [rsp + 0x60]
mov qword [rsp + 0x50], rdx
and qword [rsp + 0x58], 0
mov qword [rsp + 0x60], rax
mov rax, r9
mov rdx, r8
mov r8, qword [rsp + 0x80]
mov qword [r8], rdx
mov qword [r8 + 8], rcx
mov qword [r8 + 0x10], rax
lea rcx, [rsp + 0x50]
call fcn.1400ba0de
jmp 0x1400b9ffa
xorps xmm0, xmm0
mov rax, qword [rsp + 0x80]
movups xmmword [rax], xmm0
and qword [rax + 0x10], 0
lea rcx, [rsp + 0x198]
call fcn.1400b890c
movaps xmm6, xmmword [rsp + 0x490]
add rsp, 0x4a8
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
xor ecx, ecx
call fcn.140065551
test rax, rax
je 0x1400ba0da
lea rdx, [rsp + 0x1d8]
lea rsi, [rsp + 0xe0]
mov ecx, 9
mov rdi, rdx
rep movsq qword [rdi], qword [rsi]
mov qword [rdx - 8], rax
and qword [rdx + 0x48], 0
lea rdx, [0x1400ba423]
lea rsi, [rsp + 0x1d0]
mov rcx, rbx
mov r8, rsi
call fcn.140065324
mov rcx, qword [rsi]
call fcn.140064075
lea rcx, [rsp + 0x280]
mov r8d, 0x88
mov rdx, rsi
call sub.msvcrt.dll_memcpy
lea rdx, [rsp + 0x2d0]
lea rsi, [rsp + 0x1a0]
mov rcx, rsi
call fcn.1400b89a6
movups xmm0, xmmword [rsi]
movups xmm1, xmmword [rsi + 0x10]
movups xmm2, xmmword [rsi + 0x20]
movaps xmmword [rsp + 0xa0], xmm0
movaps xmmword [rsp + 0xb0], xmm1
movaps xmmword [rsp + 0xc0], xmm2
jmp 0x1400b97bc
lea rcx, [rsp + 0xa0]
lea rdx, [rsp + 0xe0]
mov r8, r14
jmp 0x1400b97b4
ud2