Function at 0x45d5f0
Capabilities:
Persist via app paths registry key
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5897eb
mov eax, dword fs:[0]
push eax
sub esp, 0x2a8
mov eax, dword [0x60b9b0]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x2b0]
push eax
push 0xf003f
push 0
push str.SoftwareMicrosoftWindowsCurrentVersionApp_PathsMasterPDF_InstallerCAJ.exe
push reloc.OLEAUT32.dll_SysReAllocString
mov esi, 0x80004005
mov dword [ebp - 0x2b0], 0
mov dword [ebp - 0x2ac], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x45d869
push 0x208
push eax
lea eax, [ebp - 0x29c]
push eax
call fcn.00557410
mov ebx, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea eax, [ebp - 0x2a8]
add esp, 0xc
mov dword [ebp - 0x2a8], 0x208
push eax
lea eax, [ebp - 0x29c]
push eax
lea eax, [ebp - 0x2ac]
push eax
push 0
push str.Path
push dword [ebp - 0x2b0]
call ebx
test eax, eax
jne 0x45d6be
lea edx, [ebp - 0x29c]
mov ecx, edi
call fcn.00405a70
test al, al
je 0x45d6ee
mov edx, dword [edi]
mov ecx, edx
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x45d6c5
sub ecx, esi
sar ecx, 1
lea eax, [ecx + ecx]
push eax
push edx
push 1
push 0
push str.Path
push dword [ebp - 0x2b0]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
lea eax, [ebp - 0x2a8]
push eax
lea eax, [ebp - 0x29c]
push eax
lea eax, [ebp - 0x2ac]
push eax
push 0
push str.PdfEngineModule
push dword [ebp - 0x2b0]
call ebx
push str.CAJServer.exe
lea ecx, [ebp - 0x2a4]
mov dword [ebp - 0x2a4], 0
mov esi, eax
call fcn.004078b0
mov dword [ebp - 4], 0
test esi, esi
jne 0x45d74e
lea edx, [ebp - 0x29c]
lea ecx, [ebp - 0x2a4]
call fcn.00405a70
test al, al
je 0x45d78d
mov eax, dword [ebp - 0x2a4]
mov edx, eax
lea esi, [edx + 2]
nop dword [eax]
mov cx, word [edx]
add edx, 2
test cx, cx
jne 0x45d760
mov edi, dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
sub edx, esi
sar edx, 1
lea ecx, [edx + edx]
push ecx
push eax
push 1
push 0
push str.PdfEngineModule
push dword [ebp - 0x2b0]
call edi
jmp 0x45d793
mov edi, dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
lea eax, [ebp - 0x2a8]
push eax
lea eax, [ebp - 0x29c]
push eax
lea eax, [ebp - 0x2ac]
push eax
push 0
push str.PdfEngineName
push dword [ebp - 0x2b0]
call ebx
push str.masterPDF_Server
lea ecx, [ebp - 0x2a0]
mov dword [ebp - 0x2a0], 0
mov esi, eax
call fcn.004078b0
test esi, esi
jne 0x45d7ec
lea edx, [ebp - 0x29c]
lea ecx, [ebp - 0x2a0]
call fcn.00405a70
test al, al
je 0x45d81c
mov eax, dword [ebp - 0x2a0]
mov edx, eax
lea esi, [edx + 2]
mov cx, word [edx]
add edx, 2
test cx, cx
jne 0x45d7f7
sub edx, esi
sar edx, 1
lea ecx, [edx + edx]
push ecx
push eax
push 1
push 0
push str.PdfEngineName
push dword [ebp - 0x2b0]
call edi
mov edx, dword [ebp - 0x2a0]
or edi, 0xffffffff
xor esi, esi
add edx, 0xfffffff0
mov eax, edi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x45d83e
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x2a4]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], edi
dec edi
test edi, edi
jg 0x45d971
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x45d971
push 0
lea eax, [ebp - 0x2b0]
push eax
push 0
push 0xf003f
push 0
push 0
push 0
push str.SoftwareMicrosoftWindowsCurrentVersionApp_PathsMasterPDF_InstallerCAJ.exe
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x45d971
push 0x80
push eax
lea eax, [ebp - 0x94]
push eax
call fcn.00557410
push 0
call fcn.00569193
push edx
push eax
lea eax, [ebp - 0x94]
push str._I64d
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
lea ecx, [ebp - 0x94]
add esp, 0x20
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x45d8d0
mov esi, dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
sub ecx, edx
sar ecx, 1
lea eax, [ecx + ecx]
push eax
lea eax, [ebp - 0x94]
push eax
push 1
push 0
push str.Date
push dword [ebp - 0x2b0]
call esi
mov edx, dword [edi]
mov ecx, edx
lea edi, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x45d910
sub ecx, edi
sar ecx, 1
lea eax, [ecx + ecx]
push eax
push edx
push 1
push 0
push str.Path
push dword [ebp - 0x2b0]
call esi
push 0x1a
push str.CAJServer.exe
push 1
push 0
push str.PdfEngineModule
push dword [ebp - 0x2b0]
call esi
push 0x20
push str.masterPDF_Server
push 1
push 0
push str.PdfEngineName
push dword [ebp - 0x2b0]
call esi
mov esi, eax
neg esi
sbb esi, esi
and esi, 0x80004005
push dword [ebp - 0x2b0]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00553c8d
mov esp, ebp
pop ebp
ret 4