Function at 0x58cce0
Capabilities:
Get disk information
Get storage device properties
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x460
mov esi, esp
mov dword [esi + 0x34], ebp
mov eax, dword [ebp + 8]
mov dword [esi + 0xc0], eax
mov dword [esi + 0xc4], eax
mov eax, dword [ebp + 0x10]
mov dword [esi + 0xc8], eax
mov ecx, dword [ebp + 0xc]
mov edx, esp
mov dword [esi + 0x44c], edx
mov dword [esi + 0x458], 0xffffffff
lea edx, [esi + 0x450]
mov dword [esi + 0x454], 0x58eef0
mov edi, dword fs:[0]
mov dword [esi + 0x450], edi
mov dword fs:[0], edx
mov edx, dword [ebp + 0xc]
mov edx, dword [edx]
mov dword [esi + 0x3a0], edx
mov ecx, dword [ecx]
mov ecx, dword [ecx]
mov dword [esi + 0xcc], ecx
cmp eax, 0x20
jae 0x58cd7a
mov eax, dword [esi + 0xcc]
mov ecx, dword [esi + 0xc8]
and ecx, 0x1f
shr eax, cl
and eax, 1
cmp eax, 0
je 0x58cd87
jmp 0x58cd95
mov eax, esp
mov dword [eax], str.C:UsersDaaa.cargo_registry_srcindex.crates.io_1cd66030c949c28d_sysinfo_0.20.5_srcwindows_tools.rs
call fcn.005f7110
mov eax, dword [esi + 0xc0]
mov dword [eax], 3
jmp 0x58cdb3
mov eax, dword [esi + 0xc8]
add ax, 0x41
mov word [esi + 0xbe], ax
setb al
test al, 1
jne 0x58ce4a
jmp 0x58cdce
mov eax, dword [esi + 0xc4]
mov ecx, dword [esi + 0x450]
mov dword fs:[0], ecx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov ax, word [esi + 0xbe]
mov word [esi + 0xd2], ax
mov word [esi + 0xd4], 0x3a
mov word [esi + 0xd6], 0x5c
mov word [esi + 0xd8], 0
lea eax, [esi + 0xd2]
mov dword [esi + 0x444], eax
mov dword [esi + 0x448], 4
lea eax, [esi + 0xd2]
mov dword [esp], eax
call sub.kernel32.dll_GetDriveTypeW
sub esp, 4
mov dword [esi + 0xb8], eax
mov dword [esi + 0x3a4], eax
cmp eax, 2
sete cl
mov byte [esi + 0xbd], cl
and cl, 1
mov byte [esi + 0x3ab], cl
cmp eax, 3
jne 0x58cf6b
jmp 0x58ce57
mov eax, esp
mov dword [eax], str.C:UsersDaaa.cargo_registry_srcindex.crates.io_1cd66030c949c28d_sysinfo_0.20.5_srcwindows_tools.rs
call fcn.005f7050
lea eax, [esi + 0xda]
xor ecx, ecx
mov dword [esp], eax
mov dword [esp + 4], 0
mov dword [esp + 8], 0x20a
call sub.VCRUNTIME140.dll_memset
lea eax, [esi + 0x2e4]
xor ecx, ecx
mov dword [esp], eax
mov dword [esp + 4], 0
mov dword [esp + 8], 0x40
call sub.VCRUNTIME140.dll_memset
lea eax, [esi + 0xd2]
mov dword [esi + 0x43c], eax
mov dword [esi + 0x440], 4
lea eax, [esi + 0xda]
mov dword [esi + 0x434], eax
mov dword [esi + 0x438], 0x105
mov dword [esi + 0x41c], 0
mov dword [esi + 0x420], 0
mov dword [esi + 0x414], 0
mov dword [esi + 0x418], 0
mov dword [esi + 0x40c], 0
mov dword [esi + 0x410], 0
lea eax, [esi + 0x2e4]
mov dword [esi + 0x42c], eax
mov dword [esi + 0x430], 0x20
lea edx, [esi + 0xd2]
lea ecx, [esi + 0xda]
xor eax, eax
lea eax, [esi + 0x2e4]
mov dword [esp], edx
mov dword [esp + 4], ecx
mov dword [esp + 8], 0x105
mov dword [esp + 0xc], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], 0x20
call sub.kernel32.dll_GetVolumeInformationW
sub esp, 0x20
cmp eax, 0
je 0x58cf8b
jmp 0x58cf9c
mov eax, dword [esi + 0xb8]
cmp eax, 2
je 0x58ce57
mov eax, dword [esi + 0xc0]
mov dword [eax], 3
jmp 0x58cdb3
mov eax, dword [esi + 0xc0]
mov dword [eax], 3
jmp 0x58cdb3
mov dword [esi + 0x324], 0
lea eax, [esi + 0xda]
mov dword [esp], eax
mov dword [esp + 4], 0x105
call fcn.0058a8e0
mov dword [esp], eax
mov dword [esp + 4], edx
call fcn.005a2d90
mov dword [esi + 0x328], eax
mov dword [esi + 0x32c], edx
lea eax, [esi + 0x328]
mov dword [esp], eax
call fcn.005a3180
mov dword [esi + 0x330], eax
mov eax, dword [esi + 0x330]
cmp eax, 0
sete al
test al, 1
jne 0x58cffa
jmp 0x58d05d
mov ecx, dword [esi + 0x324]
mov eax, esp
mov dword [eax + 4], ecx
lea ecx, [esi + 0xda]
mov dword [eax], ecx
mov dword [eax + 8], 0x60ba58
call fcn.00576ea0
mov ecx, eax
mov eax, esp
mov dword [eax + 8], edx
mov dword [eax + 4], ecx
lea ecx, [esi + 0x334]
mov dword [esi + 0xac], ecx
mov dword [eax], ecx
call fcn.0056e8c0
mov ecx, dword [esi + 0xac]
mov dword [esi + 0x458], 0
mov eax, esp
mov dword [eax], ecx
call fcn.005833d0
mov dword [esi + 0xb0], edx
mov dword [esi + 0xb4], eax
jmp 0x58d08c
mov eax, dword [esi + 0x330]
mov dword [esi + 0x3ac], eax
cmp word [eax], 0
je 0x58cffa
mov eax, dword [esi + 0x324]
add eax, 1
mov dword [esi + 0xa8], eax
setb al
jb 0x58d73f
jmp 0x58d72e
mov eax, dword [esi + 0xb0]
mov ecx, dword [esi + 0xb4]
mov edx, ecx
mov dword [esi + 0x98], edx
mov edx, eax
mov dword [esi + 0x9c], edx
mov dword [esi + 0x3b0], ecx
mov dword [esi + 0x3b4], eax
mov dword [esi + 0x324], 0
mov eax, esp
lea ecx, [esi + 0x2e4]
mov dword [eax], ecx
mov dword [eax + 4], 0x20
call fcn.0058a8e0
mov dword [esi + 0xa0], edx
mov dword [esi + 0xa4], eax
jmp 0x58d0e2
mov ecx, dword [esi + 0xa4]
mov edx, dword [esi + 0xa0]
mov eax, esp
mov dword [eax + 4], edx
mov dword [eax], ecx
call fcn.005a2d90
mov dword [esi + 0x90], edx
mov dword [esi + 0x94], eax
jmp 0x58d108
mov eax, dword [esi + 0x90]
mov ecx, dword [esi + 0x94]
mov dword [esi + 0x340], ecx
mov dword [esi + 0x344], eax
mov eax, esp
lea ecx, [esi + 0x340]
mov dword [eax], ecx
call fcn.005a3180
mov dword [esi + 0x8c], eax
jmp 0x58d137
mov eax, dword [esi + 0x8c]
mov dword [esi + 0x348], eax
mov eax, dword [esi + 0x348]
cmp eax, 0
sete al
test al, 1
jne 0x58d155
jmp 0x58d182
mov ecx, dword [esi + 0x324]
mov eax, esp
mov dword [eax + 4], ecx
lea ecx, [esi + 0x2e4]
mov dword [eax], ecx
mov dword [eax + 8], 0x60ba68
call fcn.00576d40
mov dword [esi + 0x84], edx
mov dword [esi + 0x88], eax
jmp 0x58d1b1
mov eax, dword [esi + 0x348]
mov dword [esi + 0x3b8], eax
cmp word [eax], 0
je 0x58d155
mov eax, dword [esi + 0x324]
add eax, 1
mov dword [esi + 0x80], eax
setb al
jb 0x58d71c
jmp 0x58d70b
mov ecx, dword [esi + 0x88]
mov edx, dword [esi + 0x84]
mov eax, esp
mov dword [eax + 4], edx
mov dword [eax], ecx
call fcn.0058a8e0
mov dword [esi + 0x78], edx
mov dword [esi + 0x7c], eax
jmp 0x58d1d1
mov ecx, dword [esi + 0x7c]
mov edx, dword [esi + 0x78]
mov eax, esp
mov dword [eax + 4], edx
mov dword [eax], ecx
call fcn.005a2770
mov dword [esi + 0x70], edx
mov dword [esi + 0x74], eax
jmp 0x58d1eb
mov ecx, dword [esi + 0x74]
mov edx, dword [esi + 0x70]
mov eax, esp
mov dword [eax + 8], edx
mov dword [eax + 4], ecx
lea ecx, [esi + 0x34c]
mov dword [eax], ecx
call fcn.0058b450
jmp 0x58d208
mov eax, dword [esi + 0xc8]
add ax, 0x41
mov word [esi + 0x6e], ax
setb al
test al, 1
jne 0x58d28a
mov ax, word [esi + 0x6e]
mov word [esi + 0x35a], 0x5c
mov word [esi + 0x35c], 0x5c
mov word [esi + 0x35e], 0x2e
mov word [esi + 0x360], 0x5c
mov word [esi + 0x362], ax
mov word [esi + 0x364], 0x3a
mov word [esi + 0x366], 0
mov dword [esi + 0x458], 1
mov eax, esp
lea ecx, [esi + 0x35a]
mov dword [eax], ecx
mov dword [eax + 8], 0
mov dword [eax + 4], 7
call fcn.0058c9e0
mov dword [esi + 0x68], eax
jmp 0x58d2a5
mov dword [esi + 0x458], 1
mov eax, esp
mov dword [eax], str.C:UsersDaaa.cargo_registry_srcindex.crates.io_1cd66030c949c28d_sysinfo_0.20.5_srcwindows_tools.rs
call fcn.005f7050
jmp 0x58d2a3
ud2
mov eax, dword [esi + 0x68]
mov dword [esi + 0x3bc], eax
mov ecx, 0xffffffff
cmp eax, ecx
je 0x58d2cb
mov ecx, dword [esi + 0x68]
mov eax, esp
mov dword [eax], ecx
call fcn.0058ca60
mov dword [esi + 0x60], edx
mov dword [esi + 0x64], eax
jmp 0x58d2f4
mov ecx, dword [esi + 0x68]
mov eax, esp
mov dword [eax], ecx
call sub.kernel32.dll_CloseHandle
sub esp, 4
mov eax, esp
lea ecx, [esi + 0x34c]
mov dword [eax], ecx
call fcn.005a1b00
mov dword [esi + 0x58], edx
mov dword [esi + 0x5c], eax
jmp 0x58d664
mov edi, dword [esi + 0x68]
mov eax, dword [esi + 0x60]
mov ecx, dword [esi + 0x64]
mov dword [esi + 0x3c0], ecx
mov dword [esi + 0x3c4], eax
mov byte [esi + 0x37f], 0
mov dword [esi + 0x370], 8
mov dword [esi + 0x374], 0
mov al, byte [esi + 0x37f]
mov byte [esi + 0x378], al
mov byte [esi + 0x3f7], 0
mov dword [esi + 0x3f8], 1
mov byte [esi + 0x3ff], 0
mov dword [esi + 0x400], 1
lea eax, [esi + 0x3d8]
mov dword [esi + 0x404], eax
lea eax, [esi + 0x3d8]
mov dword [esi + 0x408], eax
mov byte [esi + 0x3e7], 0
mov al, byte [esi + 0x3e7]
lea ecx, [esi + 0x3d8]
and al, 1
mov dword [esp], ecx
mov dword [esp + 4], 4
movzx eax, al
mov dword [esp + 8], eax
call fcn.005728c0
lea eax, [esi + 0x3d8]
xor ecx, ecx
mov dword [esp], eax
mov dword [esp + 4], 0
mov dword [esp + 8], 0xc
call sub.VCRUNTIME140.dll_memset
mov eax, dword [esi + 0x3d8]
mov dword [esi + 0x3cc], eax
mov eax, dword [esi + 0x3dc]
mov dword [esi + 0x3d0], eax
mov eax, dword [esi + 0x3e0]
mov dword [esi + 0x3d4], eax
mov eax, dword [esi + 0x3cc]
mov dword [esi + 0x3e8], eax
mov eax, dword [esi + 0x3d0]
mov dword [esi + 0x3ec], eax
mov eax, dword [esi + 0x3d4]
mov dword [esi + 0x3f0], eax
mov eax, dword [esi + 0x3e8]
mov dword [esi + 0x380], eax
mov eax, dword [esi + 0x3ec]
mov dword [esi + 0x384], eax
mov eax, dword [esi + 0x3f0]
mov dword [esi + 0x388], eax
mov dword [esi + 0x38c], 0
mov dword [esi + 0x424], 0
mov dword [esi + 0x428], 0
lea edx, [esi + 0x370]
lea ecx, [esi + 0x380]
lea eax, [esi + 0x38c]
xor ebx, ebx
mov dword [esp], edi
mov dword [esp + 4], 0x2d1400
mov dword [esp + 8], edx
mov dword [esp + 0xc], 0xc
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], 0xc
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], 0
call sub.kernel32.dll_DeviceIoControl
sub esp, 0x20
cmp eax, 0
jne 0x58d4b9
mov ecx, dword [esi + 0x68]
mov eax, esp
mov dword [eax], ecx
call sub.kernel32.dll_CloseHandle
sub esp, 4
mov eax, esp
lea ecx, [esi + 0x34c]
mov dword [eax], ecx
call fcn.005a1b00
mov dword [esi + 0x50], edx
mov dword [esi + 0x54], eax
jmp 0x58d5c1
cmp dword [esi + 0x38c], 0xc
jne 0x58d490
mov ecx, dword [esi + 0x68]
mov al, byte [esi + 0x388]
test al, al
setne al
mov byte [esi + 0x47], al
setne byte [esi + 0x3cb]
mov eax, esp
mov dword [eax], ecx
call sub.kernel32.dll_CloseHandle
sub esp, 4
mov eax, esp
lea ecx, [esi + 0x34c]
mov dword [eax], ecx
call fcn.005a1b00
mov dword [esi + 0x48], edx
mov dword [esi + 0x4c], eax
jmp 0x58d4fd
mov al, byte [esi + 0x47]
test al, 1
jne 0x58d510
mov dword [esi + 0x398], 0
jmp 0x58d51a
mov dword [esi + 0x398], 1
mov ebx, dword [esi + 0x4c]
mov al, byte [esi + 0xbd]
mov ecx, dword [esi + 0x398]
mov edx, dword [esi + 0x39c]
movzx edi, al
and edi, 1
mov eax, esp
mov dword [esi + 0x40], eax
mov dword [eax + 0x2c], edi
mov edi, dword [esi + 0x60]
mov dword [eax + 0x28], edi
mov edi, dword [esi + 0x64]
mov dword [eax + 0x24], edi
mov edi, dword [esi + 0x9c]
mov dword [eax + 0x20], edx
mov edx, dword [esi + 0x98]
mov dword [eax + 0x1c], ecx
mov ecx, dword [esi + 0x48]
mov dword [eax + 0x18], ecx
mov ecx, dword [esi + 0xc0]
mov dword [eax + 0x14], ebx
lea ebx, [esi + 0xd2]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], edi
mov dword [eax + 4], edx
mov dword [eax], ecx
mov dword [eax + 0x10], 4
call fcn.00577660
jmp 0x58d589
mov dword [esi + 0x458], 0
mov eax, esp
lea ecx, [esi + 0x34c]
mov dword [eax], ecx
call fcn.005b0520
jmp 0x58d5a4
mov dword [esi + 0x458], 0xffffffff
lea eax, [esi + 0x334]
mov dword [esp], eax
call fcn.005b04a0
jmp 0x58cdb3
mov ebx, dword [esi + 0x54]
mov al, byte [esi + 0xbd]
mov dword [esi + 0x394], 0xffffffff
mov dword [esi + 0x390], 2
mov ecx, dword [esi + 0x390]
mov edx, dword [esi + 0x394]
movzx edi, al
and edi, 1
mov eax, esp
mov dword [esi + 0x3c], eax
mov dword [eax + 0x2c], edi
mov edi, dword [esi + 0x60]
mov dword [eax + 0x28], edi
mov edi, dword [esi + 0x64]
mov dword [eax + 0x24], edi
mov edi, dword [esi + 0x9c]
mov dword [eax + 0x20], edx
mov edx, dword [esi + 0x98]
mov dword [eax + 0x1c], ecx
mov ecx, dword [esi + 0x50]
mov dword [eax + 0x18], ecx
mov ecx, dword [esi + 0xc0]
mov dword [eax + 0x14], ebx
lea ebx, [esi + 0xd2]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], edi
mov dword [eax + 4], edx
mov dword [eax], ecx
mov dword [eax + 0x10], 4
call fcn.00577660
jmp 0x58d644
jmp 0x58d646
mov dword [esi + 0x458], 0
mov eax, esp
lea ecx, [esi + 0x34c]
mov dword [eax], ecx
call fcn.005b0520
jmp 0x58d6ee
mov ebx, dword [esi + 0x5c]
mov al, byte [esi + 0xbd]
mov dword [esi + 0x36c], 0xffffffff
mov dword [esi + 0x368], 2
mov ecx, dword [esi + 0x368]
mov edx, dword [esi + 0x36c]
movzx edi, al
and edi, 1
mov eax, esp
mov dword [esi + 0x38], eax
mov dword [eax + 0x2c], edi
mov edi, dword [esi + 0x9c]
mov dword [eax + 0x20], edx
mov edx, dword [esi + 0x98]
mov dword [eax + 0x1c], ecx
mov ecx, dword [esi + 0x58]
mov dword [eax + 0x18], ecx
mov ecx, dword [esi + 0xc0]
mov dword [eax + 0x14], ebx
lea ebx, [esi + 0xd2]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], edi
mov dword [eax + 4], edx
mov dword [eax], ecx
mov dword [eax + 0x28], 0
mov dword [eax + 0x24], 0
mov dword [eax + 0x10], 4
call fcn.00577660
jmp 0x58d6e9
jmp 0x58d646
mov dword [esi + 0x458], 0xffffffff
lea eax, [esi + 0x334]
mov dword [esp], eax
call fcn.005b04a0
jmp 0x58cdb3
mov eax, dword [esi + 0x80]
mov dword [esi + 0x324], eax
jmp 0x58d120
mov eax, esp
mov dword [eax], str.C:UsersDaaa.cargo_registry_srcindex.crates.io_1cd66030c949c28d_sysinfo_0.20.5_srcwindows_tools.rs
call fcn.005f7050
jmp 0x58d2a3
mov eax, dword [esi + 0xa8]
mov dword [esi + 0x324], eax
jmp 0x58cfd4
mov eax, esp
mov dword [eax], str.C:UsersDaaa.cargo_registry_srcindex.crates.io_1cd66030c949c28d_sysinfo_0.20.5_srcwindows_tools.rs
call fcn.005f7050
nop dword [eax]
push ebp
sub esp, 0x30
lea esi, [ebp - 0x45c]
mov ebp, dword [esi + 0x34]
mov eax, esp
lea ecx, [esi + 0x334]
mov dword [eax], ecx
call fcn.005b04a0
add esp, 0x30
pop ebp
ret