Function at 0x47e4dc
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
mov ecx, 5
push 0
push 0
dec ecx
jne 0x47e4e4
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 0x47ef69
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 0x47ef46
mov eax, dword [ebp - 4]
cmp byte [eax + 2], 0x3a
jne 0x47e544
mov eax, dword [ebp - 4]
call fcn.00404804
cmp eax, 3
jle 0x47e544
lea eax, [ebp - 4]
mov ecx, 1
mov edx, 1
call fcn.00404aa4
xor edx, edx
push ebp
push 0x47ef3c
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 0x47e56f
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x47ef46
mov eax, dword [ebp - 4]
cmp byte [eax + 1], 0x3a
jne 0x47e581
mov eax, dword [ebp - 4]
cmp byte [eax + 2], 0x5c
je 0x47e58e
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x47ef46
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 0x47e5bf
je 0x47e5c3
dec eax
sub eax, 3
jae 0x47e5c7
xor eax, eax
jmp 0x47e5c9
mov al, 1
jmp 0x47e5c9
xor eax, eax
test al, al
je 0x47ef32
jmp 0x47e5ef
mov edx, dword [ebp - 4]
mov eax, 0x47ef84
call fcn.00404b48
mov edx, eax
lea eax, [ebp - 4]
mov ecx, 1
call fcn.00404aa4
mov edx, dword [ebp - 4]
mov eax, 0x47ef84
call fcn.00404b48
test eax, eax
jg 0x47e5d3
mov eax, dword [ebp - 4]
call fcn.00409130
test al, al
jne 0x47e618
mov eax, dword [ebp - 4]
call fcn.00409140
test al, al
je 0x47e625
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x47ef46
mov eax, dword [ebp - 4]
call fcn.00404804
mov edx, dword [ebp - 4]
cmp byte [edx + eax - 1], 0x5c
jne 0x47e660
mov eax, dword [ebp - 4]
call fcn.00404804
mov edx, dword [ebp - 4]
cmp byte [edx + eax - 5], 0x2e
jne 0x47e660
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 0x47e69c
mov eax, dword [ebp - 4]
call fcn.00404804
mov edx, dword [ebp - 4]
cmp byte [edx + eax - 6], 0x2e
jne 0x47e69c
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.00409334
lea edx, [ebp - 0x18]
mov eax, dword [ebp - 4]
call fcn.00409300
mov edx, dword [ebp - 0x14]
mov eax, 0x47ef90
call fcn.00404b48
test eax, eax
je 0x47e783
mov edx, dword [ebp - 0x14]
mov eax, 0x47ef90
call fcn.00404b48
mov edx, dword [ebp - 0x14]
cmp byte [edx + eax - 5], 0x2e
jne 0x47e71f
mov edx, dword [ebp - 0x14]
mov eax, 0x47ef90
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, 0x47ef90
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, 0x47ef90
call fcn.00404b48
mov edx, dword [ebp - 0x14]
cmp byte [edx + eax - 6], 0x2e
jne 0x47ec5c
mov edx, dword [ebp - 0x14]
mov eax, 0x47ef90
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, 0x47ef90
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 0x47ec5c
mov edx, dword [ebp - 4]
mov eax, 0x47ef9c
call fcn.00404b48
test eax, eax
je 0x47e7de
mov edx, dword [ebp - 4]
mov eax, 0x47ef9c
call fcn.00404b48
mov edx, dword [ebp - 4]
cmp byte [edx + eax - 5], 0x2e
jne 0x47e7de
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 0x47e839
mov edx, dword [ebp - 4]
mov eax, 0x47efa8
call fcn.00404b48
mov edx, dword [ebp - 4]
cmp byte [edx + eax - 5], 0x2e
jne 0x47e839
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 0x47e894
mov edx, dword [ebp - 4]
mov eax, 0x47efb4
call fcn.00404b48
mov edx, dword [ebp - 4]
cmp byte [edx + eax - 5], 0x2e
jne 0x47e894
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 0x47e8ef
mov edx, dword [ebp - 4]
mov eax, 0x47efc0
call fcn.00404b48
mov edx, dword [ebp - 4]
cmp byte [edx + eax - 5], 0x2e
jne 0x47e8ef
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 0x47e94a
mov edx, dword [ebp - 4]
mov eax, 0x47efcc
call fcn.00404b48
mov edx, dword [ebp - 4]
cmp byte [edx + eax - 5], 0x2e
jne 0x47e94a
mov edx, dword [ebp - 4]
mov eax, 0x47efcc
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, 0x47efcc
call fcn.00404b48
mov edx, eax
lea eax, [ebp - 4]
pop ecx
call fcn.00404aa4
mov edx, dword [ebp - 4]
mov eax, 0x47efd8
call fcn.00404b48
test eax, eax
je 0x47e9a5
mov edx, dword [ebp - 4]
mov eax, 0x47efd8
call fcn.00404b48
mov edx, dword [ebp - 4]
cmp byte [edx + eax - 5], 0x2e
jne 0x47e9a5
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
mov edx, dword [ebp - 4]
mov eax, 0x47efe4
call fcn.00404b48
test eax, eax
je 0x47ea00
mov edx, dword [ebp - 4]
mov eax, 0x47efe4
call fcn.00404b48
mov edx, dword [ebp - 4]
cmp byte [edx + eax - 5], 0x2e
jne 0x47ea00
mov edx, dword [ebp - 4]
mov eax, 0x47efe4
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, 0x47efe4
call fcn.00404b48
mov edx, eax
lea eax, [ebp - 4]
pop ecx
call fcn.00404aa4
mov edx, dword [ebp - 4]
mov eax, 0x47eff0
call fcn.00404b48
test eax, eax
je 0x47ea5b
mov edx, dword [ebp - 4]
mov eax, 0x47eff0
call fcn.00404b48
mov edx, dword [ebp - 4]
cmp byte [edx + eax - 5], 0x2e
jne 0x47ea5b
mov edx, dword [ebp - 4]
mov eax, 0x47eff0
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, 0x47eff0
call fcn.00404b48
mov edx, eax
lea eax, [ebp - 4]
pop ecx
call fcn.00404aa4
mov edx, dword [ebp - 4]
mov eax, 0x47effc
call fcn.00404b48
test eax, eax
je 0x47eab6
mov edx, dword [ebp - 4]
mov eax, 0x47effc
call fcn.00404b48
mov edx, dword [ebp - 4]
cmp byte [edx + eax - 5], 0x2e
jne 0x47eab6
mov edx, dword [ebp - 4]
mov eax, 0x47effc
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, 0x47effc
call fcn.00404b48
mov edx, eax
lea eax, [ebp - 4]
pop ecx
call fcn.00404aa4
mov edx, dword [ebp - 4]
mov eax, 0x47f008
call fcn.00404b48
test eax, eax
je 0x47eb11
mov edx, dword [ebp - 4]
mov eax, 0x47f008
call fcn.00404b48
mov edx, dword [ebp - 4]
cmp byte [edx + eax - 5], 0x2e
jne 0x47eb11
mov edx, dword [ebp - 4]
mov eax, 0x47f008
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, 0x47f008
call fcn.00404b48
mov edx, eax
lea eax, [ebp - 4]
pop ecx
call fcn.00404aa4
mov edx, dword [ebp - 4]
mov eax, 0x47f014
call fcn.00404b48
test eax, eax
je 0x47ebb9
lea eax, [ebp - 0x10]
mov edx, dword [ebp - 4]
call fcn.004045dc
mov edx, dword [ebp - 0x10]
mov eax, 0x47f014
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, 0x47f014
call fcn.00404b48
test eax, eax
je 0x47eb90
mov edx, dword [ebp - 0x10]
mov eax, 0x47f014
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, 0x47f014
call fcn.00404b48
test eax, eax
jne 0x47eb61
cmp ebx, 0xffffffff
je 0x47ebb9
mov eax, dword [ebp - 4]
cmp byte [eax + ebx + 3], 0x20
jne 0x47ebb9
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, 0x47f020
call fcn.00404b48
test eax, eax
je 0x47ec5c
mov edx, dword [ebp - 4]
mov eax, 0x47f020
call fcn.00404b48
mov edx, dword [ebp - 4]
cmp byte [edx + eax - 5], 0x2e
jne 0x47ec5c
mov edx, dword [ebp - 4]
mov eax, 0x47f020
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, 0x47f020
call fcn.00404b48
mov edx, eax
lea eax, [ebp - 4]
pop ecx
call fcn.00404aa4
lea edx, [ebp - 0x20]
mov eax, dword [ebp - 4]
call fcn.0040873c
mov eax, dword [ebp - 0x20]
push eax
lea eax, [ebp - 0x28]
mov edx, dword [0x48c38c]
mov edx, dword [edx]
call fcn.0040473c
mov eax, dword [ebp - 0x28]
lea edx, [ebp - 0x24]
call fcn.0040873c
mov eax, dword [ebp - 0x24]
pop edx
call fcn.00404b48
test eax, eax
je 0x47ec5c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x47ef46
lea edx, [ebp - 0x1c]
mov eax, dword [ebp - 4]
call fcn.0040873c
mov edx, dword [ebp - 0x1c]
mov eax, 0x47f02c
call fcn.00404b48
test eax, eax
jne 0x47ed04
mov edx, dword [ebp - 0x1c]
mov eax, 0x47f044
call fcn.00404b48
test eax, eax
jne 0x47ed04
mov edx, dword [ebp - 0x1c]
mov eax, 0x47f058
call fcn.00404b48
test eax, eax
jne 0x47ed04
mov edx, dword [ebp - 0x1c]
mov eax, 0x47f074
call fcn.00404b48
test eax, eax
jne 0x47ed04
mov edx, dword [ebp - 0x1c]
mov eax, 0x47f098
call fcn.00404b48
test eax, eax
jne 0x47ed04
mov edx, dword [ebp - 0x1c]
mov eax, 0x47f0ac
call fcn.00404b48
test eax, eax
jne 0x47ed04
mov edx, dword [ebp - 0x1c]
mov eax, 0x47f0c4
call fcn.00404b48
test eax, eax
jne 0x47ed04
mov edx, dword [ebp - 0x1c]
mov eax, 0x47f0e8
call fcn.00404b48
test eax, eax
jne 0x47ed04
mov edx, dword [ebp - 0x1c]
mov eax, 0x47f0fc
call fcn.00404b48
test eax, eax
je 0x47ed11
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x47ef46
mov edx, dword [ebp - 0x1c]
mov eax, 0x47f110
call fcn.00404b48
test eax, eax
jne 0x47edc3
mov edx, dword [ebp - 0x1c]
mov eax, 0x47f120
call fcn.00404b48
test eax, eax
jne 0x47edc3
mov edx, dword [ebp - 0x1c]
mov eax, 0x47f134
call fcn.00404b48
test eax, eax
jne 0x47edc3
mov edx, dword [ebp - 0x1c]
mov eax, 0x47f148
call fcn.00404b48
test eax, eax
jne 0x47edc3
mov edx, dword [ebp - 0x1c]
mov eax, 0x47f15c
call fcn.00404b48
test eax, eax
jne 0x47edc3
mov edx, dword [ebp - 0x1c]
mov eax, 0x47f16c
call fcn.00404b48
test eax, eax
jne 0x47edc3
mov edx, dword [ebp - 0x1c]
mov eax, 0x47f17c
call fcn.00404b48
test eax, eax
jne 0x47edc3
mov edx, dword [ebp - 0x1c]
mov eax, 0x47f18c
call fcn.00404b48
test eax, eax
jne 0x47edc3
mov edx, dword [ebp - 0x1c]
mov eax, 0x47f19c
call fcn.00404b48
test eax, eax
jne 0x47edc3
mov edx, dword [ebp - 0x1c]
mov eax, 0x47f1b4
call fcn.00404b48
test eax, eax
je 0x47edd0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x47ef46
mov edx, dword [ebp - 4]
mov eax, 0x47f1c8
call fcn.00404b48
test eax, eax
jne 0x47ef00
mov edx, dword [ebp - 4]
mov eax, 0x47efc0
call fcn.00404b48
test eax, eax
jne 0x47ef00
mov edx, dword [ebp - 4]
mov eax, 0x47f1d4
call fcn.00404b48
test eax, eax
jne 0x47ef00
mov edx, dword [ebp - 4]
mov eax, 0x47f1e0
call fcn.00404b48
test eax, eax
jne 0x47ef00
mov edx, dword [ebp - 4]
mov eax, 0x47ef9c
call fcn.00404b48
test eax, eax
jne 0x47ef00
mov edx, dword [ebp - 4]
mov eax, 0x47f1ec
call fcn.00404b48
test eax, eax
jne 0x47ef00
mov edx, dword [ebp - 4]
mov eax, 0x47f1f8
call fcn.00404b48
test eax, eax
jne 0x47ef00
mov edx, dword [ebp - 4]
mov eax, 0x47eff0
call fcn.00404b48
test eax, eax
jne 0x47ef00
mov edx, dword [ebp - 4]
mov eax, 0x47f020
call fcn.00404b48
test eax, eax
jne 0x47ef00
mov edx, dword [ebp - 4]
mov eax, 0x47f204
call fcn.00404b48
test eax, eax
jne 0x47ef00
mov edx, dword [ebp - 4]
mov eax, 0x47f210
call fcn.00404b48
test eax, eax
jne 0x47ef00
mov edx, dword [ebp - 4]
mov eax, 0x47f21c
call fcn.00404b48
test eax, eax
jne 0x47ef00
mov edx, dword [ebp - 4]
mov eax, 0x47f228
call fcn.00404b48
test eax, eax
jne 0x47ef00
mov edx, dword [ebp - 4]
mov eax, 0x47f234
call fcn.00404b48
test eax, eax
jne 0x47ef00
mov edx, dword [ebp - 4]
mov eax, 0x47f240
call fcn.00404b48
test eax, eax
jne 0x47ef00
mov edx, dword [ebp - 4]
mov eax, 0x47f008
call fcn.00404b48
test eax, eax
je 0x47ef06
mov byte [ebp - 5], 0
jmp 0x47ef32
mov eax, dword [ebp - 4]
call fcn.00409130
test al, al
jne 0x47ef22
mov eax, dword [ebp - 4]
call fcn.00409140
test al, al
jne 0x47ef22
xor eax, eax
jmp 0x47ef24
mov al, 1
test al, al
jne 0x47ef2e
mov byte [ebp - 5], 1
jmp 0x47ef32
mov byte [ebp - 5], 0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x47ef46
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47ef70
lea eax, [ebp - 0x28]
mov edx, 8
call fcn.00404568
lea eax, [ebp - 4]
call fcn.00404544
ret