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

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x398
lea rbp, [rsp + 0x80]
mov qword [rbp + 0x310], 0xfffffffffffffffe
mov rsi, rcx
mov eax, dword [rdx]
bt eax, r8d
jae 0x1400dfdf0
mov ebx, r8d
add ebx, 0x41
mov word [rbp + 0x300], bx
mov dword [rbp + 0x302], 0x5c003a
mov word [rbp + 0x306], 0
lea rcx, [rbp + 0x300]
call sub.KERNEL32.dll_GetDriveTypeW
mov edi, eax
lea eax, [rdi - 4]
cmp eax, 0xfffffffe
jb 0x1400dfdf0
lea r14, [rbp - 0x3a]
mov r8d, 0x20a
mov rcx, r14
xor edx, edx
call sub.VCRUNTIME140.dll_memset
pxor xmm0, xmm0
movdqa xmmword [rbp + 0x2e0], xmm0
movdqa xmmword [rbp + 0x2d0], xmm0
movdqa xmmword [rbp + 0x2c0], xmm0
movdqa xmmword [rbp + 0x2b0], xmm0
lea r12, [rbp + 0x2b0]
mov qword [rsp + 0x30], r12
movdqu xmmword [rsp + 0x20], xmm0
mov dword [rsp + 0x38], 0x20
lea rcx, [rbp + 0x300]
mov rdx, r14
mov r8d, 0x105
xor r9d, r9d
call sub.KERNEL32.dll_GetVolumeInformationW
test eax, eax
je 0x1400dfdf0
mov r15d, 2
nop word cs:[rax + rax]
cmp word [rbp + r15*2 - 0x3e], 0
je 0x1400dfe0c
cmp word [rbp + r15*2 - 0x3c], 0
je 0x1400dfe12
cmp word [rbp + r15*2 - 0x3a], 0
je 0x1400dfe15
add r15, 3
cmp r15, 0x107
jne 0x1400dfdc0
mov r15d, 0x105
jmp 0x1400dfe22
mov qword [rsi + 0x20], 3
add rsp, 0x398
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
add r15, 0xfffffffffffffffe
jmp 0x1400dfe15
dec r15
cmp r15, 0x106
jae 0x1400e01a5
mov qword [rbp + 0x280], 0
mov qword [rbp + 0x288], 1
mov qword [rbp + 0x290], 0
mov rax, r15
shr rax, 1
mov r8d, r15d
and r8d, 1
add r8, rax
je 0x1400dfe63
lea rcx, [rbp + 0x280]
xor edx, edx
call fcn.140132c00
lea rax, [r15*2 - 0x3a]
add rax, rbp
mov qword [rbp + 0x260], rax
mov qword [rbp + 0x268], r14
mov word [rbp + 0x270], 0
lea rcx, [rbp + 0x260]
lea rdx, [rbp + 0x280]
call fcn.1400e6880
mov rax, qword [rbp + 0x288]
mov r14, qword [rbp + 0x290]
movzx r13d, word [rbp + 0x2b0]
test r13w, r13w
mov qword [rbp + 0x2a8], rax
je 0x1400e007a
cmp word [rbp + 0x2b2], 0
je 0x1400e009d
cmp word [rbp + 0x2b4], 0
je 0x1400e00a8
cmp word [rbp + 0x2b6], 0
je 0x1400e00b3
cmp word [rbp + 0x2b8], 0
je 0x1400e00be
cmp word [rbp + 0x2ba], 0
je 0x1400e00c9
cmp word [rbp + 0x2bc], 0
je 0x1400e00d4
cmp word [rbp + 0x2be], 0
je 0x1400e00df
cmp word [rbp + 0x2c0], 0
je 0x1400e00ea
cmp word [rbp + 0x2c2], 0
je 0x1400e00f5
cmp word [rbp + 0x2c4], 0
je 0x1400e0100
cmp word [rbp + 0x2c6], 0
je 0x1400e010b
cmp word [rbp + 0x2c8], 0
je 0x1400e0116
cmp word [rbp + 0x2ca], 0
je 0x1400e0121
cmp word [rbp + 0x2cc], 0
je 0x1400e012c
cmp word [rbp + 0x2ce], 0
je 0x1400e0137
cmp word [rbp + 0x2d0], 0
je 0x1400e0142
cmp word [rbp + 0x2d2], 0
je 0x1400e014d
cmp word [rbp + 0x2d4], 0
je 0x1400e0155
cmp word [rbp + 0x2d6], 0
je 0x1400e015d
cmp word [rbp + 0x2d8], 0
je 0x1400e0165
cmp word [rbp + 0x2da], 0
je 0x1400e016d
cmp word [rbp + 0x2dc], 0
je 0x1400e0175
cmp word [rbp + 0x2de], 0
je 0x1400e017d
cmp word [rbp + 0x2e0], 0
je 0x1400e0185
cmp word [rbp + 0x2e2], 0
je 0x1400e018d
cmp word [rbp + 0x2e4], 0
je 0x1400e0195
cmp word [rbp + 0x2e6], 0
je 0x1400e019d
cmp word [rbp + 0x2e8], 0
je 0x1400e01bb
cmp word [rbp + 0x2ea], 0
je 0x1400e01c3
cmp word [rbp + 0x2ec], 0
je 0x1400e01cb
cmp word [rbp + 0x2ee], 1
mov r15d, 0x20
sbb r15, 0
jmp 0x1400e01d1
mov eax, 1
mov qword [rbp + 0x308], rax
xor eax, eax
mov qword [rbp + 0x298], rax
xor eax, eax
mov qword [rbp + 0x2f8], rax
jmp 0x1400e02ac
mov r15d, 1
jmp 0x1400e01d1
mov r15d, 2
jmp 0x1400e01d1
mov r15d, 3
jmp 0x1400e01d1
mov r15d, 4
jmp 0x1400e01d1
mov r15d, 5
jmp 0x1400e01d1
mov r15d, 6
jmp 0x1400e01d1
mov r15d, 7
jmp 0x1400e01d1
mov r15d, 8
jmp 0x1400e01d1
mov r15d, 9
jmp 0x1400e01d1
mov r15d, 0xa
jmp 0x1400e01d1
mov r15d, listen
jmp 0x1400e01d1
mov r15d, listen
jmp 0x1400e01d1
mov r15d, reloc.WS2_32.dll_listen
jmp 0x1400e01d1
mov r15d, select
jmp 0x1400e01d1
mov r15d, select
jmp 0x1400e01d1
mov r15d, reloc.WS2_32.dll_recv
jmp 0x1400e01d1
mov r15d, select
jmp 0x1400e01d1
mov r15d, reloc.WS2_32.dll_select
jmp 0x1400e01d1
mov r15d, reloc.WS2_32.dll_send
jmp 0x1400e01d1
mov r15d, setsockopt
jmp 0x1400e01d1
mov r15d, reloc.WS2_32.dll_setsockopt
jmp 0x1400e01d1
mov r15d, 0x16
jmp 0x1400e01d1
mov r15d, 0x17
jmp 0x1400e01d1
mov r15d, 0x18
jmp 0x1400e01d1
mov r15d, 0x19
jmp 0x1400e01d1
mov r15d, 0x1a
jmp 0x1400e01d1
mov r15d, 0x1b
jmp 0x1400e01d1
lea r8, str.C:Userslucak.cargo_registry_srcindex.crates.io_6f17d22bba15001f_sysinfo_0.29.10_srcwindowsdisk.rs
mov edx, 0x105
mov rcx, r15
call fcn.14013acd0
ud2
mov r15d, 0x1c
jmp 0x1400e01d1
mov r15d, 0x1d
jmp 0x1400e01d1
mov r15d, 0x1e
mov edx, 1
mov rcx, r15
call fcn.14000e950
mov qword [rbp + 0x308], rax
test rax, rax
je 0x1400e065c
lea rcx, [r15 - 1]
movabs rax, 0x7fffffffffffffff
and rax, rcx
cmp rax, 0xf
mov qword [rbp + 0x298], r15
jae 0x1400e0211
xor r8d, r8d
jmp 0x1400e0271
inc rax
mov r8, rax
and r8, 0xfffffffffffffff0
lea r12, [r8*2 + 0x2b0]
add r12, rbp
xor ecx, ecx
movdqa xmm0, xmmword [0x140167a90]
mov rdx, qword [rbp + 0x308]
nop word [rax + rax]
movdqu xmm1, xmmword [rbp + rcx*2 + 0x2b0]
movdqu xmm2, xmmword [rbp + rcx*2 + 0x2c0]
pand xmm1, xmm0
pand xmm2, xmm0
packuswb xmm1, xmm2
movdqu xmmword [rdx + rcx], xmm1
add rcx, 0x10
cmp r8, rcx
jne 0x1400e0240
cmp rax, r8
je 0x1400e02a5
lea rax, [r15*2 + 0x2b0]
add rax, rbp
mov rdx, qword [rbp + 0x308]
nop word cs:[rax + rax]
movzx ecx, byte [r12]
add r12, 2
mov byte [rdx + r8], cl
inc r8
cmp r12, rax
jne 0x1400e0290
mov qword [rbp + 0x2f8], r8
movabs rax, 0x5c002e005c005c
mov qword [rbp + 0x218], rax
mov word [rbp + 0x220], bx
mov dword [rbp + 0x222], 0x3a
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 3
lea rcx, [rbp + 0x218]
xor edx, edx
mov r8d, 3
xor r9d, r9d
call sub.KERNEL32.dll_CreateFileW
cmp rax, 0xffffffffffffffff
je 0x1400e0488
mov qword [rbp + 0x2a0], rax
mov qword [rbp + 0x248], 0
mov qword [rbp + 0x260], 0
lea rbx, [rbp + 0x300]
lea r8, [rbp + 0x248]
lea r9, [rbp + 0x260]
mov rcx, rbx
xor edx, edx
call sub.KERNEL32.dll_GetDiskFreeSpaceExW
test eax, eax
je 0x1400e04a1
mov r12, qword [rbp + 0x248]
test r12, r12
mov rcx, qword [rbp + 0x2a0]
je 0x1400e04a8
mov rax, qword [rbp + 0x260]
mov qword [rbp + 0x210], rax
mov qword [rbp + 0x200], 7
mov byte [rbp + 0x208], 0
mov dword [rbp + 0x230], 0
mov qword [rbp + 0x228], 0
mov dword [rbp + 0x2f4], 0
lea rax, [rbp + 0x2f4]
mov qword [rsp + 0x30], rax
lea rax, [rbp + 0x228]
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x38], 0
mov dword [rsp + 0x28], select
lea r8, [rbp + 0x200]
mov edx, 0x2d1400
mov r9d, listen
call sub.KERNEL32.dll_DeviceIoControl
xor r15d, r15d
cmp byte [rbp + 0x230], 0
sete r15b
cmp dword [rbp + 0x2f4], 0xc
mov ecx, 2
cmovne r15, rcx
test eax, eax
cmove r15, rcx
lea rcx, [rbp + 0x260]
mov rdx, qword [rbp + 0x2a8]
mov r8, r14
call fcn.14010a160
mov rax, qword [rbp + 0x260]
mov qword [rbp + 0x238], rax
mov rax, qword [rbp + 0x268]
mov qword [rbp + 0x2a8], rax
movdqu xmm0, xmmword [rbp + 0x270]
movdqa xmmword [rbp + 0x1d0], xmm0
mov r8, qword [rbp + 0x2f8]
test r8, r8
je 0x1400e04ba
setns al
js 0x1400e067c
movzx r14d, al
mov rcx, r8
mov rdx, r14
call fcn.14000e950
mov r8, qword [rbp + 0x2f8]
test rax, rax
jne 0x1400e04bf
mov rcx, r8
mov rdx, r14
call fcn.14013a650
jmp 0x1400e0681
mov rcx, 0xffffffffffffffff
call sub.KERNEL32.dll_CloseHandle
mov qword [rsi + 0x20], 3
jmp 0x1400e0616
mov rcx, qword [rbp + 0x2a0]
mov qword [rsi + 0x20], 3
call sub.KERNEL32.dll_CloseHandle
jmp 0x1400e0616
mov eax, 1
mov qword [rbp + 0x240], rax
mov rcx, rax
mov rdx, qword [rbp + 0x308]
call sub.VCRUNTIME140.dll_memcpy
mov r14, qword [rbp + 0x300]
mov ecx, 8
mov edx, 2
call fcn.14000e950
test rax, rax
je 0x1400e066b
mov qword [rbp + 0x1e8], 4
mov qword [rbp + 0x1f0], rax
mov qword [rax], r14
mov qword [rbp + 0x1f8], 4
mov qword [rbp + 0x248], 0
mov qword [rbp + 0x250], 1
mov qword [rbp + 0x258], 0
lea rcx, [rbp + 0x248]
mov r8d, 2
xor edx, edx
call fcn.140132c00
lea rax, [rbp + 0x306]
mov qword [rbp + 0x260], rax
mov qword [rbp + 0x268], rbx
mov word [rbp + 0x270], 0
lea rcx, [rbp + 0x260]
lea rdx, [rbp + 0x248]
call fcn.1400e6880
cmp edi, 2
mov rax, qword [rbp + 0x238]
mov qword [rsi], rax
mov rax, qword [rbp + 0x2a8]
mov qword [rsi + 8], rax
movaps xmm0, xmmword [rbp + 0x1d0]
movups xmmword [rsi + 0x10], xmm0
mov rax, qword [rbp + 0x2f8]
mov qword [rsi + 0x40], rax
mov rcx, qword [rbp + 0x240]
mov qword [rsi + 0x48], rcx
mov qword [rsi + 0x50], rax
movups xmm0, xmmword [rbp + 0x1e8]
movups xmmword [rsi + 0x58], xmm0
mov rax, qword [rbp + 0x1f8]
mov qword [rsi + 0x68], rax
movdqu xmm0, xmmword [rbp + 0x248]
movdqu xmmword [rsi + 0x70], xmm0
mov rax, qword [rbp + 0x258]
mov qword [rsi + 0x80], rax
mov qword [rsi + 0x20], r15
mov qword [rsi + 0x28], 0xffffffffffffffff
mov qword [rsi + 0x30], r12
mov rax, qword [rbp + 0x210]
mov qword [rsi + 0x38], rax
sete byte [rsi + 0x88]
mov rcx, qword [rbp + 0x2a0]
call sub.KERNEL32.dll_CloseHandle
test r13w, r13w
je 0x1400e0635
mov r8d, 1
mov rcx, qword [rbp + 0x308]
mov rdx, qword [rbp + 0x298]
call fcn.14000e960
mov rdx, qword [rbp + 0x280]
test rdx, rdx
je 0x1400dfdf8
mov rcx, qword [rbp + 0x288]
mov r8d, 1
call fcn.14000e960
jmp 0x1400dfdf8
mov edx, 1
mov rcx, r15
call fcn.14013a650
jmp 0x1400e0681
mov ecx, 8
mov edx, 2
call fcn.14013a650
jmp 0x1400e0681
call fcn.14011c860
ud2