Function at 0x47e5f4
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
mov ecx, 5
push 0
push 0
dec ecx
jne 0x47e5fc
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 0x47f057
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 0x47f034
mov eax, dword [ebp - 4]
cmp byte [eax + 2], 0x3a
jne 0x47e65c
mov eax, dword [ebp - 4]
call fcn.00404804
cmp eax, 3
jle 0x47e65c
lea eax, [ebp - 4]
mov ecx, 1
mov edx, 1
call fcn.00404aa4
xor edx, edx
push ebp
push 0x47f02a
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 0x47e687
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x47f034
mov eax, dword [ebp - 4]
cmp byte [eax + 1], 0x3a
jne 0x47e699
mov eax, dword [ebp - 4]
cmp byte [eax + 2], 0x5c
je 0x47e6a6
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x47f034
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 0x47e6d7
je 0x47e6db
dec eax
sub eax, 3
jae 0x47e6df
xor eax, eax
jmp 0x47e6e1
mov al, 1
jmp 0x47e6e1
xor eax, eax
test al, al
je 0x47f020
jmp 0x47e707
mov edx, dword [ebp - 4]
mov eax, 0x47f070
call fcn.00404b48
mov edx, eax
lea eax, [ebp - 4]
mov ecx, 1
call fcn.00404aa4
mov edx, dword [ebp - 4]
mov eax, 0x47f070
call fcn.00404b48
test eax, eax
jg 0x47e6eb
mov eax, dword [ebp - 4]
call fcn.00409128
test al, al
jne 0x47e730
mov eax, dword [ebp - 4]
call fcn.00409138
test al, al
je 0x47e73d
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x47f034
mov eax, dword [ebp - 4]
call fcn.00404804
mov edx, dword [ebp - 4]
cmp byte [edx + eax - 1], 0x5c
jne 0x47e778
mov eax, dword [ebp - 4]
call fcn.00404804
mov edx, dword [ebp - 4]
cmp byte [edx + eax - 5], 0x2e
jne 0x47e778
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 0x47e7b4
mov eax, dword [ebp - 4]
call fcn.00404804
mov edx, dword [ebp - 4]
cmp byte [edx + eax - 6], 0x2e
jne 0x47e7b4
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, 0x47f07c
call fcn.00404b48
test eax, eax
je 0x47e89b
mov edx, dword [ebp - 0x14]
mov eax, 0x47f07c
call fcn.00404b48
mov edx, dword [ebp - 0x14]
cmp byte [edx + eax - 5], 0x2e
jne 0x47e837
mov edx, dword [ebp - 0x14]
mov eax, 0x47f07c
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, 0x47f07c
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, 0x47f07c
call fcn.00404b48
mov edx, dword [ebp - 0x14]
cmp byte [edx + eax - 6], 0x2e
jne 0x47ed74
mov edx, dword [ebp - 0x14]
mov eax, 0x47f07c
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, 0x47f07c
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 0x47ed74
mov edx, dword [ebp - 4]
mov eax, 0x47f088
call fcn.00404b48
test eax, eax
je 0x47e8f6
mov edx, dword [ebp - 4]
mov eax, 0x47f088
call fcn.00404b48
mov edx, dword [ebp - 4]
cmp byte [edx + eax - 5], 0x2e
jne 0x47e8f6
mov edx, dword [ebp - 4]
mov eax, 0x47f088
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, 0x47f088
call fcn.00404b48
mov edx, eax
lea eax, [ebp - 4]
pop ecx
call fcn.00404aa4
mov edx, dword [ebp - 4]
mov eax, 0x47f094
call fcn.00404b48
test eax, eax
je 0x47e951
mov edx, dword [ebp - 4]
mov eax, 0x47f094
call fcn.00404b48
mov edx, dword [ebp - 4]
cmp byte [edx + eax - 5], 0x2e
jne 0x47e951
mov edx, dword [ebp - 4]
mov eax, 0x47f094
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, 0x47f094
call fcn.00404b48
mov edx, eax
lea eax, [ebp - 4]
pop ecx
call fcn.00404aa4
mov edx, dword [ebp - 4]
mov eax, 0x47f0a0
call fcn.00404b48
test eax, eax
je 0x47e9ac
mov edx, dword [ebp - 4]
mov eax, 0x47f0a0
call fcn.00404b48
mov edx, dword [ebp - 4]
cmp byte [edx + eax - 5], 0x2e
jne 0x47e9ac
mov edx, dword [ebp - 4]
mov eax, 0x47f0a0
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, 0x47f0a0
call fcn.00404b48
mov edx, eax
lea eax, [ebp - 4]
pop ecx
call fcn.00404aa4
mov edx, dword [ebp - 4]
mov eax, 0x47f0ac
call fcn.00404b48
test eax, eax
je 0x47ea07
mov edx, dword [ebp - 4]
mov eax, 0x47f0ac
call fcn.00404b48
mov edx, dword [ebp - 4]
cmp byte [edx + eax - 5], 0x2e
jne 0x47ea07
mov edx, dword [ebp - 4]
mov eax, 0x47f0ac
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, 0x47f0ac
call fcn.00404b48
mov edx, eax
lea eax, [ebp - 4]
pop ecx
call fcn.00404aa4
mov edx, dword [ebp - 4]
mov eax, 0x47f0b8
call fcn.00404b48
test eax, eax
je 0x47ea62
mov edx, dword [ebp - 4]
mov eax, 0x47f0b8
call fcn.00404b48
mov edx, dword [ebp - 4]
cmp byte [edx + eax - 5], 0x2e
jne 0x47ea62
mov edx, dword [ebp - 4]
mov eax, 0x47f0b8
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, 0x47f0b8
call fcn.00404b48
mov edx, eax
lea eax, [ebp - 4]
pop ecx
call fcn.00404aa4
mov edx, dword [ebp - 4]
mov eax, 0x47f0c4
call fcn.00404b48
test eax, eax
je 0x47eabd
mov edx, dword [ebp - 4]
mov eax, 0x47f0c4
call fcn.00404b48
mov edx, dword [ebp - 4]
cmp byte [edx + eax - 5], 0x2e
jne 0x47eabd
mov edx, dword [ebp - 4]
mov eax, 0x47f0c4
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, 0x47f0c4
call fcn.00404b48
mov edx, eax
lea eax, [ebp - 4]
pop ecx
call fcn.00404aa4
mov edx, dword [ebp - 4]
mov eax, 0x47f0d0
call fcn.00404b48
test eax, eax
je 0x47eb18
mov edx, dword [ebp - 4]
mov eax, 0x47f0d0
call fcn.00404b48
mov edx, dword [ebp - 4]
cmp byte [edx + eax - 5], 0x2e
jne 0x47eb18
mov edx, dword [ebp - 4]
mov eax, 0x47f0d0
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, 0x47f0d0
call fcn.00404b48
mov edx, eax
lea eax, [ebp - 4]
pop ecx
call fcn.00404aa4
mov edx, dword [ebp - 4]
mov eax, 0x47f0dc
call fcn.00404b48
test eax, eax
je 0x47eb73
mov edx, dword [ebp - 4]
mov eax, 0x47f0dc
call fcn.00404b48
mov edx, dword [ebp - 4]
cmp byte [edx + eax - 5], 0x2e
jne 0x47eb73
mov edx, dword [ebp - 4]
mov eax, 0x47f0dc
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, 0x47f0dc
call fcn.00404b48
mov edx, eax
lea eax, [ebp - 4]
pop ecx
call fcn.00404aa4
mov edx, dword [ebp - 4]
mov eax, 0x47f0e8
call fcn.00404b48
test eax, eax
je 0x47ebce
mov edx, dword [ebp - 4]
mov eax, 0x47f0e8
call fcn.00404b48
mov edx, dword [ebp - 4]
cmp byte [edx + eax - 5], 0x2e
jne 0x47ebce
mov edx, dword [ebp - 4]
mov eax, 0x47f0e8
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, 0x47f0e8
call fcn.00404b48
mov edx, eax
lea eax, [ebp - 4]
pop ecx
call fcn.00404aa4
mov edx, dword [ebp - 4]
mov eax, 0x47f0f4
call fcn.00404b48
test eax, eax
je 0x47ec29
mov edx, dword [ebp - 4]
mov eax, 0x47f0f4
call fcn.00404b48
mov edx, dword [ebp - 4]
cmp byte [edx + eax - 5], 0x2e
jne 0x47ec29
mov edx, dword [ebp - 4]
mov eax, 0x47f0f4
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, 0x47f0f4
call fcn.00404b48
mov edx, eax
lea eax, [ebp - 4]
pop ecx
call fcn.00404aa4
mov edx, dword [ebp - 4]
mov eax, 0x47f100
call fcn.00404b48
test eax, eax
je 0x47ecd1
lea eax, [ebp - 0x10]
mov edx, dword [ebp - 4]
call fcn.004045dc
mov edx, dword [ebp - 0x10]
mov eax, 0x47f100
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, 0x47f100
call fcn.00404b48
test eax, eax
je 0x47eca8
mov edx, dword [ebp - 0x10]
mov eax, 0x47f100
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, 0x47f100
call fcn.00404b48
test eax, eax
jne 0x47ec79
cmp ebx, 0xffffffff
je 0x47ecd1
mov eax, dword [ebp - 4]
cmp byte [eax + ebx + 3], 0x20
jne 0x47ecd1
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, 0x47f10c
call fcn.00404b48
test eax, eax
je 0x47ed74
mov edx, dword [ebp - 4]
mov eax, 0x47f10c
call fcn.00404b48
mov edx, dword [ebp - 4]
cmp byte [edx + eax - 5], 0x2e
jne 0x47ed74
mov edx, dword [ebp - 4]
mov eax, 0x47f10c
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, 0x47f10c
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.00408734
mov eax, dword [ebp - 0x20]
push eax
lea eax, [ebp - 0x28]
mov edx, dword [0x48a38c]
mov edx, dword [edx]
call fcn.0040473c
mov eax, dword [ebp - 0x28]
lea edx, [ebp - 0x24]
call fcn.00408734
mov eax, dword [ebp - 0x24]
pop edx
call fcn.00404b48
test eax, eax
je 0x47ed74
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x47f034
lea edx, [ebp - 0x1c]
mov eax, dword [ebp - 4]
call fcn.00408734
mov edx, dword [ebp - 0x1c]
mov eax, 0x47f118
call fcn.00404b48
test eax, eax
jne 0x47ee07
mov edx, dword [ebp - 0x1c]
mov eax, 0x47f130
call fcn.00404b48
test eax, eax
jne 0x47ee07
mov edx, dword [ebp - 0x1c]
mov eax, 0x47f144
call fcn.00404b48
test eax, eax
jne 0x47ee07
mov edx, dword [ebp - 0x1c]
mov eax, 0x47f160
call fcn.00404b48
test eax, eax
jne 0x47ee07
mov edx, dword [ebp - 0x1c]
mov eax, 0x47f184
call fcn.00404b48
test eax, eax
jne 0x47ee07
mov edx, dword [ebp - 0x1c]
mov eax, 0x47f198
call fcn.00404b48
test eax, eax
jne 0x47ee07
mov edx, dword [ebp - 0x1c]
mov eax, 0x47f1b0
call fcn.00404b48
test eax, eax
jne 0x47ee07
mov edx, dword [ebp - 0x1c]
mov eax, 0x47f1c4
call fcn.00404b48
test eax, eax
je 0x47ee14
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x47f034
mov edx, dword [ebp - 0x1c]
mov eax, 0x47f1d8
call fcn.00404b48
test eax, eax
jne 0x47eeb1
mov edx, dword [ebp - 0x1c]
mov eax, 0x47f1e8
call fcn.00404b48
test eax, eax
jne 0x47eeb1
mov edx, dword [ebp - 0x1c]
mov eax, 0x47f1fc
call fcn.00404b48
test eax, eax
jne 0x47eeb1
mov edx, dword [ebp - 0x1c]
mov eax, 0x47f210
call fcn.00404b48
test eax, eax
jne 0x47eeb1
mov edx, dword [ebp - 0x1c]
mov eax, 0x47f224
call fcn.00404b48
test eax, eax
jne 0x47eeb1
mov edx, dword [ebp - 0x1c]
mov eax, 0x47f234
call fcn.00404b48
test eax, eax
jne 0x47eeb1
mov edx, dword [ebp - 0x1c]
mov eax, 0x47f244
call fcn.00404b48
test eax, eax
jne 0x47eeb1
mov edx, dword [ebp - 0x1c]
mov eax, 0x47f254
call fcn.00404b48
test eax, eax
jne 0x47eeb1
mov edx, dword [ebp - 0x1c]
mov eax, 0x47f264
call fcn.00404b48
test eax, eax
je 0x47eebe
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x47f034
mov edx, dword [ebp - 4]
mov eax, 0x47f27c
call fcn.00404b48
test eax, eax
jne 0x47efee
mov edx, dword [ebp - 4]
mov eax, 0x47f0ac
call fcn.00404b48
test eax, eax
jne 0x47efee
mov edx, dword [ebp - 4]
mov eax, 0x47f288
call fcn.00404b48
test eax, eax
jne 0x47efee
mov edx, dword [ebp - 4]
mov eax, 0x47f294
call fcn.00404b48
test eax, eax
jne 0x47efee
mov edx, dword [ebp - 4]
mov eax, 0x47f088
call fcn.00404b48
test eax, eax
jne 0x47efee
mov edx, dword [ebp - 4]
mov eax, 0x47f2a0
call fcn.00404b48
test eax, eax
jne 0x47efee
mov edx, dword [ebp - 4]
mov eax, 0x47f2ac
call fcn.00404b48
test eax, eax
jne 0x47efee
mov edx, dword [ebp - 4]
mov eax, 0x47f0dc
call fcn.00404b48
test eax, eax
jne 0x47efee
mov edx, dword [ebp - 4]
mov eax, 0x47f10c
call fcn.00404b48
test eax, eax
jne 0x47efee
mov edx, dword [ebp - 4]
mov eax, 0x47f2b8
call fcn.00404b48
test eax, eax
jne 0x47efee
mov edx, dword [ebp - 4]
mov eax, 0x47f2c4
call fcn.00404b48
test eax, eax
jne 0x47efee
mov edx, dword [ebp - 4]
mov eax, 0x47f2d0
call fcn.00404b48
test eax, eax
jne 0x47efee
mov edx, dword [ebp - 4]
mov eax, 0x47f2dc
call fcn.00404b48
test eax, eax
jne 0x47efee
mov edx, dword [ebp - 4]
mov eax, 0x47f2e8
call fcn.00404b48
test eax, eax
jne 0x47efee
mov edx, dword [ebp - 4]
mov eax, 0x47f2f4
call fcn.00404b48
test eax, eax
jne 0x47efee
mov edx, dword [ebp - 4]
mov eax, 0x47f0f4
call fcn.00404b48
test eax, eax
je 0x47eff4
mov byte [ebp - 5], 0
jmp 0x47f020
mov eax, dword [ebp - 4]
call fcn.00409128
test al, al
jne 0x47f010
mov eax, dword [ebp - 4]
call fcn.00409138
test al, al
jne 0x47f010
xor eax, eax
jmp 0x47f012
mov al, 1
test al, al
jne 0x47f01c
mov byte [ebp - 5], 1
jmp 0x47f020
mov byte [ebp - 5], 0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x47f034
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47f05e
lea eax, [ebp - 0x28]
mov edx, 8
call fcn.00404568
lea eax, [ebp - 4]
call fcn.00404544
ret