Function at 0x40b62f
Capabilities:
Read .ini file

Disassembly:
push 0x89c
mov eax, 0x58bde4
call fcn.0055f097
mov esi, ecx
mov edi, 0x208
lea eax, [ebp - 0x420]
push edi
xor ebx, ebx
push ebx
push eax
call fcn.00561510
push edi
lea eax, [ebp - 0x218]
push ebx
push eax
call fcn.00561510
add esp, 0x18
lea ecx, [ebp - 0x860]
mov edi, 0x58f4c4
push edi
call fcn.00401302
push edi
lea ecx, [ebp - 0x8a8]
mov dword [ebp - 4], ebx
call fcn.00401302
push edi
lea ecx, [ebp - 0x890]
mov byte [ebp - 4], 1
call fcn.00401302
push edi
lea ecx, [ebp - 0x878]
mov byte [ebp - 4], 2
call fcn.00401302
push ebx
push 0x2b
lea eax, [ebp - 0x420]
mov byte [ebp - 4], 3
push eax
push ebx
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.UsrPath
push str.BKCfg
call edi
lea eax, [ebp - 0x218]
push eax
call fcn.00564b19
pop ecx
test eax, eax
jle 0x40b7a3
lea eax, [ebp - 0x218]
push eax
call fcn.0040954c
pop ecx
test al, al
je 0x40b7a3
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 + 0x14]
call fcn.00401589
cmp byte [esi + 8], 0
mov byte [esi + 7], 1
je 0x40ba3f
mov ebx, 0x208
lea eax, [ebp - 0x628]
push ebx
push 0
push eax
call fcn.00561510
push ebx
lea eax, [ebp - 0x830]
push 0
push eax
call fcn.00561510
add esp, 0x18
lea eax, [esi + 0x5c]
push 8
pop ebx
cmp dword [eax + 0x14], ebx
jb 0x40b7d6
mov eax, dword [eax]
push eax
lea eax, [ebp - 0x830]
push eax
call fcn.0056f7c8
push str.BKPDFReader.ini
lea eax, [ebp - 0x830]
push eax
lea eax, [ebp - 0x628]
push 0x58f960
push eax
call fcn.00402c17
add esp, 0x18
lea eax, [ebp - 0x628]
push eax
push 0x104
lea eax, [ebp - 0x218]
push eax
push 0x58f4c4
push str.UsrPath
push str.BKApp
call edi
lea eax, [ebp - 0x218]
push eax
call fcn.00564b19
pop ecx
test eax, eax
jle 0x40b894
lea eax, [ebp - 0x218]
push eax
call fcn.0040954c
pop ecx
test al, al
je 0x40b894
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 + 0x14]
call fcn.00401589
cmp byte [esi + 8], 0
mov byte [esi + 7], 1
je 0x40ba3f
lea eax, [esi + 0x74]
cmp dword [eax + 0x14], ebx
jb 0x40b89e
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.UsrPath
push str.BKApp
call edi
lea eax, [ebp - 0x218]
push eax
call fcn.00564b19
pop ecx
test eax, eax
jle 0x40b949
lea eax, [ebp - 0x218]
push eax
call fcn.0040954c
pop ecx
test al, al
je 0x40b949
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 + 0x14]
call fcn.00401589
cmp byte [esi + 8], 0
mov byte [esi + 7], 1
je 0x40ba3f
push 0x58f4c4
push str.UsrPath
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 0x40b9d1
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 0x40b9d1
lea eax, [ebp - 0x848]
push eax
lea ecx, [ebp - 0x878]
call fcn.00403df9
lea eax, [ebp - 0x848]
push eax
lea ecx, [esi + 0x14]
call fcn.00403df9
cmp byte [esi + 8], 0
mov byte [esi + 7], 1
je 0x40ba34
cmp byte [esi + 8], 0
je 0x40ba34
cmp byte [esi + 7], 0
je 0x40ba34
lea eax, [ebp - 0x8a8]
push eax
lea ecx, [ebp - 0x860]
call fcn.00404ee9
test al, al
jne 0x40b9f7
mov byte [esi + 9], 1
lea eax, [ebp - 0x890]
push eax
lea ecx, [ebp - 0x860]
call fcn.00404ee9
test al, al
jne 0x40ba11
mov byte [esi + 9], 1
lea eax, [ebp - 0x878]
push eax
lea ecx, [ebp - 0x860]
call fcn.00404ee9
test al, al
jne 0x40ba34
push 1
lea ecx, [ebp - 0x860]
call fcn.0040a299
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