Function at 0x455f00
Capabilities:
Read .ini file

Disassembly:
sub esp, 0x4cc
push ebx
mov ebx, ecx
push ebp
push esi
lea esi, [ebx + 8]
push edi
mov ecx, esi
call fcn.00442fb0
push eax
mov eax, dword [esp + 0x4e4]
push 0
push str.RECTS
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov edx, eax
mov ecx, 0x18
xor eax, eax
lea edi, [esp + 0x91]
mov byte [esp + 0x90], 0
mov byte [esp + 0x2c], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, 0x18
xor eax, eax
lea edi, [esp + 0x2d]
mov byte [esp + 0xf4], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, 0xf9
xor eax, eax
lea edi, [esp + 0xf5]
mov ebp, 1
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
cmp edx, ebp
mov dword [esp + 0x18], edx
stosb byte es:[edi], al
jl 0x456268
push 0x18
call fcn.0046712e
add esp, 4
lea ecx, [esp + 0x90]
mov edi, eax
push str.RECT
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea edx, [esp + 0xf4]
push 0xa
push edx
push ebp
call fcn.004692ea
add esp, 0xc
push eax
lea eax, [esp + 0x94]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatA]
mov ecx, esi
call fcn.00442fb0
push eax
mov eax, dword [esp + 0x4e4]
lea ecx, [esp + 0xf8]
push 0x3e8
push ecx
lea edx, [esp + 0x9c]
push 0x4a9e54
push edx
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push 0xf
call dword [sym.imp.USER32.dll_GetSysColor]
push edi
mov dword [edi], eax
sub esp, 0x28
lea edx, [esp + 0x43]
mov ecx, esp
mov dword [esp + 0x3c], esp
push 1
lea eax, [esp + 0x124]
push edx
push eax
call fcn.0045b5a0
mov ecx, ebx
call fcn.00459490
mov ecx, dword [edi]
push ecx
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
mov dword [edi + 4], eax
lea edx, [esp + 0x90]
lea eax, [esp + 0x2c]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea ecx, [esp + 0x2c]
push 0x4a5fd8
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcatA]
mov eax, dword [esi + 8]
mov ecx, dword [esi + 0xc]
test eax, eax
jne 0x456068
mov eax, 0x48b6d0
push 0
push 0
push 0
inc ecx
push 0
push ecx
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov ecx, dword [esi + 0x18]
mov dword [esp + 0x10], eax
cmp eax, ecx
jbe 0x4560ab
mov eax, dword [esi + 0x14]
push eax
call fcn.00438016
mov eax, dword [esp + 0x14]
shr eax, 6
inc eax
shl eax, 6
push eax
mov dword [esi + 0x18], eax
call fcn.0046712e
add esp, 8
mov dword [esi + 0x14], eax
mov edx, dword [esi + 8]
test edx, edx
jne 0x4560b7
mov edx, 0x48b6d0
mov eax, dword [esi + 0x18]
mov ecx, dword [esi + 0x14]
push 0
push 0
push eax
mov eax, dword [esi + 0xc]
inc eax
push ecx
push eax
push edx
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov eax, dword [esi + 0x14]
mov ecx, dword [esp + 0x4e0]
push eax
lea edx, [esp + 0xf8]
push 0x3e8
push edx
lea eax, [esp + 0x38]
push 0x4a9e54
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea eax, [edi + 0xc]
lea ecx, [edi + 8]
push eax
push ecx
sub esp, 0x28
mov dword [ecx], 0
mov dword [eax], 0
mov ecx, esp
mov dword [esp + 0x40], esp
lea edx, [esp + 0x45]
push 1
lea eax, [esp + 0x128]
push edx
push eax
call fcn.0045b5a0
mov ecx, ebx
call fcn.00459200
lea ecx, [esp + 0x90]
lea edx, [esp + 0x2c]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea eax, [esp + 0x2c]
push str.AREA
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatA]
mov eax, dword [esi + 8]
mov ecx, dword [esi + 0xc]
test eax, eax
jne 0x456166
mov eax, 0x48b6d0
push 0
push 0
push 0
inc ecx
push 0
push ecx
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov ecx, dword [esi + 0x18]
mov dword [esp + 0x10], eax
cmp eax, ecx
jbe 0x4561a9
mov eax, dword [esi + 0x14]
push eax
call fcn.00438016
mov eax, dword [esp + 0x14]
shr eax, 6
inc eax
shl eax, 6
push eax
mov dword [esi + 0x18], eax
call fcn.0046712e
add esp, 8
mov dword [esi + 0x14], eax
mov edx, dword [esi + 8]
test edx, edx
jne 0x4561b5
mov edx, 0x48b6d0
mov eax, dword [esi + 0x18]
mov ecx, dword [esi + 0x14]
push 0
push 0
push eax
mov eax, dword [esi + 0xc]
inc eax
push ecx
push eax
push edx
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov eax, dword [esi + 0x14]
lea ecx, [esp + 0xf4]
push eax
mov eax, dword [esp + 0x4e4]
push 0x3e8
push ecx
lea edx, [esp + 0x38]
push 0x4a9e54
push edx
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea ecx, [edi + 0x14]
lea eax, [edi + 0x10]
push ecx
push eax
sub esp, 0x28
mov dword [ecx], 0
mov dword [eax], 0
mov ecx, esp
mov dword [esp + 0x40], esp
lea edx, [esp + 0x46]
push 1
lea eax, [esp + 0x128]
push edx
push eax
call fcn.0045b5a0
mov ecx, ebx
call fcn.00459200
lea ecx, [esp + 0x1c]
lea edx, [esp + 0x24]
push ecx
mov ecx, dword [esp + 0x4e8]
push edx
mov dword [esp + 0x24], ebp
mov dword [esp + 0x28], 0
call fcn.0045f330
mov eax, dword [esp + 0x24]
inc ebp
mov dword [eax + 0x10], edi
mov eax, dword [esp + 0x18]
cmp ebp, eax
jle 0x455f8a
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x4cc
ret 8