Function at 0x40e5ce
Capabilities:
Read .ini file

Disassembly:
push 0x28c
mov eax, 0x56996f
call fcn.0053da79
xor ebx, ebx
mov esi, ecx
mov edi, edx
mov dword [ebp - 0x284], ebx
mov dword [ebp - 0x278], edi
cmp dword [esi], ebx
jne 0x40e607
call fcn.00438647
push eax
mov ecx, edi
call fcn.0042a80d
mov eax, edi
jmp 0x40e855
call fcn.00438647
push eax
lea ecx, [ebp - 0x274]
call fcn.0042a80d
mov dword [ebp - 4], 1
call fcn.00438647
push eax
lea ecx, [ebp - 0x280]
call fcn.0042a80d
lea eax, [ebp - 0x21c]
push eax
mov byte [ebp - 4], 2
call fcn.00435bef
mov dword [esp], str.Event_Manager_
push 0x59a67c
lea eax, [ebp - 0x21c]
push eax
lea eax, [ebp - 0x274]
push 0x59a688
push eax
call fcn.0040a7c3
add esp, 0x14
push 0x59a698
lea eax, [ebp - 0x274]
push eax
lea eax, [ebp - 0x27c]
push eax
call fcn.0040193e
add esp, 0xc
mov byte [ebp - 4], 3
push dword [ebp - 0x27c]
mov eax, dword [esi]
mov eax, dword [eax + 4]
mov edi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
push ebx
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 ebx
push str.MinorNum
push eax
call edi
cmp dword [ebp - 0x270], 2
jne 0x40e6c8
cmp eax, 0x46
jge 0x40e6d1
cmp dword [ebp - 0x270], 3
jl 0x40e736
call fcn.00438647
push eax
lea ecx, [ebp - 0x270]
call fcn.0042a80d
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.00402431
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.00402431
pop ecx
push dword [ebp - 0x278]
add eax, 0x10
push esi
mov dword [ebx], eax
call fcn.0040de46
mov ecx, edi
call fcn.00402722
jmp 0x40e817
mov ecx, dword [esi + 4]
mov eax, dword [ecx]
call dword [eax + 0x20]
mov ebx, 0x5990a0
push ebx
lea ecx, [eax + 8]
call fcn.00402337
call fcn.00438647
push eax
lea ecx, [ebp - 0x270]
call fcn.0042a80d
lea eax, [ebp - 0x294]
push eax
mov byte [ebp - 4], 6
call fcn.00433678
lea eax, [ebp - 0x270]
push eax
mov byte [ebp - 4], 7
push dword [esi]
lea ecx, [ebp - 0x294]
call fcn.004337e8
push 0x2f
mov esi, str...COMMONApplicationRunner.cpp
push esi
call fcn.005392c0
pop ecx
pop ecx
test eax, eax
je 0x40e79c
push 0x2f
jmp 0x40e7ac
push 0x5c
push esi
call fcn.005392c0
pop ecx
pop ecx
test eax, eax
je 0x40e7b7
push 0x5c
push esi
call fcn.005392c0
pop ecx
pop ecx
inc eax
jmp 0x40e7b9
mov eax, esi
push 1
push 0x145
push eax
lea esi, [ebp - 0x26c]
call fcn.00404b01
push str.Scan_and_Save___Fallback____scanning__
push 0
mov ecx, eax
mov byte [ebp - 4], 8
call fcn.00404bdf
mov edi, eax
call fcn.0040cbe5
pop ecx
mov ecx, esi
mov byte [ebp - 4], 7
call fcn.00404b6d
mov ecx, dword [ebp - 0x278]
push ebx
call fcn.0040235d
lea eax, [ebp - 0x294]
push eax
mov dword [ebp - 0x284], 1
mov byte [ebp - 4], 6
call fcn.00433713
mov ecx, dword [ebp - 0x270]
add ecx, 0xfffffff0
call fcn.00402722
mov ecx, dword [ebp - 0x27c]
add ecx, 0xfffffff0
call fcn.00402722
mov ecx, dword [ebp - 0x280]
add ecx, 0xfffffff0
call fcn.00402722
mov ecx, dword [ebp - 0x274]
add ecx, 0xfffffff0
call fcn.00402722
mov eax, dword [ebp - 0x278]
call fcn.0053dafc
ret