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

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x570070
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x98
mov eax, dword [0x5d8024]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edx, dword [ebx + 8]
mov ecx, edx
mov eax, dword [ebx + 0x10]
mov dword [ebp - 0x7c], 0
mov dword [ebp - 0x98], eax
xor eax, eax
mov dword [ebp - 0x20], 0
lea esi, [ecx + 2]
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x8c], edx
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 7
mov word [ebp - 0x30], ax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4fbbb1
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x30]
call fcn.00407c80
mov dword [ebp - 4], 0
lea eax, [ebp - 0x30]
push 1
sub esp, 0x18
mov dword [ebp - 0x94], esp
mov esi, esp
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x90], esp
push eax
call fcn.00406c70
mov byte [ebp - 4], 1
mov byte [ebp - 4], 0
mov ecx, esi
call fcn.00486860
add esp, 0x18
mov byte [ebp - 4], 2
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x78]
call fcn.00486c90
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x30]
call fcn.00407f50
mov byte [ebp - 4], 6
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp - 0x78]
call fcn.00486580
push 0x5c
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x7c], 1
mov esi, eax
call fcn.0040b070
cmp dword [esi + 0x14], 8
jb 0x4fbc4b
mov esi, dword [esi]
push esi
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
mov esi, 1
mov edi, eax
mov dword [ebp - 0x7c], esi
and esi, 0xfffffffe
mov dword [ebp - 0x7c], esi
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x30]
call fcn.00407f50
cmp edi, 3
jne 0x4fbc81
test dword [ebx + 0xc], 0x20000
jne 0x4fbcd3
jmp 0x4fbe95
cmp edi, 2
jne 0x4fbc97
mov eax, dword [ebx + 0xc]
test eax, 0x10000
jne 0x4fbcd3
test eax, 0x200000
jmp 0x4fbccd
cmp edi, 4
jne 0x4fbcaa
test dword [ebx + 0xc], 0x40000
jne 0x4fbcd3
jmp 0x4fbe95
cmp edi, 5
jne 0x4fbcbd
test dword [ebx + 0xc], 0x80000
jne 0x4fbcd3
jmp 0x4fbe95
cmp edi, 6
jne 0x4fbe95
test dword [ebx + 0xc], 0x100000
je 0x4fbe95
xorps xmm0, xmm0
movlpd qword [ebp - 0xa8], xmm0
movlpd qword [ebp - 0xa0], xmm0
mov byte [ebp - 4], 7
lea eax, [ebp - 0x48]
push eax
lea ecx, [ebp - 0x78]
call fcn.00486580
or esi, 2
mov dword [ebp - 0x88], eax
push 0x5c
lea ecx, [ebp - 0x48]
mov dword [ebp - 0x7c], esi
call fcn.0040b070
mov eax, dword [ebp - 0x88]
cmp dword [eax + 0x14], 8
jb 0x4fbd1a
mov eax, dword [eax]
push 0
lea ecx, [ebp - 0xa8]
push ecx
lea ecx, [ebp - 0xa0]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
and esi, 0xfffffffd
mov dword [ebp - 0x7c], esi
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x48]
call fcn.00407f50
mov eax, dword [ebp - 0x9c]
mov edx, dword [ebp - 0x8c]
mov ecx, edx
mov esi, dword [ebp - 0xa0]
mov dword [ebp - 0x94], eax
mov eax, dword [ebp - 0xa8]
mov dword [ebp - 0x88], eax
mov eax, dword [ebp - 0xa4]
mov dword [ebp - 0x90], eax
xor eax, eax
mov word [ebp - 0x30], ax
lea eax, [ecx + 2]
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 7
mov dword [ebp - 0x8c], eax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4fbda0
sub ecx, dword [ebp - 0x8c]
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x30]
call fcn.00407c80
mov byte [ebp - 4], 8
xor eax, eax
movups xmm0, xmmword [ebp - 0x30]
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x4c], 0
movups xmmword [ebp - 0x60], xmm0
mov word [ebp - 0x30], ax
movq xmm0, qword [ebp - 0x20]
movq qword [ebp - 0x50], xmm0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 7
mov byte [ebp - 4], 9
mov eax, dword [ebp - 0x88]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x90]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x94]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebx + 0x18]
mov dword [ebp - 0x40], esi
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], edi
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x30]
call fcn.00407f50
mov byte [ebp - 4], 0xa
lea eax, [ebp - 0x60]
mov edi, dword [ebp - 0x98]
push eax
mov esi, dword [edi + 4]
cmp esi, dword [edi + 8]
je 0x4fbe81
mov ecx, esi
mov dword [ebp - 0x98], esi
call fcn.00406c70
mov byte [ebp - 4], 0xb
mov eax, dword [ebp - 0x48]
mov dword [esi + 0x18], eax
mov eax, dword [ebp - 0x44]
mov dword [esi + 0x1c], eax
mov eax, dword [ebp - 0x40]
mov dword [esi + 0x20], eax
mov eax, dword [ebp - 0x3c]
mov dword [esi + 0x24], eax
mov eax, dword [ebp - 0x38]
mov dword [esi + 0x28], eax
mov eax, dword [ebp - 0x34]
mov dword [esi + 0x2c], eax
mov byte [ebp - 4], 0xa
add dword [edi + 4], 0x30
jmp 0x4fbe89
push esi
mov ecx, edi
call fcn.004fdc70
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x60]
call fcn.00407f50
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x78]
call fcn.00407f50
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00521781
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 0x18