Function at 0x526070
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x62e565
mov eax, dword fs:[0]
push eax
sub esp, 0x178
mov eax, dword [0x6d5db8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x9c], ecx
mov ecx, dword [ebp + 8]
call fcn.00587e90
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.0052b520
add esp, 8
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x9c]
cmp dword [ecx + 0x140], 0
je 0x526184
mov ecx, dword [ebp - 0x9c]
add ecx, 0x44
call fcn.005cc52c
mov ecx, dword [ebp - 0x9c]
add ecx, 0x1c
call fcn.005cc52c
mov ecx, dword [ebp - 0x9c]
add ecx, 0x24
call fcn.005cc52c
mov ecx, dword [ebp - 0x9c]
add ecx, 0x2c
call fcn.005cc52c
mov ecx, dword [ebp - 0x9c]
add ecx, 0x34
call fcn.005cc52c
mov ecx, dword [ebp - 0x9c]
add ecx, 0x80
call fcn.005cc52c
mov ecx, dword [ebp - 0x9c]
add ecx, 0x90
call fcn.005cc52c
mov ecx, dword [ebp - 0x9c]
add ecx, 0x78
call fcn.005cc52c
mov ecx, dword [ebp - 0x9c]
add ecx, 0x88
call fcn.005cc52c
mov edx, dword [ebp - 0x9c]
mov dword [edx + 0x124], 0xcfcfcf
mov eax, dword [ebp - 0x9c]
mov dword [eax + 0x128], 0xcfcfcf
mov ecx, dword [ebp - 0x9c]
mov dword [ecx + 0x140], 0
push ecx
mov ecx, esp
mov dword [ebp - 0x1c], esp
lea edx, [ebp - 0x18]
push edx
call fcn.00401580
mov dword [ebp - 0xa0], eax
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x9c]
call fcn.00526800
mov dword [ebp - 0xa4], eax
cmp dword [ebp - 0xa4], 0
jne 0x5261d5
mov dword [ebp - 0x20], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.00401620
mov eax, dword [ebp - 0x20]
jmp 0x5267ef
mov ecx, dword [ebp + 8]
push ecx
mov ecx, dword [ebp - 0x9c]
call fcn.005271a0
push ecx
mov ecx, esp
mov dword [ebp - 0x24], esp
lea edx, [ebp - 0x18]
push edx
call fcn.00401580
mov dword [ebp - 0xa8], eax
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x9c]
call fcn.00527370
mov dword [ebp - 0xac], eax
cmp dword [ebp - 0xac], 0
jne 0x526235
mov dword [ebp - 0x28], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.00401620
mov eax, dword [ebp - 0x28]
jmp 0x5267ef
mov dword [ebp - 0x10], 0x677564
mov ecx, dword [ebp + 8]
call fcn.00587e90
push eax
push 0
push str.TextShift
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov edx, dword [ebp - 0x9c]
mov dword [edx + 0x110], eax
mov ecx, dword [ebp + 8]
call fcn.00587e90
push eax
push 0
push str.TextShiftVert
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov ecx, dword [ebp - 0x9c]
mov dword [ecx + 0x114], eax
mov dword [ebp - 0x14], 0x67758c
push 9
call dword [sym.imp.USER32.dll_GetSysColor]
push eax
push ecx
mov ecx, esp
mov dword [ebp - 0x2c], esp
mov edx, dword [ebp + 8]
push edx
call fcn.00401580
mov dword [ebp - 0xb0], eax
mov eax, dword [ebp - 0xb0]
mov dword [ebp - 0xb4], eax
mov byte [ebp - 4], 1
push ecx
mov ecx, esp
mov dword [ebp - 0x30], esp
push str.TitleText
call fcn.004015a0
mov dword [ebp - 0xb8], eax
mov ecx, dword [ebp - 0xb8]
mov dword [ebp - 0xbc], ecx
mov byte [ebp - 4], 2
push ecx
mov ecx, esp
mov dword [ebp - 0x34], esp
mov edx, dword [ebp - 0x14]
push edx
call fcn.004015a0
mov dword [ebp - 0xc0], eax
mov byte [ebp - 4], 0
call fcn.00525e70
add esp, 0x10
mov dword [ebp - 0xc4], eax
mov eax, dword [ebp - 0x9c]
mov ecx, dword [ebp - 0xc4]
mov dword [eax + 0x118], ecx
push 9
call dword [sym.imp.USER32.dll_GetSysColor]
push eax
push ecx
mov ecx, esp
mov dword [ebp - 0x38], esp
mov edx, dword [ebp + 8]
push edx
call fcn.00401580
mov dword [ebp - 0xc8], eax
mov eax, dword [ebp - 0xc8]
mov dword [ebp - 0xcc], eax
mov byte [ebp - 4], 3
push ecx
mov ecx, esp
mov dword [ebp - 0x3c], esp
push str.InactiveTitleText
call fcn.004015a0
mov dword [ebp - 0xd0], eax
mov ecx, dword [ebp - 0xd0]
mov dword [ebp - 0xd4], ecx
mov byte [ebp - 4], 4
push ecx
mov ecx, esp
mov dword [ebp - 0x40], esp
mov edx, dword [ebp - 0x14]
push edx
call fcn.004015a0
mov dword [ebp - 0xd8], eax
mov byte [ebp - 4], 0
call fcn.00525e70
add esp, 0x10
mov dword [ebp - 0xdc], eax
mov eax, dword [ebp - 0x9c]
mov ecx, dword [ebp - 0xdc]
mov dword [eax + 0x11c], ecx
mov ecx, dword [ebp + 8]
call fcn.00587e90
push eax
push 0
push str.UsesTran
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov ecx, dword [ebp - 0x9c]
mov dword [ecx + 0x13c], eax
mov edx, dword [ebp - 0x9c]
cmp dword [edx + 0x13c], 0
je 0x52646b
push 0xff00ff
push ecx
mov ecx, esp
mov dword [ebp - 0x44], esp
mov eax, dword [ebp + 8]
push eax
call fcn.00401580
mov dword [ebp - 0xe0], eax
mov ecx, dword [ebp - 0xe0]
mov dword [ebp - 0xe4], ecx
mov byte [ebp - 4], 5
push ecx
mov ecx, esp
mov dword [ebp - 0x48], esp
push str.TransColor
call fcn.004015a0
mov dword [ebp - 0xe8], eax
mov edx, dword [ebp - 0xe8]
mov dword [ebp - 0xec], edx
mov byte [ebp - 4], 6
push ecx
mov ecx, esp
mov dword [ebp - 0x4c], esp
mov eax, dword [ebp - 0x14]
push eax
call fcn.004015a0
mov dword [ebp - 0xf0], eax
mov byte [ebp - 4], 0
call fcn.00525e70
add esp, 0x10
mov dword [ebp - 0xf4], eax
mov ecx, dword [ebp - 0x9c]
mov edx, dword [ebp - 0xf4]
mov dword [ecx + 0x120], edx
push 0xcfcfcf
push ecx
mov ecx, esp
mov dword [ebp - 0x50], esp
mov eax, dword [ebp + 8]
push eax
call fcn.00401580
mov dword [ebp - 0xf8], eax
mov ecx, dword [ebp - 0xf8]
mov dword [ebp - 0xfc], ecx
mov byte [ebp - 4], 7
push ecx
mov ecx, esp
mov dword [ebp - 0x54], esp
push str.BarColor
call fcn.004015a0
mov dword [ebp - 0x100], eax
mov edx, dword [ebp - 0x100]
mov dword [ebp - 0x104], edx
mov byte [ebp - 4], 8
push ecx
mov ecx, esp
mov dword [ebp - 0x58], esp
mov eax, dword [ebp - 0x14]
push eax
call fcn.004015a0
mov dword [ebp - 0x108], eax
mov byte [ebp - 4], 0
call fcn.00525e70
add esp, 0x10
mov dword [ebp - 0x10c], eax
mov ecx, dword [ebp - 0x9c]
mov edx, dword [ebp - 0x10c]
mov dword [ecx + 0x124], edx
push 0xcfcfcf
push ecx
mov ecx, esp
mov dword [ebp - 0x5c], esp
mov eax, dword [ebp + 8]
push eax
call fcn.00401580
mov dword [ebp - 0x110], eax
mov ecx, dword [ebp - 0x110]
mov dword [ebp - 0x114], ecx
mov byte [ebp - 4], 9
push ecx
mov ecx, esp
mov dword [ebp - 0x60], esp
push str.MenuColor
call fcn.004015a0
mov dword [ebp - 0x118], eax
mov edx, dword [ebp - 0x118]
mov dword [ebp - 0x11c], edx
mov byte [ebp - 4], 0xa
push ecx
mov ecx, esp
mov dword [ebp - 0x64], esp
mov eax, dword [ebp - 0x14]
push eax
call fcn.004015a0
mov dword [ebp - 0x120], eax
mov byte [ebp - 4], 0
call fcn.00525e70
add esp, 0x10
mov dword [ebp - 0x124], eax
mov ecx, dword [ebp - 0x9c]
mov edx, dword [ebp - 0x124]
mov dword [ecx + 0x128], edx
push 0xf
call dword [sym.imp.USER32.dll_GetSysColor]
push eax
push ecx
mov ecx, esp
mov dword [ebp - 0x68], esp
mov eax, dword [ebp + 8]
push eax
call fcn.00401580
mov dword [ebp - 0x128], eax
mov ecx, dword [ebp - 0x128]
mov dword [ebp - 0x12c], ecx
mov byte [ebp - 4], 0xb
push ecx
mov ecx, esp
mov dword [ebp - 0x6c], esp
push str.ButtonFace
call fcn.004015a0
mov dword [ebp - 0x130], eax
mov edx, dword [ebp - 0x130]
mov dword [ebp - 0x134], edx
mov byte [ebp - 4], 0xc
push ecx
mov ecx, esp
mov dword [ebp - 0x70], esp
mov eax, dword [ebp - 0x14]
push eax
call fcn.004015a0
mov dword [ebp - 0x138], eax
mov byte [ebp - 4], 0
call fcn.00525e70
add esp, 0x10
mov dword [ebp - 0x13c], eax
mov ecx, dword [ebp - 0x9c]
mov edx, dword [ebp - 0x13c]
mov dword [ecx + 0x12c], edx
push 0x12
call dword [sym.imp.USER32.dll_GetSysColor]
push eax
push ecx
mov ecx, esp
mov dword [ebp - 0x74], esp
mov eax, dword [ebp + 8]
push eax
call fcn.00401580
mov dword [ebp - 0x140], eax
mov ecx, dword [ebp - 0x140]
mov dword [ebp - 0x144], ecx
mov byte [ebp - 4], 0xd
push ecx
mov ecx, esp
mov dword [ebp - 0x78], esp
push str.ButtonText
call fcn.004015a0
mov dword [ebp - 0x148], eax
mov edx, dword [ebp - 0x148]
mov dword [ebp - 0x14c], edx
mov byte [ebp - 4], 0xe
push ecx
mov ecx, esp
mov dword [ebp - 0x7c], esp
mov eax, dword [ebp - 0x14]
push eax
call fcn.004015a0
mov dword [ebp - 0x150], eax
mov byte [ebp - 4], 0
call fcn.00525e70
add esp, 0x10
mov dword [ebp - 0x154], eax
mov ecx, dword [ebp - 0x9c]
mov edx, dword [ebp - 0x154]
mov dword [ecx + 0x130], edx
push 0xf
call dword [sym.imp.USER32.dll_GetSysColor]
push eax
push ecx
mov ecx, esp
mov dword [ebp - 0x80], esp
mov eax, dword [ebp + 8]
push eax
call fcn.00401580
mov dword [ebp - 0x158], eax
mov ecx, dword [ebp - 0x158]
mov dword [ebp - 0x15c], ecx
mov byte [ebp - 4], 0xf
push ecx
mov ecx, esp
mov dword [ebp - 0x84], esp
push str.ButtonHilight
call fcn.004015a0
mov dword [ebp - 0x160], eax
mov edx, dword [ebp - 0x160]
mov dword [ebp - 0x164], edx
mov byte [ebp - 4], 0x10
push ecx
mov ecx, esp
mov dword [ebp - 0x88], esp
mov eax, dword [ebp - 0x14]
push eax
call fcn.004015a0
mov dword [ebp - 0x168], eax
mov byte [ebp - 4], 0
call fcn.00525e70
add esp, 0x10
mov dword [ebp - 0x16c], eax
mov ecx, dword [ebp - 0x9c]
mov edx, dword [ebp - 0x16c]
mov dword [ecx + 0x134], edx
push 0xf
call dword [sym.imp.USER32.dll_GetSysColor]
push eax
push ecx
mov ecx, esp
mov dword [ebp - 0x8c], esp
mov eax, dword [ebp + 8]
push eax
call fcn.00401580
mov dword [ebp - 0x170], eax
mov ecx, dword [ebp - 0x170]
mov dword [ebp - 0x174], ecx
mov byte [ebp - 4], 0x11
push ecx
mov ecx, esp
mov dword [ebp - 0x90], esp
push str.ButtonFocus
call fcn.004015a0
mov dword [ebp - 0x178], eax
mov edx, dword [ebp - 0x178]
mov dword [ebp - 0x17c], edx
mov byte [ebp - 4], 0x12
push ecx
mov ecx, esp
mov dword [ebp - 0x94], esp
mov eax, dword [ebp - 0x14]
push eax
call fcn.004015a0
mov dword [ebp - 0x180], eax
mov byte [ebp - 4], 0
call fcn.00525e70
add esp, 0x10
mov dword [ebp - 0x184], eax
mov ecx, dword [ebp - 0x9c]
mov edx, dword [ebp - 0x184]
mov dword [ecx + 0x138], edx
mov eax, dword [ebp - 0x9c]
mov dword [eax + 0x140], 1
mov dword [ebp - 0x98], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.00401620
mov eax, dword [ebp - 0x98]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 4