Function at 0x41061f
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x11c
push esi
push edi
call fcn.0040fca2
call fcn.0040fd5f
mov eax, dword [0x477994]
mov edi, dword [sym.imp.KERNEL32.dll_GlobalFree]
xor esi, esi
cmp eax, esi
je 0x410648
push eax
call edi
mov eax, dword [0x477990]
cmp eax, esi
je 0x410654
push eax
call edi
mov eax, dword [0x477998]
cmp eax, esi
mov dword [0x477990], esi
mov dword [0x477994], esi
je 0x41066c
push eax
call edi
mov eax, dword [0x47799c]
cmp eax, esi
je 0x410678
push eax
call edi
mov eax, dword [0x47798c]
cmp eax, esi
mov dword [0x47799c], esi
mov dword [0x477998], esi
je 0x410690
push eax
call edi
mov eax, dword [0x477984]
cmp eax, esi
je 0x41069c
push eax
call edi
mov eax, dword [0x477988]
cmp eax, esi
mov dword [0x477984], esi
mov dword [0x47798c], esi
je 0x4106b4
push eax
call edi
mov eax, dword [0x477978]
cmp eax, esi
je 0x4106c0
push eax
call edi
mov eax, 0xff00
mov dword [ebp - 0x18], eax
mov dword [ebp - 8], eax
push 0x18
lea eax, [ebp - 0x18]
push eax
push 0x472d98
mov dword [0x477978], esi
mov dword [0x477988], esi
mov dword [0x477974], esi
mov dword [0x4779a0], esi
mov dword [0x47797c], esi
mov dword [0x477980], esi
mov dword [ebp - 0x14], 0xffffff
mov dword [ebp - 0x10], esi
mov dword [ebp - 0xc], 0xc60000
mov dword [ebp - 4], esi
call sub.NSCRT.dll_memcpy
add esp, 0xc
cmp byte [0x475b58], 0
mov byte [0x47b4d8], 0
je 0x410ac6
push ebx
push str.region.txt
push 0x475b58
lea eax, [ebp - 0x11c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineA]
push 0x477990
lea eax, [ebp - 0x11c]
push eax
push str.NumPoints
mov ebx, 0x46a650
push ebx
call fcn.00410415
add esp, 0x10
cmp eax, esi
mov dword [0x477974], eax
je 0x410857
push 0x477994
lea eax, [ebp - 0x11c]
push eax
push str.PointList
push ebx
call fcn.00410415
mov ebx, eax
add esp, 0x10
cmp ebx, esi
je 0x410857
mov eax, dword [0x477974]
mov ecx, dword [0x477990]
xor edx, edx
test eax, eax
jle 0x4107ab
add esi, dword [ecx + edx*4]
inc edx
cmp edx, eax
jl 0x4107a3
mov eax, ebx
cdq
sub eax, edx
sar eax, 1
cmp esi, eax
jne 0x4107bb
test bl, 1
je 0x4107e2
xor esi, esi
cmp ecx, esi
je 0x4107c4
push ecx
call edi
mov eax, dword [0x477994]
cmp eax, esi
je 0x4107d0
push eax
call edi
mov dword [0x477974], esi
mov dword [0x477990], esi
mov dword [0x477994], esi
push 0x47799c
lea eax, [ebp - 0x11c]
push eax
push str.NumPoints
mov esi, str.WindowShade
push esi
call fcn.00410415
add esp, 0x10
test eax, eax
mov dword [0x4779a0], eax
je 0x410862
push 0x477998
lea eax, [ebp - 0x11c]
push eax
push str.PointList
push esi
call fcn.00410415
mov ebx, eax
add esp, 0x10
test ebx, ebx
je 0x410862
mov eax, dword [0x4779a0]
mov ecx, dword [0x47799c]
xor esi, esi
xor edx, edx
test eax, eax
jle 0x410845
add esi, dword [ecx + edx*4]
inc edx
cmp edx, eax
jl 0x41083d
mov eax, ebx
cdq
sub eax, edx
sar eax, 1
cmp esi, eax
jne 0x410868
test bl, 1
je 0x41088f
jmp 0x410868
mov ecx, dword [0x477990]
jmp 0x4107bd
mov ecx, dword [0x47799c]
xor esi, esi
cmp ecx, esi
je 0x410871
push ecx
call edi
mov eax, dword [0x477998]
cmp eax, esi
je 0x41087d
push eax
call edi
mov dword [0x47799c], esi
mov dword [0x4779a0], esi
mov dword [0x477998], esi
push 0x477984
lea eax, [ebp - 0x11c]
push eax
push str.NumPoints
mov esi, 0x46a62c
push esi
call fcn.00410415
add esp, 0x10
test eax, eax
mov dword [0x47797c], eax
je 0x410904
push 0x47798c
lea eax, [ebp - 0x11c]
push eax
push str.PointList
push esi
call fcn.00410415
mov ebx, eax
add esp, 0x10
test ebx, ebx
je 0x410904
mov eax, dword [0x47797c]
mov ecx, dword [0x477984]
xor esi, esi
xor edx, edx
test eax, eax
jle 0x4108f2
add esi, dword [ecx + edx*4]
inc edx
cmp edx, eax
jl 0x4108ea
mov eax, ebx
cdq
sub eax, edx
sar eax, 1
cmp esi, eax
jne 0x41090a
test bl, 1
je 0x410931
jmp 0x41090a
mov ecx, dword [0x477984]
xor esi, esi
cmp ecx, esi
je 0x410913
push ecx
call edi
mov eax, dword [0x47798c]
cmp eax, esi
je 0x41091f
push eax
call edi
mov dword [0x477984], esi
mov dword [0x47797c], esi
mov dword [0x47798c], esi
push 0x477978
lea eax, [ebp - 0x11c]
push eax
push str.NumPoints
mov esi, str.EqualizerWS
push esi
call fcn.00410415
add esp, 0x10
test eax, eax
mov dword [0x477980], eax
je 0x4109a6
push 0x477988
lea eax, [ebp - 0x11c]
push eax
push str.PointList
push esi
call fcn.00410415
mov ebx, eax
add esp, 0x10
test ebx, ebx
je 0x4109a6
mov eax, dword [0x477980]
mov ecx, dword [0x477978]
xor esi, esi
xor edx, edx
test eax, eax
jle 0x410994
add esi, dword [ecx + edx*4]
inc edx
cmp edx, eax
jl 0x41098c
mov eax, ebx
cdq
sub eax, edx
sar eax, 1
cmp esi, eax
jne 0x4109ac
test bl, 1
je 0x4109d3
jmp 0x4109ac
mov ecx, dword [0x477978]
xor esi, esi
cmp ecx, esi
je 0x4109b5
push ecx
call edi
mov eax, dword [0x477988]
cmp eax, esi
je 0x4109c1
push eax
call edi
mov dword [0x477978], esi
mov dword [0x477980], esi
mov dword [0x477988], esi
push str.pledit.txt
push 0x475b58
lea eax, [ebp - 0x11c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineA]
lea eax, [ebp - 0x11c]
push eax
push dword [0x472d98]
mov esi, str.Text
push 0x46a650
push esi
call fcn.0041050f
mov dword [0x472d98], eax
lea eax, [ebp - 0x11c]
push eax
push dword [0x472d9c]
push str.Current
push esi
call fcn.0041050f
mov dword [0x472d9c], eax
lea eax, [ebp - 0x11c]
push eax
push dword [0x472da0]
push str.NormalBG
push esi
call fcn.0041050f
mov dword [0x472da0], eax
lea eax, [ebp - 0x11c]
push eax
push dword [0x472da4]
push str.SelectedBG
push esi
call fcn.0041050f
add esp, 0x40
mov dword [0x472da4], eax
lea eax, [ebp - 0x11c]
push eax
push dword [0x472da8]
push str.mbFG
push esi
call fcn.0041050f
mov dword [0x472da8], eax
lea eax, [ebp - 0x11c]
push eax
push dword [0x472dac]
push str.mbBG
push esi
call fcn.0041050f
add esp, 0x20
mov dword [0x472dac], eax
lea eax, [ebp - 0x11c]
push eax
push 0x80
push 0x47b4d8
push 0x468a9b
push str.Font
push esi
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
pop ebx
call fcn.00410572
pop edi
pop esi
leave
ret