Function at 0x45ace0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49e2ab
mov eax, dword fs:[0]
push eax
sub esp, 0x1a4
mov eax, dword [0x4e2e58]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0xe8], ecx
lea ecx, [ebp - 0xb4]
call dword [sym.imp.mfc120.dll_Ordinal_316]
mov dword [ebp - 4], 0
lea ecx, [ebp - 0xb0]
call fcn.00413530
lea eax, [ebp - 0xb4]
push eax
call dword [sym.imp.EleSet.dll_void___cdecl_GetINIFileName_class_ATL::CStringT_char__class_StrTraitMFC_DLL_char__class_ATL::ChTraitsCRT_char_____]
add esp, 4
lea ecx, [ebp - 0xb4]
call dword [sym.imp.mfc120.dll_Ordinal_1656]
push eax
push 0x3e8
push str.DELAY
push 0x4aeaa4
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov dword [ebp - 0xd0], eax
lea ecx, [ebp - 0xb4]
call dword [sym.imp.mfc120.dll_Ordinal_1656]
push eax
push 0
push str.DIALOGSHOW
push 0x4aeac0
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov dword [ebp - 0xb8], eax
cmp dword [ebp - 0xb8], 1
jne 0x45adbd
mov dword [ebp - 0xd8], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xb4]
call dword [sym.imp.mfc120.dll_Ordinal_1041]
mov eax, dword [ebp - 0xd8]
jmp 0x45b09f
lea ecx, [ebp - 0xb4]
call dword [sym.imp.mfc120.dll_Ordinal_1656]
push eax
push 0x80
lea ecx, [ebp - 0xa0]
push ecx
push 0x4ae90a
push str.NAME
push 0x4aeae0
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea ecx, [ebp - 0xb4]
call dword [sym.imp.mfc120.dll_Ordinal_1656]
push eax
push 0
push str.DIALOG
push str.FACE
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov dword [ebp - 0xb8], eax
cmp dword [ebp - 0xb8], 0
jne 0x45ae88
push 0
lea ecx, [ebp - 0x1b0]
call fcn.00432ba0
cmp dword [ebp - 0xb8], 0
jne 0x45ae3b
mov dword [ebp - 0x10c], 0
jmp 0x45ae45
mov dword [ebp - 0x10c], 1
push 0xf
push 0
lea edx, [ebp - 0x20]
push edx
call sub.MSVCR120.dll_memset
add esp, 0xc
mov dword [ebp - 0xd4], 1
lea ecx, [ebp - 0x1b0]
call fcn.00413600
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xb4]
call dword [sym.imp.mfc120.dll_Ordinal_1041]
mov eax, dword [ebp - 0xd4]
jmp 0x45b09f
mov dword [ebp - 0xb0], 0
push 0
call dword [sym.imp.USER32.dll_GetSystemMetrics]
mov dword [ebp - 0xa8], eax
mov eax, dword [ebp - 0xa8]
mov dword [ebp - 0xc8], eax
mov dword [ebp - 0xac], 0
push 1
call dword [sym.imp.USER32.dll_GetSystemMetrics]
mov dword [ebp - 0xa4], eax
mov ecx, dword [ebp - 0xa4]
mov dword [ebp - 0xc0], ecx
mov eax, dword [ebp - 0xc8]
cdq
sub eax, edx
sar eax, 1
sub eax, 0xc8
mov dword [ebp - 0xb0], eax
mov eax, dword [ebp - 0xc8]
cdq
sub eax, edx
sar eax, 1
add eax, 0xc8
mov dword [ebp - 0xa8], eax
mov eax, dword [ebp - 0xc0]
cdq
sub eax, edx
sar eax, 1
sub eax, 0x96
mov dword [ebp - 0xac], eax
mov eax, dword [ebp - 0xc0]
cdq
sub eax, edx
sar eax, 1
add eax, 0x96
mov dword [ebp - 0xa4], eax
lea edx, [ebp - 0xa0]
push edx
lea ecx, [ebp - 0xb4]
call dword [sym.imp.mfc120.dll_Ordinal_1524]
lea ecx, [ebp - 0xfc]
call sub.mfc120.dll_Ordinal_500
mov byte [ebp - 4], 1
push 0
push 0
lea ecx, [ebp - 0xb4]
call dword [sym.imp.mfc120.dll_Ordinal_1656]
push eax
lea ecx, [ebp - 0xfc]
call sub.mfc120.dll_Ordinal_11782
test eax, eax
je 0x45b049
push 0x84
call fcn.00413830
mov dword [ebp - 0xc4], eax
mov byte [ebp - 4], 2
cmp dword [ebp - 0xc4], 0
je 0x45afac
mov eax, dword [ebp - 0xd0]
push eax
lea ecx, [ebp - 0xfc]
push ecx
mov ecx, dword [ebp - 0xc4]
call fcn.004460b0
mov dword [ebp - 0xcc], eax
jmp 0x45afb6
mov dword [ebp - 0xcc], 0
mov edx, dword [ebp - 0xcc]
mov dword [ebp - 0xe4], edx
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0xe4]
mov dword [ebp - 0xbc], eax
push 0
push 0xde
mov ecx, dword [ebp - 0xe8]
push ecx
lea edx, [ebp - 0xb0]
push edx
push 0x90400000
push 0x4aeaf8
push 0
mov eax, dword [ebp - 0xbc]
mov edx, dword [eax]
mov ecx, dword [ebp - 0xbc]
mov eax, dword [edx + 0x5c]
call eax
push 1
mov ecx, dword [ebp - 0xbc]
call sub.mfc120.dll_Ordinal_14009
mov dword [ebp - 0xdc], 1
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xfc]
call sub.mfc120.dll_Ordinal_1137
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xb4]
call dword [sym.imp.mfc120.dll_Ordinal_1041]
mov eax, dword [ebp - 0xdc]
jmp 0x45b09f
mov dword [ebp - 0xe0], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xfc]
call sub.mfc120.dll_Ordinal_1137
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xb4]
call dword [sym.imp.mfc120.dll_Ordinal_1041]
mov eax, dword [ebp - 0xe0]
jmp 0x45b09f
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00499036
mov esp, ebp
pop ebp
ret