Function at 0x4fcd60
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 0x574b40
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x98
mov eax, dword [0x5dd024]
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 0x4fcde1
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x30]
call fcn.00407c60
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.00406c50
mov byte [ebp - 4], 1
mov byte [ebp - 4], 0
mov ecx, esi
call fcn.00486fe0
add esp, 0x18
mov byte [ebp - 4], 2
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x78]
call fcn.00487410
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x30]
call fcn.00407f30
mov byte [ebp - 4], 6
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp - 0x78]
call fcn.00486d00
push 0x5c
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x7c], 1
mov esi, eax
call fcn.0040b010
cmp dword [esi + 0x14], 8
jb 0x4fce7b
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.00407f30
cmp edi, 3
jne 0x4fceb1
test dword [ebx + 0xc], 0x20000
jne 0x4fcf03
jmp 0x4fd0c5
cmp edi, 2
jne 0x4fcec7
mov eax, dword [ebx + 0xc]
test eax, 0x10000
jne 0x4fcf03
test eax, 0x200000
jmp 0x4fcefd
cmp edi, 4
jne 0x4fceda
test dword [ebx + 0xc], 0x40000
jne 0x4fcf03
jmp 0x4fd0c5
cmp edi, 5
jne 0x4fceed
test dword [ebx + 0xc], 0x80000
jne 0x4fcf03
jmp 0x4fd0c5
cmp edi, 6
jne 0x4fd0c5
test dword [ebx + 0xc], 0x100000
je 0x4fd0c5
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.00486d00
or esi, 2
mov dword [ebp - 0x88], eax
push 0x5c
lea ecx, [ebp - 0x48]
mov dword [ebp - 0x7c], esi
call fcn.0040b010
mov eax, dword [ebp - 0x88]
cmp dword [eax + 0x14], 8
jb 0x4fcf4a
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.00407f30
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 0x4fcfd0
sub ecx, dword [ebp - 0x8c]
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x30]
call fcn.00407c60
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.00407f30
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 0x4fd0b1
mov ecx, esi
mov dword [ebp - 0x98], esi
call fcn.00406c50
mov byte [ebp - 4], 0xb
mov eax, dword [ebp - 0x48]
mov ecx, dword [ebp - 0x44]
mov dword [esi + 0x18], eax
mov eax, dword [ebp - 0x40]
mov dword [esi + 0x20], eax
mov eax, dword [ebp - 0x38]
mov dword [esi + 0x1c], ecx
mov ecx, dword [ebp - 0x3c]
mov dword [esi + 0x28], eax
mov eax, dword [ebp - 0x34]
mov dword [esi + 0x24], ecx
mov dword [esi + 0x2c], eax
mov byte [ebp - 4], 0xa
add dword [edi + 4], 0x30
jmp 0x4fd0b9
push esi
mov ecx, edi
call fcn.004feeb0
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x60]
call fcn.00407f30
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x78]
call fcn.00407f30
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.005255bb
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 0x18