Function at 0x434960
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 8], 0
mov dword [ebp - 4], 0
mov ecx, dword [ebp + 8]
call fcn.0042bcf0
cmp eax, 1
jne 0x4349a8
push 0
mov ecx, dword [ebp + 8]
call fcn.0042c8a0
movzx eax, ax
push eax
call fcn.00434930
add esp, 4
movzx ecx, al
test ecx, ecx
je 0x4349a8
mov eax, 1
jmp 0x434bb4
mov ecx, dword [ebp + 8]
call fcn.0042bcf0
cmp eax, 3
jne 0x434a2a
push 0
mov ecx, dword [ebp + 8]
call fcn.0042c8a0
movzx edx, ax
push edx
call dword [sym.imp.MSVCR90.dll_iswalpha]
add esp, 4
test eax, eax
je 0x434a2a
push 1
mov ecx, dword [ebp + 8]
call fcn.0042c8a0
movzx eax, ax
cmp eax, 0x3a
jne 0x434a2a
push 2
mov ecx, dword [ebp + 8]
call fcn.0042c8a0
movzx ecx, ax
push ecx
call fcn.00434930
add esp, 4
movzx edx, al
test edx, edx
je 0x434a2a
mov ecx, dword [ebp + 8]
call fcn.0042bd10
push eax
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
mov ecx, 1
cmp ecx, eax
sbb edx, edx
neg edx
mov dword [ebp - 4], edx
xor eax, eax
cmp dword [ebp - 4], 0
setne al
jmp 0x434bb4
push 0
mov ecx, dword [ebp + 8]
call fcn.0042c8a0
movzx eax, ax
push eax
call fcn.00434930
add esp, 4
movzx ecx, al
test ecx, ecx
je 0x434bb1
push 1
mov ecx, dword [ebp + 8]
call fcn.0042c8a0
movzx edx, ax
push edx
call fcn.00434930
add esp, 4
movzx eax, al
test eax, eax
je 0x434bb1
mov dword [ebp - 0xc], 2
mov ecx, dword [ebp + 8]
call fcn.0042bcf0
cmp eax, dword [ebp - 0xc]
je 0x434a9f
mov ecx, dword [ebp - 0xc]
push ecx
mov ecx, dword [ebp + 8]
call fcn.0042c8a0
movzx edx, ax
push edx
call fcn.00434930
add esp, 4
movzx eax, al
test eax, eax
je 0x434aa6
xor eax, eax
jmp 0x434bb4
mov ecx, dword [ebp - 0xc]
add ecx, 1
mov dword [ebp - 0xc], ecx
mov ecx, dword [ebp + 8]
call fcn.0042bcf0
cmp dword [ebp - 0xc], eax
jae 0x434adb
mov edx, dword [ebp - 0xc]
push edx
mov ecx, dword [ebp + 8]
call fcn.0042c8a0
movzx eax, ax
push eax
call fcn.00434930
add esp, 4
movzx ecx, al
test ecx, ecx
je 0x434aa6
mov ecx, dword [ebp + 8]
call fcn.0042bcf0
cmp eax, dword [ebp - 0xc]
jne 0x434aef
xor eax, eax
jmp 0x434bb4
mov edx, dword [ebp - 0xc]
add edx, 1
mov dword [ebp - 0xc], edx
mov ecx, dword [ebp + 8]
call fcn.0042bcf0
cmp eax, dword [ebp - 0xc]
je 0x434b24
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [ebp + 8]
call fcn.0042c8a0
movzx ecx, ax
push ecx
call fcn.00434930
add esp, 4
movzx edx, al
test edx, edx
je 0x434b2b
xor eax, eax
jmp 0x434bb4
mov eax, dword [ebp - 0xc]
add eax, 1
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp + 8]
call fcn.0042bcf0
cmp dword [ebp - 0xc], eax
jae 0x434b60
mov ecx, dword [ebp - 0xc]
push ecx
mov ecx, dword [ebp + 8]
call fcn.0042c8a0
movzx edx, ax
push edx
call fcn.00434930
add esp, 4
movzx eax, al
test eax, eax
je 0x434b2b
mov ecx, dword [ebp + 8]
call fcn.0042bcf0
mov ecx, dword [ebp - 0xc]
add ecx, 1
cmp eax, ecx
jbe 0x434b76
xor eax, eax
jmp 0x434bb4
mov ecx, dword [ebp + 8]
call fcn.0042bcf0
cmp eax, dword [ebp - 0xc]
jne 0x434b94
call fcn.00434510
movzx edx, ax
push edx
mov ecx, dword [ebp + 8]
call fcn.0042b9a0
mov ecx, dword [ebp + 8]
call fcn.0042bd10
push eax
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
mov ecx, 1
cmp ecx, eax
sbb edx, edx
neg edx
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret