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

Disassembly:
sub esp, 0x188
push ebx
push ebp
push esi
push edi
push 0x4b0700
push dword [0x4ac344]
mov dword [0x4ac3a8], 1
call dword [sym.imp.USER32.dll_SetWindowTextW]
mov ebp, 0x4a09c0
push ebp
xor ebx, ebx
push ebx
mov edi, str.PromptForRegKey
push edi
mov esi, 0x486c04
push esi
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
test eax, eax
je 0x4583f4
call fcn.0041c02b
push ebp
push 0x489a88
push edi
push esi
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
cmp dword [0x4a4d64], ebx
jne 0x4583f4
push ebx
push 0x44cec1
push ebx
push 0x100
call fcn.00471ec4
add esp, 0x10
call fcn.0041c02b
push ebx
push dword [0x4b0600]
mov edi, dword [sym.imp.USER32.dll_CreateWindowExW]
push ebx
push dword [0x4ac344]
push ebx
push ebx
push ebx
push ebx
push 0x40000000
push 0x486d6c
push str.WinampVis
push ebx
call edi
push 8
push eax
mov dword [0x4a73dc], eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov al, byte [0x49bcb6]
and al, 2
neg al
sbb eax, eax
and eax, 0x49474541
push eax
push 0xffffffffffffffeb
push dword [0x4ac344]
call dword [sym.imp.USER32.dll_SetWindowLongA]
push ebx
push dword [0x4b0600]
mov esi, SysReAllocString
push ebx
push dword [0x4ac344]
push esi
push esi
push esi
push esi
push 3
push ebx
push 0x48eaa8
push ebx
call edi
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
push 0x177
push 3
mov ebp, 0x403
push ebp
push eax
mov dword [0x4b060c], eax
call edi
push 0x7d0
push 2
push ebp
push dword [0x4b060c]
call edi
push 0x3e8
push 1
push ebp
push dword [0x4b060c]
call edi
push ebx
push dword [0x4b0600]
push ebx
push dword [0x4b0610]
push esi
push esi
push esi
push esi
push 3
push ebx
push 0x48eaa8
push ebx
call dword [sym.imp.USER32.dll_CreateWindowExW]
push 0x7d
push 3
push ebp
push eax
mov dword [0x4b0624], eax
call edi
push 0x7d0
push 2
push ebp
push dword [0x4b0624]
call edi
push 0x3e8
push 1
push ebp
push dword [0x4b0624]
call edi
push 0x20
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_SetPriorityClass]
push 0x65
call fcn.00471fbc
mov ebp, dword [sym.imp.USER32.dll_GetSubMenu]
pop ecx
push ebx
push eax
mov dword [0x4b1244], eax
call ebp
push 0xb
pop ecx
mov edx, eax
push 2
xor eax, eax
mov dword [esp + 0x1c], 0x30
lea edi, [esp + 0x20]
push edx
mov dword [0x4b06e0], edx
rep stosd dword es:[edi], eax
call ebp
mov dword [esp + 0x10], eax
mov dword [esp + 0x1c], 0x32
mov dword [esp + 0x20], ebx
mov dword [esp + 0x28], 0x9d83
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
mov dword [esp + 0x14], eax
push 0x20
lea eax, [esp + 0x7c]
push eax
push str.ext_cdda
push str.cda:__
mov dword [0x4ac340], ebx
mov byte [esp + 0x88], bl
call fcn.004283dd
lea eax, [esp + 0x88]
push eax
call dword [sym.imp.NSCRT.dll_atoi]
add esp, 0x14
test eax, eax
jle 0x4586ad
xor edi, edi
inc edi
xor esi, esi
xor eax, eax
inc eax
mov ecx, esi
shl eax, cl
mov ecx, dword [esp + 0x14]
test ecx, eax
je 0x4586a3
lea eax, [esi + 0x41]
push eax
push str._c:_
lea eax, [esp + 0xa0]
push 0x40
push eax
call fcn.00402fc5
add esp, 0x10
lea eax, [esp + 0x98]
push eax
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 5
jne 0x4586a3
cmp edi, ebx
je 0x458620
push 0xb
pop ecx
xor eax, eax
mov dword [esp + 0x48], 0x30
lea edi, [esp + 0x4c]
rep stosd dword es:[edi], eax
lea eax, [esp + 0x48]
push eax
push 1
push 4
push dword [esp + 0x1c]
mov dword [esp + 0x5c], 0x10
mov dword [esp + 0x60], 0x800
call dword [sym.imp.USER32.dll_InsertMenuItemA]
xor edi, edi
lea eax, [esi + 0x41]
movzx eax, ax
push eax
push 0x40
lea eax, [esp + 0x120]
push eax
push 0x173
call fcn.00472111
add esp, 0xc
push eax
lea eax, [esp + 0xa0]
push 0x40
push eax
call fcn.00402fc5
mov ecx, dword [0x4ac340]
lea eax, [esi + 0x41]
mov byte [ecx + 0x4ac33c], al
lea eax, [esp + 0xa8]
push eax
mov dword [esp + 0x50], eax
call dword [sym.imp.NSCRT.dll_wcslen]
add esp, 0x14
mov dword [esp + 0x40], eax
lea eax, [esp + 0x18]
push eax
mov eax, dword [0x4ac340]
push 1
add eax, 4
push eax
push dword [esp + 0x1c]
call dword [sym.imp.USER32.dll_InsertMenuItemW]
inc dword [esp + 0x28]
inc dword [0x4ac340]
cmp dword [0x4ac340], 4
je 0x4586ad
inc esi
cmp esi, 0x20
jl 0x45859f
push 4
push dword [0x4b06e0]
call ebp
mov dword [0x4b00c0], eax
mov eax, dword [0x4ac340]
mov ecx, eax
inc eax
neg ecx
sbb ecx, ecx
and ecx, eax
add ecx, 4
push ecx
push 2
push dword [0x4b06e0]
call ebp
push eax
call ebp
mov dword [0x4b0608], eax
mov eax, dword [0x4ac36c]
add eax, 0xe
push eax
push dword [0x4b06e0]
call ebp
mov dword [0x4b124c], eax
mov eax, dword [0x4ac36c]
push 1
add eax, 0xb
push eax
push dword [0x4b06e0]
call ebp
push eax
call ebp
mov dword [0x4b0404], eax
mov eax, dword [0x4ac36c]
add eax, 0xd
push eax
push dword [0x4b06e0]
call ebp
mov dword [0x4b0a0c], eax
mov eax, dword [0x4ac36c]
add eax, 0xb
push eax
push dword [0x4b06e0]
call ebp
mov dword [0x4b0614], eax
call fcn.004156cc
call fcn.0041602c
push ebx
mov dword [0x4a4b08], ebx
call fcn.00413d30
pop ecx
call fcn.004133a3
mov al, byte [0x49bcc1]
mov edi, dword [sym.imp.USER32.dll_CheckMenuItem]
neg al
push 8
pop esi
sbb eax, eax
and eax, esi
push eax
push 0x9cfa
push dword [0x4b06e0]
call edi
mov al, byte [0x49e0b0]
neg al
sbb eax, eax
and eax, esi
push eax
push 0x9c57
push dword [0x4b06e0]
call edi
mov al, byte [0x49d768]
neg al
sbb eax, eax
and eax, esi
push eax
push 0x9c56
push dword [0x4b06e0]
call edi
cmp byte [0x49f748], bl
push esi
jne 0x4587bd
push 0x9c65
jmp 0x4587c2
push 0x9c66
push dword [0x4b06e0]
call edi
push 1
call fcn.0044da0a
call fcn.0044df2b
movzx eax, byte [0x49e0b0]
push ebx
push eax
call fcn.0045078c
push ebx
push dword [0x49bce4]
push ebx
push dword [0x49bcd4]
call fcn.00450932
movzx eax, byte [0x49d768]
push ebx
push eax
call fcn.004507f9
push ebx
call fcn.0044f627
push 0xffffffffffffffff
call fcn.004500dc
movzx eax, byte [0x49bcc0]
push ebx
push eax
call fcn.00450866
movsx eax, byte [0x49f434]
push ebx
push eax
call fcn.004506b0
push ebx
push 0x4ac3ac
push 0x486d6c
call fcn.004509e1
add esp, 0x48
push 2
call fcn.00450013
push ebx
call fcn.0044daa1
push ebx
call fcn.00450600
movzx eax, byte [0x49f018]
push ebx
push eax
push 1
call fcn.00450bf3
push ebx
call fcn.0044da0a
mov esi, dword [sym.imp.USER32.dll_GetSystemMenu]
add esp, 0x1c
push 0x489d84
push dword [0x4b06e0]
push 0x410
push ebx
push ebx
push dword [0x4ac344]
call esi
push eax
call dword [sym.imp.USER32.dll_InsertMenuW]
push ebx
push ebx
push 0xc00
push 1
push ebx
push dword [0x4ac344]
call esi
push eax
call dword [sym.imp.USER32.dll_InsertMenuA]
cmp byte [0x49bcc2], bl
mov esi, dword [sym.imp.USER32.dll_SetTimer]
je 0x4588cb
push ebx
push 0xc8
push 0x27
push dword [0x4ac344]
call esi
cmp byte [0x49e0b0], bl
je 0x4588de
push 0xc4653600
call fcn.0043f851
pop ecx
call fcn.0042e94e
call fcn.0041cb2e
push ebx
push 0x3e8
push 0x40
push dword [0x4ac344]
call esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x188
ret