Function at 0x4139ec
Capabilities:
Read .ini file

Disassembly:
push 0x89c
mov eax, 0x592ee2
call fcn.0056644b
mov esi, ecx
mov edi, 0x208
lea eax, [ebp - 0x420]
push edi
xor ebx, ebx
push ebx
push eax
call fcn.0056c460
push edi
lea eax, [ebp - 0x218]
push ebx
push eax
call fcn.0056c460
add esp, 0x18
lea ecx, [ebp - 0x860]
mov edi, 0x612278
push edi
call fcn.00401650
push edi
lea ecx, [ebp - 0x8a8]
mov dword [ebp - 4], ebx
call fcn.00401650
push edi
lea ecx, [ebp - 0x890]
mov byte [ebp - 4], 1
call fcn.00401650
push edi
lea ecx, [ebp - 0x878]
mov byte [ebp - 4], 2
call fcn.00401650
push ebx
push 0x2b
lea eax, [ebp - 0x420]
mov byte [ebp - 4], 3
push eax
push ebx
call fcn.0041d6ae
mov ebx, 0x613124
lea eax, [ebp - 0x420]
push ebx
push eax
call fcn.0057804b
mov edi, 0x613198
lea eax, [ebp - 0x420]
push edi
push eax
call fcn.0057804b
lea eax, [ebp - 0x420]
push ebx
push eax
call fcn.0057804b
lea eax, [ebp - 0x420]
push edi
push eax
call fcn.0057804b
lea eax, [ebp - 0x420]
push str..ini
push eax
call fcn.0057804b
mov edi, 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.UsrPath
push str.BKCfg
call edi
lea eax, [ebp - 0x218]
push eax
call fcn.005780de
pop ecx
test eax, eax
jle 0x413b60
lea eax, [ebp - 0x218]
push eax
call fcn.004160cb
pop ecx
test al, al
je 0x413b60
lea eax, [ebp - 0x218]
push eax
call fcn.005780de
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.005780de
pop ecx
push eax
lea eax, [ebp - 0x218]
push eax
lea ecx, [esi + 0x14]
call fcn.00401730
cmp byte [esi + 8], 0
mov byte [esi + 7], 1
je 0x413dfc
mov ebx, 0x208
lea eax, [ebp - 0x628]
push ebx
push 0
push eax
call fcn.0056c460
push ebx
lea eax, [ebp - 0x830]
push 0
push eax
call fcn.0056c460
add esp, 0x18
lea eax, [esi + 0x5c]
push 8
pop ebx
cmp dword [eax + 0x14], ebx
jb 0x413b93
mov eax, dword [eax]
push eax
lea eax, [ebp - 0x830]
push eax
call fcn.005780bc
push str.BKPDFReader.ini
lea eax, [ebp - 0x830]
push eax
lea eax, [ebp - 0x628]
push 0x597804
push eax
call fcn.004078e0
add esp, 0x18
lea eax, [ebp - 0x628]
push eax
push 0x104
lea eax, [ebp - 0x218]
push eax
push 0x612278
push str.UsrPath
push str.BKApp
call edi
lea eax, [ebp - 0x218]
push eax
call fcn.005780de
pop ecx
test eax, eax
jle 0x413c51
lea eax, [ebp - 0x218]
push eax
call fcn.004160cb
pop ecx
test al, al
je 0x413c51
lea eax, [ebp - 0x218]
push eax
call fcn.005780de
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.005780de
pop ecx
push eax
lea eax, [ebp - 0x218]
push eax
lea ecx, [esi + 0x14]
call fcn.00401730
cmp byte [esi + 8], 0
mov byte [esi + 7], 1
je 0x413dfc
lea eax, [esi + 0x74]
cmp dword [eax + 0x14], ebx
jb 0x413c5b
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.UsrPath
push str.BKApp
call edi
lea eax, [ebp - 0x218]
push eax
call fcn.005780de
pop ecx
test eax, eax
jle 0x413d06
lea eax, [ebp - 0x218]
push eax
call fcn.004160cb
pop ecx
test al, al
je 0x413d06
lea eax, [ebp - 0x218]
push eax
call fcn.005780de
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.005780de
pop ecx
push eax
lea eax, [ebp - 0x218]
push eax
lea ecx, [esi + 0x14]
call fcn.00401730
cmp byte [esi + 8], 0
mov byte [esi + 7], 1
je 0x413dfc
push 0x612278
push str.UsrPath
push str.BKApp
lea eax, [ebp - 0x848]
mov ecx, esi
push eax
call fcn.00413236
cmp dword [ebp - 0x834], ebx
lea eax, [ebp - 0x848]
mov byte [ebp - 4], 4
cmovae eax, dword [ebp - 0x848]
push eax
call fcn.005780de
pop ecx
test eax, eax
jle 0x413d8e
cmp dword [ebp - 0x834], ebx
lea eax, [ebp - 0x848]
cmovae eax, dword [ebp - 0x848]
push eax
call fcn.004160cb
pop ecx
test al, al
je 0x413d8e
lea eax, [ebp - 0x848]
push eax
lea ecx, [ebp - 0x878]
call fcn.00406fd0
lea eax, [ebp - 0x848]
push eax
lea ecx, [esi + 0x14]
call fcn.00406fd0
cmp byte [esi + 8], 0
mov byte [esi + 7], 1
je 0x413df1
cmp byte [esi + 8], 0
je 0x413df1
cmp byte [esi + 7], 0
je 0x413df1
lea eax, [ebp - 0x8a8]
push eax
lea ecx, [ebp - 0x860]
call fcn.004072c0
test al, al
jne 0x413db4
mov byte [esi + 9], 1
lea eax, [ebp - 0x890]
push eax
lea ecx, [ebp - 0x860]
call fcn.004072c0
test al, al
jne 0x413dce
mov byte [esi + 9], 1
lea eax, [ebp - 0x878]
push eax
lea ecx, [ebp - 0x860]
call fcn.004072c0
test al, al
jne 0x413df1
push 1
lea ecx, [ebp - 0x860]
call fcn.004130a6
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.00566406
ret