Function at 0x4529e3
Capabilities:
Get disk information
Read .ini file

Disassembly:
sub esp, 0x188
push ebx
push ebp
push esi
push edi
push 0x496740
push dword [0x4924ec]
mov dword [0x49254c], 1
call dword [sym.imp.USER32.dll_SetWindowTextW]
mov ebp, 0x487000
push ebp
xor ebx, ebx
push ebx
mov edi, str.PromptForRegKey
push edi
mov esi, 0x472b24
push esi
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
test eax, eax
je 0x452a5b
call fcn.0041803a
push ebp
push 0x475690
push edi
push esi
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
cmp dword [0x48b144], ebx
jne 0x452a5b
push ebx
push 0x4412d2
push ebx
push 0x100
call fcn.0045ebe5
add esp, 0x10
call fcn.0041803a
push ebx
push dword [0x496644]
mov esi, dword [sym.imp.USER32.dll_CreateWindowExW]
push ebx
push dword [0x4924ec]
push ebx
push ebx
push ebx
push ebx
push 0x40000000
push 0x472c5c
push str.WinampVis
push ebx
call esi
push 8
push eax
mov dword [0x48d7a4], eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov al, byte [0x482c86]
and al, 2
neg al
sbb eax, eax
and eax, 0x49474541
push eax
push 0xffffffffffffffeb
push dword [0x4924ec]
call dword [sym.imp.USER32.dll_SetWindowLongA]
push ebx
push dword [0x496644]
mov eax, SysReAllocString
push ebx
push dword [0x4924ec]
push eax
push eax
push eax
push eax
push 3
push ebx
push 0x478108
push ebx
call esi
mov esi, dword [sym.imp.USER32.dll_SendMessageA]
mov ebp, 0x3e8
push ebp
push 3
mov edi, 0x403
push edi
push eax
mov dword [0x496650], eax
call esi
push 0x7d0
push 2
push edi
push dword [0x496650]
call esi
push ebp
push 1
push edi
push dword [0x496650]
call esi
push 0x20
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_SetPriorityClass]
push 0x65
call fcn.0045ecdd
mov esi, dword [sym.imp.USER32.dll_GetSubMenu]
pop ecx
push ebx
push eax
mov dword [0x497284], eax
call esi
push 0xa
mov edx, eax
pop ecx
xor eax, eax
lea edi, [esp + 0x24]
mov dword [esp + 0x20], 0x2c
mov dword [0x496720], edx
rep stosd dword es:[edi], eax
push 2
push edx
call esi
mov dword [esp + 0x18], eax
mov dword [esp + 0x24], 0x32
mov dword [esp + 0x28], ebx
mov dword [esp + 0x30], 0x9d83
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
mov dword [esp + 0x1c], eax
push 0x20
lea eax, [esp + 0x7c]
push eax
push str.ext_cdda
push str.cda:__
mov dword [0x4924e8], ebx
mov byte [esp + 0x88], bl
call fcn.004240e1
lea eax, [esp + 0x88]
push eax
call dword [sym.imp.NSCRT.dll_atoi]
add esp, 0x14
test eax, eax
jle 0x452cd8
xor edi, edi
mov dword [esp + 0x14], 1
mov dword [esp + 0x10], edi
xor eax, eax
inc eax
mov ecx, edi
shl eax, cl
mov ecx, dword [esp + 0x1c]
test ecx, eax
je 0x452cca
lea eax, [edi + 0x41]
push eax
push str._c:_
lea eax, [esp + 0xa0]
push 0x40
push eax
call fcn.00402fb5
add esp, 0x10
lea eax, [esp + 0x98]
push eax
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 5
jne 0x452cca
cmp dword [esp + 0x14], ebx
je 0x452c47
push 0xa
pop ecx
xor eax, eax
mov dword [esp + 0x4c], 0x2c
lea edi, [esp + 0x50]
rep stosd dword es:[edi], eax
lea eax, [esp + 0x4c]
push eax
push 1
push 4
push dword [esp + 0x24]
mov dword [esp + 0x60], 0x10
mov dword [esp + 0x64], 0x800
call dword [sym.imp.USER32.dll_InsertMenuItemA]
mov edi, dword [esp + 0x10]
mov dword [esp + 0x14], ebx
lea eax, [edi + 0x41]
movzx eax, ax
push eax
push 0x40
lea eax, [esp + 0x120]
push eax
push 0x173
call fcn.0045ede1
add esp, 0xc
push eax
lea eax, [esp + 0xa0]
push 0x40
push eax
call fcn.00402fb5
mov ecx, dword [0x4924e8]
lea eax, [edi + 0x41]
mov byte [ecx + 0x4924e4], al
lea eax, [esp + 0xa8]
push eax
mov dword [esp + 0x58], eax
call dword [sym.imp.NSCRT.dll_wcslen]
add esp, 0x14
mov dword [esp + 0x48], eax
lea eax, [esp + 0x20]
push eax
mov eax, dword [0x4924e8]
push 1
add eax, 4
push eax
push dword [esp + 0x24]
call dword [sym.imp.USER32.dll_InsertMenuItemW]
inc dword [esp + 0x30]
inc dword [0x4924e8]
cmp dword [0x4924e8], 4
je 0x452cd8
inc edi
cmp edi, 0x20
mov dword [esp + 0x10], edi
jl 0x452bbe
push 4
push dword [0x496720]
call esi
mov dword [0x496220], eax
mov eax, dword [0x4924e8]
mov ecx, eax
inc eax
neg ecx
sbb ecx, ecx
and ecx, eax
add ecx, 4
push ecx
push 2
push dword [0x496720]
call esi
push eax
call esi
mov dword [0x49664c], eax
mov eax, dword [0x492514]
add eax, 0xe
push eax
push dword [0x496720]
call esi
mov dword [0x49728c], eax
mov eax, dword [0x492514]
push 1
add eax, 0xb
push eax
push dword [0x496720]
call esi
push eax
call esi
mov dword [0x496564], eax
mov eax, dword [0x492514]
add eax, 0xd
push eax
push dword [0x496720]
call esi
mov dword [0x496a4c], eax
mov eax, dword [0x492514]
add eax, 0xb
push eax
push dword [0x496720]
call esi
mov dword [0x496658], eax
call fcn.004132b5
call fcn.00413d74
push ebx
mov dword [0x48b020], ebx
call fcn.00411dca
pop ecx
call fcn.00411582
mov al, byte [0x482c91]
mov esi, dword [sym.imp.USER32.dll_CheckMenuItem]
neg al
push 8
pop edi
sbb eax, eax
and eax, edi
push eax
push 0x9cfa
push dword [0x496720]
call esi
mov al, byte [0x484c08]
neg al
sbb eax, eax
and eax, edi
push eax
push 0x9c57
push dword [0x496720]
call esi
mov al, byte [0x4844c8]
neg al
sbb eax, eax
and eax, edi
push eax
push 0x9c56
push dword [0x496720]
call esi
cmp byte [0x485d88], bl
push edi
jne 0x452de8
push 0x9c65
jmp 0x452ded
push 0x9c66
push dword [0x496720]
call esi
push 1
call fcn.004480c0
call fcn.004485da
movzx eax, byte [0x484c08]
push ebx
push eax
call fcn.0044ae3b
push ebx
push dword [0x482cb4]
push ebx
push dword [0x482ca4]
call fcn.0044afe1
movzx eax, byte [0x4844c8]
push ebx
push eax
call fcn.0044aea8
push ebx
call fcn.00449cd6
push 0xffffffffffffffff
call fcn.0044a78b
movzx eax, byte [0x482c90]
push ebx
push eax
call fcn.0044af15
movsx eax, byte [0x485a74]
push ebx
push eax
call fcn.0044ad5f
push ebx
push 0x492550
push 0x472c5c
call fcn.0044b090
add esp, 0x48
push 2
call fcn.0044a6c2
push ebx
call fcn.00448157
push ebx
call fcn.0044acaf
movzx eax, byte [0x485758]
push ebx
push eax
push 1
call fcn.0044b2a2
push ebx
call fcn.004480c0
mov esi, dword [sym.imp.USER32.dll_GetSystemMenu]
add esp, 0x1c
push 0x475930
push dword [0x496720]
push 0x410
push ebx
push ebx
push dword [0x4924ec]
call esi
push eax
call dword [sym.imp.USER32.dll_InsertMenuW]
push ebx
push ebx
push 0xc00
push 1
push ebx
push dword [0x4924ec]
call esi
push eax
call dword [sym.imp.USER32.dll_InsertMenuA]
cmp byte [0x482c92], bl
mov esi, dword [sym.imp.USER32.dll_SetTimer]
je 0x452ef6
push ebx
push 0xc8
push 0x27
push dword [0x4924ec]
call esi
cmp byte [0x484c08], bl
je 0x452f09
push 0xc4653600
call fcn.004342c9
pop ecx
call fcn.0042a159
call fcn.004189e7
push ebx
push ebp
push 0x40
push dword [0x4924ec]
call esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x188
ret