Function at 0x40f489
Capabilities:
Delete file
Read .ini file

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x260c
call fcn.00470240
push ebx
push esi
push edi
push 0x487000
xor ebx, ebx
push ebx
push str.IsFirstInst
lea eax, [ebp - 0x260c]
push str.WinampReg
mov dword [ebp - 8], 0x2000
mov dword [ebp - 4], eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov edi, dword [ebp + 8]
mov esi, eax
neg esi
sbb esi, esi
inc esi
cmp edi, ebx
jne 0x40f4d6
xor eax, eax
jmp 0x40f6e7
push ebx
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 4]
push eax
push str.http:__client.winamp.com_update_do_im.php_
push 0x2000
lea eax, [ebp - 0x260c]
push eax
call fcn.0040f2d6
lea eax, [ebp - 0x208]
push eax
push edi
call fcn.0040edf9
lea eax, [ebp - 0x50c]
push eax
call fcn.004144f6
lea eax, [ebp - 0x208]
push eax
lea eax, [ebp - 0x50c]
push eax
push str.ID_sZIP_s
push ebx
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 4]
push eax
push dword [ebp - 8]
push dword [ebp - 4]
call fcn.0040f307
lea eax, [ebp - 0x208]
push eax
lea eax, [edi + 0x40]
push eax
call fcn.0040edf9
mov al, byte [edi + 0x1c1]
add esp, 0x34
cmp al, 1
jne 0x40f556
add al, 0x4c
jmp 0x40f562
cmp al, 2
setne al
lea eax, [eax*8 + 0x46]
cmp byte [edi + 0x1c0], bl
movsx eax, al
push esi
push eax
sete al
dec al
and al, 0xb
add al, 0x6e
movsx eax, al
push eax
lea eax, [ebp - 0x208]
push eax
push str.EMAIL_sML_cSEX_cISUP_d
push ebx
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 4]
push eax
push dword [ebp - 8]
push dword [ebp - 4]
call fcn.0040f307
push 0x100
lea esi, [edi + 0xc0]
lea eax, [ebp - 0x60c]
push esi
push eax
call sub.NSCRT.dll_memcpy
push esi
call fcn.0040f33a
lea eax, [ebp - 0x208]
push eax
lea eax, [ebp - 0x60c]
push esi
push eax
call fcn.0040f3aa
add esp, 0x44
lea eax, [ebp - 0x50c]
push eax
lea eax, [ebp - 0x208]
push eax
call fcn.0040edf9
lea eax, [ebp - 0x50c]
push eax
push str.OBJS_s
push ebx
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 4]
push eax
push dword [ebp - 8]
push dword [ebp - 4]
call fcn.0040f307
push 0x4868d8
call fcn.00402c33
mov esi, eax
push esi
push str.SKIN_s
push ebx
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 4]
push eax
push dword [ebp - 8]
push dword [ebp - 4]
call fcn.0040f307
add esp, 0x44
push esi
call dword [sym.imp.NSCRT.dll_free]
mov dword [esp], str.gen_ml.dll
push 0x485760
lea eax, [ebp - 0x30c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineA]
lea eax, [ebp - 0x30c]
push ebx
push eax
call dword [sym.imp.NSCRT.dll__access]
neg eax
sbb eax, eax
inc eax
push eax
push str.MLIB_d
push ebx
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 4]
push eax
push dword [ebp - 8]
push dword [ebp - 4]
call fcn.0040f307
push 0x4838c0
push str.V_s
push ebx
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 4]
push eax
push dword [ebp - 8]
push dword [ebp - 4]
call fcn.0040f307
add esp, 0x40
mov esi, 0x4860a8
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push ebx
push ebx
push 0x78
call fcn.0045edbd
push eax
push esi
lea eax, [ebp - 0x260c]
push eax
push dword [ebp + 0xc]
call fcn.0040d1e7
add esp, 0x1c
mov esi, eax
neg esi
sbb esi, esi
inc esi
je 0x40f6e5
push 0x487000
push 0x475690
push str.IsFirstInst
push str.WinampReg
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret