Function at 0x401bc4
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffd78
push ebx
push esi
push edi
mov esi, edx
mov ebx, eax
lea edi, [ebp - 0x4c]
mov eax, 0x4525ec
call fcn.0044938c
mov edx, dword [0x452520]
xor ecx, ecx
mov dword [ebp - 0x58], edx
mov edx, dword [0x452524]
mov dword [ebp - 0x54], edx
mov dx, word [0x452528]
mov word [ebp - 0x50], dx
lea edx, [ebp - 0x164]
mov word [edi + 0x10], 8
mov dword [ebp - 4], ecx
mov ecx, 4
inc dword [edi + 0x1c]
mov word [edi + 0x10], 0x14
push esi
push edi
lea edi, [ebp - 0x178]
mov esi, 0x45252a
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
pop edi
pop esi
mov eax, esi
lea ecx, [ebp - 0x64]
add al, 0x41
mov byte [ebp - 0x58], al
mov byte [ebp - 0x178], al
push 0x80
push edx
push ecx
lea eax, [ebp - 0x60]
push eax
lea edx, [ebp - 0x5c]
push edx
lea ecx, [ebp - 0xe4]
push 0x80
push ecx
lea eax, [ebp - 0x58]
push eax
call sub.KERNEL32.dll_GetVolumeInformationA
mov word [edi + 0x10], 0x20
lea edx, [ebp - 0xe4]
lea eax, [ebp - 8]
call fcn.00424cc4
inc dword [edi + 0x1c]
lea edx, [ebp - 8]
lea eax, [ebp - 4]
call fcn.00424f53
dec dword [edi + 0x1c]
lea eax, [ebp - 8]
mov edx, 2
call fcn.00424f24
mov word [edi + 0x10], 0x2c
mov edx, 0x452a8b
lea eax, [ebp - 0xc]
call fcn.00424cc4
inc dword [edi + 0x1c]
lea edx, [ebp - 0xc]
lea eax, [ebp - 4]
call fcn.00425004
push eax
dec dword [edi + 0x1c]
lea eax, [ebp - 0xc]
mov edx, 2
call fcn.00424f24
pop ecx
test cl, cl
je 0x401d9f
mov word [edi + 0x10], 0x38
mov edx, 0x452a94
lea eax, [ebp - 0x10]
call fcn.00424cc4
mov edx, eax
inc dword [edi + 0x1c]
mov eax, dword [ebx + 0x1c8]
add eax, 0x220
call fcn.00424f53
dec dword [edi + 0x1c]
lea eax, [ebp - 0x10]
mov edx, 2
call fcn.00424f24
mov eax, dword [ebx + 0x1d8]
call fcn.0043cb50
mov word [edi + 0x10], 0x44
mov edx, str.CDAUDIO
lea eax, [ebp - 0x14]
call fcn.00424cc4
inc dword [edi + 0x1c]
mov edx, dword [eax]
mov eax, dword [ebx + 0x1d8]
call fcn.0041e24c
dec dword [edi + 0x1c]
lea eax, [ebp - 0x14]
mov edx, 2
call fcn.00424f24
mov word [edi + 0x10], 0x50
mov edx, 0x452a9d
lea eax, [ebp - 0x18]
call fcn.00424cc4
inc dword [edi + 0x1c]
mov edx, dword [eax]
mov eax, dword [ebx + 0x208]
call fcn.0041e24c
dec dword [edi + 0x1c]
lea eax, [ebp - 0x18]
mov edx, 2
call fcn.00424f24
mov eax, 1
mov edx, 2
push eax
lea eax, [ebp - 4]
dec dword [edi + 0x1c]
call fcn.00424f24
pop eax
mov edx, dword [edi]
mov dword fs:[0], edx
jmp 0x401f61
mov ecx, esi
lea eax, [ebp - 0x288]
add cl, 0x61
lea edx, [ebp - 0x178]
mov byte [ebp - 0x178], cl
push 0
push eax
push edx
call fcn.00449fc8
add esp, 0xc
mov esi, eax
test esi, esi
jne 0x401e5c
mov eax, dword [ebx + 0x1d8]
call fcn.0043cb50
test esi, esi
jne 0x401e2a
mov esi, dword [ebx + 0x1d8]
lea edx, [ebp - 0x278]
mov word [edi + 0x10], 0x5c
add esi, 0x114
lea eax, [ebp - 0x1c]
call fcn.00424cc4
inc dword [edi + 0x1c]
mov edx, dword [eax]
mov eax, dword [esi]
mov ecx, dword [eax]
call dword [ecx + 0x2c]
dec dword [edi + 0x1c]
lea eax, [ebp - 0x1c]
mov edx, 2
call fcn.00424f24
lea ecx, [ebp - 0x288]
push ecx
call fcn.0044a088
pop ecx
mov esi, eax
test esi, esi
je 0x401ddb
xor edx, edx
mov eax, dword [ebx + 0x1d8]
call fcn.0043cbd4
mov eax, 2
mov edx, 2
push eax
lea eax, [ebp - 4]
dec dword [edi + 0x1c]
call fcn.00424f24
pop eax
mov edx, dword [edi]
mov dword fs:[0], edx
jmp 0x401f61
cmp dword [ebx + 0x228], 2
jne 0x401e9d
mov word [edi + 0x10], 0x68
mov edx, 0x452aa0
lea eax, [ebp - 0x20]
call fcn.00424cc4
mov edx, eax
inc dword [edi + 0x1c]
mov eax, dword [ebx + 0x1c8]
add eax, 0x220
call fcn.00424f53
dec dword [edi + 0x1c]
lea eax, [ebp - 0x20]
mov edx, 2
call fcn.00424f24
mov eax, dword [ebx + 0x1c8]
add eax, 0x220
call fcn.0042518c
test al, al
jne 0x401f11
mov eax, dword [ebx + 0x1d8]
call fcn.0043cb50
mov word [edi + 0x10], 0x74
mov edx, str.FILES
lea eax, [ebp - 0x24]
call fcn.00424cc4
inc dword [edi + 0x1c]
mov edx, dword [eax]
mov eax, dword [ebx + 0x1d8]
call fcn.0041e24c
dec dword [edi + 0x1c]
lea eax, [ebp - 0x24]
mov edx, 2
call fcn.00424f24
mov eax, 3
mov edx, 2
push eax
lea eax, [ebp - 4]
dec dword [edi + 0x1c]
call fcn.00424f24
pop eax
mov edx, dword [edi]
mov dword fs:[0], edx
jmp 0x401f61
mov word [edi + 0x10], 0x80
mov edx, str.CDROM
lea eax, [ebp - 0x28]
call fcn.00424cc4
inc dword [edi + 0x1c]
mov edx, dword [eax]
mov eax, dword [ebx + 0x1d8]
call fcn.0041e24c
dec dword [edi + 0x1c]
lea eax, [ebp - 0x28]
mov edx, 2
call fcn.00424f24
xor eax, eax
mov edx, 2
push eax
lea eax, [ebp - 4]
dec dword [edi + 0x1c]
call fcn.00424f24
pop eax
mov edx, dword [edi]
mov dword fs:[0], edx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret