Function at 0x47267d
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x308
push ebx
push esi
push edi
call fcn.00472561
call fcn.00471b0f
mov eax, dword [0x52fab8]
xor ebx, ebx
mov esi, dword [sym.imp.KERNEL32.dll_GlobalFree]
mov dword [0x52f8b4], ebx
test eax, eax
je 0x4726ad
push eax
call esi
mov eax, dword [0x52fabc]
test eax, eax
je 0x4726b9
push eax
call esi
mov eax, dword [0x52fadc]
mov dword [0x52fabc], ebx
mov dword [0x52fab8], ebx
test eax, eax
je 0x4726d1
push eax
call esi
mov eax, dword [0x52fae0]
test eax, eax
je 0x4726dd
push eax
call esi
mov eax, dword [0x52fac4]
mov dword [0x52fae0], ebx
mov dword [0x52fadc], ebx
test eax, eax
je 0x4726f5
push eax
call esi
mov eax, dword [0x52fac8]
test eax, eax
je 0x472701
push eax
call esi
mov eax, dword [0x52fad0]
mov dword [0x52fac8], ebx
mov dword [0x52fac4], ebx
test eax, eax
je 0x472719
push eax
call esi
mov eax, dword [0x52fad4]
test eax, eax
je 0x472725
push eax
call esi
mov eax, dword [0x52fae8]
mov dword [0x52fad4], ebx
mov dword [0x52fad0], ebx
test eax, eax
je 0x47273d
push eax
call esi
mov eax, dword [0x52faec]
test eax, eax
je 0x472749
push eax
call esi
mov eax, dword [0x52faf4]
mov dword [0x52faec], ebx
mov dword [0x52fae8], ebx
test eax, eax
je 0x472761
push eax
call esi
mov eax, dword [0x52faf8]
test eax, eax
je 0x47276d
push eax
call esi
mov cx, word [0x504ce0]
xor eax, eax
movaps xmm0, xmmword [0x4d59a0]
test cx, cx
mov word [0x52f940], ax
sete al
mov dword [0x52faf8], ebx
mov dword [0x52faf4], ebx
mov dword [0x52fac0], ebx
mov dword [0x52fae4], ebx
mov dword [0x52facc], ebx
mov dword [0x52fad8], ebx
mov dword [0x52faf0], ebx
mov dword [0x52fafc], ebx
mov dword [0x4fa030], 0xff00
mov dword [0x4fa034], ebx
mov byte [0x52f8c0], bl
mov dword [0x52f8b8], eax
movups xmmword [0x4fa020], xmm0
test cx, cx
jne 0x4728f9
mov ecx, dword [0x531c04]
call fcn.004566a7
mov ecx, dword [0x531c04]
call fcn.004566dd
mov ecx, dword [0x531c04]
push ebx
push ebx
push ebx
push 0x8b7475
push str.wasabi.popupmenu.background.selected
call fcn.00456247
mov ecx, dword [0x531c04]
push ebx
push ebx
push ebx
mov ebx, 0x573738
push ebx
push str.wasabi.popupmenu.background
call fcn.00456247
mov ecx, dword [0x531c04]
xor eax, eax
push eax
push eax
push eax
mov edi, 0xffffff
push edi
push str.wasabi.popupmenu.text
call fcn.00456247
mov ecx, dword [0x531c04]
xor eax, eax
push eax
push eax
push eax
push edi
push str.wasabi.popupmenu.text.selected
call fcn.00456247
mov ecx, dword [0x531c04]
xor eax, eax
push eax
push eax
push eax
push 0x897373
push str.wasabi.popupmenu.text.inactive
call fcn.00456247
mov ecx, dword [0x531c04]
xor eax, eax
push eax
push eax
push eax
push 0x8b7475
push str.wasabi.popupmenu.frame
call fcn.00456247
mov ecx, dword [0x531c04]
xor eax, eax
push eax
push eax
push eax
push 0x8b7475
push str.wasabi.popupmenu.separator
call fcn.00456247
mov ecx, dword [0x531c04]
xor eax, eax
push eax
push eax
push eax
push ebx
push str.wasabi.tooltip.background
call fcn.00456247
mov ecx, dword [0x531c04]
xor ebx, ebx
push ebx
push ebx
push ebx
push edi
push str.wasabi.tooltip.text
call fcn.00456247
push ebx
push ebx
push ebx
push 0x8b7475
push str.wasabi.tooltip.frame
mov ecx, dword [0x531c04]
call fcn.00456247
mov ecx, dword [0x531c04]
call fcn.0045631e
cmp word [0x504ee8], 0
je 0x472d67
call fcn.00472478
test eax, eax
je 0x472d67
push 0x208
lea eax, [ebp - 0x208]
push ebx
push eax
call fcn.0049a3b0
add esp, 0xc
lea eax, [ebp - 0x208]
push str.region.txt
push 0x504ee8
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
push 0x52fabc
lea eax, [ebp - 0x208]
mov ebx, 0x4d58e4
push eax
push str.NumPoints
push ebx
call fcn.0047192a
add esp, 0x10
mov dword [0x52fac0], eax
test eax, eax
je 0x4729b5
push 0x52fab8
lea eax, [ebp - 0x208]
push eax
push str.PointList
push ebx
call fcn.0047192a
mov ebx, eax
add esp, 0x10
test ebx, ebx
je 0x4729b5
mov eax, dword [0x52fac0]
xor edi, edi
mov ecx, dword [0x52fabc]
xor edx, edx
test eax, eax
jle 0x4729a3
add edi, dword [ecx + edx*4]
inc edx
cmp edx, eax
jl 0x47299b
mov eax, ebx
cdq
sub eax, edx
sar eax, 1
cmp edi, eax
jne 0x4729bb
test bl, 1
je 0x4729e3
jmp 0x4729bb
mov ecx, dword [0x52fabc]
test ecx, ecx
je 0x4729c2
push ecx
call esi
mov eax, dword [0x52fab8]
test eax, eax
je 0x4729ce
push eax
call esi
and dword [0x52fac0], 0
and dword [0x52fabc], 0
and dword [0x52fab8], 0
push 0x52fae0
lea eax, [ebp - 0x208]
mov edi, str.WindowShade
push eax
push str.NumPoints
push edi
call fcn.0047192a
add esp, 0x10
mov dword [0x52fae4], eax
test eax, eax
je 0x472a58
push 0x52fadc
lea eax, [ebp - 0x208]
push eax
push str.PointList
push edi
call fcn.0047192a
mov ebx, eax
add esp, 0x10
test ebx, ebx
je 0x472a58
mov eax, dword [0x52fae4]
xor edi, edi
mov ecx, dword [0x52fae0]
xor edx, edx
test eax, eax
jle 0x472a46
add edi, dword [ecx + edx*4]
inc edx
cmp edx, eax
jl 0x472a3e
mov eax, ebx
cdq
sub eax, edx
sar eax, 1
cmp edi, eax
jne 0x472a5e
test bl, 1
je 0x472a86
jmp 0x472a5e
mov ecx, dword [0x52fae0]
test ecx, ecx
je 0x472a65
push ecx
call esi
mov eax, dword [0x52fadc]
test eax, eax
je 0x472a71
push eax
call esi
and dword [0x52fae0], 0
and dword [0x52fae4], 0
and dword [0x52fadc], 0
push 0x52fac8
lea eax, [ebp - 0x208]
mov edi, 0x4d5904
push eax
push str.NumPoints
push edi
call fcn.0047192a
add esp, 0x10
mov dword [0x52facc], eax
test eax, eax
je 0x472afb
push 0x52fac4
lea eax, [ebp - 0x208]
push eax
push str.PointList
push edi
call fcn.0047192a
mov ebx, eax
add esp, 0x10
test ebx, ebx
je 0x472afb
mov eax, dword [0x52facc]
xor edi, edi
mov ecx, dword [0x52fac8]
xor edx, edx
test eax, eax
jle 0x472ae9
add edi, dword [ecx + edx*4]
inc edx
cmp edx, eax
jl 0x472ae1
mov eax, ebx
cdq
sub eax, edx
sar eax, 1
cmp edi, eax
jne 0x472b01
test bl, 1
je 0x472b29
jmp 0x472b01
mov ecx, dword [0x52fac8]
test ecx, ecx
je 0x472b08
push ecx
call esi
mov eax, dword [0x52fac4]
test eax, eax
je 0x472b14
push eax
call esi
and dword [0x52fac8], 0
and dword [0x52facc], 0
and dword [0x52fac4], 0
push 0x52fad4
lea eax, [ebp - 0x208]
mov edi, str.EqualizerWS
push eax
push str.NumPoints
push edi
call fcn.0047192a
add esp, 0x10
mov dword [0x52fad8], eax
test eax, eax
je 0x472d71
push 0x52fad0
lea eax, [ebp - 0x208]
push eax
push str.PointList
push edi
call fcn.0047192a
mov ebx, eax
add esp, 0x10
test ebx, ebx
je 0x472d71
mov eax, dword [0x52fad8]
xor edi, edi
mov ecx, dword [0x52fad4]
xor edx, edx
test eax, eax
jle 0x472b94
add edi, dword [ecx + edx*4]
inc edx
cmp edx, eax
jl 0x472b8c
mov eax, ebx
cdq
sub eax, edx
sar eax, 1
cmp edi, eax
jne 0x472d77
test bl, 1
jne 0x472d77
xor ebx, ebx
mov eax, dword [0x52faec]
test eax, eax
je 0x472bba
push eax
call esi
mov eax, dword [0x52fae8]
test eax, eax
je 0x472bc6
push eax
call esi
mov edi, dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea eax, [ebp - 0x208]
push str.pledit.txt
push 0x504ee8
push eax
mov dword [0x52faec], ebx
mov dword [0x52faf0], ebx
mov dword [0x52fae8], ebx
call edi
lea eax, [ebp - 0x208]
mov ebx, str.Text
push eax
push dword [0x4fa020]
push 0x4d58e4
push ebx
call fcn.00471a68
mov dword [0x4fa020], eax
lea eax, [ebp - 0x208]
push eax
push dword [0x4fa024]
push str.Current
push ebx
call fcn.00471a68
mov dword [0x4fa024], eax
lea eax, [ebp - 0x208]
push eax
push dword [0x4fa028]
push str.NormalBG
push ebx
call fcn.00471a68
mov dword [0x4fa028], eax
lea eax, [ebp - 0x208]
push eax
push dword [0x4fa02c]
push str.SelectedBG
push ebx
call fcn.00471a68
add esp, 0x40
mov dword [0x4fa02c], eax
lea eax, [ebp - 0x208]
push eax
push dword [0x4fa030]
push str.mbFG
push ebx
call fcn.00471a68
mov dword [0x4fa030], eax
lea eax, [ebp - 0x208]
push eax
push dword [0x4fa034]
push str.mbBG
push ebx
call fcn.00471a68
mov ebx, 0x100
mov dword [0x4fa034], eax
push ebx
xor esi, esi
lea eax, [ebp - 0x308]
push esi
push eax
call fcn.0049a3b0
push esi
lea eax, [ebp - 0x208]
push esi
push eax
call fcn.00404fb9
add esp, 0x38
mov esi, eax
lea eax, [ebp - 0x308]
push esi
push ebx
push eax
push 0x4ccc30
push str.Font
push str.Text
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push esi
call fcn.004a1b5f
lea esi, [ebx - 0x80]
mov ebx, 0x52f940
push esi
push ebx
push 0xffffffffffffffff
lea eax, [ebp - 0x308]
push eax
push 0
push 0xfde9
call fcn.00411d12
xor eax, eax
push eax
push eax
push esi
push 0x52f8c0
push 0xffffffffffffffff
push ebx
push eax
push eax
call fcn.00411e48
add esp, 0x3c
lea eax, [ebp - 0x208]
push eax
push 0
push str.UseGenNums
push 0x4d5974
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
push str.colors.ini
mov dword [0x52f8b8], eax
lea eax, [ebp - 0x208]
push 0x504ee8
push eax
call edi
lea eax, [ebp - 0x208]
push eax
call fcn.004717c5
pop ecx
call fcn.00471718
pop edi
pop esi
pop ebx
leave
ret
mov ecx, dword [0x52fad4]
test ecx, ecx
je 0x472d7e
push ecx
call esi
mov eax, dword [0x52fad0]
test eax, eax
je 0x472d8a
push eax
call esi
xor ebx, ebx
mov dword [0x52fad4], ebx
mov dword [0x52fad8], ebx
mov dword [0x52fad0], ebx
jmp 0x472bae