Function at 0x414780
Capabilities:
Get common file path
Query or enumerate registry value
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x58c6ab
mov eax, dword fs:[0]
push eax
mov eax, 0x126c
call fcn.0055ffd0
mov eax, dword [0x616a64]
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 ebx, 0x208
lea eax, [ebp - 0x628]
push ebx
xor edi, edi
push edi
push eax
call fcn.00565ca0
push ebx
lea eax, [ebp - 0xa38]
push edi
push eax
call fcn.00565ca0
push ebx
lea eax, [ebp - 0xc40]
push edi
push eax
call fcn.00565ca0
push ebx
lea eax, [ebp - 0x218]
push edi
push eax
call fcn.00565ca0
push ebx
lea eax, [ebp - 0x420]
push edi
push eax
call fcn.00565ca0
push ebx
lea eax, [ebp - 0x1258]
push edi
push eax
call fcn.00565ca0
add esp, 0x48
lea eax, [ebp - 0xe48]
push ebx
push edi
push eax
call fcn.00565ca0
lea eax, [ebp - 0xe48]
push 0x590b30
push eax
call fcn.0057173c
lea eax, [ebp - 0xe48]
push 0x60b0bc
push eax
call fcn.005716cb
add esp, 0x1c
lea eax, [ebp - 0x1274]
push eax
push 0x20019
push edi
lea eax, [ebp - 0xe48]
push eax
push reloc.WS2_32.dll_accept
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x414968
lea eax, [ebp - 0x1278]
mov dword [ebp - 0x1278], ebx
push eax
lea eax, [ebp - 0x1258]
push eax
push edi
push edi
push str.InstallPath
push dword [ebp - 0x1274]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x414968
lea eax, [ebp - 0x1258]
push eax
lea eax, [ebp - 0x218]
push eax
call fcn.0057173c
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x420]
push eax
call fcn.0057173c
lea eax, [ebp - 0x420]
push eax
call fcn.00411448
add esp, 0x14
test al, al
je 0x414968
push ebx
lea eax, [ebp - 0x830]
push edi
push eax
call fcn.00565ca0
lea eax, [ebp - 0x420]
push eax
lea eax, [ebp - 0x830]
push eax
call fcn.0057173c
lea eax, [ebp - 0x830]
push str.BKPdf.exe
push eax
call fcn.005716cb
lea eax, [ebp - 0x830]
push eax
call fcn.00411448
add esp, 0x20
test al, al
je 0x414968
push dword [ebp - 0x1274]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 0x218]
push eax
call fcn.0057175e
pop ecx
push eax
lea eax, [ebp - 0x218]
push eax
lea ecx, [esi + 0x44]
call fcn.004030d0
lea eax, [ebp - 0x420]
push eax
call fcn.0057175e
pop ecx
push eax
lea eax, [ebp - 0x420]
push eax
lea ecx, [esi + 0x74]
call fcn.004030d0
jmp 0x414c1e
push dword [ebp - 0x1274]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push edi
push 0x2b
lea eax, [ebp - 0x628]
push eax
push edi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea eax, [ebp - 0x628]
push 0x60b034
push eax
call fcn.005716cb
lea eax, [ebp - 0x628]
push 0x60b0bc
push eax
call fcn.005716cb
lea eax, [ebp - 0x628]
push 0x60b034
push eax
call fcn.005716cb
lea eax, [ebp - 0x628]
push 0x60b0bc
push eax
call fcn.005716cb
lea eax, [ebp - 0x628]
push str..ini
push eax
call fcn.005716cb
add esp, 0x28
lea eax, [ebp - 0x628]
push eax
push 0x104
lea eax, [ebp - 0xa38]
push eax
push 0x60af24
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.0057173c
lea eax, [ebp - 0x218]
push eax
call fcn.0057175e
add esp, 0xc
test eax, eax
jle 0x414a9a
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x420]
push eax
call fcn.0057173c
lea eax, [ebp - 0x420]
push eax
call fcn.00411448
add esp, 0xc
test al, al
je 0x414a9a
push ebx
lea eax, [ebp - 0x830]
push edi
push eax
call fcn.00565ca0
lea eax, [ebp - 0x420]
push eax
lea eax, [ebp - 0x830]
push eax
call fcn.0057173c
lea eax, [ebp - 0x830]
push str.BKPdf.exe
push eax
call fcn.005716cb
lea eax, [ebp - 0x830]
push eax
call fcn.00411448
add esp, 0x20
test al, al
jne 0x414929
sub esp, 0x18
mov ecx, esp
push str.roaming
call fcn.00402f50
lea eax, [ebp - 0x1270]
push eax
call fcn.0041523b
cmp dword [ebp - 0x125c], 8
lea eax, [ebp - 0x1270]
mov dword [ebp - 4], edi
cmovae eax, dword [ebp - 0x1270]
push eax
lea eax, [ebp - 0xc40]
push eax
call fcn.0057173c
lea eax, [ebp - 0xc40]
push str.BKPDF
push eax
call fcn.005716cb
lea eax, [ebp - 0xc40]
push 0x60b034
push eax
call fcn.005716cb
lea eax, [ebp - 0xc40]
push eax
lea eax, [ebp - 0x218]
push eax
call fcn.0057173c
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x420]
push eax
call fcn.0057173c
add esp, 0x44
lea eax, [ebp - 0x420]
push eax
call fcn.00411448
pop ecx
test al, al
je 0x414b89
push ebx
lea eax, [ebp - 0x1050]
push edi
push eax
call fcn.00565ca0
lea eax, [ebp - 0x420]
push eax
lea eax, [ebp - 0x1050]
push eax
call fcn.0057173c
lea eax, [ebp - 0x1050]
push str.BKPdf.exe
push eax
call fcn.005716cb
lea eax, [ebp - 0x1050]
push eax
call fcn.00411448
add esp, 0x20
test al, al
je 0x414b89
lea eax, [ebp - 0x218]
push eax
call fcn.0057175e
pop ecx
jmp 0x414be6
lea eax, [ebp - 0xa38]
push eax
call fcn.0057175e
pop ecx
test eax, eax
jle 0x414bb1
lea eax, [ebp - 0xa38]
push eax
call fcn.00411448
test al, al
lea eax, [ebp - 0xa38]
pop ecx
jne 0x414bb7
lea eax, [ebp - 0xc40]
push eax
lea eax, [ebp - 0x218]
push eax
call fcn.0057173c
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x420]
push eax
call fcn.0057173c
lea eax, [ebp - 0x218]
push eax
call fcn.0057175e
add esp, 0x14
push eax
lea eax, [ebp - 0x218]
push eax
lea ecx, [esi + 0x44]
call fcn.004030d0
lea eax, [ebp - 0x420]
push eax
call fcn.0057175e
pop ecx
push eax
lea eax, [ebp - 0x420]
push eax
lea ecx, [esi + 0x74]
call fcn.004030d0
lea ecx, [ebp - 0x1270]
call fcn.00402e60
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.0055f3e9
leave
ret