Function at 0x41602c
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x324
push ebx
push esi
push edi
call fcn.004155cf
call fcn.0041591f
mov eax, dword [0x4a4b00]
mov esi, dword [sym.imp.KERNEL32.dll_GlobalFree]
xor ebx, ebx
cmp eax, ebx
je 0x416056
push eax
call esi
mov eax, dword [0x4a4afc]
cmp eax, ebx
je 0x416062
push eax
call esi
mov eax, dword [0x4a4adc]
cmp eax, ebx
mov dword [0x4a4afc], ebx
mov dword [0x4a4b00], ebx
je 0x41607a
push eax
call esi
mov eax, dword [0x4a4ad8]
cmp eax, ebx
je 0x416086
push eax
call esi
mov eax, dword [0x4a4af4]
cmp eax, ebx
mov dword [0x4a4ad8], ebx
mov dword [0x4a4adc], ebx
je 0x41609e
push eax
call esi
mov eax, dword [0x4a4af0]
cmp eax, ebx
je 0x4160aa
push eax
call esi
mov eax, dword [0x4a4ae8]
cmp eax, ebx
mov dword [0x4a4af0], ebx
mov dword [0x4a4af4], ebx
je 0x4160c2
push eax
call esi
mov eax, dword [0x4a4ae4]
cmp eax, ebx
je 0x4160ce
push eax
call esi
mov eax, 0xff00
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0xc], eax
push 0x18
lea eax, [ebp - 0x1c]
push eax
mov edi, 0xffffff
push 0x49bda8
mov dword [0x4a4ae4], ebx
mov dword [0x4a4ae8], ebx
mov dword [0x4a4af8], ebx
mov dword [0x4a4ad4], ebx
mov dword [0x4a4aec], ebx
mov dword [0x4a4ae0], ebx
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x10], 0xc60000
mov dword [ebp - 8], ebx
call sub.NSCRT.dll_memcpy
add esp, 0xc
cmp word [0x4a0298], bx
mov byte [0x4a4b10], bl
mov word [0x4a4b90], bx
jne 0x41623f
mov ecx, dword [0x4ac3e4]
call fcn.0045f74f
mov ecx, dword [0x4ac3e4]
call fcn.0045f283
mov ecx, dword [0x4ac3e4]
push ebx
push ebx
push ebx
mov esi, 0x8b7475
push esi
push str.wasabi.popupmenu.background.selected
call fcn.0046049e
mov ecx, dword [0x4ac3e4]
push ebx
push ebx
push ebx
push 0x573738
push str.wasabi.popupmenu.background
call fcn.0046049e
mov ecx, dword [0x4ac3e4]
push ebx
push ebx
push ebx
push edi
push str.wasabi.popupmenu.text
call fcn.0046049e
mov ecx, dword [0x4ac3e4]
push ebx
push ebx
push ebx
push edi
push str.wasabi.popupmenu.text.selected
call fcn.0046049e
mov ecx, dword [0x4ac3e4]
push ebx
push ebx
push ebx
push 0x897373
push str.wasabi.popupmenu.text.inactive
call fcn.0046049e
mov ecx, dword [0x4ac3e4]
push ebx
push ebx
push ebx
push esi
push str.wasabi.popupmenu.frame
call fcn.0046049e
mov ecx, dword [0x4ac3e4]
push ebx
push ebx
push ebx
push esi
push str.wasabi.popupmenu.separator
call fcn.0046049e
mov ecx, dword [0x4ac3e4]
push ebx
push ebx
push ebx
push 0x573738
push str.wasabi.tooltip.background
call fcn.0046049e
mov ecx, dword [0x4ac3e4]
push ebx
push ebx
push ebx
push edi
push str.wasabi.tooltip.text
call fcn.0046049e
mov ecx, dword [0x4ac3e4]
push ebx
push ebx
push ebx
push esi
push str.wasabi.tooltip.frame
call fcn.0046049e
mov ecx, dword [0x4ac3e4]
call fcn.0045fd87
mov esi, dword [sym.imp.KERNEL32.dll_GlobalFree]
cmp word [0x49e6d8], bx
je 0x416660
push str.region.txt
push 0x49e6d8
lea eax, [ebp - 0x224]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
push 0x4a4afc
lea eax, [ebp - 0x224]
push eax
push str.NumPoints
mov edi, 0x48a43c
push edi
call fcn.00415149
add esp, 0x10
cmp eax, ebx
mov dword [0x4a4af8], eax
je 0x4162db
push 0x4a4b00
lea eax, [ebp - 0x224]
push eax
push str.PointList
push edi
call fcn.00415149
add esp, 0x10
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x4162db
mov eax, dword [0x4a4af8]
mov ecx, dword [0x4a4afc]
xor edi, edi
xor edx, edx
cmp eax, ebx
jle 0x4162c7
add edi, dword [ecx + edx*4]
inc edx
cmp edx, eax
jl 0x4162bf
mov eax, dword [ebp - 4]
cdq
sub eax, edx
sar eax, 1
cmp edi, eax
jne 0x4162e1
test byte [ebp - 4], 1
je 0x416306
jmp 0x4162e1
mov ecx, dword [0x4a4afc]
cmp ecx, ebx
je 0x4162e8
push ecx
call esi
mov eax, dword [0x4a4b00]
cmp eax, ebx
je 0x4162f4
push eax
call esi
mov dword [0x4a4af8], ebx
mov dword [0x4a4afc], ebx
mov dword [0x4a4b00], ebx
push 0x4a4ad8
lea eax, [ebp - 0x224]
push eax
push str.NumPoints
mov edi, str.WindowShade
push edi
call fcn.00415149
add esp, 0x10
cmp eax, ebx
mov dword [0x4a4ad4], eax
je 0x41637e
push 0x4a4adc
lea eax, [ebp - 0x224]
push eax
push str.PointList
push edi
call fcn.00415149
add esp, 0x10
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x41637e
mov eax, dword [0x4a4ad4]
mov ecx, dword [0x4a4ad8]
xor edi, edi
xor edx, edx
cmp eax, ebx
jle 0x41636a
add edi, dword [ecx + edx*4]
inc edx
cmp edx, eax
jl 0x416362
mov eax, dword [ebp - 4]
cdq
sub eax, edx
sar eax, 1
cmp edi, eax
jne 0x416384
test byte [ebp - 4], 1
je 0x4163a9
jmp 0x416384
mov ecx, dword [0x4a4ad8]
cmp ecx, ebx
je 0x41638b
push ecx
call esi
mov eax, dword [0x4a4adc]
cmp eax, ebx
je 0x416397
push eax
call esi
mov dword [0x4a4ad8], ebx
mov dword [0x4a4ad4], ebx
mov dword [0x4a4adc], ebx
push 0x4a4af0
lea eax, [ebp - 0x224]
push eax
push str.NumPoints
mov edi, 0x48a418
push edi
call fcn.00415149
add esp, 0x10
cmp eax, ebx
mov dword [0x4a4aec], eax
je 0x416421
push 0x4a4af4
lea eax, [ebp - 0x224]
push eax
push str.PointList
push edi
call fcn.00415149
add esp, 0x10
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x416421
mov eax, dword [0x4a4aec]
mov ecx, dword [0x4a4af0]
xor edi, edi
xor edx, edx
cmp eax, ebx
jle 0x41640d
add edi, dword [ecx + edx*4]
inc edx
cmp edx, eax
jl 0x416405
mov eax, dword [ebp - 4]
cdq
sub eax, edx
sar eax, 1
cmp edi, eax
jne 0x416427
test byte [ebp - 4], 1
je 0x41644c
jmp 0x416427
mov ecx, dword [0x4a4af0]
cmp ecx, ebx
je 0x41642e
push ecx
call esi
mov eax, dword [0x4a4af4]
cmp eax, ebx
je 0x41643a
push eax
call esi
mov dword [0x4a4af0], ebx
mov dword [0x4a4aec], ebx
mov dword [0x4a4af4], ebx
push 0x4a4ae4
lea eax, [ebp - 0x224]
push eax
push str.NumPoints
mov edi, str.EqualizerWS
push edi
call fcn.00415149
add esp, 0x10
cmp eax, ebx
mov dword [0x4a4ae0], eax
je 0x4164c4
push 0x4a4ae8
lea eax, [ebp - 0x224]
push eax
push str.PointList
push edi
call fcn.00415149
add esp, 0x10
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x4164c4
mov eax, dword [0x4a4ae0]
mov ecx, dword [0x4a4ae4]
xor edi, edi
xor edx, edx
cmp eax, ebx
jle 0x4164b0
add edi, dword [ecx + edx*4]
inc edx
cmp edx, eax
jl 0x4164a8
mov eax, dword [ebp - 4]
cdq
sub eax, edx
sar eax, 1
cmp edi, eax
jne 0x4164ca
test byte [ebp - 4], 1
je 0x4164ef
jmp 0x4164ca
mov ecx, dword [0x4a4ae4]
cmp ecx, ebx
je 0x4164d1
push ecx
call esi
mov eax, dword [0x4a4ae8]
cmp eax, ebx
je 0x4164dd
push eax
call esi
mov dword [0x4a4ae4], ebx
mov dword [0x4a4ae0], ebx
mov dword [0x4a4ae8], ebx
push str.pledit.txt
push 0x49e6d8
lea eax, [ebp - 0x224]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea eax, [ebp - 0x224]
push eax
push dword [0x49bda8]
mov esi, str.Text
push 0x48a43c
push esi
call fcn.00415259
mov dword [0x49bda8], eax
lea eax, [ebp - 0x224]
push eax
push dword [0x49bdac]
push str.Current
push esi
call fcn.00415259
mov dword [0x49bdac], eax
lea eax, [ebp - 0x224]
push eax
push dword [0x49bdb0]
push str.NormalBG
push esi
call fcn.00415259
mov dword [0x49bdb0], eax
lea eax, [ebp - 0x224]
push eax
push dword [0x49bdb4]
push str.SelectedBG
push esi
call fcn.00415259
add esp, 0x40
mov dword [0x49bdb4], eax
lea eax, [ebp - 0x224]
push eax
push dword [0x49bdb8]
push str.mbFG
push esi
call fcn.00415259
mov dword [0x49bdb8], eax
lea eax, [ebp - 0x224]
push eax
push dword [0x49bdbc]
push str.mbBG
push esi
call fcn.00415259
push ebx
mov dword [0x49bdbc], eax
lea eax, [ebp - 0x224]
push ebx
push eax
call fcn.00402b25
add esp, 0x2c
mov edi, eax
push edi
push 0x100
lea eax, [ebp - 0x324]
push eax
push 0x486d4c
push str.Font
push esi
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push edi
call dword [sym.imp.NSCRT.dll_free]
pop ecx
push 0x7f
mov esi, 0x4a4b90
push esi
push 0xffffffffffffffff
lea eax, [ebp - 0x324]
push eax
push ebx
push 0xfde9
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
cmp eax, ebx
je 0x41661e
mov word [eax*2 + 0x4a4b90], bx
push ebx
push ebx
push 0x7f
push 0x4a4b10
push 0xffffffffffffffff
push esi
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
cmp eax, ebx
je 0x41663c
mov byte [eax + 0x4a4b10], bl
push str.colors.ini
push 0x49e6d8
lea eax, [ebp - 0x224]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea eax, [ebp - 0x224]
push eax
call fcn.00415424
pop ecx
call fcn.004152e4
pop edi
pop esi
pop ebx
leave
ret