Function at 0x4bbbf0
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x55e1d4
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.0040a1d0
lea esi, [eax + 0x10]
mov dword [ebp - 0xf8], esi
mov byte [ebp - 4], 2
call fcn.00411fd0
mov ecx, eax
test ecx, ecx
je 0x4bc23a
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 0x4bbe3e
push 0x3f
push eax
call fcn.00522c09
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x4bbe3e
mov eax, dword [ebp - 0xe4]
sub ebx, dword [eax]
sar ebx, 1
test ebx, ebx
jle 0x4bbe3e
push ebx
push 0
lea ecx, [ebp - 0xe8]
push ecx
mov ecx, eax
call fcn.0040a040
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 0x4bbd5d
cmp dword [ecx + 0xc], 0
lea esi, [ecx + 0xc]
jl 0x4bbd48
mov eax, dword [eax]
cmp eax, dword [ecx]
jne 0x4bbd48
mov ecx, dword [ebp - 0xe0]
call fcn.0040a1d0
mov dword [ebp - 0xe0], eax
or ecx, 0xffffffff
lock xadd dword [esi], ecx
dec ecx
test ecx, ecx
jg 0x4bbd3d
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 0x4bbd5d
push dword [edx - 0xc]
lea ecx, [ebp - 0xf8]
push edx
call fcn.004126c0
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 0x4bbd7f
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.0040a040
lea ebx, [edi - 0x10]
mov dword [ebp - 0xec], 1
mov edx, dword [eax]
lea ecx, [edx - 0x10]
cmp ecx, ebx
je 0x4bbe08
cmp dword [ebx + 0xc], 0
lea edi, [ebx + 0xc]
jl 0x4bbdf3
mov eax, dword [ecx]
cmp eax, dword [ebx]
jne 0x4bbdf3
call fcn.0040a1d0
mov dword [ebp - 0xe0], eax
or ecx, 0xffffffff
lock xadd dword [edi], ecx
dec ecx
test ecx, ecx
jg 0x4bbde8
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 0x4bbe08
push dword [edx - 0xc]
lea ecx, [ebp - 0xf4]
push edx
call fcn.004126c0
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 0x4bbe3e
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push 0x5c
push esi
call fcn.00522f4c
add esp, 8
test eax, eax
je 0x4bbe57
sub eax, esi
sar eax, 1
jns 0x4bc088
mov ebx, 0x58e350
nop dword [eax]
movzx eax, word [ebx]
push eax
push esi
call fcn.00522f4c
add esp, 8
test eax, eax
je 0x4bbe7b
sub eax, esi
sar eax, 1
jns 0x4bc088
add ebx, 2
cmp ebx, 0x58e356
jl 0x4bbe60
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 0x4bbf31
lea eax, [ebp - 0xdc]
lea eax, [eax + ebx*2]
push eax
lea ecx, [ebp - 0xe4]
call fcn.004127e0
mov byte [ebp - 4], 0xa
lea eax, [ebp - 0xe4]
push eax
lea ecx, [ebp - 0x128]
call fcn.0048f3e0
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 0x4bbf31
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0xe0]
cmp ebx, eax
jae 0x4bbf50
nop dword [eax + eax]
cmp word [ebp + ebx*2 - 0xdc], 0
je 0x4bbf50
inc ebx
cmp ebx, eax
jb 0x4bbf40
inc ebx
cmp ebx, eax
jb 0x4bbed0
lea eax, [ebp - 0x128]
push eax
lea ecx, [ebp - 0x104]
call fcn.004b3460
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.0047dd80
mov eax, dword [ebp - 0x100]
xor ebx, ebx
mov edi, dword [ebp - 0xf4]
test eax, eax
jle 0x4bc099
mov ecx, dword [ebp - 0x104]
mov dword [ebp - 0xe8], ecx
test ebx, ebx
js 0x4bc244
cmp ebx, eax
jge 0x4bc244
mov ecx, dword [ecx]
sub ecx, 0x10
call fcn.0040a1d0
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.00416df0
push dword [edi - 0xc]
lea ecx, [ebp - 0xe4]
push edi
call fcn.00416df0
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 0x4bc1ef
add ecx, 0xc
mov dword [ebp - 0x110], ecx
cmp dword [ecx], 0
jl 0x4bc1da
mov eax, dword [ebp - 0xf0]
mov ecx, dword [edx]
cmp ecx, dword [eax]
mov eax, dword [ebp - 0xe4]
jne 0x4bc1da
mov ecx, edx
call fcn.0040a1d0
mov edx, dword [ebp - 0x110]
or ecx, 0xffffffff
mov dword [ebp - 0x114], eax
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4bc078
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 0x4bc1e9
push dword [ebp - 0xe4]
lea ecx, [ebp - 0x104]
call fcn.0048f3e0
mov dword [ebp - 0x10c], 0
mov byte [ebp - 0x108], 0
mov byte [ebp - 4], 0xf
mov edx, dword [ebp + 0xc]
test dl, dl
je 0x4bc0d6
call fcn.004cc820
mov eax, dword [0x5d638c]
test eax, eax
je 0x4bc0d3
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 0x4bc138
mov ecx, dword [ebp - 0x104]
mov dword [ebp - 0xe0], ecx
nop
test ebx, ebx
js 0x4bc244
cmp ebx, eax
jge 0x4bc244
push dword [ebp - 0x118]
push edx
push ecx
mov ecx, dword [ebp - 0x11c]
call fcn.004bc260
test eax, eax
je 0x4bc22b
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 0x4bc0f0
mov dword [ebp - 0xe0], 1
mov byte [ebp - 4], 4
cmp byte [ebp - 0x108], 0
je 0x4bc16d
call fcn.004cc820
mov eax, dword [0x5d6390]
test eax, eax
je 0x4bc16d
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 0x4bc18b
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 0x4bc1a4
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.0047dd80
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.005214e1
mov esp, ebp
pop ebp
ret 0xc
push dword [eax - 0xc]
mov ecx, dword [ebp - 0xe8]
push eax
call fcn.004126c0
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 0x4bc208
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 0x4bbfb0
jmp 0x4bc099
mov dword [ebp - 0xe0], 0
jmp 0x4bc142
push 0x80004005
call fcn.004126a0
push 1
push 0xc000008c
call fcn.0040db10
int3