Function at 0x413d74
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x220
push esi
push edi
call fcn.0041356a
call fcn.00413667
mov eax, dword [0x48b018]
mov edi, dword [sym.imp.KERNEL32.dll_GlobalFree]
xor esi, esi
cmp eax, esi
je 0x413d9d
push eax
call edi
mov eax, dword [0x48b014]
cmp eax, esi
je 0x413da9
push eax
call edi
mov eax, dword [0x48aff4]
cmp eax, esi
mov dword [0x48b014], esi
mov dword [0x48b018], esi
je 0x413dc1
push eax
call edi
mov eax, dword [0x48aff0]
cmp eax, esi
je 0x413dcd
push eax
call edi
mov eax, dword [0x48b00c]
cmp eax, esi
mov dword [0x48aff0], esi
mov dword [0x48aff4], esi
je 0x413de5
push eax
call edi
mov eax, dword [0x48b008]
cmp eax, esi
je 0x413df1
push eax
call edi
mov eax, dword [0x48b000]
cmp eax, esi
mov dword [0x48b008], esi
mov dword [0x48b00c], esi
je 0x413e09
push eax
call edi
mov eax, dword [0x48affc]
cmp eax, esi
je 0x413e15
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 0x482d60
mov dword [0x48affc], esi
mov dword [0x48b000], esi
mov dword [0x48b010], esi
mov dword [0x48afec], esi
mov dword [0x48b004], esi
mov dword [0x48aff8], 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 word [0x485028], si
mov byte [0x48b028], 0
je 0x41422f
push ebx
push str.region.txt
push 0x485028
lea eax, [ebp - 0x220]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
push 0x48b014
lea eax, [ebp - 0x220]
push eax
push str.NumPoints
mov ebx, 0x475f80
push ebx
call fcn.00413087
add esp, 0x10
cmp eax, esi
mov dword [0x48b010], eax
je 0x413fac
push 0x48b018
lea eax, [ebp - 0x220]
push eax
push str.PointList
push ebx
call fcn.00413087
mov ebx, eax
add esp, 0x10
cmp ebx, esi
je 0x413fac
mov eax, dword [0x48b010]
mov ecx, dword [0x48b014]
xor edx, edx
test eax, eax
jle 0x413f00
add esi, dword [ecx + edx*4]
inc edx
cmp edx, eax
jl 0x413ef8
mov eax, ebx
cdq
sub eax, edx
sar eax, 1
cmp esi, eax
jne 0x413f10
test bl, 1
je 0x413f37
xor esi, esi
cmp ecx, esi
je 0x413f19
push ecx
call edi
mov eax, dword [0x48b018]
cmp eax, esi
je 0x413f25
push eax
call edi
mov dword [0x48b010], esi
mov dword [0x48b014], esi
mov dword [0x48b018], esi
push 0x48aff0
lea eax, [ebp - 0x220]
push eax
push str.NumPoints
mov esi, str.WindowShade
push esi
call fcn.00413087
add esp, 0x10
test eax, eax
mov dword [0x48afec], eax
je 0x413fb7
push 0x48aff4
lea eax, [ebp - 0x220]
push eax
push str.PointList
push esi
call fcn.00413087
mov ebx, eax
add esp, 0x10
test ebx, ebx
je 0x413fb7
mov eax, dword [0x48afec]
mov ecx, dword [0x48aff0]
xor esi, esi
xor edx, edx
test eax, eax
jle 0x413f9a
add esi, dword [ecx + edx*4]
inc edx
cmp edx, eax
jl 0x413f92
mov eax, ebx
cdq
sub eax, edx
sar eax, 1
cmp esi, eax
jne 0x413fbd
test bl, 1
je 0x413fe4
jmp 0x413fbd
mov ecx, dword [0x48b014]
jmp 0x413f12
mov ecx, dword [0x48aff0]
xor esi, esi
cmp ecx, esi
je 0x413fc6
push ecx
call edi
mov eax, dword [0x48aff4]
cmp eax, esi
je 0x413fd2
push eax
call edi
mov dword [0x48aff0], esi
mov dword [0x48afec], esi
mov dword [0x48aff4], esi
push 0x48b008
lea eax, [ebp - 0x220]
push eax
push str.NumPoints
mov esi, 0x475f5c
push esi
call fcn.00413087
add esp, 0x10
test eax, eax
mov dword [0x48b004], eax
je 0x414059
push 0x48b00c
lea eax, [ebp - 0x220]
push eax
push str.PointList
push esi
call fcn.00413087
mov ebx, eax
add esp, 0x10
test ebx, ebx
je 0x414059
mov eax, dword [0x48b004]
mov ecx, dword [0x48b008]
xor esi, esi
xor edx, edx
test eax, eax
jle 0x414047
add esi, dword [ecx + edx*4]
inc edx
cmp edx, eax
jl 0x41403f
mov eax, ebx
cdq
sub eax, edx
sar eax, 1
cmp esi, eax
jne 0x41405f
test bl, 1
je 0x414086
jmp 0x41405f
mov ecx, dword [0x48b008]
xor esi, esi
cmp ecx, esi
je 0x414068
push ecx
call edi
mov eax, dword [0x48b00c]
cmp eax, esi
je 0x414074
push eax
call edi
mov dword [0x48b008], esi
mov dword [0x48b004], esi
mov dword [0x48b00c], esi
push 0x48affc
lea eax, [ebp - 0x220]
push eax
push str.NumPoints
mov esi, str.EqualizerWS
push esi
call fcn.00413087
add esp, 0x10
test eax, eax
mov dword [0x48aff8], eax
je 0x4140fb
push 0x48b000
lea eax, [ebp - 0x220]
push eax
push str.PointList
push esi
call fcn.00413087
mov ebx, eax
add esp, 0x10
test ebx, ebx
je 0x4140fb
mov eax, dword [0x48aff8]
mov ecx, dword [0x48affc]
xor esi, esi
xor edx, edx
test eax, eax
jle 0x4140e9
add esi, dword [ecx + edx*4]
inc edx
cmp edx, eax
jl 0x4140e1
mov eax, ebx
cdq
sub eax, edx
sar eax, 1
cmp esi, eax
jne 0x414101
test bl, 1
je 0x414128
jmp 0x414101
mov ecx, dword [0x48affc]
xor esi, esi
cmp ecx, esi
je 0x41410a
push ecx
call edi
mov eax, dword [0x48b000]
cmp eax, esi
je 0x414116
push eax
call edi
mov dword [0x48affc], esi
mov dword [0x48aff8], esi
mov dword [0x48b000], esi
push str.pledit.txt
push 0x485028
lea eax, [ebp - 0x220]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea eax, [ebp - 0x220]
push eax
push dword [0x482d60]
mov esi, str.Text
push 0x475f80
push esi
call fcn.00413197
mov dword [0x482d60], eax
lea eax, [ebp - 0x220]
push eax
push dword [0x482d64]
push str.Current
push esi
call fcn.00413197
mov dword [0x482d64], eax
lea eax, [ebp - 0x220]
push eax
push dword [0x482d68]
push str.NormalBG
push esi
call fcn.00413197
mov dword [0x482d68], eax
lea eax, [ebp - 0x220]
push eax
push dword [0x482d6c]
push str.SelectedBG
push esi
call fcn.00413197
add esp, 0x40
mov dword [0x482d6c], eax
lea eax, [ebp - 0x220]
push eax
push dword [0x482d70]
push str.mbFG
push esi
call fcn.00413197
mov dword [0x482d70], eax
lea eax, [ebp - 0x220]
push eax
push dword [0x482d74]
push str.mbBG
push esi
call fcn.00413197
push 0
mov dword [0x482d74], eax
lea eax, [ebp - 0x220]
push 0
push eax
call fcn.00402b25
add esp, 0x2c
mov edi, eax
push edi
push 0x80
push 0x48b028
push 0x472c3d
push str.Font
push esi
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push edi
call dword [sym.imp.NSCRT.dll_free]
pop ecx
pop ebx
call fcn.00413222
pop edi
pop esi
leave
ret