Function at 0x405d50
Capabilities:
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x43b998
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x420
push esi
mov esi, ecx
push str._access_config.ini
lea ecx, [esp + 8]
lea eax, [esi + 0x88]
push eax
push ecx
call fcn.00431c7c
lea edx, [esi + 0x8c]
lea ecx, [esp + 0x20]
push edx
mov dword [esp + 0x430], 0
call fcn.0043175c
mov eax, dword [0x44ed90]
mov dword [esp + 0x14], eax
mov dword [esp + 0xc], eax
mov dword [esp + 8], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x10], eax
mov dword [esp + 0x18], eax
mov al, byte [esi + 0x129]
mov byte [esp + 0x42c], 7
test al, al
jne 0x405ec9
mov eax, dword [esi + 0x158]
push 0
push 0
push 0x147
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
cmp eax, 1
jne 0x405e50
mov ecx, dword [esp + 4]
lea edx, [esp + 0x24]
push ecx
push 0x400
push edx
push 0x452ac0
push str.WHITE_BACKGROUND
push str.OTHER
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea eax, [esp + 0x24]
lea ecx, [esp + 0x14]
push eax
call fcn.00431b70
lea ecx, [esp + 0x24]
push ecx
lea ecx, [esp + 0x10]
call fcn.00431b70
lea edx, [esp + 0x24]
lea ecx, [esp + 8]
push edx
call fcn.00431b70
lea eax, [esp + 0x24]
lea ecx, [esp + 0x1c]
push eax
call fcn.00431b70
lea ecx, [esp + 0x24]
push ecx
jmp 0x405eb6
cmp eax, 2
jne 0x405ec9
mov edx, dword [esp + 4]
lea eax, [esp + 0x24]
push edx
push 0x400
push eax
push 0x452ac0
push str.BLACK_BACKGROUND
push str.OTHER
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea ecx, [esp + 0x24]
push ecx
lea ecx, [esp + 0x18]
call fcn.00431b70
lea edx, [esp + 0x24]
lea ecx, [esp + 0xc]
push edx
call fcn.00431b70
lea eax, [esp + 0x24]
lea ecx, [esp + 8]
push eax
call fcn.00431b70
lea ecx, [esp + 0x24]
push ecx
lea ecx, [esp + 0x20]
call fcn.00431b70
lea edx, [esp + 0x24]
push edx
lea ecx, [esp + 0x14]
call fcn.00431b70
push str.false
jmp 0x405fba
mov eax, dword [esp + 4]
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push eax
lea ecx, [esp + 0x28]
push 0x400
push ecx
push 0x452ac0
push str.TAB1_DEFAULT
push str.OEM_Defaults
call esi
lea edx, [esp + 0x24]
lea ecx, [esp + 0x14]
push edx
call fcn.00431b70
mov eax, dword [esp + 4]
lea ecx, [esp + 0x24]
push eax
push 0x400
push ecx
push 0x452ac0
push str.TAB2_DEFAULT
push str.OEM_Defaults
call esi
lea edx, [esp + 0x24]
lea ecx, [esp + 0xc]
push edx
call fcn.00431b70
mov eax, dword [esp + 4]
lea ecx, [esp + 0x24]
push eax
push 0x400
push ecx
push 0x452ac0
push str.TAB3_DEFAULT
push str.OEM_Defaults
call esi
lea edx, [esp + 0x24]
lea ecx, [esp + 8]
push edx
call fcn.00431b70
mov eax, dword [esp + 4]
lea ecx, [esp + 0x24]
push eax
push 0x400
push ecx
push 0x452ac0
push str.TAB4_DEFAULT
push str.OEM_Defaults
call esi
lea edx, [esp + 0x24]
lea ecx, [esp + 0x1c]
push edx
call fcn.00431b70
mov eax, dword [esp + 4]
lea ecx, [esp + 0x24]
push eax
push 0x400
push ecx
push 0x452ac0
push str.TAB5_DEFAULT
push str.OEM_Defaults
call esi
lea edx, [esp + 0x24]
lea ecx, [esp + 0x10]
push edx
call fcn.00431b70
push str.true
lea ecx, [esp + 0x1c]
call fcn.00431b70
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x14]
mov esi, dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
push eax
push ecx
push str.MENU1_BACKGROUND
push str.OTHER
call esi
mov edx, dword [esp + 4]
mov eax, dword [esp + 0xc]
push edx
push eax
push str.MENU2_BACKGROUND
push str.OTHER
call esi
mov ecx, dword [esp + 4]
mov edx, dword [esp + 8]
push ecx
push edx
push str.MENU3_BACKGROUND
push str.OTHER
call esi
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x1c]
push eax
push ecx
push str.MENU4_BACKGROUND
push str.OTHER
call esi
mov edx, dword [esp + 4]
mov eax, dword [esp + 0x10]
push edx
push eax
push str.MENU5_BACKGROUND1
push str.OTHER
call esi
mov ecx, dword [esp + 4]
mov edx, dword [esp + 0x18]
push ecx
push edx
push str.MENU5_CYCLE_ON
push str.OTHER
call esi
lea ecx, [esp + 0x18]
mov byte [esp + 0x42c], 6
call fcn.004319e7
lea ecx, [esp + 0x10]
mov byte [esp + 0x42c], 5
call fcn.004319e7
lea ecx, [esp + 0x1c]
mov byte [esp + 0x42c], 4
call fcn.004319e7
lea ecx, [esp + 8]
mov byte [esp + 0x42c], 3
call fcn.004319e7
lea ecx, [esp + 0xc]
mov byte [esp + 0x42c], 2
call fcn.004319e7
lea ecx, [esp + 0x14]
mov byte [esp + 0x42c], 1
call fcn.004319e7
lea ecx, [esp + 0x20]
mov byte [esp + 0x42c], 0
call fcn.004319e7
lea ecx, [esp + 4]
mov dword [esp + 0x42c], 0xffffffff
call fcn.004319e7
mov ecx, dword [esp + 0x424]
pop esi
mov dword fs:[0], ecx
add esp, 0x42c
ret