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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x568d60
mov eax, dword fs:[0]
push eax
sub esp, 0x7c
mov eax, dword [0x5d0074]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
sub esp, 0x18
mov eax, dword [ebp + 0x10]
mov edx, esp
mov ecx, esi
mov dword [ebp - 0x78], eax
xor eax, eax
mov dword [ebp - 0x74], esp
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 7
lea edi, [ecx + 2]
mov word [edx], ax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4fc4f3
sub ecx, edi
sar ecx, 1
push ecx
push esi
mov ecx, edx
call fcn.00407880
mov dword [ebp - 4], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x70]
call fcn.0048bb00
mov dword [ebp - 4], 1
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x70]
call fcn.0048bd20
mov byte [ebp - 4], 2
cmp dword [eax + 0x14], 8
jb 0x4fc540
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
mov edi, eax
mov dword [ebp - 0x74], edi
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x28]
call fcn.00407b40
cmp edi, 3
jne 0x4fc56b
test dword [ebp + 0xc], 0x20000
jne 0x4fc5bd
jmp 0x4fc722
cmp edi, 2
jne 0x4fc581
mov eax, dword [ebp + 0xc]
test eax, 0x10000
jne 0x4fc5bd
test eax, 0x200000
jmp 0x4fc5b7
cmp edi, 4
jne 0x4fc594
test dword [ebp + 0xc], 0x40000
jne 0x4fc5bd
jmp 0x4fc722
cmp edi, 5
jne 0x4fc5a7
test dword [ebp + 0xc], 0x80000
jne 0x4fc5bd
jmp 0x4fc722
cmp edi, 6
jne 0x4fc722
test dword [ebp + 0xc], 0x100000
je 0x4fc722
xorps xmm0, xmm0
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x70]
movlpd qword [ebp - 0x88], xmm0
movlpd qword [ebp - 0x80], xmm0
call fcn.0048bd20
mov byte [ebp - 4], 3
cmp dword [eax + 0x14], 8
jb 0x4fc5e5
mov eax, dword [eax]
push 0
lea ecx, [ebp - 0x88]
push ecx
lea ecx, [ebp - 0x80]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x40]
call fcn.00407b40
mov ecx, esi
mov dword [ebp - 0x18], 0
xor eax, eax
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4fc630
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea ecx, [ebp - 0x28]
call fcn.00407880
mov byte [ebp - 4], 4
mov edx, dword [ebp - 0x80]
mov esi, dword [ebp - 0x7c]
mov eax, dword [ebp - 0x88]
mov ecx, dword [ebp - 0x84]
mov byte [ebp - 4], 5
xor edi, edi
movups xmm0, xmmword [ebp - 0x28]
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0
movups xmmword [ebp - 0x58], xmm0
mov word [ebp - 0x28], di
movq xmm0, qword [ebp - 0x18]
movq qword [ebp - 0x48], xmm0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov byte [ebp - 4], 6
mov edi, dword [ebp - 0x74]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0x38], edx
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], edi
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x28]
call fcn.00407b40
mov byte [ebp - 4], 7
lea eax, [ebp - 0x58]
mov edi, dword [ebp - 0x78]
push eax
mov esi, dword [edi + 4]
cmp dword [edi + 8], esi
je 0x4fc70e
mov ecx, esi
mov dword [ebp - 0x78], esi
call fcn.00406ba0
mov byte [ebp - 4], 8
mov eax, dword [ebp - 0x40]
mov dword [esi + 0x18], eax
mov eax, dword [ebp - 0x3c]
mov dword [esi + 0x1c], eax
mov eax, dword [ebp - 0x38]
mov dword [esi + 0x20], eax
mov eax, dword [ebp - 0x34]
mov dword [esi + 0x24], eax
mov eax, dword [ebp - 0x30]
mov dword [esi + 0x28], eax
mov eax, dword [ebp - 0x2c]
mov dword [esi + 0x2c], eax
mov byte [ebp - 4], 7
add dword [edi + 4], 0x30
jmp 0x4fc716
push esi
mov ecx, edi
call fcn.004fe680
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x58]
call fcn.00407b40
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x70]
call fcn.00407b40
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005214e1
mov esp, ebp
pop ebp
ret 0x18