Function at 0x435fac
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x51c
push ebx
push edi
call fcn.00435e60
call fcn.00436525
mov eax, dword [0x45947c]
mov edi, dword [sym.imp.KERNEL32.dll_GlobalFree]
xor ebx, ebx
cmp eax, ebx
je 0x435fd5
push eax
call edi
mov eax, dword [0x459490]
cmp eax, ebx
je 0x435fe1
push eax
call edi
mov eax, dword [0x459494]
mov dword [0x459490], ebx
cmp eax, ebx
mov dword [0x45947c], ebx
je 0x435ff9
push eax
call edi
mov eax, dword [0x459484]
cmp eax, ebx
je 0x436005
push eax
call edi
mov eax, dword [0x459480]
mov dword [0x459484], ebx
cmp eax, ebx
mov dword [0x459494], ebx
je 0x43601d
push eax
call edi
mov eax, dword [0x45948c]
cmp eax, ebx
je 0x436029
push eax
call edi
mov eax, dword [0x459488]
mov dword [0x45948c], ebx
cmp eax, ebx
mov dword [0x459480], ebx
je 0x436041
push eax
call edi
mov eax, dword [0x459498]
cmp eax, ebx
je 0x43604d
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 [0x459498], ebx
push eax
push 0x44e6d0
mov dword [0x459488], ebx
mov dword [0x45949c], ebx
mov dword [0x4594a4], ebx
mov dword [0x4594a0], ebx
mov dword [0x459478], ebx
mov dword [ebp - 0x14], 0xffffff
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0xc], 0xc60000
mov dword [ebp - 4], ebx
call sub.MSVCRT.dll_memcpy
and byte [0x4594a8], 0
add esp, 0xc
cmp byte [0x45e220], 0
je 0x43651c
push esi
push 0x45e220
lea eax, [ebp - 0x11c]
push str._s_region.txt
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
lea eax, [ebp - 0x11c]
push 0x459490
push eax
mov esi, str.Normal
push str.NumPoints
push esi
call fcn.0043691a
add esp, 0x1c
cmp eax, ebx
mov dword [0x45949c], eax
je 0x43616d
lea eax, [ebp - 0x11c]
push 0x45947c
push eax
push str.PointList
push esi
call fcn.0043691a
mov ebx, eax
add esp, 0x10
test ebx, ebx
je 0x43616b
mov eax, dword [0x45949c]
mov ecx, dword [0x459490]
xor esi, esi
xor edx, edx
test eax, eax
jle 0x436132
add esi, dword [ecx + edx*4]
inc edx
cmp edx, eax
jl 0x43612a
mov eax, ebx
cdq
sub eax, edx
sar eax, 1
cmp esi, eax
jne 0x436142
test bl, 1
je 0x436175
xor ebx, ebx
cmp ecx, ebx
je 0x43614b
push ecx
call edi
mov eax, dword [0x45947c]
cmp eax, ebx
je 0x436157
push eax
call edi
mov dword [0x45949c], ebx
mov dword [0x459490], ebx
mov dword [0x45947c], ebx
jmp 0x436177
xor ebx, ebx
mov ecx, dword [0x459490]
jmp 0x436144
xor ebx, ebx
lea eax, [ebp - 0x11c]
push 0x459484
push eax
mov esi, str.WindowShade
push str.NumPoints
push esi
call fcn.0043691a
add esp, 0x10
cmp eax, ebx
mov dword [0x4594a4], eax
je 0x436215
lea eax, [ebp - 0x11c]
push 0x459494
push eax
push str.PointList
push esi
call fcn.0043691a
mov ebx, eax
add esp, 0x10
test ebx, ebx
je 0x436213
mov eax, dword [0x4594a4]
mov ecx, dword [0x459484]
xor esi, esi
xor edx, edx
test eax, eax
jle 0x4361da
add esi, dword [ecx + edx*4]
inc edx
cmp edx, eax
jl 0x4361d2
mov eax, ebx
cdq
sub eax, edx
sar eax, 1
cmp esi, eax
jne 0x4361ea
test bl, 1
je 0x43621d
xor ebx, ebx
cmp ecx, ebx
je 0x4361f3
push ecx
call edi
mov eax, dword [0x459494]
cmp eax, ebx
je 0x4361ff
push eax
call edi
mov dword [0x459484], ebx
mov dword [0x4594a4], ebx
mov dword [0x459494], ebx
jmp 0x43621f
xor ebx, ebx
mov ecx, dword [0x459484]
jmp 0x4361ec
xor ebx, ebx
lea eax, [ebp - 0x11c]
push 0x45948c
push eax
mov esi, str.Equalizer
push str.NumPoints
push esi
call fcn.0043691a
add esp, 0x10
cmp eax, ebx
mov dword [0x4594a0], eax
je 0x4362bd
lea eax, [ebp - 0x11c]
push 0x459480
push eax
push str.PointList
push esi
call fcn.0043691a
mov ebx, eax
add esp, 0x10
test ebx, ebx
je 0x4362bb
mov eax, dword [0x4594a0]
mov ecx, dword [0x45948c]
xor esi, esi
xor edx, edx
test eax, eax
jle 0x436282
add esi, dword [ecx + edx*4]
inc edx
cmp edx, eax
jl 0x43627a
mov eax, ebx
cdq
sub eax, edx
sar eax, 1
cmp esi, eax
jne 0x436292
test bl, 1
je 0x4362c5
xor ebx, ebx
cmp ecx, ebx
je 0x43629b
push ecx
call edi
mov eax, dword [0x459480]
cmp eax, ebx
je 0x4362a7
push eax
call edi
mov dword [0x45948c], ebx
mov dword [0x4594a0], ebx
mov dword [0x459480], ebx
jmp 0x4362c7
xor ebx, ebx
mov ecx, dword [0x45948c]
jmp 0x436294
xor ebx, ebx
lea eax, [ebp - 0x11c]
push 0x459498
push eax
mov esi, str.EqualizerWS
push str.NumPoints
push esi
call fcn.0043691a
add esp, 0x10
cmp eax, ebx
mov dword [0x459478], eax
je 0x436401
lea eax, [ebp - 0x11c]
push 0x459488
push eax
push str.PointList
push esi
call fcn.0043691a
mov ebx, eax
add esp, 0x10
test ebx, ebx
je 0x4363ff
mov eax, dword [0x459478]
mov ecx, dword [0x459498]
xor esi, esi
xor edx, edx
test eax, eax
jle 0x436332
add esi, dword [ecx + edx*4]
inc edx
cmp edx, eax
jl 0x43632a
mov eax, ebx
cdq
sub eax, edx
sar eax, 1
cmp esi, eax
jne 0x436342
test bl, 1
je 0x436369
xor ebx, ebx
cmp ecx, ebx
je 0x43634b
push ecx
call edi
mov eax, dword [0x459488]
cmp eax, ebx
je 0x436357
push eax
call edi
mov dword [0x459498], ebx
mov dword [0x459478], ebx
mov dword [0x459488], ebx
push 0x45e220
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, 0x450890
push eax
push ebx
push str.MBOpen
push 0x44d6f4
call edi
and byte [ebp - 0x11d], 0
cmp byte [ebp - 0x51c], 0
je 0x436431
xor eax, eax
cmp dword [0x45bdf4], eax
je 0x43640c
cmp dword [0x45ac20], eax
je 0x4363e4
push 0xf1
push eax
push esi
push dword [0x45b980]
call dword [sym.imp.USER32.dll_SendMessageA]
lea eax, [ebp - 0x51c]
push 0xf1
push eax
push esi
push dword [0x45b980]
call dword [sym.imp.USER32.dll_SendMessageA]
jmp 0x436431
xor ebx, ebx
mov ecx, dword [0x459498]
jmp 0x436344
cmp dword [0x45ac20], eax
je 0x43641e
mov dword [0x44ae98], 1
lea eax, [ebp - 0x51c]
push eax
push 0x452950
call sub.MSVCRT.dll_strcpy
pop ecx
pop ecx
push 0x45e220
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 [0x44e6d0]
push str.Normal
push esi
call fcn.00436a20
mov dword [0x44e6d0], eax
lea eax, [ebp - 0x11c]
push eax
push dword [0x44e6d4]
push str.Current
push esi
call fcn.00436a20
mov dword [0x44e6d4], eax
lea eax, [ebp - 0x11c]
push eax
push dword [0x44e6d8]
push str.NormalBG
push esi
call fcn.00436a20
mov dword [0x44e6d8], eax
lea eax, [ebp - 0x11c]
push eax
push dword [0x44e6dc]
push str.SelectedBG
push esi
call fcn.00436a20
add esp, 0x4c
mov dword [0x44e6dc], eax
lea eax, [ebp - 0x11c]
push eax
push dword [0x44e6e0]
push str.mbFG
push esi
call fcn.00436a20
mov dword [0x44e6e0], eax
lea eax, [ebp - 0x11c]
push eax
push dword [0x44e6e4]
push str.mbBG
push esi
call fcn.00436a20
add esp, 0x20
mov dword [0x44e6e4], eax
lea eax, [ebp - 0x11c]
push eax
push 0x80
push 0x4594a8
push ebx
push str.Font
push esi
call edi
pop esi
call fcn.00436a84
pop edi
pop ebx
leave
ret