Function at 0x428310
Capabilities:
Get disk information

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x74
mov esi, dword [0x4562e0]
mov dword [esp + 0x14], 0x21d227fb
mov dword [esp + 0x18], 0xddbf23b1
mov dword [esp + 0x1c], 0xd94adf3f
mov dword [esp + 0x20], 0xd54adb1b
mov dword [esp + 0x24], 0xd12ad744
mov dword [esp + 0x28], 0xcd5ed333
mov dword [esp + 0x2c], 0xc911cf2f
mov dword [esp + 0x30], 0xcbc8
mov byte [esp + 0x34], 0
mov dword [esp + 4], 0
mov eax, dword [esp + 4]
cmp eax, 0x20
ja 0x4283ab
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, dword [esp + 4]
movzx eax, byte [esp + eax + 0x14]
push dword [esp + 4]
push eax
call fcn.0042add0
add esp, 8
mov ecx, dword [esp + 4]
mov byte [esp + ecx + 0x14], al
inc dword [esp + 4]
mov eax, dword [esp + 4]
cmp eax, 0x21
jb 0x428380
lea edi, [esp + 0x64]
lea eax, [esp + 0x14]
push edi
push 0
push 0
push 0xe
push eax
push 0
call esi
mov ebx, dword [esp + 0x64]
test ebx, ebx
jns 0x4283ce
mov eax, 0xffffffff
jmp 0x4283d1
lea eax, [ebx + ebx]
push eax
call fcn.0040c490
add esp, 4
mov esi, eax
mov ebp, dword [0x4562e0]
mov dword [esp + 0x14], 0x23de2105
mov dword [esp + 0x18], 0x27c525bb
mov dword [esp + 0x1c], 0xdb46d939
mov dword [esp + 0x20], 0xdf4edd1d
mov dword [esp + 0x24], 0xd316d140
mov dword [esp + 0x28], 0xd742d535
mov dword [esp + 0x2c], 0xcbefc929
mov dword [esp + 0x30], 0xcdcc
mov dword [esp + 4], 0
mov eax, dword [esp + 4]
cmp eax, 0x1f
ja 0x42846b
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, dword [esp + 4]
movzx eax, byte [esp + eax + 0x14]
push dword [esp + 4]
push eax
call fcn.0042ae60
add esp, 8
mov ecx, dword [esp + 4]
mov byte [esp + ecx + 0x14], al
inc dword [esp + 4]
mov eax, dword [esp + 4]
cmp eax, 0x20
jb 0x428440
push edi
push ebx
push esi
push 0xe
lea eax, [esp + 0x24]
push eax
push 0
call ebp
mov eax, dword [esp + 0x64]
mov ecx, eax
add ecx, 9
jns 0x42848b
mov eax, 0xffffffff
jmp 0x428492
lea eax, [eax*2 + 0x12]
push eax
call fcn.0040c490
add esp, 4
mov edi, eax
mov dword [esp + 0x14], 0x41b647a0
mov dword [esp + 0x18], 0x4daf43a3
mov dword [esp + 0x1c], 0x49ad4fd9
mov dword [esp + 0x20], 0x75a54ba1
mov dword [esp + 0x24], 0x717677e9
mov word [esp + 0x28], 0
mov byte [esp + 0x2a], 0
mov dword [esp + 4], 0
mov eax, dword [esp + 4]
cmp eax, 0x16
ja 0x42851b
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, dword [esp + 4]
movzx eax, byte [esp + eax + 0x14]
push dword [esp + 4]
push eax
call fcn.0042aee0
add esp, 8
mov ecx, dword [esp + 4]
mov byte [esp + ecx + 0x14], al
inc dword [esp + 4]
mov eax, dword [esp + 4]
cmp eax, 0x17
jb 0x4284f0
movzx ecx, word [esi]
mov eax, edi
test cx, cx
je 0x428541
lea edx, [esi + 2]
mov eax, edi
nop
nop
nop
nop
nop
nop
mov word [eax], cx
add eax, 2
movzx ecx, word [edx]
add edx, 2
test cx, cx
jne 0x428530
mov word [eax], 0
movzx ecx, word [esp + 0x14]
test cx, cx
je 0x428571
lea edx, [esp + 0x16]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov word [eax], cx
add eax, 2
movzx ecx, word [edx]
add edx, 2
test cx, cx
jne 0x428560
mov ebp, dword [esp + 0x88]
mov word [eax], 0
lea eax, [esp + 0x70]
push eax
push edi
call fcn.0044a060
add esp, 8
not eax
shr eax, 0x1f
jmp dword [eax*4 + 0x451c84]