Function at 0x40e493
Capabilities:
Read .ini file

Disassembly:
push 0x28c
mov eax, 0x569161
call fcn.0053d399
xor edi, edi
mov esi, ecx
mov ebx, edx
mov dword [ebp - 0x284], edi
mov dword [ebp - 0x278], ebx
cmp dword [esi], edi
jne 0x40e4cc
call fcn.00437f60
push eax
mov ecx, ebx
call fcn.0042a551
mov eax, ebx
jmp 0x40e719
call fcn.00437f60
push eax
lea ecx, [ebp - 0x274]
call fcn.0042a551
xor ebx, ebx
inc ebx
mov dword [ebp - 4], ebx
call fcn.00437f60
push eax
lea ecx, [ebp - 0x280]
call fcn.0042a551
lea eax, [ebp - 0x21c]
push eax
mov byte [ebp - 4], 2
call fcn.00435508
mov dword [esp], str.Event_Manager_
push 0x59a6b4
lea eax, [ebp - 0x21c]
push eax
lea eax, [ebp - 0x274]
push 0x59a6c0
push eax
call fcn.0040a7ee
add esp, 0x14
push 0x59a6d0
lea eax, [ebp - 0x274]
push eax
lea eax, [ebp - 0x27c]
push eax
call fcn.00401943
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 0x40e58d
cmp eax, 0x46
jge 0x40e596
cmp dword [ebp - 0x270], 3
jl 0x40e5fb
call fcn.00437f60
push eax
lea ecx, [ebp - 0x270]
call fcn.0042a551
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.0040242c
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.0040242c
pop ecx
push dword [ebp - 0x278]
add eax, 0x10
push esi
mov dword [ebx], eax
call fcn.0040dd4a
mov ecx, edi
call fcn.00402728
jmp 0x40e6db
mov ecx, dword [esi + 4]
mov eax, dword [ecx]
call dword [eax + 0x20]
mov edi, 0x5990a0
push edi
lea ecx, [eax + 8]
call fcn.00402332
call fcn.00437f60
push eax
lea ecx, [ebp - 0x270]
call fcn.0042a551
lea eax, [ebp - 0x294]
push eax
mov byte [ebp - 4], 6
call fcn.00432f97
lea eax, [ebp - 0x270]
mov byte [ebp - 4], 7
mov edx, dword [esi]
push eax
lea ecx, [ebp - 0x294]
call fcn.00433107
push 0x2f
mov esi, str...COMMONApplicationRunner.cpp
push esi
call fcn.00538be0
pop ecx
pop ecx
test eax, eax
je 0x40e661
push 0x2f
jmp 0x40e671
push 0x5c
push esi
call fcn.00538be0
pop ecx
pop ecx
test eax, eax
je 0x40e67c
push 0x5c
push esi
call fcn.00538be0
pop ecx
pop ecx
inc eax
jmp 0x40e67e
mov eax, esi
push ebx
push 0x145
push eax
lea esi, [ebp - 0x26c]
call fcn.00404b6f
push str.Scan_and_Save___Fallback____scanning__
push 0
mov ecx, eax
mov byte [ebp - 4], 8
call fcn.00404c4d
mov esi, eax
call fcn.0040cc0a
pop ecx
lea ecx, [ebp - 0x26c]
mov byte [ebp - 4], 7
call fcn.00404bdb
mov ecx, dword [ebp - 0x278]
push edi
call fcn.00402358
lea eax, [ebp - 0x294]
push eax
mov dword [ebp - 0x284], ebx
mov byte [ebp - 4], 6
call fcn.00433032
mov ecx, dword [ebp - 0x270]
add ecx, 0xfffffff0
call fcn.00402728
mov ecx, dword [ebp - 0x27c]
add ecx, 0xfffffff0
call fcn.00402728
mov ecx, dword [ebp - 0x280]
add ecx, 0xfffffff0
call fcn.00402728
mov ecx, dword [ebp - 0x274]
add ecx, 0xfffffff0
call fcn.00402728
mov eax, dword [ebp - 0x278]
call fcn.0053d41c
ret