Function at 0x1400b352a
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, 0x4d8
movaps xmmword [rsp + 0x4c0], xmm6
mov rsi, rdx
mov qword [rsp + 0x80], rcx
mov r14, qword [rsp + 0x558]
mov r15d, dword [rsp + 0x550]
mov edi, dword [rsp + 0x548]
mov rax, qword [rsp + 0x540]
mov qword [rsp + 0x1b0], rdx
lea rbx, [rsp + 0x2a0]
mov qword [rbx], r9
mov qword [rbx + 8], rax
mov rcx, rbx
call fcn.1400b1eed
test al, al
je 0x1400b36b2
shr rsi, 1
mov qword [rsp + 0xa0], rsi
xor eax, eax
mov ecx, r15d
sub ecx, edi
cmovb ecx, eax
cmp rsi, rcx
ja 0x1400b3f82
add esi, edi
lea rax, [rsp + 0x1b0]
mov qword [rsp + 0xb0], rax
lea rax, [rsp + 0xa0]
mov qword [rsp + 0xb8], rax
mov qword [rsp + 0xc0], rbx
mov qword [rsp + 0xc8], r14
mov dword [rsp + 0xd0], esi
mov dword [rsp + 0xd4], r15d
mov qword [rsp + 0xd8], rax
mov qword [rsp + 0xe0], rbx
mov qword [rsp + 0xe8], r14
mov dword [rsp + 0xf0], edi
mov dword [rsp + 0xf4], esi
call fcn.1400584c5
test rax, rax
je 0x1400b3d60
lea rcx, [rsp + 0x140]
lea rdx, [rsp + 0xb0]
mov r8, rax
xor r9d, r9d
call fcn.1400b4009
mov rdx, qword [rsp + 0x140]
mov rcx, qword [rsp + 0x148]
mov rax, qword [rsp + 0x150]
movups xmm0, xmmword [rsp + 0x158]
movaps xmmword [rsp + 0x50], xmm0
mov r8, qword [rsp + 0x168]
mov qword [rsp + 0x60], r8
test rcx, rcx
je 0x1400b3e44
mov r8, qword [rsp + 0x50]
and qword [rsp + 0x50], 0
test r8, r8
je 0x1400b3e69
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 0x1400b3e69
xorps xmm6, xmm6
movaps xmmword [rsp + 0xa0], xmm6
mov rbx, qword [r14]
mov eax, 8
mov qword [rsp + 0x88], rax
lea rsi, [rsp + 0x40]
lea r14, [rsp + 0x2b0]
lea r13, [rsp + 0xb0]
mov qword [rsp + 0x90], rbx
cmp edi, r15d
jae 0x1400b3cbe
lea r12d, [rdi + 1]
movaps xmm0, xmmword [rsp + 0xa0]
movaps xmmword [rsp + 0x140], xmm0
mov eax, dword [rbx]
bt eax, edi
jae 0x1400b3c36
add edi, 0x41
mov word [rsp + 0x40], di
mov dword [rsp + 0x42], 0x5c003a
and word [rsp + 0x46], 0
mov rcx, rsi
call sub.KERNEL32.dll_GetDriveTypeW
mov ebp, eax
lea eax, [rbp - 4]
cmp eax, 0xfffffffe
jb 0x1400b37b1
mov r8d, 0x20a
mov rcx, r14
xor edx, edx
call fcn.140100820
movaps xmmword [rsp + 0xe0], xmm6
movaps xmmword [rsp + 0xd0], xmm6
movaps xmmword [rsp + 0xc0], xmm6
movaps xmmword [rsp + 0xb0], xmm6
mov qword [rsp + 0x30], r13
movups xmmword [rsp + 0x20], xmm6
mov dword [rsp + 0x38], 0x20
mov rcx, rsi
mov rdx, r14
mov r8d, 0x105
xor r9d, r9d
call sub.KERNEL32.dll_GetVolumeInformationW
test eax, eax
je 0x1400b37b1
xor r8d, r8d
cmp r8, 0x105
je 0x1400b37c2
cmp word [rsp + r8*2 + 0x2b0], 0
je 0x1400b37c8
inc r8
jmp 0x1400b3797
mov qword [rsp + 0x1c8], 3
jmp 0x1400b3c36
mov r8d, 0x105
mov edx, 0x105
mov rcx, r14
lea r9, str.libsinfo_0.1_srcwindowsdisk.rs
call fcn.1400b31a5
mov r8, rdx
lea rcx, [rsp + 0x268]
mov rdx, rax
call fcn.1400b2740
mov rsi, qword [rsp + 0x268]
mov rax, qword [rsp + 0x278]
mov qword [rsp + 0x98], rax
xor r8d, r8d
cmp r8, 0x20
je 0x1400b3821
cmp word [rsp + r8*2 + 0xb0], 0
je 0x1400b3827
inc r8
jmp 0x1400b380a
mov r8d, 0x20
mov edx, 0x20
mov rcx, r13
lea r9, str.libsinfo_0.1_srcwindowsdisk.rs
call fcn.1400b31a5
mov rbx, rax
mov r14, rdx
mov rcx, rdx
xor edx, edx
call fcn.1400572ff
mov qword [rsp + 0x100], rax
mov qword [rsp + 0x108], rdx
and qword [rsp + 0x110], 0
lea rcx, [rsp + 0x100]
mov rdx, r14
call fcn.140055b5e
mov r13, qword [rsp + 0x100]
mov r15, qword [rsp + 0x110]
test r14, r14
je 0x1400b389e
xor eax, eax
mov cl, byte [rbx + rax*2]
mov byte [r13 + r15], cl
inc r15
inc rax
cmp r14, rax
jne 0x1400b388b
mov rbx, qword [rsp + 0x108]
movabs rax, 0x5c002e005c005c
mov qword [rsp + 0x17a], rax
mov word [rsp + 0x182], di
mov dword [rsp + 0x184], 0x3a
and qword [rsp + 0x30], 0
and dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 3
lea rcx, [rsp + 0x17a]
xor edx, edx
mov r8d, 3
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_CreateFileW]
cmp rax, 0xffffffffffffffff
je 0x1400b3bdd
mov r14, rax
and qword [rsp + 0x70], 0
and qword [rsp + 0x100], 0
lea rcx, [rsp + 0x40]
xor edx, edx
lea r8, [rsp + 0x70]
lea r9, [rsp + 0x100]
call sub.KERNEL32.dll_GetDiskFreeSpaceExW
test eax, eax
je 0x1400b3bc6
mov rax, qword [rsp + 0x70]
test rax, rax
je 0x1400b3bc6
mov rcx, qword [rsp + 0x100]
mov qword [rsp + 0x1a8], rcx
and dword [rsp + 0x78], 0
mov qword [rsp + 0x1b8], 7
and qword [rsp + 0x70], 0
mov byte [rsp + 0x1c0], 0
and dword [rsp + 0x4c], 0
mov qword [rsp + 0x198], rax
lea rax, [rsp + 0x4c]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x70]
mov qword [rsp + 0x20], rax
and qword [rsp + 0x38], 0
mov dword [rsp + 0x28], 0xc
mov rcx, r14
mov edx, 0x2d1400
lea r8, [rsp + 0x1b8]
mov r9d, 0xc
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
mov qword [rsp + 0x1a0], rbx
xor ebx, ebx
cmp byte [rsp + 0x78], 0
sete bl
cmp dword [rsp + 0x4c], 0xc
mov ecx, 2
cmovne rbx, rcx
test eax, eax
cmove rbx, rcx
lea rcx, [rsp + 0x100]
mov rdx, rsi
mov r8, qword [rsp + 0x98]
call fcn.1400afaf0
mov rcx, r15
xor edx, edx
call fcn.1400572ff
mov qword [rsp + 0x190], rax
mov qword [rsp + 0x98], rdx
mov rcx, rax
mov rdx, r13
mov r8, r15
call fcn.1400ffbc0
mov ecx, 4
xor edx, edx
call fcn.1400b30b0
mov rdi, rax
mov qword [rsp + 0x188], rdx
mov rax, qword [rsp + 0x40]
mov qword [rdi], rax
mov edx, 4
mov r8d, 3
lea rcx, [rsp + 0x40]
lea r9, str.libsinfo_0.1_srcwindowsdisk.rs
call fcn.1400b31a5
mov r8, rdx
lea rsi, [rsp + 0x228]
mov rcx, rsi
mov rdx, rax
call fcn.1400b2740
movups xmm0, xmmword [rsp + 0x100]
movups xmm1, xmmword [rsp + 0x110]
movups xmmword [rsi - 0x40], xmm1
movups xmmword [rsi - 0x50], xmm0
or qword [rsp + 0x1d0], 0xffffffffffffffff
cmp ebp, 2
mov qword [rsp + 0x1c8], rbx
mov rax, qword [rsp + 0x190]
mov qword [rsp + 0x1f8], rax
mov rax, qword [rsp + 0x98]
mov qword [rsp + 0x200], rax
mov qword [rsp + 0x208], r15
mov qword [rsp + 0x210], rdi
mov rax, qword [rsp + 0x188]
mov qword [rsp + 0x218], rax
mov qword [rsp + 0x220], 4
mov rax, qword [rsp + 0x198]
mov qword [rsp + 0x240], rax
mov rax, qword [rsp + 0x1a8]
mov qword [rsp + 0x248], rax
sete byte [rsp + 0x250]
mov eax, dword [rsp + 0x100]
mov ecx, dword [rsp + 0x103]
mov dword [rsi + 0x2c], ecx
mov dword [rsi + 0x29], eax
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, r13
mov rdx, qword [rsp + 0x1a0]
call fcn.1400c2022
mov rcx, qword [rsp + 0x268]
mov rdx, qword [rsp + 0x270]
call fcn.1400c2022
mov rdx, qword [rsp + 0x88]
mov qword [rsp + 0x2b0], rdx
movaps xmm0, xmmword [rsp + 0x140]
lea rax, [rsp + 0x2b8]
movups xmmword [rax], xmm0
mov rsi, qword [rsp + 0x2c0]
cmp rsi, qword [rsp + 0x2b8]
jne 0x1400b3c4e
lea r14, [rsp + 0x2b0]
mov rcx, r14
mov rdx, rsi
call fcn.1400b0298
mov rdx, qword [rsp + 0x2b0]
mov rsi, qword [rsp + 0x2c0]
mov r15d, dword [rsp + 0x550]
mov rbx, qword [rsp + 0x90]
jmp 0x1400b3c66
mov qword [rsp + 0x1c8], 3
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x1400b3bf6
mov rcx, 0xffffffffffffffff
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rsp + 0x1c8], 3
mov rcx, r13
mov rdx, rbx
call fcn.1400c2022
mov rdx, qword [rsp + 0x270]
mov rcx, rsi
call fcn.1400c2022
mov r15d, dword [rsp + 0x550]
mov rbx, qword [rsp + 0x90]
lea rsi, [rsp + 0x40]
lea r14, [rsp + 0x2b0]
lea r13, [rsp + 0xb0]
movaps xmm0, xmmword [rsp + 0x140]
movaps xmmword [rsp + 0xa0], xmm0
mov edi, r12d
jmp 0x1400b36ea
mov r15d, dword [rsp + 0x550]
mov rbx, qword [rsp + 0x90]
lea r14, [rsp + 0x2b0]
lea r13, [rsp + 0xb0]
imul rcx, rsi, 0x90
mov qword [rsp + 0x88], rdx
add rcx, rdx
mov r8d, 0x90
lea rdx, [rsp + 0x1c8]
call fcn.1400ffbc0
inc rsi
mov qword [rsp + 0x2c0], rsi
lea rax, [rsp + 0x2b8]
movups xmm0, xmmword [rax]
movaps xmmword [rsp + 0xa0], xmm0
mov edi, r12d
lea rsi, [rsp + 0x40]
jmp 0x1400b36ea
movaps xmm0, xmmword [rsp + 0xa0]
movups xmmword [rsp + 0x2b8], xmm0
mov rax, qword [rsp + 0x88]
mov qword [rsp + 0x2b0], rax
cmp qword [rsp + 0x2c0], 0
je 0x1400b3d3b
mov ecx, 8
mov edx, 0x28
call fcn.140056125
test rax, rax
je 0x1400b3f9c
movups xmm0, xmmword [rsp + 0x2b0]
mov rcx, qword [rsp + 0x2c0]
mov qword [rax + 0x10], rcx
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 0x1400b3e86
xorps xmm0, xmm0
mov rax, qword [rsp + 0x80]
movups xmmword [rax], xmm0
and qword [rax + 0x10], 0
lea rcx, [rsp + 0x2b0]
call fcn.1400b0438
jmp 0x1400b3e86
call fcn.1400573d7
mov rsi, qword [rax]
lea rbx, [rsi + 0x80]
call fcn.1400584c5
test rax, rax
je 0x1400b3ea2
mov r14, rax
cmp qword [rax + 0x110], rsi
je 0x1400b3f6a
mov rax, r14
add rax, 0x110
mov rdx, qword [r14 + 0x100]
lea r15, [rsp + 0x1c8]
lea rsi, [rsp + 0xb0]
mov ecx, 9
mov rdi, r15
rep movsq qword [rdi], qword [rsi]
lea rsi, [rsp + 0x248]
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, [0x1400b433e]
mov rcx, rbx
mov r8, r15
call fcn.140058548
mov rcx, r14
mov rdx, rsi
call fcn.1400b2321
lea rsi, [rsp + 0x2b0]
mov r8d, 0xa0
mov rcx, rsi
mov rdx, r15
call fcn.1400ffbc0
mov rax, qword [rsi + 0x78]
lea rdx, [rsp + 0x100]
mov qword [rdx + 0x30], rax
movups xmm0, xmmword [rsi + 0x48]
movups xmm1, xmmword [rsi + 0x58]
movups xmm2, xmmword [rsi + 0x68]
movaps xmmword [rdx + 0x20], xmm2
movaps xmmword [rdx + 0x10], xmm1
movaps xmmword [rdx], xmm0
lea rcx, [rsp + 0x140]
call fcn.1400b0633
jmp 0x1400b3644
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.1400b3fad
movaps xmm6, xmmword [rsp + 0x4c0]
add rsp, 0x4d8
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
xor ecx, ecx
call fcn.1400b26fb
lea rdx, [rsp + 0x1d0]
lea rsi, [rsp + 0xb0]
mov ecx, 9
mov rdi, rdx
rep movsq qword [rdi], qword [rsi]
mov qword [rdx - 8], rax
and qword [rdx + 0x48], 0
lea rdx, [0x1400b44cf]
lea rsi, [rsp + 0x1c8]
mov rcx, rbx
mov r8, rsi
call fcn.140058548
mov rcx, qword [rsi]
call fcn.140057366
lea rdi, [rsp + 0x2b0]
mov r8d, 0x88
mov rcx, rdi
mov rdx, rsi
call fcn.1400ffbc0
lea rsi, [rsp + 0x270]
mov rax, qword [rdi + 0x80]
lea rdx, [rsp + 0x100]
mov qword [rdx + 0x30], rax
movups xmm0, xmmword [rdi + 0x50]
movups xmm1, xmmword [rdi + 0x60]
movups xmm2, xmmword [rdi + 0x70]
movaps xmmword [rdx + 0x20], xmm2
movaps xmmword [rdx + 0x10], xmm1
movaps xmmword [rdx], xmm0
mov rcx, rsi
call fcn.1400b0633
movups xmm0, xmmword [rsi]
movups xmm1, xmmword [rsi + 0x10]
movups xmm2, xmmword [rsi + 0x20]
movaps xmmword [rsp + 0x140], xmm0
movaps xmmword [rsp + 0x150], xmm1
movaps xmmword [rsp + 0x160], xmm2
jmp 0x1400b3644
lea rcx, [rsp + 0x140]
lea rdx, [rsp + 0xb0]
mov r8, r14
jmp 0x1400b363c
lea rcx, str.assertion_failed:_index___self.range.len__C:UsersAdministrator.WIN7_2021OVWRCZ.cargo_registry_src_rsproxy.cn_0dccff568467c15b_rayon_1.9.0_src_range.rs
lea r8, [0x140130f60]
mov edx, 0x2b
call fcn.14010ebd0
ud2
mov ecx, 8
mov edx, 0x28
call fcn.14010e7f0
ud2