Function at 0x439c60
Capabilities:
Get common file path
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5cf31b
mov eax, dword fs:[0]
push eax
sub esp, 0x448
mov eax, dword [0x664340]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.0046cf80
push 0x208
lea eax, [ebp - 0x420]
push 0
push eax
call fcn.0046cf80
add esp, 0x18
lea eax, [ebp - 0x218]
push 0
push 0x2b
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
cmp dword [esi + 0x70], 8
lea ecx, [esi + 0x5c]
jb 0x439cd6
mov ecx, dword [ecx]
lea edx, [ebp - 0x420]
sub edx, ecx
nop
movzx eax, word [ecx]
lea ecx, [ecx + 2]
mov word [edx + ecx - 2], ax
test ax, ax
jne 0x439ce0
lea edi, [ebp - 0x218]
add edi, 0xfffffffe
nop dword [eax]
mov ax, word [edi + 2]
lea edi, [edi + 2]
test ax, ax
jne 0x439d00
mov eax, dword [0x5d4d80]
lea edx, [ebp - 0x218]
mov dword [edi], eax
add edx, 0xfffffffe
nop dword [eax]
mov cx, word [edx + 2]
lea edx, [edx + 2]
test cx, cx
jne 0x439d20
mov ecx, dword [0x5d4df4]
lea edi, [ebp - 0x218]
mov dword [edx], ecx
add edi, 0xfffffffe
mov ecx, dword [str.PDFReader]
mov dword [edx + 4], ecx
mov ecx, dword [0x5d4dfc]
mov dword [edx + 8], ecx
mov ecx, dword [0x5d4e00]
mov dword [edx + 0xc], ecx
mov ecx, dword [0x5d4e04]
mov dword [edx + 0x10], ecx
mov ecx, dword [0x5d4e08]
mov dword [edx + 0x14], ecx
nop word [eax + eax]
mov cx, word [edi + 2]
lea edi, [edi + 2]
test cx, cx
jne 0x439d70
mov dword [edi], eax
lea eax, [ebp - 0x218]
push eax
call fcn.00459ec1
lea ecx, [ebp - 0x218]
add esp, 4
add ecx, 0xfffffffe
mov ax, word [ecx + 2]
lea ecx, [ecx + 2]
test ax, ax
jne 0x439d96
mov eax, dword [0x5d4df4]
mov dword [ecx], eax
mov eax, dword [str.PDFReader]
mov dword [ecx + 4], eax
mov eax, dword [0x5d4dfc]
mov dword [ecx + 8], eax
mov eax, dword [0x5d4e00]
mov dword [ecx + 0xc], eax
mov eax, dword [0x5d4e04]
mov dword [ecx + 0x10], eax
mov eax, dword [0x5d4e08]
mov dword [ecx + 0x14], eax
lea ecx, [ebp - 0x218]
add ecx, 0xfffffffe
nop word [eax + eax]
mov ax, word [ecx + 2]
lea ecx, [ecx + 2]
test ax, ax
jne 0x439de0
mov eax, dword [0x5d8cb4]
mov dword [ecx], eax
mov eax, dword [0x5d8cb8]
mov dword [ecx + 4], eax
mov ax, word [0x5d8cbc]
mov word [ecx + 8], ax
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x420]
push eax
push str.InstallPath
push str.BKCfg
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
lea eax, [ebp - 0x420]
mov ecx, esi
push eax
push str.InstallPath
call fcn.0044eaea
lea ecx, [ebp - 0x454]
call fcn.00464805
lea ecx, [ebp - 0x454]
mov dword [ebp - 4], 0
call fcn.00464839
mov edi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
je 0x439f15
lea eax, [ebp - 0x424]
mov dword [ebp - 0x424], 0
push eax
push 0xf013f
push 0
push str.SoftWare
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x42c], 0
call edi
test eax, eax
jne 0x439fb2
push eax
lea eax, [ebp - 0x42c]
push eax
push 0
push 0xf013f
push 0
push 0
push 0
push 0x5d4df4
push dword [ebp - 0x424]
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
je 0x439ed4
push dword [ebp - 0x424]
call esi
jmp 0x439fb2
lea eax, [ebp - 0x420]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea eax, [eax*2 + 2]
push eax
lea eax, [ebp - 0x420]
push eax
push 1
push 0
push str.InstallPath
push dword [ebp - 0x42c]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 0x42c]
call esi
push dword [ebp - 0x424]
call esi
lea eax, [ebp - 0x428]
mov dword [ebp - 0x428], 0
push eax
push 0xf003f
push 0
push str.SoftWare
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x430], 0
call edi
test eax, eax
jne 0x439fb2
push eax
lea eax, [ebp - 0x430]
push eax
push 0
push 0xf003f
push 0
push 0
push 0
push 0x5d4df4
push dword [ebp - 0x428]
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x439faa
lea eax, [ebp - 0x420]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea eax, [eax*2 + 2]
push eax
lea eax, [ebp - 0x420]
push eax
push 1
push 0
push str.InstallPath
push dword [ebp - 0x430]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 0x430]
call esi
push dword [ebp - 0x428]
call esi
lea ecx, [ebp - 0x454]
call fcn.00464818
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0044a851
mov esp, ebp
pop ebp
ret