Function at 0x4bb8e0
Capabilities:
Get disk information
Get disk size

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x54b279
mov eax, dword fs:[0]
push eax
sub esp, 0x27c
mov eax, dword [0x5ac020]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x25c], edi
xor eax, eax
mov dword [ebp - 0x230], 0
mov dword [ebp - 0x22c], 0
mov dword [ebp - 0x22c], 7
mov dword [ebp - 0x230], 0
mov word [ebp - 0x240], ax
mov dword [ebp - 4], eax
lea ebx, [edi + 0x1b8]
mov eax, dword [ebx + 0xac]
sub eax, dword [ebx + 0xa8]
sar eax, 2
test eax, eax
je 0x4bb993
mov eax, dword [ebx + 0xa8]
mov eax, dword [eax]
mov ecx, dword [eax + 0x8c]
sub ecx, dword [eax + 0x88]
mov eax, 0x88888889
imul ecx
add edx, ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, 5
jne 0x4bb993
xor esi, esi
jmp 0x4bb998
mov esi, 1
mov eax, dword [ebx + 0xac]
sub eax, dword [ebx + 0xa8]
sar eax, 2
mov dword [ebp - 0x258], esi
cmp esi, eax
jae 0x4bb9c6
mov ecx, dword [ebx + 0xa8]
push 0x572328
push 0
mov ecx, dword [ecx + esi*4]
call fcn.00426100
mov eax, dword [ebx + 0xac]
sub eax, dword [ebx + 0xa8]
sar eax, 2
cmp esi, eax
jae 0x4bb9ee
mov ecx, dword [ebx + 0xa8]
push 0x572328
push 1
mov ecx, dword [ecx + esi*4]
call fcn.00426100
mov eax, dword [ebx + 0xac]
sub eax, dword [ebx + 0xa8]
sar eax, 2
cmp esi, eax
jae 0x4bba16
mov ecx, dword [ebx + 0xa8]
push 0x572328
push 3
mov ecx, dword [ecx + esi*4]
call fcn.00426100
mov eax, dword [ebx + 0xac]
sub eax, dword [ebx + 0xa8]
sar eax, 2
cmp esi, eax
jae 0x4bba3e
mov ecx, dword [ebx + 0xa8]
push 0x572328
push 2
mov ecx, dword [ecx + esi*4]
call fcn.00426100
mov eax, dword [ebx + 0xac]
sub eax, dword [ebx + 0xa8]
sar eax, 2
cmp esi, eax
jae 0x4bba66
mov ecx, dword [ebx + 0xa8]
push 0x572328
push 4
mov ecx, dword [ecx + esi*4]
call fcn.00426100
push 2
push 0
push 0
push 0
lea eax, [ebp - 0x280]
push eax
call dword [sym.imp.USER32.dll_PeekMessageW]
lea eax, [edi + 0x188]
push 7
push str.0_Bytes
mov ecx, eax
mov dword [ebp - 0x264], eax
call fcn.00401f10
lea eax, [edi + 0x1a0]
push 7
push str.0_Bytes
mov ecx, eax
mov dword [ebp - 0x260], eax
call fcn.00401f10
lea eax, [edi + 0x170]
push 7
push str.0_Bytes
mov ecx, eax
mov dword [ebp - 0x254], eax
call fcn.00401f10
push 3
lea ecx, [edi + 0x158]
push 0x572328
call fcn.00401f10
mov eax, dword [0x583438]
lea edx, [ebp - 0x240]
mov ecx, dword [edi + 0x100]
mov dword [ebp - 0x18], eax
mov eax, dword [0x58343c]
mov dword [ebp - 0x14], eax
mov ax, word [edi + 0x100]
add ax, 0x41
mov word [ebp - 0x18], ax
call fcn.00485920
xor eax, eax
mov word [ebp - 0x14], ax
mov eax, dword [ebx + 0xac]
sub eax, dword [ebx + 0xa8]
sar eax, 2
cmp esi, eax
jae 0x4bbb38
mov ecx, dword [ebx + 0xa8]
lea eax, [ebp - 0x18]
push eax
push 0
mov ecx, dword [ecx + esi*4]
call fcn.00426100
cmp dword [ebp - 0x230], 0
mov eax, dword [ebx + 0xac]
jne 0x4bbb5b
sub eax, dword [ebx + 0xa8]
sar eax, 2
cmp esi, eax
jae 0x4bbb8d
push 0x56c40c
jmp 0x4bbb7d
cmp dword [ebp - 0x22c], 8
lea edx, [ebp - 0x240]
cmovae edx, dword [ebp - 0x240]
sub eax, dword [ebx + 0xa8]
sar eax, 2
cmp esi, eax
jae 0x4bbb8d
push edx
mov ecx, dword [ebx + 0xa8]
push 1
mov ecx, dword [ecx + esi*4]
call fcn.00426100
push 2
push 0
push 0
push 0
lea eax, [ebp - 0x280]
push eax
call dword [sym.imp.USER32.dll_PeekMessageW]
lea ecx, [ebp - 0x18]
lea edx, [ecx + 2]
jmp 0x4bbbb0
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4bbbb0
mov eax, dword [edi + 0x150]
sub ecx, edx
sar ecx, 1
add eax, 5
add eax, ecx
mov edx, 2
xor ecx, ecx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004ffbb1
mov edx, eax
add esp, 4
mov dword [ebp - 0x244], edx
test edx, edx
je 0x4bbc9b
lea ecx, [ebp - 0x18]
lea eax, [ecx + 2]
mov dword [ebp - 0x24c], eax
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4bbc00
sub ecx, dword [ebp - 0x24c]
lea eax, [edi + 0x140]
sar ecx, 1
cmp dword [eax + 0x14], 8
mov dword [ebp - 0x24c], eax
jb 0x4bbc2d
mov eax, dword [eax]
mov dword [ebp - 0x24c], eax
mov eax, dword [edi + 0x150]
lea esi, [ebp - 0x18]
push esi
push dword [ebp - 0x24c]
add eax, 5
add eax, ecx
push eax
push edx
call fcn.005016e2
mov edx, dword [ebp - 0x244]
add esp, 0x10
cmp word [edx], 0
jne 0x4bbc5c
xor ecx, ecx
jmp 0x4bbc7a
mov ecx, edx
lea eax, [ecx + 2]
mov dword [ebp - 0x24c], eax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4bbc67
sub ecx, dword [ebp - 0x24c]
sar ecx, 1
push ecx
push edx
lea ecx, [edi + 0x158]
call fcn.00401f10
push dword [ebp - 0x244]
call fcn.0051d3d0
mov esi, dword [ebp - 0x258]
add esp, 4
mov eax, 0x5c
mov word [ebp - 0x14], ax
lea eax, [ebp - 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 4
je 0x4bbd1b
cmp dword [0x5be24c], 0
jne 0x4bbda6
mov eax, dword [ebx + 0xac]
sub eax, dword [ebx + 0xa8]
sar eax, 2
test eax, eax
je 0x4bbda6
mov eax, dword [ebx + 0xa8]
mov ecx, dword [eax]
mov eax, dword [ecx + 0x98]
sub eax, dword [ecx + 0x94]
sar eax, 2
cmp eax, 2
jbe 0x4bbda6
mov eax, dword [ecx + 0x94]
mov ecx, dword [eax + 8]
mov dword [ebp - 0x244], ecx
mov eax, dword [ecx + 0x64]
test al, al
js 0x4bbda1
or eax, 0x80
mov dword [ecx + 0x64], eax
jmp 0x4bbd8d
cmp dword [0x5be24c], 0
jne 0x4bbda6
mov eax, dword [ebx + 0xac]
sub eax, dword [ebx + 0xa8]
sar eax, 2
test eax, eax
je 0x4bbda6
mov eax, dword [ebx + 0xa8]
mov ecx, dword [eax]
mov eax, dword [ecx + 0x98]
sub eax, dword [ecx + 0x94]
sar eax, 2
cmp eax, 2
jbe 0x4bbda6
mov eax, dword [ecx + 0x94]
mov ecx, dword [eax + 8]
mov dword [ebp - 0x244], ecx
mov eax, dword [ecx + 0x64]
test al, al
jns 0x4bbda1
and eax, 0xffffff7f
mov dword [ecx + 0x64], eax
test al, 0x40
je 0x4bbd8d
mov eax, dword [ecx + 0x78]
test eax, eax
je 0x4bbd8d
mov ecx, eax
call fcn.004c7d50
mov ecx, dword [ebp - 0x244]
mov eax, dword [ecx]
push 0
push 9
invalid