Function at 0x5bebe0
Capabilities:
Get disk information

Disassembly:
mov eax, 0x1264
call fcn.005fc5a0
mov eax, dword [0x9dce80]
push ebx
push ebp
xor ebx, ebx
mov ebp, ecx
push esi
cmp eax, ebx
push edi
mov dword [esp + 0x14], ebp
je 0x5bec1c
mov eax, dword [ebp + 4]
push eax
push str.CVolumeMountPointMgr::GetVolumeMountPointIncludeW__________d_
push str.VolumeMountPoint
push 0xffffffffffffffff
push 0x9dc5ec
call fcn.006600d0
add esp, 0x14
mov esi, dword [esp + 0x1278]
mov dword [esp + 0x24], ebx
cmp esi, ebx
mov dword [esp + 0x10], ebx
je 0x5bf0fc
xor ecx, ecx
xor eax, eax
mov dword [esp + 0x1a], ecx
lea edi, [esp + 0xa56]
mov word [esp + 0x1e], cx
mov ecx, 0x81
mov word [esp + 0xa54], bx
mov dx, word [esi]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [esp + 0xa54]
push 0x104
lea ecx, [esp + 0x24]
push eax
push ecx
push ebx
mov word [esp + 0x28], dx
push ebx
push ebx
lea edx, [esp + 0x30]
push ebx
push edx
mov word [esp + 0x3a], 0x3a
mov word [esp + 0x3c], 0x5c
mov dword [esp + 0x40], ebx
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
mov edi, eax
mov eax, dword [0x9dce80]
cmp eax, ebx
je 0x5beccb
mov ecx, dword [esp + 0x20]
lea eax, [esp + 0xa54]
push eax
push ecx
lea edx, [esp + 0x20]
push edi
push edx
push esi
push str.CVolumeMountPointMgr::GetVolumeMountPointIncludeW_1___s____s____d__08x__s_
push str.VolumeMountPoint
push 0xffffffffffffffff
push 0x9dc5ec
call fcn.006600d0
add esp, 0x24
cmp edi, ebx
je 0x5bf106
mov eax, dword [esp + 0x20]
and eax, 0x80
cmp al, 0x80
jne 0x5bf110
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x43e]
mov word [esp + 0x43c], bx
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x43c]
push 0x104
lea edx, [esp + 0x1c]
push ecx
push edx
mov ecx, ebp
stosw word es:[edi], ax
call fcn.005beb40
mov ebp, eax
cmp ebp, 0xffffffff
je 0x5bf11a
mov ecx, 0x185
xor eax, eax
lea edi, [esp + 0xc5e]
mov word [esp + 0xc5c], bx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x646]
mov word [esp + 0x644], bx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x2e]
mov word [esp + 0x2c], bx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x84e]
mov word [esp + 0x84c], bx
rep stosd dword es:[edi], eax
push str._Volume
stosw word es:[edi], ax
call fcn.005fc40b
add esp, 4
mov dword [esp + 0x28], eax
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x236]
mov word [esp + 0x234], bx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov eax, dword [0x9dce80]
inc ebx
test eax, eax
je 0x5bedd3
push ebx
push str.CVolumeMountPointMgr::GetVolumeMountPointIncludeW___n___d__2
push str.VolumeMountPoint
push 0xffffffffffffffff
push 0x9dc5ec
call fcn.006600d0
add esp, 0x14
lea eax, [esp + 0x43c]
push eax
call fcn.005fc40b
add esp, 4
test eax, eax
jbe 0x5bf026
lea ecx, [esp + 0x43c]
push ecx
call fcn.005fc40b
lea edx, [esp + 0x1c]
mov esi, eax
push edx
call fcn.005fc40b
add esi, eax
add esp, 8
cmp esi, 0x104
jae 0x5bf026
mov ecx, 0x186
xor eax, eax
lea edi, [esp + 0xc5c]
lea edx, [esp + 0x644]
rep stosd dword es:[edi], eax
mov ecx, 0x82
lea edi, [esp + 0x644]
rep stosd dword es:[edi], eax
lea eax, [esp + 0x43c]
lea ecx, [esp + 0x18]
push eax
push ecx
push 0x93a244
push edx
call fcn.005fe023
lea eax, [esp + 0x654]
push 0x103
lea ecx, [esp + 0xc70]
push eax
push ecx
call fcn.005fc3ce
add esp, 0x1c
mov ecx, 0x82
xor eax, eax
lea edi, [esp + 0x2c]
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x14]
lea edx, [esp + 0x2c]
push 0x104
lea eax, [esp + 0x648]
push edx
push eax
call fcn.005beb20
mov esi, eax
mov eax, dword [0x9dce80]
test eax, eax
je 0x5beec9
lea ecx, [esp + 0x2c]
lea edx, [esp + 0x644]
push ecx
push edx
push ebx
push str.CVolumeMountPointMgr::GetVolumeMountPointIncludeW___n___d__3___s____s_
push str.VolumeMountPoint
push 0xffffffffffffffff
push 0x9dc5ec
call fcn.006600d0
add esp, 0x1c
test esi, esi
je 0x5beee7
lea eax, [esp + 0x2c]
push 0x103
lea ecx, [esp + 0x1070]
push eax
push ecx
call fcn.005fc3ce
add esp, 0xc
mov edx, dword [esp + 0x28]
lea eax, [esp + 0x2c]
push edx
push str._Volume
push eax
call fcn.005fddee
add esp, 0xc
test eax, eax
jne 0x5befce
mov ecx, 0x82
lea edi, [esp + 0x234]
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x34]
push 0x103
lea edx, [esp + 0x238]
push ecx
push edx
call fcn.005fc3ce
lea eax, [esp + 0x240]
push eax
call fcn.005fc40b
lea eax, [esp + eax*2 + 0x242]
add esp, 0x10
cmp word [eax], 0x5c
jne 0x5bef4d
mov word [eax], 0
mov ecx, 0x82
xor eax, eax
lea edi, [esp + 0x84c]
push 0x104
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x850]
lea edx, [esp + 0x238]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_QueryDosDeviceW]
mov esi, eax
mov eax, dword [0x9dce80]
test eax, eax
je 0x5befad
lea eax, [esp + 0x84c]
lea ecx, [esp + 0x234]
push eax
push ecx
push ebx
push str.CVolumeMountPointMgr::GetVolumeMountPointIncludeW___n___d__4___s____s_
push str.VolumeMountPoint
push 0xffffffffffffffff
push 0x9dc5ec
call fcn.006600d0
add esp, 0x1c
test esi, esi
jbe 0x5befce
lea edx, [esp + 0x84c]
push 0x103
lea eax, [esp + 0xe68]
push edx
push eax
call fcn.005fc3ce
add esp, 0xc
mov eax, dword [0x9dce80]
test eax, eax
je 0x5beff1
push ebx
push str.CVolumeMountPointMgr::GetVolumeMountPointIncludeW___n___d__5
push str.VolumeMountPoint
push 0xffffffffffffffff
push 0x9dc5ec
call fcn.006600d0
add esp, 0x14
mov edi, dword [esp + 0x127c]
push 0xffffffffffffffff
mov esi, dword [edi + 8]
lea ecx, [esi + 1]
push ecx
mov ecx, edi
call fcn.005c1450
mov eax, esi
mov ecx, 0x186
shl eax, 6
add eax, esi
lea esi, [esp + 0xc5c]
lea edx, [eax + eax*2]
mov eax, dword [edi + 4]
lea edi, [eax + edx*8]
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x43c]
push 0x104
push ecx
mov ecx, dword [esp + 0x1c]
push ebp
call fcn.005beb60
mov esi, eax
mov eax, dword [0x9dce80]
test eax, eax
je 0x5bf06c
lea edx, [esp + 0x43c]
push edx
push ebp
push esi
push ebx
push str.CVolumeMountPointMgr::GetVolumeMountPointIncludeW___n___d__6___d__08x__s_
push str.VolumeMountPoint
push 0xffffffffffffffff
push 0x9dc5ec
call fcn.006600d0
add esp, 0x20
test esi, esi
jne 0x5bedaf
mov ecx, dword [esp + 0x14]
push ebp
call fcn.005beb80
mov eax, dword [esp + 0x127c]
mov eax, dword [eax + 8]
test eax, eax
jle 0x5bf0b8
mov ecx, dword [0x9dce80]
test ecx, ecx
je 0x5bf0b0
push eax
push 0x97dabc
push str.VolumeMountPoint
push 0xffffffffffffffff
push 0x9dc5ec
call fcn.006600d0
add esp, 0x14
mov dword [esp + 0x24], 1
xor ebx, ebx
cmp dword [0x9dce80], ebx
je 0x5bf124
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
mov esi, dword [esp + 0x24]
push ecx
mov eax, dword [edx + 4]
push esi
push eax
push str.CVolumeMountPointMgr::GetVolumeMountPointIncludeW______d___ret___d___myerror___d_
push str.VolumeMountPoint
push 0xffffffffffffffff
push 0x9dc5ec
call fcn.006600d0
add esp, 0x1c
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1264
ret 8
mov dword [esp + 0x10], 1
jmp 0x5bf0ba
mov dword [esp + 0x10], 2
jmp 0x5bf0ba
mov dword [esp + 0x10], 3
jmp 0x5bf0ba
mov dword [esp + 0x10], 4
jmp 0x5bf0ba
mov eax, dword [esp + 0x24]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1264
ret 8