Function at 0x40b1f3
Capabilities:
Read .ini file

Disassembly:
push 0x89c
mov eax, 0x58bde4
call fcn.0055f097
mov esi, ecx
mov ebx, 0x208
lea eax, [ebp - 0x420]
push ebx
xor edi, edi
push edi
push eax
call fcn.00561510
push ebx
lea eax, [ebp - 0x218]
push edi
push eax
call fcn.00561510
add esp, 0x18
lea ecx, [ebp - 0x860]
mov ebx, 0x58f4c4
push ebx
call fcn.00401302
push ebx
lea ecx, [ebp - 0x8a8]
mov dword [ebp - 4], edi
call fcn.00401302
push ebx
lea ecx, [ebp - 0x890]
mov byte [ebp - 4], 1
call fcn.00401302
push ebx
lea ecx, [ebp - 0x878]
mov byte [ebp - 4], 2
call fcn.00401302
push edi
push 0x2b
lea eax, [ebp - 0x420]
mov byte [ebp - 4], 3
push eax
push edi
call fcn.0040e2d3
mov ebx, 0x58f93c
lea eax, [ebp - 0x420]
push ebx
push eax
call fcn.00564c0b
mov edi, 0x58f9c4
lea eax, [ebp - 0x420]
push edi
push eax
call fcn.00564c0b
lea eax, [ebp - 0x420]
push ebx
push eax
call fcn.00564c0b
lea eax, [ebp - 0x420]
push edi
push eax
call fcn.00564c0b
lea eax, [ebp - 0x420]
push str..ini
push eax
call fcn.00564c0b
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 0x58f4c4
push str.CfgPath
push str.BKCfg
call edi
lea eax, [ebp - 0x218]
push eax
call fcn.00564b19
pop ecx
test eax, eax
jle 0x40b367
lea eax, [ebp - 0x218]
push eax
call fcn.0040954c
pop ecx
test al, al
je 0x40b367
lea eax, [ebp - 0x218]
push eax
call fcn.00564b19
pop ecx
push eax
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x860]
call fcn.00401589
lea eax, [ebp - 0x218]
push eax
call fcn.00564b19
pop ecx
push eax
lea eax, [ebp - 0x218]
push eax
lea ecx, [esi + 0x2c]
call fcn.00401589
cmp byte [esi + 8], 0
mov byte [esi + 6], 1
je 0x40b5fd
push 0x208
lea eax, [ebp - 0x830]
push 0
push eax
call fcn.00561510
add esp, 0xc
lea eax, [esi + 0x5c]
push 8
pop ebx
cmp dword [eax + 0x14], ebx
jb 0x40b38a
mov eax, dword [eax]
push eax
lea eax, [ebp - 0x830]
push eax
call fcn.0056f7c8
push 0x208
lea eax, [ebp - 0x628]
push 0
push eax
call fcn.00561510
push str.BKPDFReader.ini
lea eax, [ebp - 0x830]
push eax
lea eax, [ebp - 0x628]
push 0x58f960
push eax
call fcn.00402c17
add esp, 0x24
lea eax, [ebp - 0x628]
push eax
push 0x104
lea eax, [ebp - 0x218]
push eax
push 0x58f4c4
push str.CfgPath
push str.BKApp
call edi
lea eax, [ebp - 0x218]
push eax
call fcn.00564b19
pop ecx
test eax, eax
jle 0x40b45b
lea eax, [ebp - 0x218]
push eax
call fcn.0040954c
pop ecx
test al, al
je 0x40b45b
lea eax, [ebp - 0x218]
push eax
call fcn.00564b19
pop ecx
push eax
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x8a8]
call fcn.00401589
lea eax, [ebp - 0x218]
push eax
call fcn.00564b19
pop ecx
push eax
lea eax, [ebp - 0x218]
push eax
lea ecx, [esi + 0x2c]
call fcn.00401589
cmp byte [esi + 8], 0
mov byte [esi + 6], 1
je 0x40b5fd
lea eax, [esi + 0x74]
cmp dword [eax + 0x14], ebx
jb 0x40b465
mov eax, dword [eax]
push str.BKPDFReader.ini
push eax
lea eax, [ebp - 0x628]
push 0x58f960
push eax
call fcn.00402c17
add esp, 0x10
lea eax, [ebp - 0x628]
push eax
push 0x104
lea eax, [ebp - 0x218]
push eax
push 0x58f4c4
push str.CfgPath
push str.BKApp
call edi
lea eax, [ebp - 0x218]
push eax
call fcn.00564b19
pop ecx
test eax, eax
jle 0x40b510
lea eax, [ebp - 0x218]
push eax
call fcn.0040954c
pop ecx
test al, al
je 0x40b510
lea eax, [ebp - 0x218]
push eax
call fcn.00564b19
pop ecx
push eax
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x890]
call fcn.00401589
lea eax, [ebp - 0x218]
push eax
call fcn.00564b19
pop ecx
push eax
lea eax, [ebp - 0x218]
push eax
lea ecx, [esi + 0x2c]
call fcn.00401589
cmp byte [esi + 8], 0
mov byte [esi + 6], 1
je 0x40b5fd
push 0x58f4c4
push str.CfgPath
push str.BKApp
lea eax, [ebp - 0x848]
mov ecx, esi
push eax
call fcn.0040ae79
cmp dword [ebp - 0x834], ebx
lea eax, [ebp - 0x848]
mov byte [ebp - 4], 4
cmovae eax, dword [ebp - 0x848]
push eax
call fcn.00564b19
pop ecx
test eax, eax
jle 0x40b598
cmp dword [ebp - 0x834], ebx
lea eax, [ebp - 0x848]
cmovae eax, dword [ebp - 0x848]
push eax
call fcn.0040954c
pop ecx
test al, al
je 0x40b598
lea eax, [ebp - 0x848]
push eax
lea ecx, [ebp - 0x878]
call fcn.00403df9
lea eax, [ebp - 0x848]
push eax
lea ecx, [esi + 0x2c]
call fcn.00403df9
cmp byte [esi + 8], 0
mov byte [esi + 6], 1
je 0x40b5f2
cmp byte [esi + 8], 0
je 0x40b5f2
cmp byte [esi + 6], 0
je 0x40b5f2
lea eax, [ebp - 0x8a8]
push eax
lea ecx, [ebp - 0x860]
call fcn.00404ee9
test al, al
jne 0x40b5be
mov byte [esi + 9], 1
lea eax, [ebp - 0x890]
push eax
lea ecx, [ebp - 0x860]
call fcn.00404ee9
test al, al
jne 0x40b5d8
mov byte [esi + 9], 1
lea eax, [ebp - 0x878]
push eax
lea ecx, [ebp - 0x860]
call fcn.00404ee9
test al, al
jne 0x40b5f2
mov byte [esi + 9], 1
lea ecx, [ebp - 0x848]
call fcn.004014e8
lea ecx, [ebp - 0x878]
call fcn.004014e8
lea ecx, [ebp - 0x890]
call fcn.004014e8
lea ecx, [ebp - 0x8a8]
call fcn.004014e8
lea ecx, [ebp - 0x860]
call fcn.004014e8
call fcn.0055f052
ret