Function at 0x10041850
Capabilities:
Read .ini file

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10071d20
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x140
mov eax, dword [0x10184080]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 4], 0
mov eax, 0x7fffffff
mov ecx, dword [ebx + 0x18]
sub eax, ecx
cmp eax, 0x1a
jb 0x10041cee
cmp dword [ebx + 0x1c], 0xf
lea eax, [ebx + 8]
push ecx
cmova eax, dword [ebx + 8]
push eax
push 0x1a
push str..Libertys_Legacy_Themes_
push ecx
push dword [ebp - 0x150]
lea ecx, [ebp - 0x2c]
call fcn.1002e300
mov byte [ebp - 4], 1
lea edx, [ebp - 0x2c]
cmp dword [ebp - 0x18], 0xf
xorps xmm0, xmm0
movups xmmword [ebp - 0x44], xmm0
cmova edx, dword [ebp - 0x2c]
mov eax, edx
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0
lea esi, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x100418f7
sub eax, esi
lea ecx, [ebp - 0x44]
push eax
push edx
call fcn.1002de80
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 2
call fcn.10031600
mov ecx, dword [ebp - 0x30]
mov byte [ebp - 0x149], al
cmp ecx, 0xf
jbe 0x10041956
mov edx, dword [ebp - 0x44]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10041946
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10041cf3
push ecx
push edx
call fcn.1004cdb5
mov al, byte [ebp - 0x149]
add esp, 8
test al, al
jne 0x1004198f
mov ecx, dword [ebp - 0x18]
cmp ecx, 0xf
jbe 0x10041ca0
mov edx, dword [ebp - 0x2c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10041988
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10041cf8
push ecx
push edx
jmp 0x10041c98
cmp dword [ebp - 0x18], 0xf
lea eax, [ebp - 0x148]
mov edi, dword [ebp - 0x2c]
lea esi, [ebp - 0x2c]
push 0xff
push 0
push eax
cmova esi, edi
call fcn.1004e620
mov ecx, esi
add esp, 0xc
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100419b7
sub ecx, edx
lea eax, [ebp - 0x148]
push ecx
push esi
push eax
call fcn.1004dfe0
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
lea eax, [ebp - 0x148]
add esp, 0xc
push eax
push 0x8c
push str.Title_Red
push str.menu_colors
call esi
mov dword [0x101881f0], eax
lea eax, [ebp - 0x148]
push eax
push 0x8c
push str.Title_Green
push str.menu_colors
call esi
mov dword [0x101881f4], eax
lea eax, [ebp - 0x148]
push eax
push 0x8c
push str.Title_Blue
push str.menu_colors
call esi
mov dword [0x101881f8], eax
lea eax, [ebp - 0x148]
push eax
push 0xff
push str.Title_Alpha
push str.menu_colors
call esi
mov dword [0x101881fc], eax
lea eax, [ebp - 0x148]
push eax
push 0x8c
push str.Text_Red
push str.menu_colors
call esi
mov dword [0x10188200], eax
lea eax, [ebp - 0x148]
push eax
push 0x8c
push str.Text_Green
push str.menu_colors
call esi
mov dword [0x10188204], eax
lea eax, [ebp - 0x148]
push eax
push 0x8c
push str.Text_Blue
push str.menu_colors
call esi
mov dword [0x10188208], eax
lea eax, [ebp - 0x148]
push eax
push 0xff
push str.Text_Alpha
push str.menu_colors
call esi
mov dword [0x1018820c], eax
lea eax, [ebp - 0x148]
push eax
push 0xf0
push str.On_Select_Red
push str.menu_colors
call esi
mov dword [0x101881ac], eax
lea eax, [ebp - 0x148]
push eax
push 0xa0
push str.On_Select_Green
push str.menu_colors
call esi
mov dword [0x101881b0], eax
lea eax, [ebp - 0x148]
push eax
push 0
push str.On_Select_Blue
push str.menu_colors
call esi
mov dword [0x101881b4], eax
lea eax, [ebp - 0x148]
push eax
push 0xff
push str.On_Select_Alpha
push str.menu_colors
call esi
mov dword [0x101881b8], eax
lea eax, [ebp - 0x148]
push eax
push 0x3e
push str.On_Back_Red
push str.menu_colors
call esi
mov dword [0x101881bc], eax
lea eax, [ebp - 0x148]
push eax
push 0x3e
push str.On_Back_Green
push str.menu_colors
call esi
mov dword [0x101881c0], eax
lea eax, [ebp - 0x148]
push eax
push 0x3e
push str.On_Back_Blue
push str.menu_colors
call esi
mov dword [0x101881c4], eax
lea eax, [ebp - 0x148]
push eax
push 0xc8
push str.On_Back_Alpha
push str.menu_colors
call esi
mov dword [0x101881c8], eax
lea eax, [ebp - 0x148]
push eax
push 0
push str.Background_Red
push str.menu_colors
call esi
mov dword [0x10188174], eax
lea eax, [ebp - 0x148]
push eax
push 0
push str.Background_Green
push str.menu_colors
call esi
mov dword [0x10188178], eax
lea eax, [ebp - 0x148]
push eax
push 0
push str.Background_Blue
push str.menu_colors
call esi
mov dword [0x1018817c], eax
lea eax, [ebp - 0x148]
push eax
push 0x96
push str.Background_Alpha
push str.menu_colors
call esi
mov dword [0x10188180], eax
lea eax, [ebp - 0x148]
push eax
push 0
push str.Footer_Red
push str.menu_colors
call esi
mov dword [0x10188184], eax
lea eax, [ebp - 0x148]
push eax
push 0
push str.Footer_Green
push str.menu_colors
call esi
mov dword [0x10188188], eax
lea eax, [ebp - 0x148]
push eax
push 0
push str.Footer_Blue
push str.menu_colors
call esi
mov dword [0x1018818c], eax
lea eax, [ebp - 0x148]
push eax
push 0xff
push str.Footer_Alpha
push str.menu_colors
call esi
mov dword [0x10188190], eax
mov eax, dword [ebp - 0x18]
cmp eax, 0xf
jbe 0x10041ca0
lea ecx, [eax + 1]
mov eax, edi
cmp ecx, 0x1000
jb 0x10041c96
mov edi, dword [eax - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10041cf8
push ecx
push edi
call fcn.1004cdb5
add esp, 8
mov ecx, dword [ebx + 0x1c]
cmp ecx, 0xf
jbe 0x10041cd0
mov edx, dword [ebx + 8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10041cc6
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10041cf8
push ecx
push edx
call fcn.1004cdb5
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.1004ca58
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.10001440
call fcn.100551f1
call fcn.100551f1
int3