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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5d0508
mov eax, dword fs:[0]
push eax
mov eax, 0x126c
call fcn.0059d3d0
mov eax, dword [0x667d00]
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.005a26c0
push ebx
lea eax, [ebp - 0xa38]
push edi
push eax
call fcn.005a26c0
push ebx
lea eax, [ebp - 0xc40]
push edi
push eax
call fcn.005a26c0
push ebx
lea eax, [ebp - 0x218]
push edi
push eax
call fcn.005a26c0
push ebx
lea eax, [ebp - 0x420]
push edi
push eax
call fcn.005a26c0
push ebx
lea eax, [ebp - 0x1258]
push edi
push eax
call fcn.005a26c0
add esp, 0x48
lea eax, [ebp - 0xe48]
push ebx
push edi
push eax
call fcn.005a26c0
lea eax, [ebp - 0xe48]
push 0x5d8f50
push eax
call fcn.005b023d
lea eax, [ebp - 0xe48]
push 0x5d4e18
push eax
call fcn.005b01cc
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 0x43e3ef
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 0x43e3ef
lea eax, [ebp - 0x1258]
push eax
lea eax, [ebp - 0x218]
push eax
call fcn.005b023d
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x420]
push eax
call fcn.005b023d
lea eax, [ebp - 0x420]
push eax
call fcn.0044721f
add esp, 0x14
test al, al
je 0x43e3ef
push ebx
lea eax, [ebp - 0x830]
push edi
push eax
call fcn.005a26c0
lea eax, [ebp - 0x420]
push eax
lea eax, [ebp - 0x830]
push eax
call fcn.005b023d
lea eax, [ebp - 0x830]
push str.BKPdf.exe
push eax
call fcn.005b01cc
lea eax, [ebp - 0x830]
push eax
call fcn.0044721f
add esp, 0x20
test al, al
je 0x43e3ef
push dword [ebp - 0x1274]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 0x218]
push eax
call fcn.005b025f
pop ecx
push eax
lea eax, [ebp - 0x218]
push eax
lea ecx, [esi + 0x44]
call fcn.004032c0
lea eax, [ebp - 0x420]
push eax
call fcn.005b025f
pop ecx
push eax
lea eax, [ebp - 0x420]
push eax
lea ecx, [esi + 0x74]
call fcn.004032c0
jmp 0x43e6a5
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 0x5d4964
push eax
call fcn.005b01cc
lea eax, [ebp - 0x628]
push 0x5d4e18
push eax
call fcn.005b01cc
lea eax, [ebp - 0x628]
push 0x5d4964
push eax
call fcn.005b01cc
lea eax, [ebp - 0x628]
push 0x5d4e18
push eax
call fcn.005b01cc
lea eax, [ebp - 0x628]
push 0x5d8d04
push eax
call fcn.005b01cc
add esp, 0x28
lea eax, [ebp - 0x628]
push eax
push 0x104
lea eax, [ebp - 0xa38]
push eax
push 0x6568d8
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.005b023d
lea eax, [ebp - 0x218]
push eax
call fcn.005b025f
add esp, 0xc
test eax, eax
jle 0x43e521
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x420]
push eax
call fcn.005b023d
lea eax, [ebp - 0x420]
push eax
call fcn.0044721f
add esp, 0xc
test al, al
je 0x43e521
push ebx
lea eax, [ebp - 0x830]
push edi
push eax
call fcn.005a26c0
lea eax, [ebp - 0x420]
push eax
lea eax, [ebp - 0x830]
push eax
call fcn.005b023d
lea eax, [ebp - 0x830]
push str.BKPdf.exe
push eax
call fcn.005b01cc
lea eax, [ebp - 0x830]
push eax
call fcn.0044721f
add esp, 0x20
test al, al
jne 0x43e3b0
sub esp, 0x18
mov ecx, esp
push str.roaming
call fcn.004030c0
lea eax, [ebp - 0x1270]
push eax
call fcn.004493b3
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.005b023d
lea eax, [ebp - 0xc40]
push str.BKPDF
push eax
call fcn.005b01cc
lea eax, [ebp - 0xc40]
push 0x5d4964
push eax
call fcn.005b01cc
lea eax, [ebp - 0xc40]
push eax
lea eax, [ebp - 0x218]
push eax
call fcn.005b023d
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x420]
push eax
call fcn.005b023d
add esp, 0x44
lea eax, [ebp - 0x420]
push eax
call fcn.0044721f
pop ecx
test al, al
je 0x43e610
push ebx
lea eax, [ebp - 0x1050]
push edi
push eax
call fcn.005a26c0
lea eax, [ebp - 0x420]
push eax
lea eax, [ebp - 0x1050]
push eax
call fcn.005b023d
lea eax, [ebp - 0x1050]
push str.BKPdf.exe
push eax
call fcn.005b01cc
lea eax, [ebp - 0x1050]
push eax
call fcn.0044721f
add esp, 0x20
test al, al
je 0x43e610
lea eax, [ebp - 0x218]
push eax
call fcn.005b025f
pop ecx
jmp 0x43e66d
lea eax, [ebp - 0xa38]
push eax
call fcn.005b025f
pop ecx
test eax, eax
jle 0x43e638
lea eax, [ebp - 0xa38]
push eax
call fcn.0044721f
test al, al
lea eax, [ebp - 0xa38]
pop ecx
jne 0x43e63e
lea eax, [ebp - 0xc40]
push eax
lea eax, [ebp - 0x218]
push eax
call fcn.005b023d
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x420]
push eax
call fcn.005b023d
lea eax, [ebp - 0x218]
push eax
call fcn.005b025f
add esp, 0x14
push eax
lea eax, [ebp - 0x218]
push eax
lea ecx, [esi + 0x44]
call fcn.004032c0
lea eax, [ebp - 0x420]
push eax
call fcn.005b025f
pop ecx
push eax
lea eax, [ebp - 0x420]
push eax
lea ecx, [esi + 0x74]
call fcn.004032c0
lea ecx, [ebp - 0x1270]
call fcn.00403060
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.0059d38a
leave
ret