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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x29c
mov eax, dword [0x4ad070]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x29c]
push eax
push 0xf003f
push 0
push str.SoftwareMicrosoftWindowsCurrentVersionApp_PathsMasterPDF_Installer.exe
push reloc.OLEAUT32.dll_SysReAllocString
mov esi, 0x80004005
mov dword [ebp - 0x29c], 0
mov dword [ebp - 0x298], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x443a12
push 0x208
push eax
lea eax, [ebp - 0x28c]
push eax
call fcn.00455270
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea eax, [ebp - 0x294]
add esp, 0xc
mov dword [ebp - 0x294], 0x208
push eax
lea eax, [ebp - 0x28c]
push eax
lea eax, [ebp - 0x298]
push eax
push 0
push str.Path
push dword [ebp - 0x29c]
call esi
test eax, eax
jne 0x443925
lea edx, [ebp - 0x28c]
mov ecx, edi
call fcn.00405e80
test al, al
je 0x443959
mov edx, dword [edi]
mov ecx, edx
lea edi, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x443930
sub ecx, edi
sar ecx, 1
lea eax, [ecx + ecx]
push eax
push edx
push 1
push 0
push str.Path
push dword [ebp - 0x29c]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
lea eax, [ebp - 0x294]
push eax
lea eax, [ebp - 0x28c]
push eax
lea eax, [ebp - 0x298]
push eax
push 0
push str.PdfEngineModule
push dword [ebp - 0x29c]
call esi
push str.PdfServer.exe
lea ecx, [ebp - 0x290]
mov dword [ebp - 0x290], 0
mov esi, eax
call fcn.00407e20
test esi, esi
jne 0x4439b2
lea edx, [ebp - 0x28c]
lea ecx, [ebp - 0x290]
call fcn.00405e80
test al, al
je 0x4439e9
mov eax, dword [ebp - 0x290]
mov edx, eax
lea esi, [edx + 2]
nop dword [eax]
mov cx, word [edx]
add edx, 2
test cx, cx
jne 0x4439c0
sub edx, esi
sar edx, 1
lea ecx, [edx + edx]
push ecx
push eax
push 1
push 0
push str.PdfEngineModule
push dword [ebp - 0x29c]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov edx, dword [ebp - 0x290]
xor esi, esi
add edx, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x443b09
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x443b09
push 0
lea eax, [ebp - 0x29c]
push eax
push 0
push 0xf003f
push 0
push 0
push 0
push str.SoftwareMicrosoftWindowsCurrentVersionApp_PathsMasterPDF_Installer.exe
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x443b09
push 0x80
push eax
lea eax, [ebp - 0x84]
push eax
call fcn.00455270
push 0
call fcn.00466611
push edx
push eax
lea eax, [ebp - 0x84]
push 0x49c2e0
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
lea ecx, [ebp - 0x84]
add esp, 0x20
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x443a80
mov esi, dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
sub ecx, edx
sar ecx, 1
lea eax, [ecx + ecx]
push eax
lea eax, [ebp - 0x84]
push eax
push 1
push 0
push str.Date
push dword [ebp - 0x29c]
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 0x443ac0
sub ecx, edi
sar ecx, 1
lea eax, [ecx + ecx]
push eax
push edx
push 1
push 0
push str.Path
push dword [ebp - 0x29c]
call esi
push 0x1a
push str.PdfServer.exe
push 1
push 0
push str.PdfEngineModule
push dword [ebp - 0x29c]
call esi
mov esi, eax
neg esi
sbb esi, esi
and esi, 0x80004005
push dword [ebp - 0x29c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
xor ecx, ebp
pop esi
call fcn.0045230d
mov esp, ebp
pop ebp
ret 4