Function at 0x40df74
Capabilities:
Read .ini file

Disassembly:
push 0x28c
mov eax, 0x568d86
call fcn.0053cea9
xor ebx, ebx
mov esi, ecx
mov edi, edx
mov dword [ebp - 0x284], ebx
mov dword [ebp - 0x278], edi
cmp dword [esi], ebx
jne 0x40dfad
call fcn.00437a9e
push eax
mov ecx, edi
call fcn.00402723
mov eax, edi
jmp 0x40e1fb
call fcn.00437a9e
push eax
lea ecx, [ebp - 0x274]
call fcn.00402723
mov dword [ebp - 4], 1
call fcn.00437a9e
push eax
lea ecx, [ebp - 0x280]
call fcn.00402723
lea eax, [ebp - 0x21c]
push eax
mov byte [ebp - 4], 2
call fcn.00435129
mov dword [esp], str.Event_Manager_
push 0x59a44c
lea eax, [ebp - 0x21c]
push eax
lea eax, [ebp - 0x274]
push 0x59a458
push eax
call fcn.0040a0e9
add esp, 0x14
push 0x59a468
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 0x40e06e
cmp eax, 0x46
jge 0x40e077
cmp dword [ebp - 0x270], 3
jl 0x40e0dc
call fcn.00437a9e
push eax
lea ecx, [ebp - 0x270]
call fcn.00402723
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.0040d7ec
mov ecx, edi
call fcn.0040274b
jmp 0x40e1bd
mov ecx, dword [esi + 4]
mov eax, dword [ecx]
call dword [eax + 0x20]
mov ebx, 0x598e70
push ebx
lea ecx, [eax + 8]
call fcn.00402337
call fcn.00437a9e
push eax
lea ecx, [ebp - 0x270]
call fcn.00402723
lea eax, [ebp - 0x294]
push eax
mov byte [ebp - 4], 6
call fcn.00432bb2
lea eax, [ebp - 0x270]
push eax
mov byte [ebp - 4], 7
push dword [esi]
lea ecx, [ebp - 0x294]
call fcn.00432d22
push 0x2f
mov esi, str...COMMONApplicationRunner.cpp
push esi
call fcn.00539190
pop ecx
pop ecx
test eax, eax
je 0x40e142
push 0x2f
jmp 0x40e152
push 0x5c
push esi
call fcn.00539190
pop ecx
pop ecx
test eax, eax
je 0x40e15d
push 0x5c
push esi
call fcn.00539190
pop ecx
pop ecx
inc eax
jmp 0x40e15f
mov eax, esi
push 1
push 0x145
push eax
lea esi, [ebp - 0x26c]
call fcn.00404558
push str.Scan_and_Save___Fallback____scanning__
push 0
mov ecx, eax
mov byte [ebp - 4], 8
call fcn.00404636
mov edi, eax
call fcn.0040c58b
pop ecx
mov ecx, esi
mov byte [ebp - 4], 7
call fcn.004045c4
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.00432c4d
mov ecx, dword [ebp - 0x270]
add ecx, 0xfffffff0
call fcn.0040274b
mov ecx, dword [ebp - 0x27c]
add ecx, 0xfffffff0
call fcn.0040274b
mov ecx, dword [ebp - 0x280]
add ecx, 0xfffffff0
call fcn.0040274b
mov ecx, dword [ebp - 0x274]
add ecx, 0xfffffff0
call fcn.0040274b
mov eax, dword [ebp - 0x278]
call fcn.0053cf2c
ret