Function at 0x5bf140
Capabilities:
Get disk information

Disassembly:
push 0xffffffffffffffff
push 0x87d8b6
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x440
mov eax, dword [0x9dce80]
push ebx
xor ebx, ebx
push ebp
push esi
cmp eax, ebx
push edi
mov dword [esp + 0x24], ecx
je 0x5bf18b
mov eax, dword [ecx + 4]
push eax
push str.CVolumeMountPointMgr::GetVolumeMountPointAssociateW__________d_
push str.VolumeMountPoint
push 0xffffffffffffffff
push 0x9dc5ec
call fcn.006600d0
add esp, 0x14
mov eax, dword [esp + 0x460]
xor ebp, ebp
cmp eax, ebx
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x10], ebx
je 0x5bf46f
mov cx, word [eax]
xor eax, eax
mov word [esp + 0x14], cx
mov ecx, 0x81
lea edi, [esp + 0x42]
mov word [esp + 0x40], bx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea edx, [esp + 0x40]
push 0x104
lea eax, [esp + 0x18]
push edx
mov dword [esp + 0x1e], ebx
push eax
mov word [esp + 0x22], 0x3a
call dword [sym.imp.KERNEL32.dll_QueryDosDeviceW]
mov esi, eax
mov eax, dword [0x9dce80]
cmp eax, ebx
je 0x5bf20e
lea ecx, [esp + 0x40]
lea edx, [esp + 0x14]
push ecx
push edx
push str.CVolumeMountPointMgr::GetVolumeMountPointAssociateW_1___s____s_
push str.VolumeMountPoint
push 0xffffffffffffffff
push 0x9dc5ec
call fcn.006600d0
add esp, 0x18
cmp esi, ebx
je 0x5bf479
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x24a]
mov word [esp + 0x248], bx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [esp + 0x248]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsW]
test eax, eax
je 0x5bf483
mov dword [esp + 0x28], method.CCommandLineInfo.virtual_0
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x30], ebx
xor edi, edi
cmp word [esp + 0x248], bx
mov dword [esp + 0x458], ebx
mov ebx, dword [esp + 0x464]
lea ebp, [esp + 0x248]
je 0x5bf362
inc edi
push 0xffffffffffffffff
push 0
lea ecx, [esp + 0x30]
mov dword [esp + 0x44], edi
call fcn.005c1450
mov ax, word [ebp]
and eax, 0xffdf
sub eax, 0x40
push eax
call fcn.005be800
add esp, 4
test eax, eax
je 0x5bf34a
lea ecx, [esp + 0x28]
push ecx
mov ecx, dword [esp + 0x28]
push ebp
call fcn.005bebe0
mov esi, eax
mov eax, dword [0x9dce80]
test eax, eax
je 0x5bf2ed
push ebp
push esi
push edi
push str.CVolumeMountPointMgr::GetVolumeMountPointAssociateW_Get__n___d__2___d____s_
push str.VolumeMountPoint
push 0xffffffffffffffff
push 0x9dc5ec
call fcn.006600d0
add esp, 0x1c
test esi, esi
je 0x5bf34a
mov esi, dword [ebx + 8]
mov edx, dword [esp + 0x30]
push 0xffffffffffffffff
mov ecx, ebx
lea eax, [esi + edx]
push eax
call fcn.005c1450
mov eax, esi
mov edx, dword [esp + 0x2c]
shl eax, 6
add eax, esi
lea ecx, [eax + eax*2]
mov eax, dword [ebx + 4]
lea eax, [eax + ecx*8]
mov ecx, dword [esp + 0x30]
test ecx, ecx
je 0x5bf34a
mov dword [esp + 0x20], ecx
mov ecx, 0x186
mov esi, edx
mov edi, eax
add eax, 0x618
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [esp + 0x20]
add edx, 0x618
dec ecx
mov dword [esp + 0x20], ecx
jne 0x5bf325
mov edi, dword [esp + 0x3c]
push ebp
call fcn.005fc40b
lea ebp, [ebp + eax*2 + 2]
add esp, 4
cmp word [ebp], 0
jne 0x5bf288
mov edi, dword [ebx + 8]
dec edi
test edi, edi
jl 0x5bf409
mov eax, edi
shl eax, 6
add eax, edi
lea esi, [eax + eax*2]
shl esi, 3
mov eax, dword [0x9dce80]
test eax, eax
je 0x5bf3ae
mov edx, dword [ebx + 4]
lea ecx, [esp + 0x40]
push ecx
lea eax, [edx + esi + 0x208]
push eax
push edi
push str.CVolumeMountPointMgr::GetVolumeMountPointAssociateW_Match__n___d__3___d____s_
push str.VolumeMountPoint
push 0xffffffffffffffff
push 0x9dc5ec
call fcn.006600d0
add esp, 0x1c
mov edx, dword [ebx + 4]
lea ecx, [esp + 0x40]
push ecx
lea eax, [edx + esi + 0x208]
push eax
call fcn.005fd3f1
add esp, 8
test eax, eax
je 0x5bf3fa
mov ecx, dword [ebx + 8]
sub ecx, edi
dec ecx
je 0x5bf3f7
mov edx, dword [ebx + 4]
mov eax, ecx
shl eax, 6
add eax, ecx
lea ecx, [eax + eax*2]
lea eax, [esi + edx + 0x618]
shl ecx, 3
push ecx
lea ecx, [esi + edx]
push eax
push ecx
call fcn.005fcc10
add esp, 0xc
dec dword [ebx + 8]
dec edi
sub esi, 0x618
test edi, edi
jge 0x5bf37b
mov ebx, dword [ebx + 8]
mov esi, 1
test ebx, ebx
jle 0x5bf43c
mov eax, dword [0x9dce80]
test eax, eax
je 0x5bf438
push ebx
push 0x97dfc8
push str.VolumeMountPoint
push 0xffffffffffffffff
push 0x9dc5ec
call fcn.006600d0
add esp, 0x14
mov dword [esp + 0x1c], esi
mov dword [esp + 0x28], method.CCommandLineInfo.virtual_0
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x458], esi
test eax, eax
je 0x5bf45c
push eax
call fcn.008325dd
add esp, 4
mov ebp, dword [esp + 0x1c]
mov dword [esp + 0x458], 0xffffffff
xor ebx, ebx
jmp 0x5bf48b
mov dword [esp + 0x10], 1
jmp 0x5bf48b
mov dword [esp + 0x10], 2
jmp 0x5bf48b
mov dword [esp + 0x10], 3
cmp dword [0x9dce80], ebx
je 0x5bf4ba
mov eax, dword [esp + 0x24]
mov edx, dword [esp + 0x10]
push edx
push ebp
mov ecx, dword [eax + 4]
push ecx
push str.CVolumeMountPointMgr::GetVolumeMountPointAssociateW______d___ret___d___myerror___d_
push str.VolumeMountPoint
push 0xffffffffffffffff
push 0x9dc5ec
call fcn.006600d0
add esp, 0x1c
mov ecx, dword [esp + 0x450]
pop edi
mov eax, ebp
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x44c
ret 8