Function at 0x48cd32
Capabilities:
Accept command line arguments
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
push ebx
push esi
push edi
lea eax, [ebp - 0x18]
mov dword [ebp - 0x18], 8
push eax
mov dword [ebp - 0x14], 0x1ff
call dword [sym.imp.COMCTL32.dll_InitCommonControlsEx]
push 0x531da0
call dword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
mov eax, dword [ebp + 0x14]
xor ebx, ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 8], eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
call fcn.0040ccb9
mov dword [esp], 0x8001
call dword [sym.imp.KERNEL32.dll_SetErrorMode]
mov esi, dword [sym.imp.KERNEL32.dll_SetDllDirectoryW]
push 0x4cada0
call esi
push 0x104
mov edi, 0x5013e0
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push edi
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
push str.Shared
push edi
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
push edi
call esi
mov eax, dword [ebp + 8]
mov dword [0x531f80], eax
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
mov dword [0x5332d4], eax
call fcn.0040f487
mov dword [0x5332d4], eax
call fcn.0048b742
call fcn.00414e96
call fcn.00458094
mov dword [esp], 0x5332ec
lea eax, [ebp - 8]
push 0x5332e8
push 0x5332e4
push eax
push 0x5332e0
push 0x5332dc
push 0x5332d8
push dword [0x5332d4]
call fcn.0040f52f
mov dword [0x5332d4], eax
call fcn.00414f58
push ebx
push str.allowcompat
call fcn.00411eb7
mov ecx, dword [0x5332ec]
xor edi, edi
inc edi
add esp, 0x28
test eax, eax
cmovne ecx, edi
mov dword [0x5332ec], ecx
test ecx, ecx
jne 0x48ce9b
call fcn.0047b483
test eax, eax
je 0x48ce9b
push ebx
mov dword [ebp - 0x40], 0x28
mov dword [ebp - 0x3c], ebx
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov dword [ebp - 0x38], eax
lea eax, [ebp - 0x40]
push eax
mov dword [ebp - 0x34], str.Winamp_appears_to_have_been_started_with_Windows_program_compatibility_mode_enabled._n_nThis_is_not_a_recommended_way_to_run_Winamp_as_it_can_often_cause_problems_with_how_Winamp_works_e.g._causing_it_to_randomly_crash._n_n_nAre_you_sure_you_want_to_continue_to_run_Winamp_like_this__n_n_nIf_you_choose_No__you_can_disable_this_by_right_clicking_winamp.exe__choosing_Properties_and_selecting_the_Compatibility_tab__followed_by_unchecking_Run_this_program_in_compatibility_mode_for:_and_run_Winamp_again.
mov dword [ebp - 0x30], 0x4cbf1c
mov dword [ebp - 0x2c], 0x184
mov dword [ebp - 0x28], 0x66
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x1c], ebx
call dword [sym.imp.USER32.dll_MessageBoxIndirectW]
cmp eax, 7
je 0x48cf93
push ebx
push ebx
call dword [sym.imp.ole32.dll_CoInitializeEx]
push ebx
push str.safemode
call fcn.00411eb7
pop ecx
pop ecx
mov ecx, dword [0x531e9c]
test eax, eax
push 3
pop edx
cmovne ecx, edx
test byte [0x531e94], 0x80
mov dword [0x531e9c], ecx
jne 0x48cf25
push dword [0x5332d4]
call fcn.0048b2c6
pop ecx
mov esi, eax
push esi
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x48cf25
push edi
call fcn.0048b164
push dword [0x5332e8]
push dword [0x5332e4]
push dword [0x5332e0]
push dword [0x5332dc]
push dword [0x5332d8]
push esi
push dword [0x5332d4]
call fcn.0048ad71
add esp, 0x20
mov esi, eax
call dword [sym.imp.ole32.dll_CoUninitialize]
mov eax, esi
jmp 0x48cf95
push ebx
call fcn.0048b164
pop ecx
lea eax, [ebp - 0xc]
push eax
push ebx
push dword [ebp - 8]
push 0x48a55d
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [ebp - 4], eax
call fcn.0040cca2
test eax, eax
jne 0x48cf93
mov esi, dword [sym.imp.USER32.dll_PeekMessageW]
push 6
push 0x4ff
push 0xffffffffffffffff
lea eax, [ebp - 4]
push eax
push edi
call dword [sym.imp.USER32.dll_MsgWaitForMultipleObjectsEx]
cmp eax, edi
je 0x48cfac
test eax, eax
jne 0x48cf8a
lea eax, [ebp - 0x10]
push eax
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_GetExitCodeThread]
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
call fcn.0040ccae
call fcn.0040cca2
test eax, eax
je 0x48cf53
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 0x10
cmp dword [ebp - 0x30], 0x12
je 0x48cfbc
lea eax, [ebp - 0x34]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageW]
push edi
push ebx
push ebx
push ebx
lea eax, [ebp - 0x34]
push eax
call esi
test eax, eax
jne 0x48cf9c
jmp 0x48cf8a
mov eax, dword [ebp - 0x2c]
jmp 0x48cf95