Function at 0x40db70
Capabilities:
Read .ini file

Disassembly:
push 0x494
mov eax, 0x568e54
call fcn.0053cea9
xor edi, edi
mov esi, ecx
mov ebx, edx
mov dword [ebp - 0x4a0], edi
mov dword [ebp - 0x484], ebx
cmp dword [esi], edi
jne 0x40dba9
call fcn.00437a9e
push eax
mov ecx, ebx
call fcn.00402723
mov eax, ebx
jmp 0x40deea
call fcn.00437a9e
push eax
lea ecx, [ebp - 0x490]
call fcn.00402723
mov dword [ebp - 4], 1
call fcn.00437a9e
push eax
lea ecx, [ebp - 0x488]
call fcn.00402723
lea eax, [ebp - 0x218]
push eax
mov byte [ebp - 4], 2
call fcn.00435129
mov dword [esp], str.Event_Manager_
push 0x59a44c
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x488]
push 0x59a458
push eax
call fcn.0040a0e9
add esp, 0x14
push 0x59a468
lea eax, [ebp - 0x488]
push eax
lea eax, [ebp - 0x480]
push eax
call fcn.0040193e
add esp, 0xc
mov byte [ebp - 4], 3
push dword [ebp - 0x480]
mov eax, dword [esi]
mov eax, dword [eax + 4]
mov ebx, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
push edi
push str.MajorNum
push eax
call ebx
push dword [ebp - 0x480]
mov dword [ebp - 0x474], eax
mov eax, dword [esi]
mov eax, dword [eax + 4]
push edi
push str.MinorNum
push eax
call ebx
cmp dword [ebp - 0x474], 2
jne 0x40dc6a
cmp eax, 0x46
jge 0x40dc73
cmp dword [ebp - 0x474], 3
jl 0x40dcc2
call fcn.00437a9e
push eax
lea ecx, [ebp - 0x478]
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]
push ecx
sub eax, 0x10
mov dword [ebp - 0x48c], esp
mov edi, esp
push eax
call fcn.00402431
pop ecx
push dword [ebp - 0x484]
add eax, 0x10
push esi
mov dword [edi], eax
call fcn.0040d7ec
mov ecx, dword [ebp - 0x478]
jmp 0x40deb2
call fcn.00437a9e
push eax
lea ecx, [ebp - 0x474]
call fcn.00402723
mov byte [ebp - 4], 5
call fcn.00437a9e
push eax
lea ecx, [ebp - 0x478]
call fcn.00402723
lea eax, [ebp - 0x420]
push eax
mov byte [ebp - 4], 6
call fcn.00435102
pop ecx
call fcn.00437a9e
push eax
lea ecx, [ebp - 0x494]
call fcn.00402723
push str.Resources
lea eax, [ebp - 0x420]
push eax
lea eax, [ebp - 0x494]
push 0x59a28c
push eax
mov byte [ebp - 4], 7
call fcn.0040a0e9
mov dword [ebp - method.CLcMgrStub.virtual_0], vtable.CLcMgrStub.0
mov dword [ebp - 0x498], edi
add esp, 0xc
mov byte [ebp - 4], 8
mov ecx, esp
mov dword [ebp - 0x47c], esp
push str.string
call fcn.0040235d
mov byte [ebp - 4], 9
mov eax, dword [ebp - 0x494]
push ecx
add eax, 0xfffffff0
mov dword [ebp - 0x48c], esp
mov esi, esp
push eax
mov dword [ebp - 0x48c], eax
call fcn.00402431
add eax, 0x10
mov dword [esi], eax
pop ecx
lea esi, [ebp - 0x49c]
mov byte [ebp - 4], 8
call fcn.00416e97
push str.MSG.LowVersionDriver.Error
lea ebx, [ebp - 0x47c]
call fcn.00416eec
push eax
lea ecx, [ebp - 0x474]
mov byte [ebp - 4], 0xa
call fcn.0040248f
mov byte [ebp - 4], 8
mov ecx, dword [ebp - 0x47c]
add ecx, 0xfffffff0
call fcn.0040274b
push str.MSG.WindowsTitle
lea ebx, [ebp - 0x47c]
call fcn.00416eec
push eax
lea ecx, [ebp - 0x478]
mov byte [ebp - 4], 0xb
call fcn.0040248f
mov byte [ebp - 4], 8
mov ecx, dword [ebp - 0x47c]
add ecx, 0xfffffff0
call fcn.0040274b
mov ebx, dword [ebp - 0x478]
push 0x30
push ebx
push dword [ebp - 0x474]
push edi
call dword [sym.imp.USER32.dll_MessageBoxW]
push 0x2f
mov esi, str...COMMONApplicationRunner.cpp
push esi
call fcn.00539190
pop ecx
pop ecx
test eax, eax
je 0x40de1c
push 0x2f
jmp 0x40de2c
push 0x5c
push esi
call fcn.00539190
pop ecx
pop ecx
test eax, eax
je 0x40de37
push 0x5c
push esi
call fcn.00539190
pop ecx
pop ecx
inc eax
jmp 0x40de39
mov eax, esi
push 1
push 0x119
push eax
lea esi, [ebp - 0x470]
call fcn.00404558
push str.ScanToPDF____Lower_version
push edi
mov ecx, eax
mov byte [ebp - 4], 0xc
call fcn.00404636
mov edi, eax
call fcn.0040c58b
pop ecx
mov ecx, esi
mov byte [ebp - 4], 8
call fcn.004045c4
mov ecx, dword [ebp - 0x484]
push 0x598e70
call fcn.0040235d
lea ecx, [ebp - 0x49c]
mov dword [ebp - 0x4a0], 1
mov byte [ebp - 4], 7
call fcn.00416e86
mov ecx, dword [ebp - 0x48c]
call fcn.0040274b
lea ecx, [ebx - 0x10]
call fcn.0040274b
mov ecx, dword [ebp - 0x474]
add ecx, 0xfffffff0
call fcn.0040274b
mov ecx, dword [ebp - 0x480]
add ecx, 0xfffffff0
call fcn.0040274b
mov ecx, dword [ebp - 0x488]
add ecx, 0xfffffff0
call fcn.0040274b
mov ecx, dword [ebp - 0x490]
add ecx, 0xfffffff0
call fcn.0040274b
mov eax, dword [ebp - 0x484]
call fcn.0053cf2c
ret