Function at 0x43de5a
Capabilities:
Check if file exists
Get common file path
Query or enumerate registry value
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5cffb8
mov eax, dword fs:[0]
push eax
mov eax, 0x126c
call fcn.0059cf50
mov eax, dword [0x667ce0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov edi, 0x208
lea eax, [ebp - 0x628]
push edi
xor ebx, ebx
push ebx
push eax
call fcn.005a2240
push edi
lea eax, [ebp - 0xa38]
push ebx
push eax
call fcn.005a2240
push edi
lea eax, [ebp - 0xc40]
push ebx
push eax
call fcn.005a2240
push edi
lea eax, [ebp - 0x218]
push ebx
push eax
call fcn.005a2240
push edi
lea eax, [ebp - 0x420]
push ebx
push eax
call fcn.005a2240
push edi
lea eax, [ebp - 0x1258]
push ebx
push eax
call fcn.005a2240
add esp, 0x48
lea eax, [ebp - 0xe48]
push edi
push ebx
push eax
call fcn.005a2240
lea eax, [ebp - 0xe48]
push 0x5d8ef4
push eax
call fcn.005afda6
lea eax, [ebp - 0xe48]
push 0x5d4e0c
push eax
call fcn.005afd35
add esp, 0x1c
lea eax, [ebp - 0x1274]
push eax
push 0x20019
push ebx
lea eax, [ebp - 0xe48]
push eax
push reloc.WS2_32.dll_accept
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov edi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x43e04a
lea eax, [ebp - 0x1278]
mov dword [ebp - 0x1278], 0x208
push eax
lea eax, [ebp - 0x1258]
push eax
push ebx
push ebx
push str.InstallPath
push dword [ebp - 0x1274]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x43e04a
lea eax, [ebp - 0x1258]
push eax
lea eax, [ebp - 0x218]
push eax
call fcn.005afda6
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x420]
push eax
call fcn.005afda6
add esp, 0x10
lea eax, [ebp - 0x420]
push eax
call edi
test eax, eax
je 0x43e04a
push 0x208
lea eax, [ebp - 0x830]
push ebx
push eax
call fcn.005a2240
lea eax, [ebp - 0x420]
push eax
lea eax, [ebp - 0x830]
push eax
call fcn.005afda6
lea eax, [ebp - 0x830]
push str.BKPdf.exe
push eax
call fcn.005afd35
add esp, 0x1c
lea eax, [ebp - 0x830]
push eax
call edi
test eax, eax
je 0x43e04a
push dword [ebp - 0x1274]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 0x218]
push eax
call fcn.005afdc8
pop ecx
push eax
lea eax, [ebp - 0x218]
push eax
lea ecx, [esi + 0x44]
call fcn.00403240
lea eax, [ebp - 0x420]
push eax
call fcn.005afdc8
pop ecx
push eax
lea eax, [ebp - 0x420]
push eax
lea ecx, [esi + 0x74]
call fcn.00403240
jmp 0x43e2f6
push dword [ebp - 0x1274]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push ebx
push 0x2b
lea eax, [ebp - 0x628]
push eax
push ebx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea eax, [ebp - 0x628]
push 0x5d4964
push eax
call fcn.005afd35
lea eax, [ebp - 0x628]
push 0x5d4e0c
push eax
call fcn.005afd35
lea eax, [ebp - 0x628]
push 0x5d4964
push eax
call fcn.005afd35
lea eax, [ebp - 0x628]
push 0x5d4e0c
push eax
call fcn.005afd35
lea eax, [ebp - 0x628]
push 0x5d8cbc
push eax
call fcn.005afd35
add esp, 0x28
lea eax, [ebp - 0x628]
push eax
push 0x104
lea eax, [ebp - 0xa38]
push eax
push 0x656858
push str.InstallPath
push str.BKCfg
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [ebp - 0xa38]
push eax
lea eax, [ebp - 0x218]
push eax
call fcn.005afda6
lea eax, [ebp - 0x218]
push eax
call fcn.005afdc8
add esp, 0xc
test eax, eax
jle 0x43e179
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x420]
push eax
call fcn.005afda6
pop ecx
pop ecx
lea eax, [ebp - 0x420]
push eax
call edi
test eax, eax
je 0x43e179
push 0x208
lea eax, [ebp - 0x830]
push ebx
push eax
call fcn.005a2240
lea eax, [ebp - 0x420]
push eax
lea eax, [ebp - 0x830]
push eax
call fcn.005afda6
lea eax, [ebp - 0x830]
push str.BKPdf.exe
push eax
call fcn.005afd35
add esp, 0x1c
lea eax, [ebp - 0x830]
push eax
call edi
test eax, eax
jne 0x43e00b
sub esp, 0x18
mov ecx, esp
push str.roaming
call fcn.00403040
lea eax, [ebp - 0x1270]
push eax
call fcn.00448f66
cmp dword [ebp - 0x125c], 8
lea eax, [ebp - 0x1270]
mov dword [ebp - 4], ebx
cmovae eax, dword [ebp - 0x1270]
push eax
lea eax, [ebp - 0xc40]
push eax
call fcn.005afda6
lea eax, [ebp - 0xc40]
push str.BKPDF
push eax
call fcn.005afd35
lea eax, [ebp - 0xc40]
push 0x5d4964
push eax
call fcn.005afd35
lea eax, [ebp - 0xc40]
push eax
lea eax, [ebp - 0x218]
push eax
call fcn.005afda6
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x420]
push eax
call fcn.005afda6
add esp, 0x44
lea eax, [ebp - 0x420]
push eax
call edi
test eax, eax
je 0x43e265
push 0x208
lea eax, [ebp - 0x1050]
push ebx
push eax
call fcn.005a2240
lea eax, [ebp - 0x420]
push eax
lea eax, [ebp - 0x1050]
push eax
call fcn.005afda6
lea eax, [ebp - 0x1050]
push str.BKPdf.exe
push eax
call fcn.005afd35
add esp, 0x1c
lea eax, [ebp - 0x1050]
push eax
call edi
test eax, eax
je 0x43e265
lea eax, [ebp - 0x218]
push eax
call fcn.005afdc8
pop ecx
jmp 0x43e2be
lea eax, [ebp - 0xa38]
push eax
call fcn.005afdc8
pop ecx
test eax, eax
jle 0x43e289
lea eax, [ebp - 0xa38]
push eax
call edi
test eax, eax
lea eax, [ebp - 0xa38]
jne 0x43e28f
lea eax, [ebp - 0xc40]
push eax
lea eax, [ebp - 0x218]
push eax
call fcn.005afda6
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x420]
push eax
call fcn.005afda6
lea eax, [ebp - 0x218]
push eax
call fcn.005afdc8
add esp, 0x14
push eax
lea eax, [ebp - 0x218]
push eax
lea ecx, [esi + 0x44]
call fcn.00403240
lea eax, [ebp - 0x420]
push eax
call fcn.005afdc8
pop ecx
push eax
lea eax, [ebp - 0x420]
push eax
lea ecx, [esi + 0x74]
call fcn.00403240
lea ecx, [ebp - 0x1270]
call fcn.00402fe0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0059cf09
leave
ret