Function at 0x426833
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 0x426b86
cmp byte [ebx], 0
je 0x426b86
cmp dword [ebp + 8], 0
jne 0x426884
push 0x104
call fcn.0041cfac
add esp, 4
mov esi, eax
test esi, esi
jne 0x42687d
mov dword [0x518a70], 0xc
xor eax, eax
jmp 0x426b94
mov edi, 0x104
jmp 0x4268a0
mov edi, dword [ebp + 0x10]
cmp edi, 4
jae 0x42689d
mov dword [0x518a70], 0x22
xor eax, eax
jmp 0x426b94
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 0x4268b7
cmp cl, 0x2f
jne 0x4268c9
mov al, byte [ebx]
cmp al, 0x5c
je 0x4269aa
cmp al, 0x2f
je 0x4269aa
cmp cl, 0x3a
jne 0x426916
movzx eax, byte [ebx]
push eax
call fcn.00426e6d
add esp, 4
test eax, eax
je 0x426916
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.00426e15
add esp, 4
test eax, eax
jne 0x42691d
mov dword [0x518a70], 0xd
mov dword [0x518a74], 0xf
jmp 0x426b71
mov dword [ebp - 0x10], 0
mov al, byte [ebx]
cmp al, 0x5c
je 0x42698a
cmp al, 0x2f
je 0x42698a
cmp dword [ebp - 0x10], 0
je 0x426933
mov al, byte [ebx - 2]
mov byte [ebp - 4], al
push edi
push dword [ebp - 0xc]
push dword [ebp - 0x10]
call fcn.00426d22
add esp, 0xc
test eax, eax
je 0x426b71
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 0x42696a
mov al, byte [ebp - 4]
mov byte [edx], al
movzx eax, byte [esi - 2]
test byte [eax + 0x518b91], 4
jne 0x42699f
lea eax, [esi - 1]
mov cl, byte [eax]
cmp cl, 0x5c
je 0x426986
cmp cl, 0x2f
jne 0x42699f
mov esi, eax
jmp 0x42699f
cmp dword [ebp - 0x10], 0
jne 0x42699e
call fcn.00426c31
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 0x426a03
xor ecx, ecx
test al, al
je 0x4269fe
inc ebx
mov byte [esi], al
cmp dword [ebp - 8], esi
jbe 0x426b67
movzx edx, byte [esi - 2]
test byte [edx + 0x518b91], 4
jne 0x4269f7
cmp al, 0x5c
je 0x4269d1
cmp al, 0x2f
jne 0x4269f7
inc ecx
mov byte [esi], 0x5c
cmp ecx, 2
jne 0x4269e3
cmp byte [ebx], 0
je 0x426a72
cmp ecx, 3
jl 0x4269f2
cmp byte [esi - 1], 0x5c
je 0x426a81
cmp ecx, 4
je 0x4269fe
inc esi
mov al, byte [ebx]
test al, al
jne 0x4269b0
mov edi, esi
mov byte [esi], 0x5c
cmp byte [ebx], 0
je 0x426b24
mov cl, byte [ebx]
cmp cl, 0x2e
jne 0x426ab1
cmp byte [ebx + 1], 0x2e
jne 0x426a90
lea eax, [ebx + 2]
mov dword [ebp - 4], eax
mov al, byte [eax]
cmp al, 0x5c
je 0x426a31
cmp al, 0x2f
je 0x426a31
test al, al
jne 0x426a90
dec esi
mov al, byte [esi]
cmp al, 0x5c
je 0x426a3c
cmp al, 0x2f
jne 0x426a4b
push esi
push edi
call fcn.00426e27
add esp, 8
test eax, eax
je 0x426a4b
dec esi
mov al, byte [esi]
cmp al, 0x5c
je 0x426a59
cmp al, 0x2f
je 0x426a59
cmp edi, esi
jb 0x426a31
cmp edi, esi
ja 0x426b43
mov ebx, dword [ebp - 4]
cmp byte [ebx], 0
je 0x426b24
jmp 0x426b1a
mov dword [0x518a70], 0x16
jmp 0x426b71
mov dword [0x518a70], 0x16
jmp 0x426b71
cmp cl, 0x2e
jne 0x426ab1
lea edx, [ebx + 1]
mov al, byte [edx]
cmp al, 0x5c
je 0x426aa6
cmp al, 0x2f
je 0x426aa6
test al, al
jne 0x426ab1
mov ebx, edx
test al, al
je 0x426b1b
lea ebx, [edx + 1]
jmp 0x426b1b
mov edx, esi
test cl, cl
je 0x426af3
mov ecx, 4
mov al, byte [ebx]
cmp al, 0x5c
je 0x426af3
cmp al, 0x2f
je 0x426af3
cmp dword [ebp - 8], esi
jbe 0x426b67
inc esi
inc ebx
mov byte [esi], al
movzx eax, byte [ebx - 1]
test byte [eax + 0x518b91], cl
je 0x426aee
mov al, byte [ebx]
test al, al
je 0x426b4f
cmp dword [ebp - 8], esi
jbe 0x426b4f
inc esi
inc ebx
mov byte [esi], al
cmp byte [ebx], 0
jne 0x426abc
cmp dword [ebp - 8], esi
jbe 0x426b67
cmp edx, esi
je 0x426b5b
inc esi
mov byte [esi], 0x5c
mov al, byte [ebx]
cmp al, 0x5c
je 0x426b0a
cmp al, 0x2f
jne 0x426b1b
push ebx
push dword [ebp - 0x14]
call fcn.00426e27
add esp, 8
test eax, eax
jne 0x426b1b
inc ebx
cmp byte [ebx], 0
jne 0x426a0c
lea eax, [esi - 1]
cmp byte [eax], 0x3a
jne 0x426b3b
push eax
push edi
call fcn.00426e27
add esp, 8
test eax, eax
jne 0x426b3b
inc esi
mov eax, dword [ebp - 0xc]
mov byte [esi], 0
jmp 0x426b94
mov dword [0x518a70], 0xd
jmp 0x426b71
mov dword [0x518a70], 0x16
jmp 0x426b71
mov dword [0x518a70], 0x16
jmp 0x426b71
mov dword [0x518a70], 0x22
cmp dword [ebp + 8], 0
jne 0x426b82
push dword [ebp - 0xc]
call fcn.0041ce53
add esp, 4
xor eax, eax
jmp 0x426b94
push dword [ebp + 0x10]
push dword [ebp + 8]
call fcn.00426d0f
add esp, 8
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret