Function at 0x4135a0
Capabilities:
Check if file exists
Read .ini file

Disassembly:
push 0x89c
mov eax, 0x592e92
call fcn.005663f8
mov esi, ecx
mov ebx, 0x208
lea eax, [ebp - 0x420]
push ebx
xor edi, edi
push edi
push eax
call fcn.0056c410
push ebx
lea eax, [ebp - 0x218]
push edi
push eax
call fcn.0056c410
add esp, 0x18
lea ecx, [ebp - 0x860]
mov ebx, 0x612278
push ebx
call fcn.00401650
push ebx
lea ecx, [ebp - 0x8a8]
mov dword [ebp - 4], edi
call fcn.00401650
push ebx
lea ecx, [ebp - 0x890]
mov byte [ebp - 4], 1
call fcn.00401650
push ebx
lea ecx, [ebp - 0x878]
mov byte [ebp - 4], 2
call fcn.00401650
push edi
push 0x2b
lea eax, [ebp - 0x420]
mov byte [ebp - 4], 3
push eax
push edi
call fcn.0041d64b
mov ebx, 0x613124
lea eax, [ebp - 0x420]
push ebx
push eax
call fcn.00577ffb
mov edi, 0x613198
lea eax, [ebp - 0x420]
push edi
push eax
call fcn.00577ffb
lea eax, [ebp - 0x420]
push ebx
push eax
call fcn.00577ffb
lea eax, [ebp - 0x420]
push edi
push eax
call fcn.00577ffb
lea eax, [ebp - 0x420]
push str..ini
push eax
call fcn.00577ffb
mov ebx, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [ebp - 0x420]
add esp, 0x38
push eax
push 0x104
lea eax, [ebp - 0x218]
push eax
push 0x612278
push str.CfgPath
push str.BKCfg
call ebx
lea eax, [ebp - 0x218]
push eax
call fcn.0057808e
mov edi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
pop ecx
test eax, eax
jle 0x413716
lea eax, [ebp - 0x218]
push eax
call edi
test eax, eax
je 0x413716
lea eax, [ebp - 0x218]
push eax
call fcn.0057808e
pop ecx
push eax
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x860]
call fcn.00401730
lea eax, [ebp - 0x218]
push eax
call fcn.0057808e
pop ecx
push eax
lea eax, [ebp - 0x218]
push eax
lea ecx, [esi + 0x2c]
call fcn.00401730
cmp byte [esi + 8], 0
mov byte [esi + 6], 1
je 0x4139a1
push 0x208
lea eax, [ebp - 0x830]
push 0
push eax
call fcn.0056c410
lea eax, [esi + 0x5c]
add esp, 0xc
cmp dword [eax + 0x14], 8
jb 0x413737
mov eax, dword [eax]
push eax
lea eax, [ebp - 0x830]
push eax
call fcn.0057806c
push 0x208
lea eax, [ebp - 0x628]
push 0
push eax
call fcn.0056c410
push str.BKPDFReader.ini
lea eax, [ebp - 0x830]
push eax
lea eax, [ebp - 0x628]
push 0x597804
push eax
call fcn.004078e0
add esp, 0x24
lea eax, [ebp - 0x628]
push eax
push 0x104
lea eax, [ebp - 0x218]
push eax
push 0x612278
push str.CfgPath
push str.BKApp
call ebx
lea eax, [ebp - 0x218]
push eax
call fcn.0057808e
pop ecx
test eax, eax
jle 0x413804
lea eax, [ebp - 0x218]
push eax
call edi
test eax, eax
je 0x413804
lea eax, [ebp - 0x218]
push eax
call fcn.0057808e
pop ecx
push eax
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x8a8]
call fcn.00401730
lea eax, [ebp - 0x218]
push eax
call fcn.0057808e
pop ecx
push eax
lea eax, [ebp - 0x218]
push eax
lea ecx, [esi + 0x2c]
call fcn.00401730
cmp byte [esi + 8], 0
mov byte [esi + 6], 1
je 0x4139a1
lea eax, [esi + 0x74]
cmp dword [eax + 0x14], 8
jb 0x41380f
mov eax, dword [eax]
push str.BKPDFReader.ini
push eax
lea eax, [ebp - 0x628]
push 0x597804
push eax
call fcn.004078e0
add esp, 0x10
lea eax, [ebp - 0x628]
push eax
push 0x104
lea eax, [ebp - 0x218]
push eax
push 0x612278
push str.CfgPath
push str.BKApp
call ebx
lea eax, [ebp - 0x218]
push eax
call fcn.0057808e
pop ecx
test eax, eax
jle 0x4138b6
lea eax, [ebp - 0x218]
push eax
call edi
test eax, eax
je 0x4138b6
lea eax, [ebp - 0x218]
push eax
call fcn.0057808e
pop ecx
push eax
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x890]
call fcn.00401730
lea eax, [ebp - 0x218]
push eax
call fcn.0057808e
pop ecx
push eax
lea eax, [ebp - 0x218]
push eax
lea ecx, [esi + 0x2c]
call fcn.00401730
cmp byte [esi + 8], 0
mov byte [esi + 6], 1
je 0x4139a1
push 0x612278
push str.CfgPath
push str.BKApp
lea eax, [ebp - 0x848]
mov ecx, esi
push eax
call fcn.00413226
cmp dword [ebp - 0x834], 8
lea eax, [ebp - 0x848]
mov byte [ebp - 4], 4
cmovae eax, dword [ebp - 0x848]
push eax
call fcn.0057808e
pop ecx
test eax, eax
jle 0x41393c
cmp dword [ebp - 0x834], 8
lea eax, [ebp - 0x848]
cmovae eax, dword [ebp - 0x848]
push eax
call edi
test eax, eax
je 0x41393c
lea eax, [ebp - 0x848]
push eax
lea ecx, [ebp - 0x878]
call fcn.00406fd0
lea eax, [ebp - 0x848]
push eax
lea ecx, [esi + 0x2c]
call fcn.00406fd0
cmp byte [esi + 8], 0
mov byte [esi + 6], 1
je 0x413996
cmp byte [esi + 8], 0
je 0x413996
cmp byte [esi + 6], 0
je 0x413996
lea eax, [ebp - 0x8a8]
push eax
lea ecx, [ebp - 0x860]
call fcn.004072c0
test al, al
jne 0x413962
mov byte [esi + 9], 1
lea eax, [ebp - 0x890]
push eax
lea ecx, [ebp - 0x860]
call fcn.004072c0
test al, al
jne 0x41397c
mov byte [esi + 9], 1
lea eax, [ebp - 0x878]
push eax
lea ecx, [ebp - 0x860]
call fcn.004072c0
test al, al
jne 0x413996
mov byte [esi + 9], 1
lea ecx, [ebp - 0x848]
call fcn.004015f0
lea ecx, [ebp - 0x878]
call fcn.004015f0
lea ecx, [ebp - 0x890]
call fcn.004015f0
lea ecx, [ebp - 0x8a8]
call fcn.004015f0
lea ecx, [ebp - 0x860]
call fcn.004015f0
call fcn.005663b3
ret