Function at 0x42fcd1
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x51c
push ebx
push edi
call fcn.0042fba4
call fcn.0043024a
mov eax, dword [0x45f034]
mov edi, dword [sym.imp.KERNEL32.dll_GlobalFree]
xor ebx, ebx
cmp eax, ebx
je 0x42fcfa
push eax
call edi
mov eax, dword [0x45f048]
cmp eax, ebx
je 0x42fd06
push eax
call edi
mov eax, dword [0x45f04c]
mov dword [0x45f048], ebx
cmp eax, ebx
mov dword [0x45f034], ebx
je 0x42fd1e
push eax
call edi
mov eax, dword [0x45f03c]
cmp eax, ebx
je 0x42fd2a
push eax
call edi
mov eax, dword [0x45f038]
mov dword [0x45f03c], ebx
cmp eax, ebx
mov dword [0x45f04c], ebx
je 0x42fd42
push eax
call edi
mov eax, dword [0x45f044]
cmp eax, ebx
je 0x42fd4e
push eax
call edi
mov eax, dword [0x45f040]
mov dword [0x45f044], ebx
cmp eax, ebx
mov dword [0x45f038], ebx
je 0x42fd66
push eax
call edi
mov eax, dword [0x45f050]
cmp eax, ebx
je 0x42fd72
push eax
call edi
mov eax, 0xff00
push 0x18
mov dword [ebp - 0x18], eax
mov dword [ebp - 8], eax
lea eax, [ebp - 0x18]
mov dword [0x45f050], ebx
push eax
push 0x451380
mov dword [0x45f040], ebx
mov dword [0x45f054], ebx
mov dword [0x45f05c], ebx
mov dword [0x45f058], ebx
mov dword [0x45f030], ebx
mov dword [ebp - 0x14], 0xffffff
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0xc], 0xc60000
mov dword [ebp - 4], ebx
call fcn.0043cc20
and byte [0x45f060], 0
add esp, 0xc
cmp byte [0x463540], 0
je 0x430241
push esi
push 0x463540
lea eax, [ebp - 0x11c]
push str._s_region.txt
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
lea eax, [ebp - 0x11c]
push 0x45f048
push eax
mov esi, str.Normal
push str.NumPoints
push esi
call fcn.00430481
add esp, 0x1c
cmp eax, ebx
mov dword [0x45f054], eax
je 0x42fe92
lea eax, [ebp - 0x11c]
push 0x45f034
push eax
push str.PointList
push esi
call fcn.00430481
mov ebx, eax
add esp, 0x10
test ebx, ebx
je 0x42fe90
mov eax, dword [0x45f054]
mov ecx, dword [0x45f048]
xor esi, esi
xor edx, edx
test eax, eax
jle 0x42fe57
add esi, dword [ecx + edx*4]
inc edx
cmp edx, eax
jl 0x42fe4f
mov eax, ebx
cdq
sub eax, edx
sar eax, 1
cmp esi, eax
jne 0x42fe67
test bl, 1
je 0x42fe9a
xor ebx, ebx
cmp ecx, ebx
je 0x42fe70
push ecx
call edi
mov eax, dword [0x45f034]
cmp eax, ebx
je 0x42fe7c
push eax
call edi
mov dword [0x45f054], ebx
mov dword [0x45f048], ebx
mov dword [0x45f034], ebx
jmp 0x42fe9c
xor ebx, ebx
mov ecx, dword [0x45f048]
jmp 0x42fe69
xor ebx, ebx
lea eax, [ebp - 0x11c]
push 0x45f03c
push eax
mov esi, str.WindowShade
push str.NumPoints
push esi
call fcn.00430481
add esp, 0x10
cmp eax, ebx
mov dword [0x45f05c], eax
je 0x42ff3a
lea eax, [ebp - 0x11c]
push 0x45f04c
push eax
push str.PointList
push esi
call fcn.00430481
mov ebx, eax
add esp, 0x10
test ebx, ebx
je 0x42ff38
mov eax, dword [0x45f05c]
mov ecx, dword [0x45f03c]
xor esi, esi
xor edx, edx
test eax, eax
jle 0x42feff
add esi, dword [ecx + edx*4]
inc edx
cmp edx, eax
jl 0x42fef7
mov eax, ebx
cdq
sub eax, edx
sar eax, 1
cmp esi, eax
jne 0x42ff0f
test bl, 1
je 0x42ff42
xor ebx, ebx
cmp ecx, ebx
je 0x42ff18
push ecx
call edi
mov eax, dword [0x45f04c]
cmp eax, ebx
je 0x42ff24
push eax
call edi
mov dword [0x45f03c], ebx
mov dword [0x45f05c], ebx
mov dword [0x45f04c], ebx
jmp 0x42ff44
xor ebx, ebx
mov ecx, dword [0x45f03c]
jmp 0x42ff11
xor ebx, ebx
lea eax, [ebp - 0x11c]
push 0x45f044
push eax
mov esi, str.Equalizer
push str.NumPoints
push esi
call fcn.00430481
add esp, 0x10
cmp eax, ebx
mov dword [0x45f058], eax
je 0x42ffe2
lea eax, [ebp - 0x11c]
push 0x45f038
push eax
push str.PointList
push esi
call fcn.00430481
mov ebx, eax
add esp, 0x10
test ebx, ebx
je 0x42ffe0
mov eax, dword [0x45f058]
mov ecx, dword [0x45f044]
xor esi, esi
xor edx, edx
test eax, eax
jle 0x42ffa7
add esi, dword [ecx + edx*4]
inc edx
cmp edx, eax
jl 0x42ff9f
mov eax, ebx
cdq
sub eax, edx
sar eax, 1
cmp esi, eax
jne 0x42ffb7
test bl, 1
je 0x42ffea
xor ebx, ebx
cmp ecx, ebx
je 0x42ffc0
push ecx
call edi
mov eax, dword [0x45f038]
cmp eax, ebx
je 0x42ffcc
push eax
call edi
mov dword [0x45f044], ebx
mov dword [0x45f058], ebx
mov dword [0x45f038], ebx
jmp 0x42ffec
xor ebx, ebx
mov ecx, dword [0x45f044]
jmp 0x42ffb9
xor ebx, ebx
lea eax, [ebp - 0x11c]
push 0x45f050
push eax
mov esi, str.EqualizerWS
push str.NumPoints
push esi
call fcn.00430481
add esp, 0x10
cmp eax, ebx
mov dword [0x45f030], eax
je 0x430126
lea eax, [ebp - 0x11c]
push 0x45f040
push eax
push str.PointList
push esi
call fcn.00430481
mov ebx, eax
add esp, 0x10
test ebx, ebx
je 0x430124
mov eax, dword [0x45f030]
mov ecx, dword [0x45f050]
xor esi, esi
xor edx, edx
test eax, eax
jle 0x430057
add esi, dword [ecx + edx*4]
inc edx
cmp edx, eax
jl 0x43004f
mov eax, ebx
cdq
sub eax, edx
sar eax, 1
cmp esi, eax
jne 0x430067
test bl, 1
je 0x43008e
xor ebx, ebx
cmp ecx, ebx
je 0x430070
push ecx
call edi
mov eax, dword [0x45f040]
cmp eax, ebx
je 0x43007c
push eax
call edi
mov dword [0x45f050], ebx
mov dword [0x45f030], ebx
mov dword [0x45f040], ebx
push 0x463540
lea eax, [ebp - 0x11c]
push str._smb.ini
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
lea eax, [ebp - 0x11c]
mov edi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov esi, 0x400
push eax
lea eax, [ebp - 0x51c]
push esi
mov ebx, 0x4564f8
push eax
push ebx
push str.MBOpen
push str.Winamp
call edi
and byte [ebp - 0x11d], 0
cmp byte [ebp - 0x51c], 0
je 0x430156
xor eax, eax
cmp dword [0x461794], eax
je 0x430131
cmp dword [0x4605f4], eax
je 0x430109
push 0xf1
push eax
push esi
push dword [0x461320]
call dword [sym.imp.USER32.dll_SendMessageA]
lea eax, [ebp - 0x51c]
push 0xf1
push eax
push esi
push dword [0x461320]
call dword [sym.imp.USER32.dll_SendMessageA]
jmp 0x430156
xor ebx, ebx
mov ecx, dword [0x45f050]
jmp 0x430069
cmp dword [0x4605f4], eax
je 0x430143
mov dword [0x44e108], 1
lea eax, [ebp - 0x51c]
push eax
push 0x458608
call fcn.0043cfd0
pop ecx
pop ecx
push 0x463540
lea eax, [ebp - 0x11c]
push str._spledit.txt
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
lea eax, [ebp - 0x11c]
mov esi, str.Text
push eax
push dword [0x451380]
push str.Normal
push esi
call fcn.00430587
mov dword [0x451380], eax
lea eax, [ebp - 0x11c]
push eax
push dword [0x451384]
push str.Current
push esi
call fcn.00430587
mov dword [0x451384], eax
lea eax, [ebp - 0x11c]
push eax
push dword [0x451388]
push str.NormalBG
push esi
call fcn.00430587
mov dword [0x451388], eax
lea eax, [ebp - 0x11c]
push eax
push dword [0x45138c]
push str.SelectedBG
push esi
call fcn.00430587
add esp, 0x4c
mov dword [0x45138c], eax
lea eax, [ebp - 0x11c]
push eax
push dword [0x451390]
push str.mbFG
push esi
call fcn.00430587
mov dword [0x451390], eax
lea eax, [ebp - 0x11c]
push eax
push dword [0x451394]
push str.mbBG
push esi
call fcn.00430587
add esp, 0x20
mov dword [0x451394], eax
lea eax, [ebp - 0x11c]
push eax
push 0x80
push 0x45f060
push ebx
push str.Font
push esi
call edi
pop esi
call fcn.004305ea
pop edi
pop ebx
leave
ret