Function at 0x567d80
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 0x6012f0
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0xa0
mov eax, dword [0x69001c]
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]
xor eax, eax
mov edi, dword [ebx + 0x10]
mov ecx, edx
mov dword [ebp - 0x7c], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
lea esi, [ecx + 2]
mov dword [ebp - 0x80], edx
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 7
mov word [ebp - 0x30], ax
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x567e00
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x30]
call fcn.00406e80
mov dword [ebp - 4], 0
lea eax, [ebp - 0x30]
push 1
sub esp, 0x18
mov dword [ebp - 0x84], esp
mov esi, esp
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x90], esp
push eax
call fcn.00406350
mov byte [ebp - 4], 1
mov byte [ebp - 4], 0
mov ecx, esi
call fcn.004f1920
add esp, 0x18
mov byte [ebp - 4], 2
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x78]
call fcn.004f1d70
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x30]
call fcn.004075e0
mov byte [ebp - 4], 6
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp - 0x78]
call fcn.004f1640
push 0x5c
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x7c], 1
call fcn.0040c270
cmp dword [ebp - 0x1c], 8
lea eax, [ebp - 0x30]
cmovae eax, dword [ebp - 0x30]
push eax
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
mov esi, eax
mov eax, 1
mov dword [ebp - 0x7c], eax
and eax, 0xfffffffe
mov dword [ebp - 0x7c], eax
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x30]
call fcn.004075e0
cmp esi, 3
jne 0x567ed1
test dword [ebx + 0xc], 0x20000
jne 0x567f23
jmp 0x5680e9
cmp esi, 2
jne 0x567ee7
mov eax, dword [ebx + 0xc]
test eax, 0x10000
jne 0x567f23
test eax, 0x200000
jmp 0x567f1d
cmp esi, 4
jne 0x567efa
test dword [ebx + 0xc], 0x40000
jne 0x567f23
jmp 0x5680e9
cmp esi, 5
jne 0x567f0d
test dword [ebx + 0xc], 0x80000
jne 0x567f23
jmp 0x5680e9
cmp esi, 6
jne 0x5680e9
test dword [ebx + 0xc], 0x100000
je 0x5680e9
xorps xmm0, xmm0
movlpd qword [ebp - 0xb0], xmm0
movlpd qword [ebp - 0xa8], xmm0
mov byte [ebp - 4], 7
lea eax, [ebp - 0x48]
push eax
lea ecx, [ebp - 0x78]
call fcn.004f1640
or dword [ebp - 0x7c], 2
lea ecx, [ebp - 0x48]
push 0x5c
call fcn.0040c270
cmp dword [ebp - 0x34], 8
lea ecx, [ebp - 0xb0]
push 0
push ecx
lea ecx, [ebp - 0xa8]
lea eax, [ebp - 0x48]
cmovae eax, dword [ebp - 0x48]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
and dword [ebp - 0x7c], 0xfffffffd
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x48]
call fcn.004075e0
mov eax, dword [ebp - 0xa8]
mov edx, dword [ebp - 0x80]
mov ecx, edx
mov dword [ebp - 0x90], eax
mov eax, dword [ebp - 0xa4]
mov dword [ebp - 0x84], eax
mov eax, dword [ebp - 0xb0]
mov dword [ebp - 0x98], eax
mov eax, dword [ebp - 0xac]
mov dword [ebp - 0x9c], eax
xor eax, eax
mov dword [ebp - 0x30], 0
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 - 0x80], eax
nop word [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x567ff0
sub ecx, dword [ebp - 0x80]
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x30]
call fcn.00406e80
mov byte [ebp - 4], 8
xor eax, eax
movups xmm0, xmmword [ebp - 0x30]
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x50], 0
movups xmmword [ebp - 0x60], xmm0
mov dword [ebp - 0x4c], 0
movq xmm0, qword [ebp - 0x20]
movq qword [ebp - 0x50], xmm0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 7
mov word [ebp - 0x30], ax
mov byte [ebp - 4], 9
mov eax, dword [ebp - 0x98]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x9c]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x90]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x84]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebx + 0x18]
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], esi
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x30]
call fcn.004075e0
mov byte [ebp - 4], 0xa
lea eax, [ebp - 0x60]
mov esi, dword [edi + 4]
push eax
cmp esi, dword [edi + 8]
je 0x5680d5
mov ecx, esi
mov dword [ebp - 0x84], esi
call fcn.00406350
mov byte [ebp - 4], 0xc
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 0x5680dd
push esi
mov ecx, edi
call fcn.0049d890
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x60]
call fcn.004075e0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x78]
call fcn.004075e0
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.0059046a
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 0x18