Function at 0x4bb9c0
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x55dec4
mov eax, dword fs:[0]
push eax
sub esp, 0x120
mov eax, dword [0x5d0074]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x11c], ecx
mov ebx, dword [ebp + 8]
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0xec], 0
mov dword [ebp - 0xe4], ebx
mov dword [ebp - 0x118], eax
mov dword [ebp - 0x104], 0
mov dword [ebp - 0x100], 0
mov dword [ebp - 0xfc], 0
mov dword [ebp - 4], 0
mov ecx, dword [ebx]
sub ecx, 0x10
call fcn.0040be70
lea esi, [eax + 0x10]
mov dword [ebp - 0xf8], esi
mov byte [ebp - 4], 2
call fcn.00413cd0
mov ecx, eax
test ecx, ecx
je 0x4bc00a
mov eax, dword [ecx]
call dword [eax + 0xc]
lea edi, [eax + 0x10]
mov dword [ebp - 0xf4], edi
mov byte [ebp - 4], 4
mov eax, dword [ebx]
cmp dword [eax - 0xc], 0
jle 0x4bbc0e
push 0x3f
push eax
call fcn.00522329
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x4bbc0e
mov eax, dword [ebp - 0xe4]
sub ebx, dword [eax]
sar ebx, 1
test ebx, ebx
jle 0x4bbc0e
push ebx
push 0
lea ecx, [ebp - 0xe8]
push ecx
mov ecx, eax
call fcn.0040bce0
mov byte [ebp - 4], 5
lea ecx, [esi - 0x10]
mov edx, dword [eax]
mov dword [ebp - 0xf0], ecx
lea eax, [edx - 0x10]
mov dword [ebp - 0xe0], eax
cmp eax, ecx
je 0x4bbb2d
cmp dword [ecx + 0xc], 0
lea esi, [ecx + 0xc]
jl 0x4bbb18
mov eax, dword [eax]
cmp eax, dword [ecx]
jne 0x4bbb18
mov ecx, dword [ebp - 0xe0]
call fcn.0040be70
mov dword [ebp - 0xe0], eax
or ecx, 0xffffffff
lock xadd dword [esi], ecx
dec ecx
test ecx, ecx
jg 0x4bbb0d
mov esi, dword [ebp - 0xf0]
push esi
mov ecx, dword [esi]
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [ebp - 0xe0]
lea esi, [eax + 0x10]
mov dword [ebp - 0xf8], esi
jmp 0x4bbb2d
push dword [edx - 0xc]
lea ecx, [ebp - 0xf8]
push edx
call fcn.004143c0
mov esi, dword [ebp - 0xf8]
mov byte [ebp - 4], 4
or eax, 0xffffffff
mov edx, dword [ebp - 0xe8]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4bbb4f
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 7
mov ecx, dword [ebp - 0xe4]
mov eax, dword [ecx]
mov eax, dword [eax - 0xc]
sub eax, ebx
push eax
push ebx
lea eax, [ebp - 0xf0]
push eax
call fcn.0040bce0
lea ebx, [edi - 0x10]
mov dword [ebp - 0xec], 1
mov edx, dword [eax]
lea ecx, [edx - 0x10]
cmp ecx, ebx
je 0x4bbbd8
cmp dword [ebx + 0xc], 0
lea edi, [ebx + 0xc]
jl 0x4bbbc3
mov eax, dword [ecx]
cmp eax, dword [ebx]
jne 0x4bbbc3
call fcn.0040be70
mov dword [ebp - 0xe0], eax
or ecx, 0xffffffff
lock xadd dword [edi], ecx
dec ecx
test ecx, ecx
jg 0x4bbbb8
mov ecx, dword [ebx]
push ebx
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [ebp - 0xe0]
lea edi, [eax + 0x10]
mov dword [ebp - 0xf4], edi
jmp 0x4bbbd8
push dword [edx - 0xc]
lea ecx, [ebp - 0xf4]
push edx
call fcn.004143c0
mov edi, dword [ebp - 0xf4]
mov eax, 1
mov dword [ebp - 0xec], eax
and eax, 0xfffffffe
mov dword [ebp - 0xec], eax
mov byte [ebp - 4], 4
or eax, 0xffffffff
mov edx, dword [ebp - 0xf0]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4bbc0e
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push 0x5c
push esi
call fcn.0052266c
add esp, 8
test eax, eax
je 0x4bbc27
sub eax, esi
sar eax, 1
jns 0x4bbe58
mov ebx, 0x58e630
nop dword [eax]
movzx eax, word [ebx]
push eax
push esi
call fcn.0052266c
add esp, 8
test eax, eax
je 0x4bbc4b
sub eax, esi
sar eax, 1
jns 0x4bbe58
add ebx, 2
cmp ebx, 0x58e636
jl 0x4bbc30
mov byte [ebp - 4], 9
lea eax, [ebp - 0xdc]
push eax
push 0x64
mov dword [ebp - 0x128], 0
mov dword [ebp - 0x124], 0
mov dword [ebp - 0x120], 0
mov dword [ebp - 0xec], 2
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsW]
xor ebx, ebx
mov dword [ebp - 0xe0], eax
or edi, 0xffffffff
nop dword [eax]
lea eax, [ebp - 0xdc]
lea eax, [eax + ebx*2]
push eax
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 3
jne 0x4bbd01
lea eax, [ebp - 0xdc]
lea eax, [eax + ebx*2]
push eax
lea ecx, [ebp - 0xe4]
call fcn.004144e0
mov byte [ebp - 4], 0xa
lea eax, [ebp - 0xe4]
push eax
lea ecx, [ebp - 0x128]
call fcn.0048e320
mov byte [ebp - 4], 9
mov eax, edi
mov edx, dword [ebp - 0xe4]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4bbd01
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0xe0]
cmp ebx, eax
jae 0x4bbd20
nop dword [eax + eax]
cmp word [ebp + ebx*2 - 0xdc], 0
je 0x4bbd20
inc ebx
cmp ebx, eax
jb 0x4bbd10
inc ebx
cmp ebx, eax
jb 0x4bbca0
lea eax, [ebp - 0x128]
push eax
lea ecx, [ebp - 0x104]
call fcn.004b30c0
mov eax, 2
mov dword [ebp - 0xec], eax
and eax, 0xfffffffd
mov dword [ebp - 0xec], eax
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x128]
call fcn.0047e6b0
mov eax, dword [ebp - 0x100]
xor ebx, ebx
mov edi, dword [ebp - 0xf4]
test eax, eax
jle 0x4bbe69
mov ecx, dword [ebp - 0x104]
mov dword [ebp - 0xe8], ecx
test ebx, ebx
js 0x4bc014
cmp ebx, eax
jge 0x4bc014
mov ecx, dword [ecx]
sub ecx, 0x10
call fcn.0040be70
add eax, 0x10
mov dword [ebp - 0xe4], eax
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0xe4]
push dword [esi - 0xc]
push esi
call fcn.00418250
push dword [edi - 0xc]
lea ecx, [ebp - 0xe4]
push edi
call fcn.00418250
mov ecx, dword [ebp - 0xe8]
mov eax, dword [ebp - 0xe4]
mov ecx, dword [ecx]
lea edx, [eax - 0x10]
sub ecx, 0x10
mov dword [ebp - 0xe0], edx
mov dword [ebp - 0xf0], ecx
cmp edx, ecx
je 0x4bbfbf
add ecx, 0xc
mov dword [ebp - 0x110], ecx
cmp dword [ecx], 0
jl 0x4bbfaa
mov eax, dword [ebp - 0xf0]
mov ecx, dword [edx]
cmp ecx, dword [eax]
mov eax, dword [ebp - 0xe4]
jne 0x4bbfaa
mov ecx, edx
call fcn.0040be70
mov edx, dword [ebp - 0x110]
or ecx, 0xffffffff
mov dword [ebp - 0x114], eax
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4bbe48
mov eax, dword [ebp - 0xf0]
push eax
mov ecx, dword [eax]
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [ebp - 0x114]
mov ecx, dword [ebp - 0xe8]
add eax, 0x10
mov dword [ecx], eax
jmp 0x4bbfb9
push dword [ebp - 0xe4]
lea ecx, [ebp - 0x104]
call fcn.0048e320
mov dword [ebp - 0x10c], 0
mov byte [ebp - 0x108], 0
mov byte [ebp - 4], 0xf
mov edx, dword [ebp + 0xc]
test dl, dl
je 0x4bbea6
call fcn.004cc300
mov eax, dword [0x5d63e4]
test eax, eax
je 0x4bbea3
lea ecx, [ebp - 0x10c]
push ecx
call eax
mov byte [ebp - 0x108], 1
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp - 0x100]
xor ebx, ebx
test eax, eax
jle 0x4bbf08
mov ecx, dword [ebp - 0x104]
mov dword [ebp - 0xe0], ecx
nop
test ebx, ebx
js 0x4bc014
cmp ebx, eax
jge 0x4bc014
push dword [ebp - 0x118]
push edx
push ecx
mov ecx, dword [ebp - 0x11c]
call fcn.004bc030
test eax, eax
je 0x4bbffb
mov ecx, dword [ebp - 0xe0]
inc ebx
mov eax, dword [ebp - 0x100]
add ecx, 4
mov edx, dword [ebp + 0xc]
mov dword [ebp - 0xe0], ecx
cmp ebx, eax
jl 0x4bbec0
mov dword [ebp - 0xe0], 1
mov byte [ebp - 4], 4
cmp byte [ebp - 0x108], 0
je 0x4bbf3d
call fcn.004cc300
mov eax, dword [0x5d63e8]
test eax, eax
je 0x4bbf3d
lea ecx, [ebp - 0x10c]
push ecx
call eax
mov byte [ebp - 0x108], 0
mov byte [ebp - 4], 2
or ebx, 0xffffffff
add edi, 0xfffffff0
mov eax, ebx
lock xadd dword [edi + 0xc], eax
dec eax
test eax, eax
jg 0x4bbf5b
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0
add esi, 0xfffffff0
lock xadd dword [esi + 0xc], ebx
dec ebx
test ebx, ebx
jg 0x4bbf74
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x104]
call fcn.0047e6b0
mov eax, dword [ebp - 0xe0]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00520c02
mov esp, ebp
pop ebp
ret 0xc
push dword [eax - 0xc]
mov ecx, dword [ebp - 0xe8]
push eax
call fcn.004143c0
mov edx, dword [ebp - 0xe0]
mov byte [ebp - 4], 4
or eax, 0xffffffff
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4bbfd8
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0xe8]
inc ebx
mov eax, dword [ebp - 0x100]
add ecx, 4
mov dword [ebp - 0xe8], ecx
cmp ebx, eax
jl 0x4bbd80
jmp 0x4bbe69
mov dword [ebp - 0xe0], 0
jmp 0x4bbf12
push 0x80004005
call fcn.004143a0
push 1
push 0xc000008c
call fcn.0040f790
int3