Function at 0x428768
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
mov ebx, dword [ebp + 0xc]
mov dword [ebp - 0x14], ebx
test ebx, ebx
je 0x428ac5
cmp byte [ebx], 0
je 0x428ac5
cmp dword [ebp + 8], 0
jne 0x4287ba
push 0x104
call fcn.004230ac
add esp, 4
mov esi, eax
test esi, esi
jne 0x4287b3
call fcn.00424183
mov dword [eax], 0xc
xor eax, eax
jmp 0x428ad3
mov edi, 0x104
jmp 0x4287d7
mov edi, dword [ebp + 0x10]
cmp edi, 4
jae 0x4287d4
call fcn.00424183
mov dword [eax], 0x22
xor eax, eax
jmp 0x428ad3
mov esi, dword [ebp + 8]
lea eax, [edi + esi - 1]
mov cl, byte [ebx + 1]
mov dword [ebp - 0xc], esi
mov dword [ebp - 8], eax
cmp cl, 0x5c
je 0x4287ee
cmp cl, 0x2f
jne 0x428800
mov al, byte [ebx]
cmp al, 0x5c
je 0x4288e3
cmp al, 0x2f
je 0x4288e3
cmp cl, 0x3a
jne 0x42884f
movzx eax, byte [ebx]
push eax
call fcn.0042b765
add esp, 4
test eax, eax
je 0x42884f
mov al, byte [ebx]
add ebx, 2
mov byte [esi], al
and eax, 0x1f
inc esi
push eax
mov dword [ebp - 0x10], eax
mov byte [esi], 0x3a
inc esi
call fcn.0042b6ef
add esp, 4
test eax, eax
jne 0x428856
call fcn.00424183
mov dword [eax], 0xd
call fcn.0042418c
mov dword [eax], 0xf
jmp 0x428ab0
mov dword [ebp - 0x10], 0
mov al, byte [ebx]
cmp al, 0x5c
je 0x4288c3
cmp al, 0x2f
je 0x4288c3
cmp dword [ebp - 0x10], 0
je 0x42886c
mov al, byte [ebx - 2]
mov byte [ebp - 4], al
push edi
push dword [ebp - 0xc]
push dword [ebp - 0x10]
call fcn.0042b5c9
add esp, 0xc
test eax, eax
je 0x428ab0
mov edi, dword [ebp - 0xc]
mov ecx, 0xffffffff
sub eax, eax
mov edx, dword [ebp - 0xc]
repne scasb al, byte es:[edi]
not ecx
cmp dword [ebp - 0x10], 0
lea esi, [ecx + edx - 1]
je 0x4288a3
mov al, byte [ebp - 4]
mov byte [edx], al
movzx eax, byte [esi - 2]
test byte [eax + 0x45baf1], 4
jne 0x4288d8
lea eax, [esi - 1]
mov cl, byte [eax]
cmp cl, 0x5c
je 0x4288bf
cmp cl, 0x2f
jne 0x4288d8
mov esi, eax
jmp 0x4288d8
cmp dword [ebp - 0x10], 0
jne 0x4288d7
call fcn.00428ada
add al, 0x40
mov byte [esi], al
inc esi
mov byte [esi], 0x3a
inc esi
inc ebx
mov edi, dword [ebp - 0xc]
mov byte [esi], 0x5c
add edi, 2
jmp 0x42893c
xor ecx, ecx
test al, al
je 0x428937
inc ebx
mov byte [esi], al
cmp dword [ebp - 8], esi
jbe 0x428aa5
movzx edx, byte [esi - 2]
test byte [edx + 0x45baf1], 4
jne 0x428930
cmp al, 0x5c
je 0x42890a
cmp al, 0x2f
jne 0x428930
inc ecx
mov byte [esi], 0x5c
cmp ecx, 2
jne 0x42891c
cmp byte [ebx], 0
je 0x4289ab
cmp ecx, 3
jl 0x42892b
cmp byte [esi - 1], 0x5c
je 0x4289bb
cmp ecx, 4
je 0x428937
inc esi
mov al, byte [ebx]
test al, al
jne 0x4288e9
mov edi, esi
mov byte [esi], 0x5c
cmp byte [ebx], 0
je 0x428a5f
mov cl, byte [ebx]
cmp cl, 0x2e
jne 0x4289ec
cmp byte [ebx + 1], 0x2e
jne 0x4289cb
lea eax, [ebx + 2]
mov dword [ebp - 4], eax
mov al, byte [eax]
cmp al, 0x5c
je 0x42896a
cmp al, 0x2f
je 0x42896a
test al, al
jne 0x4289cb
dec esi
mov al, byte [esi]
cmp al, 0x5c
je 0x428975
cmp al, 0x2f
jne 0x428984
push esi
push edi
call fcn.0042b701
add esp, 8
test eax, eax
je 0x428984
dec esi
mov al, byte [esi]
cmp al, 0x5c
je 0x428992
cmp al, 0x2f
je 0x428992
cmp esi, edi
ja 0x42896a
cmp esi, edi
jb 0x428a7e
mov ebx, dword [ebp - 4]
cmp byte [ebx], 0
je 0x428a5f
jmp 0x428a55
call fcn.00424183
mov dword [eax], 0x16
jmp 0x428ab0
call fcn.00424183
mov dword [eax], 0x16
jmp 0x428ab0
cmp cl, 0x2e
jne 0x4289ec
lea edx, [ebx + 1]
mov al, byte [edx]
cmp al, 0x5c
je 0x4289e1
cmp al, 0x2f
je 0x4289e1
test al, al
jne 0x4289ec
mov ebx, edx
test al, al
je 0x428a56
lea ebx, [edx + 1]
jmp 0x428a56
mov edx, esi
test cl, cl
je 0x428a2e
mov ecx, 4
mov al, byte [ebx]
cmp al, 0x5c
je 0x428a2e
cmp al, 0x2f
je 0x428a2e
cmp dword [ebp - 8], esi
jbe 0x428aa5
inc esi
inc ebx
mov byte [esi], al
movzx eax, byte [ebx - 1]
test byte [eax + 0x45baf1], cl
je 0x428a29
mov al, byte [ebx]
test al, al
je 0x428a8b
cmp dword [ebp - 8], esi
jbe 0x428a8b
inc esi
inc ebx
mov byte [esi], al
cmp byte [ebx], 0
jne 0x4289f7
cmp dword [ebp - 8], esi
jbe 0x428aa5
cmp edx, esi
je 0x428a98
inc esi
mov byte [esi], 0x5c
mov al, byte [ebx]
cmp al, 0x5c
je 0x428a45
cmp al, 0x2f
jne 0x428a56
push ebx
push dword [ebp - 0x14]
call fcn.0042b701
add esp, 8
test eax, eax
jne 0x428a56
inc ebx
cmp byte [ebx], 0
jne 0x428945
lea eax, [esi - 1]
cmp byte [eax], 0x3a
jne 0x428a76
push eax
push edi
call fcn.0042b701
add esp, 8
test eax, eax
jne 0x428a76
inc esi
mov eax, dword [ebp - 0xc]
mov byte [esi], 0
jmp 0x428ad3
call fcn.00424183
mov dword [eax], 0xd
jmp 0x428ab0
call fcn.00424183
mov dword [eax], 0x16
jmp 0x428ab0
call fcn.00424183
mov dword [eax], 0x16
jmp 0x428ab0
call fcn.00424183
mov dword [eax], 0x22
cmp dword [ebp + 8], 0
jne 0x428ac1
push dword [ebp - 0xc]
call fcn.00422be6
add esp, 4
xor eax, eax
jmp 0x428ad3
push dword [ebp + 0x10]
push dword [ebp + 8]
call fcn.0042b59c
add esp, 8
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret