Function at 0x4192f4
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0xd
push 0
push 0
dec ecx
jne 0x4192fc
push ecx
push ebx
push esi
push edi
mov eax, 0x417f48
call fcn.00406848
xor eax, eax
push ebp
push 0x419726
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [0x41fa48], 1
mov dword [0x41fb78], 0x10
mov eax, dword [0x41fb78]
call fcn.00408838
mov esi, eax
push 0x41fb78
push esi
call sub.KERNEL32.DLL_RtlUnwind
lea eax, [ebp - 0x20]
movzx edx, byte [esi]
call fcn.00404ed8
mov eax, dword [ebp - 0x20]
lea edx, [ebp - 0x1c]
call fcn.00407ea0
mov eax, dword [ebp - 0x1c]
mov edx, 0x419740
call fcn.004050f4
jne 0x4193bf
lea eax, [ebp - 0x28]
movzx edx, byte [esi + 1]
call fcn.00404ed8
mov eax, dword [ebp - 0x28]
lea edx, [ebp - 0x24]
call fcn.00407ea0
mov eax, dword [ebp - 0x24]
mov edx, 0x41974c
call fcn.004050f4
jne 0x4193bf
lea eax, [ebp - 0x30]
movzx edx, byte [esi + 2]
call fcn.00404ed8
mov eax, dword [ebp - 0x30]
lea edx, [ebp - 0x2c]
call fcn.00407ea0
mov eax, dword [ebp - 0x2c]
mov edx, 0x419758
call fcn.004050f4
jne 0x4193bf
mov bl, 1
jmp 0x4195d0
lea edx, [ebp - 0x34]
xor eax, eax
call fcn.0040c948
mov eax, dword [ebp - 0x34]
mov edx, 0x419764
call fcn.004050f4
je 0x419562
xor edx, edx
mov eax, 2
call fcn.00406d94
mov edi, eax
mov dword [0x41fa4c], 0x128
mov edx, 0x41fa4c
mov eax, edi
call fcn.00406db4
mov esi, eax
jmp 0x41944b
lea eax, [ebp - 0x40]
mov edx, 0x41fa70
mov ecx, 0x104
call fcn.00404f60
mov eax, dword [ebp - 0x40]
lea edx, [ebp - 0x3c]
call fcn.00408630
mov eax, dword [ebp - 0x3c]
lea edx, [ebp - 0x38]
call fcn.00407cd0
mov eax, dword [ebp - 0x38]
mov edx, 0x41978c
call fcn.004050f4
jne 0x41943d
mov bl, 1
mov edx, 0x41fa4c
mov eax, edi
call fcn.00406dd4
mov esi, eax
test esi, esi
jne 0x419404
push edi
call sub.KERNEL32.DLL_GetVolumeInformationA
test bl, bl
jne 0x41946a
call fcn.00417c08
mov eax, 0x419764
call main
mov bl, 1
lea edx, [ebp - 0x44]
xor eax, eax
call fcn.0040c948
mov eax, dword [ebp - 0x44]
mov edx, 0x4197a0
call fcn.004050f4
jne 0x4194a2
push 1
push 0
push 0
push 0x11
call sub.user32.dll_GetKeyboardType
push 1
push 0
push 1
push 0x11
call sub.user32.dll_GetKeyboardType
jmp 0x4195d0
lea edx, [ebp - 0x48]
xor eax, eax
call fcn.0040c948
mov edx, dword [ebp - 0x48]
lea eax, [ebp - 0x14]
call fcn.00404d88
lea edx, [ebp - 0x4c]
xor eax, eax
call fcn.0040c948
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x50], eax
mov esi, dword [ebp - 0x50]
test esi, esi
je 0x4194d3
sub esi, 4
mov esi, dword [esi]
lea eax, [ebp - 0x54]
push eax
mov ecx, esi
sub ecx, 4
mov edx, 1
mov eax, dword [ebp - 0x14]
call fcn.004051bc
mov eax, dword [ebp - 0x54]
call fcn.00408470
test al, al
je 0x4195d0
lea edx, [ebp - 0x58]
xor eax, eax
call fcn.0040c948
mov edx, dword [ebp - 0x58]
lea eax, [ebp - 0x18]
call fcn.00404d88
lea edx, [ebp - 0x5c]
xor eax, eax
call fcn.0040c948
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x50], eax
mov esi, dword [ebp - 0x50]
test esi, esi
je 0x41952a
sub esi, 4
mov esi, dword [esi]
push 1
lea eax, [ebp - 0x64]
push eax
mov ecx, esi
sub ecx, 4
mov edx, 1
mov eax, dword [ebp - 0x18]
call fcn.004051bc
mov ecx, dword [ebp - 0x64]
lea eax, [ebp - 0x60]
mov edx, 0x4197c8
call fcn.00404fe4
mov eax, dword [ebp - 0x60]
call fcn.0040515c
push eax
call sub.KERNEL32.DLL_TlsSetValue
jmp 0x4195d0
mov cl, 1
mov dl, 1
mov eax, dword [0x4176bc]
call fcn.00414f48
call fcn.004153d8
lea eax, [ebp - 0x6c]
movzx edx, byte [esi]
call fcn.00404ed8
mov eax, dword [ebp - 0x6c]
lea edx, [ebp - 0x68]
call fcn.00407ea0
mov eax, dword [ebp - 0x68]
mov edx, 0x4197dc
call fcn.004050f4
jne 0x4195ad
mov byte [0x41fa48], 0
mov eax, 0x419764
call main
jmp 0x4195c0
mov cl, 1
mov dl, 1
mov eax, dword [0x416b80]
call fcn.00414f48
call fcn.004153d8
call fcn.00417b2c
test al, al
jne 0x4195d0
mov byte [0x41fa48], 0
push 0xd
call sub.user32.dll_MsgWaitForMultipleObjects
push 8
call sub.user32.dll_MsgWaitForMultipleObjects
push 9
call sub.user32.dll_MsgWaitForMultipleObjects
push 0x20
call sub.user32.dll_MsgWaitForMultipleObjects
push 0x1b
call sub.user32.dll_MsgWaitForMultipleObjects
push 0x2e
call sub.user32.dll_MsgWaitForMultipleObjects
push 0x14
call sub.user32.dll_MsgWaitForMultipleObjects
test bl, bl
jne 0x4196fe
cmp byte [0x41fa48], 0
je 0x4196ec
push 0xd
call sub.user32.dll_MsgWaitForMultipleObjects
test al, 1
je 0x419637
push 0x40005
push 0
push 0x4197e0
call sub.winmm.dll_PlaySoundA
jmp 0x4196ec
push 8
call sub.user32.dll_MsgWaitForMultipleObjects
test al, 1
je 0x419658
push 0x40005
push 0
push 0x4197e8
call sub.winmm.dll_PlaySoundA
jmp 0x4196ec
push 9
call sub.user32.dll_MsgWaitForMultipleObjects
test al, 1
je 0x419676
push 0x40005
push 0
push 0x4197f0
call sub.winmm.dll_PlaySoundA
jmp 0x4196ec
push 0x20
call sub.user32.dll_MsgWaitForMultipleObjects
test al, 1
je 0x419694
push 0x40005
push 0
push 0x4197f8
call sub.winmm.dll_PlaySoundA
jmp 0x4196ec
push 0x1b
call sub.user32.dll_MsgWaitForMultipleObjects
test al, 1
je 0x4196b2
push 0x40005
push 0
push 0x419800
call sub.winmm.dll_PlaySoundA
jmp 0x4196ec
push 0x2e
call sub.user32.dll_MsgWaitForMultipleObjects
test al, 1
je 0x4196d0
push 0x40005
push 0
push 0x419808
call sub.winmm.dll_PlaySoundA
jmp 0x4196ec
push 0x14
call sub.user32.dll_MsgWaitForMultipleObjects
test al, 1
je 0x4196ec
push 0x40005
push 0
push 0x419810
call sub.winmm.dll_PlaySoundA
push 0x190
call sub.KERNEL32.DLL_GetCPInfo
test bl, bl
je 0x419609
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x41972d
lea eax, [ebp - 0x6c]
mov edx, 7
call fcn.00404d14
lea eax, [ebp - 0x4c]
mov edx, 0xf
call fcn.00404d14
ret