Function at 0x428224
Capabilities:
Get disk information

Disassembly:
push 0x88
mov eax, 0x43475f
call fcn.004318dd
mov edi, ecx
xor ebx, ebx
mov dword [ebp - 0x7c], ebx
sub esp, 0x18
mov dword [ebp - 4], ebx
mov ecx, esp
mov dword [ebp - 0x80], esp
push 0x40b7c4
call fcn.0041314d
sub esp, 0x18
mov byte [ebp - 4], 1
mov ecx, esp
push 0x404f58
call fcn.0041314d
push 0x218
lea ecx, [ebp - 0x74]
mov byte [ebp - 4], bl
call fcn.00412723
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x28]
push ebx
xor eax, eax
mov dword [ebp - 0x78], ebx
push 0x104
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], ebx
mov word [ebp - 0x28], ax
call fcn.0041a80f
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 3
push eax
lea ecx, [ebp - 0x94]
call fcn.004137cd
cmp dword [ebp + 0x1c], 8
mov ecx, dword [eax + 4]
mov eax, dword [ebp + 8]
jae 0x4282b9
lea eax, [ebp + 8]
lea edx, [ebp - 0x78]
push edx
push dword [ebp - 0x18]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetVolumePathNamesForVolumeNameW]
lea ecx, [ebp - 0x94]
mov esi, eax
call fcn.004136db
test esi, esi
jne 0x4283af
push ebx
push dword [ebp - 0x78]
lea ecx, [ebp - 0x28]
call fcn.00413aec
cmp dword [ebp - 0x78], esi
je 0x428326
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x94]
call fcn.004137cd
cmp dword [ebp + 0x1c], 8
mov dword [ebp - 0x7c], 1
mov ecx, dword [eax + 4]
mov eax, dword [ebp + 8]
jae 0x428313
lea eax, [ebp + 8]
lea edx, [ebp - 0x78]
push edx
push dword [ebp - 0x18]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetVolumePathNamesForVolumeNameW]
test eax, eax
jne 0x428328
mov bl, 1
test byte [ebp - 0x7c], 1
je 0x428339
lea ecx, [ebp - 0x94]
call fcn.004136db
test bl, bl
je 0x4283ad
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp dword [ebp + 0x1c], 8
push eax
mov eax, dword [ebp + 8]
jae 0x428350
lea eax, [ebp + 8]
push eax
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x84], esp
push 0x40b758
call fcn.0041314d
sub esp, 0x18
mov byte [ebp - 4], 4
mov ecx, esp
mov dword [ebp - 0x80], esp
push 0x40b7c4
call fcn.0041314d
push 0x228
sub esp, 0x18
mov byte [ebp - 4], 5
mov ecx, esp
push 0x404f58
call fcn.0041314d
lea eax, [ebp - 0x74]
mov byte [ebp - 4], 3
push eax
call fcn.004125b8
add esp, 0x58
xor eax, eax
mov bl, al
jmp 0x428439
xor ebx, ebx
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x40]
call fcn.00412eff
mov byte [ebp - 4], 6
cmp dword [ebp - 0x14], 8
mov esi, dword [ebp - 0x28]
jae 0x428411
lea esi, [ebp - 0x28]
jmp 0x428411
mov ecx, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, bx
jne 0x4283d2
sub ecx, edx
sar ecx, 1
cmp dword [ebp - 0x30], ecx
jbe 0x4283f7
push esi
call fcn.00413124
pop ecx
push eax
push esi
lea ecx, [ebp - 0x40]
call fcn.004130a9
mov ecx, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, bx
jne 0x4283fc
sub ecx, edx
sar ecx, 1
lea esi, [esi + ecx*2]
add esi, 2
cmp word [esi], bx
jne 0x4283cd
lea eax, [ebp - 0x40]
cmp edi, eax
je 0x428428
push 0xffffffffffffffff
push ebx
push eax
mov ecx, edi
call fcn.00413018
xor eax, eax
lea ecx, [ebp - 0x40]
push eax
push 1
mov bl, 1
call fcn.00413b40
xor eax, eax
push eax
push 1
lea ecx, [ebp - 0x28]
call fcn.00413b40
lea ecx, [ebp - 0x74]
call fcn.004127db
xor eax, eax
lea ecx, [ebp + 8]
push eax
push 1
call fcn.00413b40
mov al, bl
call fcn.0043188c
ret 0x18