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

Disassembly:
push 0x89c
mov eax, 0x5cff50
call fcn.0059d2e0
mov esi, ecx
mov edi, 0x208
lea eax, [ebp - 0x420]
push edi
xor ebx, ebx
push ebx
push eax
call fcn.005a2240
push edi
lea eax, [ebp - 0x218]
push ebx
push eax
call fcn.005a2240
add esp, 0x18
lea ecx, [ebp - 0x860]
mov edi, 0x656858
push edi
call fcn.00403040
push edi
lea ecx, [ebp - 0x8a8]
mov dword [ebp - 4], ebx
call fcn.00403040
push edi
lea ecx, [ebp - 0x890]
mov byte [ebp - 4], 1
call fcn.00403040
push edi
lea ecx, [ebp - 0x878]
mov byte [ebp - 4], 2
call fcn.00403040
push ebx
push 0x2b
lea eax, [ebp - 0x420]
mov byte [ebp - 4], 3
push eax
push ebx
call fcn.00449fb9
mov ebx, 0x5d4964
lea eax, [ebp - 0x420]
push ebx
push eax
call fcn.005afd35
mov edi, 0x5d4e0c
lea eax, [ebp - 0x420]
push edi
push eax
call fcn.005afd35
lea eax, [ebp - 0x420]
push ebx
push eax
call fcn.005afd35
lea eax, [ebp - 0x420]
push edi
push eax
call fcn.005afd35
lea eax, [ebp - 0x420]
push 0x5d8cbc
push eax
call fcn.005afd35
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 0x656858
push str.UsrPath
push str.BKCfg
call ebx
lea eax, [ebp - 0x218]
push eax
call fcn.005afdc8
mov edi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
pop ecx
test eax, eax
jle 0x43d854
lea eax, [ebp - 0x218]
push eax
call edi
test eax, eax
je 0x43d854
lea eax, [ebp - 0x218]
push eax
call fcn.005afdc8
pop ecx
push eax
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x860]
call fcn.00403240
lea eax, [ebp - 0x218]
push eax
call fcn.005afdc8
pop ecx
push eax
lea eax, [ebp - 0x218]
push eax
lea ecx, [esi + 0x14]
call fcn.00403240
cmp byte [esi + 8], 0
mov byte [esi + 7], 1
je 0x43dae8
push 0x208
lea eax, [ebp - 0x628]
push 0
push eax
call fcn.005a2240
push 0x208
lea eax, [ebp - 0x830]
push 0
push eax
call fcn.005a2240
lea eax, [esi + 0x5c]
add esp, 0x18
cmp dword [eax + 0x14], 8
jb 0x43d888
mov eax, dword [eax]
push eax
lea eax, [ebp - 0x830]
push eax
call fcn.005afda6
push str.BKPDFReader.ini
lea eax, [ebp - 0x830]
push eax
lea eax, [ebp - 0x628]
push 0x5d82b8
push eax
call fcn.00405d80
add esp, 0x18
lea eax, [ebp - 0x628]
push eax
push 0x104
lea eax, [ebp - 0x218]
push eax
push 0x656858
push str.UsrPath
push str.BKApp
call ebx
lea eax, [ebp - 0x218]
push eax
call fcn.005afdc8
pop ecx
test eax, eax
jle 0x43d942
lea eax, [ebp - 0x218]
push eax
call edi
test eax, eax
je 0x43d942
lea eax, [ebp - 0x218]
push eax
call fcn.005afdc8
pop ecx
push eax
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x8a8]
call fcn.00403240
lea eax, [ebp - 0x218]
push eax
call fcn.005afdc8
pop ecx
push eax
lea eax, [ebp - 0x218]
push eax
lea ecx, [esi + 0x14]
call fcn.00403240
cmp byte [esi + 8], 0
mov byte [esi + 7], 1
je 0x43dae8
lea eax, [esi + 0x74]
cmp dword [eax + 0x14], 8
jb 0x43d94d
mov eax, dword [eax]
push str.BKPDFReader.ini
push eax
lea eax, [ebp - 0x628]
push 0x5d82b8
push eax
call fcn.00405d80
add esp, 0x10
lea eax, [ebp - 0x628]
push eax
push 0x104
lea eax, [ebp - 0x218]
push eax
push 0x656858
push str.UsrPath
push str.BKApp
call ebx
lea eax, [ebp - 0x218]
push eax
call fcn.005afdc8
pop ecx
test eax, eax
jle 0x43d9f4
lea eax, [ebp - 0x218]
push eax
call edi
test eax, eax
je 0x43d9f4
lea eax, [ebp - 0x218]
push eax
call fcn.005afdc8
pop ecx
push eax
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x890]
call fcn.00403240
lea eax, [ebp - 0x218]
push eax
call fcn.005afdc8
pop ecx
push eax
lea eax, [ebp - 0x218]
push eax
lea ecx, [esi + 0x14]
call fcn.00403240
cmp byte [esi + 8], 0
mov byte [esi + 7], 1
je 0x43dae8
push 0x656858
push str.UsrPath
push str.BKApp
lea eax, [ebp - 0x848]
mov ecx, esi
push eax
call fcn.0043cf31
cmp dword [ebp - 0x834], 8
lea eax, [ebp - 0x848]
mov byte [ebp - 4], 4
cmovae eax, dword [ebp - 0x848]
push eax
call fcn.005afdc8
pop ecx
test eax, eax
jle 0x43da7a
cmp dword [ebp - 0x834], 8
lea eax, [ebp - 0x848]
cmovae eax, dword [ebp - 0x848]
push eax
call edi
test eax, eax
je 0x43da7a
lea eax, [ebp - 0x848]
push eax
lea ecx, [ebp - 0x878]
call fcn.00417a80
lea eax, [ebp - 0x848]
push eax
lea ecx, [esi + 0x14]
call fcn.00417a80
cmp byte [esi + 8], 0
mov byte [esi + 7], 1
je 0x43dadd
cmp byte [esi + 8], 0
je 0x43dadd
cmp byte [esi + 7], 0
je 0x43dadd
lea eax, [ebp - 0x8a8]
push eax
lea ecx, [ebp - 0x860]
call fcn.0043e9d7
test al, al
jne 0x43daa0
mov byte [esi + 9], 1
lea eax, [ebp - 0x890]
push eax
lea ecx, [ebp - 0x860]
call fcn.0043e9d7
test al, al
jne 0x43daba
mov byte [esi + 9], 1
lea eax, [ebp - 0x878]
push eax
lea ecx, [ebp - 0x860]
call fcn.0043e9d7
test al, al
jne 0x43dadd
push 1
lea ecx, [ebp - 0x860]
call fcn.0043bfd2
lea ecx, [ebp - 0x848]
call fcn.00402fe0
lea ecx, [ebp - 0x878]
call fcn.00402fe0
lea ecx, [ebp - 0x890]
call fcn.00402fe0
lea ecx, [ebp - 0x8a8]
call fcn.00402fe0
lea ecx, [ebp - 0x860]
call fcn.00402fe0
call fcn.0059d28a
ret