Function at 0x47e480
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
mov ecx, 9
push 0
push 0
dec ecx
jne 0x47e488
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
call fcn.004049f4
xor eax, eax
push ebp
push 0x47ef20
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 5], 0
mov eax, dword [ebp - 4]
call fcn.00404804
cmp eax, 3
jl 0x47eefd
mov eax, dword [ebp - 4]
cmp byte [eax + 2], 0x3a
jne 0x47e4e9
mov eax, dword [ebp - 4]
call fcn.00404804
cmp eax, 3
jle 0x47e4e9
lea eax, [ebp - 4]
mov ecx, 1
mov edx, 1
call fcn.00404aa4
xor edx, edx
push ebp
push 0x47eef3
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [ebp - 4]
mov al, byte [eax]
call fcn.00402e80
add al, 0xbd
sub al, 0x18
jb 0x47e514
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x47eefd
mov eax, dword [ebp - 4]
cmp byte [eax + 1], 0x3a
jne 0x47e526
mov eax, dword [ebp - 4]
cmp byte [eax + 2], 0x5c
je 0x47e533
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x47eefd
lea eax, [ebp - 0xc]
push eax
mov ecx, 3
mov edx, 1
mov eax, dword [ebp - 4]
call fcn.00404a64
mov eax, dword [ebp - 0xc]
call fcn.00404a04
push eax
call sub.kernel32.dll_GetDriveTypeA
sub eax, 3
jb 0x47e564
je 0x47e568
dec eax
sub eax, 3
jae 0x47e56c
xor eax, eax
jmp 0x47e56e
mov al, 1
jmp 0x47e56e
xor eax, eax
test al, al
je 0x47eee9
jmp 0x47e594
mov edx, dword [ebp - 4]
mov eax, 0x47ef3c
call fcn.00404b48
mov edx, eax
lea eax, [ebp - 4]
mov ecx, 1
call fcn.00404aa4
mov edx, dword [ebp - 4]
mov eax, 0x47ef3c
call fcn.00404b48
test eax, eax
jg 0x47e578
mov eax, dword [ebp - 4]
call fcn.00409128
test al, al
jne 0x47e5bd
mov eax, dword [ebp - 4]
call fcn.00409138
test al, al
je 0x47e5ca
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x47eefd
mov eax, dword [ebp - 4]
call fcn.00404804
mov edx, dword [ebp - 4]
cmp byte [edx + eax - 1], 0x5c
jne 0x47e605
mov eax, dword [ebp - 4]
call fcn.00404804
mov edx, dword [ebp - 4]
cmp byte [edx + eax - 5], 0x2e
jne 0x47e605
mov eax, dword [ebp - 4]
call fcn.00404804
mov edx, eax
lea eax, [ebp - 4]
mov ecx, 1
call fcn.00404aa4
mov eax, dword [ebp - 4]
call fcn.00404804
mov edx, dword [ebp - 4]
cmp byte [edx + eax - 1], 0x5c
jne 0x47e641
mov eax, dword [ebp - 4]
call fcn.00404804
mov edx, dword [ebp - 4]
cmp byte [edx + eax - 6], 0x2e
jne 0x47e641
mov eax, dword [ebp - 4]
call fcn.00404804
mov edx, eax
dec edx
lea eax, [ebp - 4]
mov ecx, 2
call fcn.00404aa4
lea edx, [ebp - 0x14]
mov eax, dword [ebp - 4]
call fcn.0040932c
lea edx, [ebp - 0x18]
mov eax, dword [ebp - 4]
call fcn.004092f8
mov edx, dword [ebp - 0x14]
mov eax, 0x47ef48
call fcn.00404b48
test eax, eax
je 0x47e728
mov edx, dword [ebp - 0x14]
mov eax, 0x47ef48
call fcn.00404b48
mov edx, dword [ebp - 0x14]
cmp byte [edx + eax - 5], 0x2e
jne 0x47e6c4
mov edx, dword [ebp - 0x14]
mov eax, 0x47ef48
call fcn.00404b48
push eax
mov eax, dword [ebp - 0x14]
call fcn.00404804
pop edx
sub eax, edx
inc eax
push eax
mov edx, dword [ebp - 0x14]
mov eax, 0x47ef48
call fcn.00404b48
mov edx, eax
lea eax, [ebp - 0x14]
pop ecx
call fcn.00404aa4
lea eax, [ebp - 4]
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x18]
call fcn.00404850
mov edx, dword [ebp - 0x14]
mov eax, 0x47ef48
call fcn.00404b48
mov edx, dword [ebp - 0x14]
cmp byte [edx + eax - 6], 0x2e
jne 0x47ec01
mov edx, dword [ebp - 0x14]
mov eax, 0x47ef48
call fcn.00404b48
push eax
mov eax, dword [ebp - 0x14]
call fcn.00404804
pop edx
sub eax, edx
add eax, 2
push eax
mov edx, dword [ebp - 0x14]
mov eax, 0x47ef48
call fcn.00404b48
mov edx, eax
dec edx
lea eax, [ebp - 0x14]
pop ecx
call fcn.00404aa4
lea eax, [ebp - 4]
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x18]
call fcn.00404850
jmp 0x47ec01
mov edx, dword [ebp - 4]
mov eax, 0x47ef54
call fcn.00404b48
test eax, eax
je 0x47e783
mov edx, dword [ebp - 4]
mov eax, 0x47ef54
call fcn.00404b48
mov edx, dword [ebp - 4]
cmp byte [edx + eax - 5], 0x2e
jne 0x47e783
mov edx, dword [ebp - 4]
mov eax, 0x47ef54
call fcn.00404b48
push eax
mov eax, dword [ebp - 4]
call fcn.00404804
pop edx
sub eax, edx
inc eax
push eax
mov edx, dword [ebp - 4]
mov eax, 0x47ef54
call fcn.00404b48
mov edx, eax
lea eax, [ebp - 4]
pop ecx
call fcn.00404aa4
mov edx, dword [ebp - 4]
mov eax, 0x47ef60
call fcn.00404b48
test eax, eax
je 0x47e7de
mov edx, dword [ebp - 4]
mov eax, 0x47ef60
call fcn.00404b48
mov edx, dword [ebp - 4]
cmp byte [edx + eax - 5], 0x2e
jne 0x47e7de
mov edx, dword [ebp - 4]
mov eax, 0x47ef60
call fcn.00404b48
push eax
mov eax, dword [ebp - 4]
call fcn.00404804
pop edx
sub eax, edx
inc eax
push eax
mov edx, dword [ebp - 4]
mov eax, 0x47ef60
call fcn.00404b48
mov edx, eax
lea eax, [ebp - 4]
pop ecx
call fcn.00404aa4
mov edx, dword [ebp - 4]
mov eax, 0x47ef6c
call fcn.00404b48
test eax, eax
je 0x47e839
mov edx, dword [ebp - 4]
mov eax, 0x47ef6c
call fcn.00404b48
mov edx, dword [ebp - 4]
cmp byte [edx + eax - 5], 0x2e
jne 0x47e839
mov edx, dword [ebp - 4]
mov eax, 0x47ef6c
call fcn.00404b48
push eax
mov eax, dword [ebp - 4]
call fcn.00404804
pop edx
sub eax, edx
inc eax
push eax
mov edx, dword [ebp - 4]
mov eax, 0x47ef6c
call fcn.00404b48
mov edx, eax
lea eax, [ebp - 4]
pop ecx
call fcn.00404aa4
mov edx, dword [ebp - 4]
mov eax, 0x47ef78
call fcn.00404b48
test eax, eax
je 0x47e894
mov edx, dword [ebp - 4]
mov eax, 0x47ef78
call fcn.00404b48
mov edx, dword [ebp - 4]
cmp byte [edx + eax - 5], 0x2e
jne 0x47e894
mov edx, dword [ebp - 4]
mov eax, 0x47ef78
call fcn.00404b48
push eax
mov eax, dword [ebp - 4]
call fcn.00404804
pop edx
sub eax, edx
inc eax
push eax
mov edx, dword [ebp - 4]
mov eax, 0x47ef78
call fcn.00404b48
mov edx, eax
lea eax, [ebp - 4]
pop ecx
call fcn.00404aa4
mov edx, dword [ebp - 4]
mov eax, 0x47ef84
call fcn.00404b48
test eax, eax
je 0x47e8ef
mov edx, dword [ebp - 4]
mov eax, 0x47ef84
call fcn.00404b48
mov edx, dword [ebp - 4]
cmp byte [edx + eax - 5], 0x2e
jne 0x47e8ef
mov edx, dword [ebp - 4]
mov eax, 0x47ef84
call fcn.00404b48
push eax
mov eax, dword [ebp - 4]
call fcn.00404804
pop edx
sub eax, edx
inc eax
push eax
mov edx, dword [ebp - 4]
mov eax, 0x47ef84
call fcn.00404b48
mov edx, eax
lea eax, [ebp - 4]
pop ecx
call fcn.00404aa4
mov edx, dword [ebp - 4]
mov eax, 0x47ef90
call fcn.00404b48
test eax, eax
je 0x47e94a
mov edx, dword [ebp - 4]
mov eax, 0x47ef90
call fcn.00404b48
mov edx, dword [ebp - 4]
cmp byte [edx + eax - 5], 0x2e
jne 0x47e94a
mov edx, dword [ebp - 4]
mov eax, 0x47ef90
call fcn.00404b48
push eax
mov eax, dword [ebp - 4]
call fcn.00404804
pop edx
sub eax, edx
inc eax
push eax
mov edx, dword [ebp - 4]
mov eax, 0x47ef90
call fcn.00404b48
mov edx, eax
lea eax, [ebp - 4]
pop ecx
call fcn.00404aa4
mov edx, dword [ebp - 4]
mov eax, 0x47ef9c
call fcn.00404b48
test eax, eax
je 0x47e9a5
mov edx, dword [ebp - 4]
mov eax, 0x47ef9c
call fcn.00404b48
mov edx, dword [ebp - 4]
cmp byte [edx + eax - 5], 0x2e
jne 0x47e9a5
mov edx, dword [ebp - 4]
mov eax, 0x47ef9c
call fcn.00404b48
push eax
mov eax, dword [ebp - 4]
call fcn.00404804
pop edx
sub eax, edx
inc eax
push eax
mov edx, dword [ebp - 4]
mov eax, 0x47ef9c
call fcn.00404b48
mov edx, eax
lea eax, [ebp - 4]
pop ecx
call fcn.00404aa4
mov edx, dword [ebp - 4]
mov eax, 0x47efa8
call fcn.00404b48
test eax, eax
je 0x47ea00
mov edx, dword [ebp - 4]
mov eax, 0x47efa8
call fcn.00404b48
mov edx, dword [ebp - 4]
cmp byte [edx + eax - 5], 0x2e
jne 0x47ea00
mov edx, dword [ebp - 4]
mov eax, 0x47efa8
call fcn.00404b48
push eax
mov eax, dword [ebp - 4]
call fcn.00404804
pop edx
sub eax, edx
inc eax
push eax
mov edx, dword [ebp - 4]
mov eax, 0x47efa8
call fcn.00404b48
mov edx, eax
lea eax, [ebp - 4]
pop ecx
call fcn.00404aa4
mov edx, dword [ebp - 4]
mov eax, 0x47efb4
call fcn.00404b48
test eax, eax
je 0x47ea5b
mov edx, dword [ebp - 4]
mov eax, 0x47efb4
call fcn.00404b48
mov edx, dword [ebp - 4]
cmp byte [edx + eax - 5], 0x2e
jne 0x47ea5b
mov edx, dword [ebp - 4]
mov eax, 0x47efb4
call fcn.00404b48
push eax
mov eax, dword [ebp - 4]
call fcn.00404804
pop edx
sub eax, edx
inc eax
push eax
mov edx, dword [ebp - 4]
mov eax, 0x47efb4
call fcn.00404b48
mov edx, eax
lea eax, [ebp - 4]
pop ecx
call fcn.00404aa4
mov edx, dword [ebp - 4]
mov eax, 0x47efc0
call fcn.00404b48
test eax, eax
je 0x47eab6
mov edx, dword [ebp - 4]
mov eax, 0x47efc0
call fcn.00404b48
mov edx, dword [ebp - 4]
cmp byte [edx + eax - 5], 0x2e
jne 0x47eab6
mov edx, dword [ebp - 4]
mov eax, 0x47efc0
call fcn.00404b48
push eax
mov eax, dword [ebp - 4]
call fcn.00404804
pop edx
sub eax, edx
inc eax
push eax
mov edx, dword [ebp - 4]
mov eax, 0x47efc0
call fcn.00404b48
mov edx, eax
lea eax, [ebp - 4]
pop ecx
call fcn.00404aa4
mov edx, dword [ebp - 4]
mov eax, 0x47efcc
call fcn.00404b48
test eax, eax
je 0x47eb5e
lea eax, [ebp - 0x10]
mov edx, dword [ebp - 4]
call fcn.004045dc
mov edx, dword [ebp - 0x10]
mov eax, 0x47efcc
call fcn.00404b48
mov edx, eax
lea eax, [ebp - 0x10]
mov ecx, 1
call fcn.00404aa4
or ebx, 0xffffffff
mov edx, dword [ebp - 0x10]
mov eax, 0x47efcc
call fcn.00404b48
test eax, eax
je 0x47eb35
mov edx, dword [ebp - 0x10]
mov eax, 0x47efcc
call fcn.00404b48
mov ebx, eax
lea eax, [ebp - 0x10]
mov ecx, 1
mov edx, ebx
call fcn.00404aa4
mov edx, dword [ebp - 0x10]
mov eax, 0x47efcc
call fcn.00404b48
test eax, eax
jne 0x47eb06
cmp ebx, 0xffffffff
je 0x47eb5e
mov eax, dword [ebp - 4]
cmp byte [eax + ebx + 3], 0x20
jne 0x47eb5e
mov eax, dword [ebp - 4]
call fcn.00404804
mov ecx, eax
sub ecx, ebx
add ecx, 3
lea edx, [ebx + 4]
lea eax, [ebp - 4]
call fcn.00404aa4
mov edx, dword [ebp - 4]
mov eax, 0x47efd8
call fcn.00404b48
test eax, eax
je 0x47ec01
mov edx, dword [ebp - 4]
mov eax, 0x47efd8
call fcn.00404b48
mov edx, dword [ebp - 4]
cmp byte [edx + eax - 5], 0x2e
jne 0x47ec01
mov edx, dword [ebp - 4]
mov eax, 0x47efd8
call fcn.00404b48
push eax
mov eax, dword [ebp - 4]
call fcn.00404804
pop edx
sub eax, edx
inc eax
push eax
mov edx, dword [ebp - 4]
mov eax, 0x47efd8
call fcn.00404b48
mov edx, eax
lea eax, [ebp - 4]
pop ecx
call fcn.00404aa4
lea edx, [ebp - 0x1c]
mov eax, dword [ebp - 4]
call fcn.00408734
mov eax, dword [ebp - 0x1c]
push eax
lea eax, [ebp - 0x24]
mov edx, dword [0x48a38c]
mov edx, dword [edx]
call fcn.0040473c
mov eax, dword [ebp - 0x24]
lea edx, [ebp - 0x20]
call fcn.00408734
mov eax, dword [ebp - 0x20]
pop edx
call fcn.00404b48
test eax, eax
je 0x47ec01
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x47eefd
mov edx, dword [ebp - 4]
mov eax, 0x47efe4
call fcn.00404b48
test eax, eax
jne 0x47ecc1
mov edx, dword [ebp - 4]
mov eax, 0x47effc
call fcn.00404b48
test eax, eax
jne 0x47ecc1
mov edx, dword [ebp - 4]
mov eax, 0x47f010
call fcn.00404b48
test eax, eax
jne 0x47ecc1
mov edx, dword [ebp - 4]
mov eax, 0x47f02c
call fcn.00404b48
test eax, eax
jne 0x47ecc1
lea edx, [ebp - 0x28]
mov eax, dword [ebp - 4]
call fcn.00408734
mov edx, dword [ebp - 0x28]
mov eax, 0x47f050
call fcn.00404b48
test eax, eax
jne 0x47ecc1
lea edx, [ebp - 0x2c]
mov eax, dword [ebp - 4]
call fcn.00408734
mov edx, dword [ebp - 0x2c]
mov eax, 0x47f064
call fcn.00404b48
test eax, eax
jne 0x47ecc1
lea edx, [ebp - 0x30]
mov eax, dword [ebp - 4]
call fcn.00408734
mov edx, dword [ebp - 0x30]
mov eax, 0x47f07c
call fcn.00404b48
test eax, eax
jne 0x47ecc1
lea edx, [ebp - 0x34]
mov eax, dword [ebp - 4]
call fcn.00408734
mov edx, dword [ebp - 0x34]
mov eax, 0x47f090
call fcn.00404b48
test eax, eax
je 0x47ecce
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x47eefd
lea edx, [ebp - 0x38]
mov eax, dword [ebp - 4]
call fcn.00408734
mov edx, dword [ebp - 0x38]
mov eax, 0x47f0a4
call fcn.00404b48
test eax, eax
jne 0x47ed7a
lea edx, [ebp - 0x3c]
mov eax, dword [ebp - 4]
call fcn.00408734
mov edx, dword [ebp - 0x3c]
mov eax, 0x47f0b4
call fcn.00404b48
test eax, eax
jne 0x47ed7a
lea edx, [ebp - 0x40]
mov eax, dword [ebp - 4]
call fcn.00408734
mov edx, dword [ebp - 0x40]
mov eax, 0x47f0c8
call fcn.00404b48
test eax, eax
jne 0x47ed7a
lea edx, [ebp - 0x44]
mov eax, dword [ebp - 4]
call fcn.00408734
mov edx, dword [ebp - 0x44]
mov eax, 0x47f0dc
call fcn.00404b48
test eax, eax
jne 0x47ed7a
lea edx, [ebp - 0x48]
mov eax, dword [ebp - 4]
call fcn.00408734
mov edx, dword [ebp - 0x48]
mov eax, 0x47f0f0
call fcn.00404b48
test eax, eax
jne 0x47ed7a
lea edx, [ebp - 0x4c]
mov eax, dword [ebp - 4]
call fcn.00408734
mov edx, dword [ebp - 0x4c]
mov eax, 0x47f100
call fcn.00404b48
test eax, eax
je 0x47ed87
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x47eefd
mov edx, dword [ebp - 4]
mov eax, 0x47f110
call fcn.00404b48
test eax, eax
jne 0x47eeb7
mov edx, dword [ebp - 4]
mov eax, 0x47ef78
call fcn.00404b48
test eax, eax
jne 0x47eeb7
mov edx, dword [ebp - 4]
mov eax, 0x47f11c
call fcn.00404b48
test eax, eax
jne 0x47eeb7
mov edx, dword [ebp - 4]
mov eax, 0x47f128
call fcn.00404b48
test eax, eax
jne 0x47eeb7
mov edx, dword [ebp - 4]
mov eax, 0x47ef54
call fcn.00404b48
test eax, eax
jne 0x47eeb7
mov edx, dword [ebp - 4]
mov eax, 0x47f134
call fcn.00404b48
test eax, eax
jne 0x47eeb7
mov edx, dword [ebp - 4]
mov eax, 0x47f140
call fcn.00404b48
test eax, eax
jne 0x47eeb7
mov edx, dword [ebp - 4]
mov eax, 0x47efa8
call fcn.00404b48
test eax, eax
jne 0x47eeb7
mov edx, dword [ebp - 4]
mov eax, 0x47efd8
call fcn.00404b48
test eax, eax
jne 0x47eeb7
mov edx, dword [ebp - 4]
mov eax, 0x47f14c
call fcn.00404b48
test eax, eax
jne 0x47eeb7
mov edx, dword [ebp - 4]
mov eax, 0x47f158
call fcn.00404b48
test eax, eax
jne 0x47eeb7
mov edx, dword [ebp - 4]
mov eax, 0x47f164
call fcn.00404b48
test eax, eax
jne 0x47eeb7
mov edx, dword [ebp - 4]
mov eax, 0x47f170
call fcn.00404b48
test eax, eax
jne 0x47eeb7
mov edx, dword [ebp - 4]
mov eax, 0x47f17c
call fcn.00404b48
test eax, eax
jne 0x47eeb7
mov edx, dword [ebp - 4]
mov eax, 0x47f188
call fcn.00404b48
test eax, eax
jne 0x47eeb7
mov edx, dword [ebp - 4]
mov eax, 0x47efc0
call fcn.00404b48
test eax, eax
je 0x47eebd
mov byte [ebp - 5], 0
jmp 0x47eee9
mov eax, dword [ebp - 4]
call fcn.00409128
test al, al
jne 0x47eed9
mov eax, dword [ebp - 4]
call fcn.00409138
test al, al
jne 0x47eed9
xor eax, eax
jmp 0x47eedb
mov al, 1
test al, al
jne 0x47eee5
mov byte [ebp - 5], 1
jmp 0x47eee9
mov byte [ebp - 5], 0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x47eefd
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47ef27
lea eax, [ebp - 0x4c]
mov edx, 0x11
call fcn.00404568
lea eax, [ebp - 4]
call fcn.00404544
ret