Function at 0x5bfae0
Capabilities:
Get disk information

Disassembly:
push 0xffffffffffffffff
push 0x87d90b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x628
push ebp
push esi
mov esi, dword [esp + 0x640]
xor ebp, ebp
cmp esi, ebp
mov dword [esp + 0x14], ecx
je 0x5bfd97
push esi
call fcn.005fc40b
add esp, 4
test eax, eax
je 0x5bfd97
mov eax, dword [0x97ed3c]
mov cx, word [0x97ed40]
push ebx
push edi
mov dword [esp + 0x10], eax
mov word [esp + 0x14], cx
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x22]
mov word [esp + 0x20], bp
rep stosd dword es:[edi], eax
mov cx, word [0x945b60]
mov edx, dword [0x945b58]
stosw word es:[edi], ax
mov eax, dword [0x945b5c]
mov word [esp + 0x230], cx
mov dword [esp + 0x22c], eax
mov ecx, 0x7f
xor eax, eax
lea edi, [esp + 0x232]
mov dword [esp + 0x228], edx
push 0x945b58
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
call fcn.005fc40b
mov edx, 0x102
add esp, 4
sub edx, eax
push edx
push esi
push 0x945b58
call fcn.005fc40b
add esp, 4
lea eax, [esp + eax*2 + 0x230]
push eax
call fcn.005fc3ce
lea ecx, [esp + 0x234]
push ecx
call fcn.005fc40b
mov esi, 0x5c
add esp, 0x10
cmp word [esp + eax*2 + 0x226], si
je 0x5bfbef
lea edx, [esp + 0x228]
push edx
call fcn.005fc40b
add esp, 4
mov word [esp + eax*2 + 0x228], si
lea eax, [esp + 0x228]
push eax
call fcn.005fc291
add esp, 4
xor ebx, ebx
lea ecx, [ebx + 0x61]
xor eax, eax
mov word [esp + 0x10], cx
mov ecx, 0x82
lea edi, [esp + 0x20]
lea edx, [esp + 0x20]
rep stosd dword es:[edi], eax
push 0x104
lea eax, [esp + 0x14]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_QueryDosDeviceW]
mov esi, eax
mov eax, dword [0x9dce80]
cmp eax, ebp
je 0x5bfc5a
lea ecx, [esp + 0x20]
push esi
lea edx, [esp + 0x14]
push ecx
push edx
push str.CVolumeMountPointMgr::CleanDosDevice____volum__s__devicename__s__dwRet__d_
push str.VolumeMountPoint
push 0xffffffffffffffff
push 0x9dc5ec
call fcn.006600d0
add esp, 0x1c
cmp esi, ebp
je 0x5bfd8b
lea eax, [esp + 0x20]
push eax
call fcn.005fc40b
mov esi, 0x5c
add esp, 4
cmp word [esp + eax*2 + 0x1e], si
je 0x5bfca1
lea ecx, [esp + 0x20]
push ecx
call fcn.005fc40b
add esp, 4
cmp eax, 0x103
jae 0x5bfca1
lea edx, [esp + 0x20]
push edx
call fcn.005fc40b
add esp, 4
mov word [esp + eax*2 + 0x20], si
lea eax, [esp + 0x20]
lea ecx, [esp + 0x18]
push eax
call fcn.00617650
mov edx, dword [esp + 0x18]
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x432]
mov word [esp + 0x430], bp
push 0x104
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x434]
mov dword [esp + 0x644], ebp
push ecx
mov ecx, dword [esp + 0x24]
push edx
stosw word es:[edi], ax
call fcn.005c0470
test eax, eax
je 0x5bfd01
mov ecx, 0x82
lea esi, [esp + 0x430]
lea edi, [esp + 0x20]
rep movsd dword es:[edi], dword [esi]
lea eax, [esp + 0x20]
push eax
call fcn.005fc291
lea ecx, [esp + 0x22c]
lea edx, [esp + 0x24]
push ecx
push edx
call fcn.005fc250
add esp, 0xc
test eax, eax
jne 0x5bfd3d
lea eax, [esp + 0x20]
lea ecx, [esp + 0x228]
push eax
push ecx
call fcn.005fc250
add esp, 8
test eax, eax
je 0x5bfd77
lea edx, [esp + 0x10]
push ebp
push edx
push 2
call dword [sym.imp.KERNEL32.dll_DefineDosDeviceW]
cmp dword [0x9dce80], ebp
je 0x5bfd77
push eax
lea eax, [esp + 0x24]
lea ecx, [esp + 0x14]
push eax
push ecx
push str.CVolumeMountPointMgr::CleanDosDevice_2____volum__s__devicename__s__Ret__d_
push str.VolumeMountPoint
push 0xffffffffffffffff
push 0x9dc5ec
call fcn.006600d0
add esp, 0x1c
lea ecx, [esp + 0x18]
mov dword [esp + 0x640], 0xffffffff
call fcn.00617ec0
inc ebx
cmp ebx, 0x1a
jl 0x5bfc01
pop edi
pop ebx
mov ecx, dword [esp + 0x630]
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x634
ret 4