Function at 0x40e7af
Capabilities:
Read .ini file

Disassembly:
push 0x28c
mov eax, 0x56951e
call fcn.0053d749
xor edi, edi
mov esi, ecx
mov ebx, edx
mov dword [ebp - 0x284], edi
mov dword [ebp - 0x278], ebx
cmp dword [esi], edi
jne 0x40e7e8
call fcn.00438329
push eax
mov ecx, ebx
call fcn.00402a28
mov eax, ebx
jmp 0x40ea35
call fcn.00438329
push eax
lea ecx, [ebp - 0x274]
call fcn.00402a28
xor ebx, ebx
inc ebx
mov dword [ebp - 4], ebx
call fcn.00438329
push eax
lea ecx, [ebp - 0x280]
call fcn.00402a28
lea eax, [ebp - 0x21c]
push eax
mov byte [ebp - 4], 2
call fcn.004358cf
mov dword [esp], str.Event_Manager_
push 0x59a77c
lea eax, [ebp - 0x21c]
push eax
lea eax, [ebp - 0x274]
push 0x59a788
push eax
call fcn.0040ab0a
add esp, 0x14
push 0x59a798
lea eax, [ebp - 0x274]
push eax
lea eax, [ebp - 0x27c]
push eax
call fcn.00401c58
add esp, 0xc
mov byte [ebp - 4], 3
push dword [ebp - 0x27c]
mov eax, dword [esi]
mov eax, dword [eax + 4]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
push str.MajorNum
push eax
call edi
push dword [ebp - 0x27c]
mov dword [ebp - 0x270], eax
mov eax, dword [esi]
mov eax, dword [eax + 4]
push 0
push str.MinorNum
push eax
call edi
cmp dword [ebp - 0x270], 2
jne 0x40e8a9
cmp eax, 0x46
jge 0x40e8b2
cmp dword [ebp - 0x270], 3
jl 0x40e917
call fcn.00438329
push eax
lea ecx, [ebp - 0x270]
call fcn.00402a28
mov byte [ebp - 4], 4
mov ecx, dword [esi + 4]
mov eax, dword [ecx]
call dword [eax + 0x20]
mov eax, dword [eax + 0x14]
sub eax, 0x10
push eax
call fcn.00402741
add eax, 0x10
mov dword [ebp - 0x288], eax
lea edi, [eax - 0x10]
mov dword [ebp - 0x298], esp
mov ebx, esp
push edi
mov byte [ebp - 4], 5
call fcn.00402741
pop ecx
push dword [ebp - 0x278]
add eax, 0x10
push esi
mov dword [ebx], eax
call fcn.0040e066
mov ecx, edi
call fcn.00402a50
jmp 0x40e9f7
mov ecx, dword [esi + 4]
mov eax, dword [ecx]
call dword [eax + 0x20]
mov edi, 0x599168
push edi
lea ecx, [eax + 8]
call fcn.00402647
call fcn.00438329
push eax
lea ecx, [ebp - 0x270]
call fcn.00402a28
lea eax, [ebp - 0x294]
push eax
mov byte [ebp - 4], 6
call fcn.0043335e
lea eax, [ebp - 0x270]
mov byte [ebp - 4], 7
mov edx, dword [esi]
push eax
lea ecx, [ebp - 0x294]
call fcn.004334ce
push 0x2f
mov esi, str...COMMONApplicationRunner.cpp
push esi
call fcn.00538fb0
pop ecx
pop ecx
test eax, eax
je 0x40e97d
push 0x2f
jmp 0x40e98d
push 0x5c
push esi
call fcn.00538fb0
pop ecx
pop ecx
test eax, eax
je 0x40e998
push 0x5c
push esi
call fcn.00538fb0
pop ecx
pop ecx
inc eax
jmp 0x40e99a
mov eax, esi
push ebx
push 0x145
push eax
lea esi, [ebp - 0x26c]
call fcn.00404e75
push str.Scan_and_Save___Fallback____scanning__
push 0
mov ecx, eax
mov byte [ebp - 4], 8
call fcn.00404f53
mov esi, eax
call fcn.0040cf26
pop ecx
lea ecx, [ebp - 0x26c]
mov byte [ebp - 4], 7
call fcn.00404ee1
mov ecx, dword [ebp - 0x278]
push edi
call fcn.0040266d
lea eax, [ebp - 0x294]
push eax
mov dword [ebp - 0x284], ebx
mov byte [ebp - 4], 6
call fcn.004333f9
mov ecx, dword [ebp - 0x270]
add ecx, 0xfffffff0
call fcn.00402a50
mov ecx, dword [ebp - 0x27c]
add ecx, 0xfffffff0
call fcn.00402a50
mov ecx, dword [ebp - 0x280]
add ecx, 0xfffffff0
call fcn.00402a50
mov ecx, dword [ebp - 0x274]
add ecx, 0xfffffff0
call fcn.00402a50
mov eax, dword [ebp - 0x278]
call fcn.0053d7cc
ret