Function at 0x436820
Capabilities:
Check if file exists
Persist via app paths registry key
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4cb821
mov eax, dword fs:[0]
push eax
sub esp, 0x2bc
mov eax, dword [0x504108]
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 eax, dword [ebp + 0x10]
mov esi, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0x29c], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x2bc], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x2b8], eax
mov eax, dword [ebp + 0x1c]
push 0
mov dword [ebp - 0x2c4], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x2c0], eax
lea eax, [ebp - 0x2b0]
push eax
push 0
push 0xf003f
push 0
push 0
push 0
push str.SoftwareMicrosoftWindowsCurrentVersionApp_PathsMasterPDF.exe
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x2b0], 0
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x436d31
mov ecx, esi
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4368c0
mov ebx, dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
sub ecx, edx
sar ecx, 1
lea eax, [ecx + ecx]
push eax
push esi
push 1
push 0
push str.Path
push dword [ebp - 0x2b0]
call ebx
test eax, eax
je 0x436907
push dword [ebp - 0x2b0]
mov esi, 0x80004005
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
jmp 0x436d36
push 0x208
lea eax, [ebp - 0x298]
push 0
push eax
call fcn.0049d8c0
add esp, 0xc
lea eax, [ebp - 0x298]
push edi
mov edi, dword [sym.imp.SHLWAPI.dll_PathCombineW]
push esi
push eax
call edi
lea ecx, [ebp - 0x298]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x436937
sub ecx, edx
sar ecx, 1
lea eax, [ecx + ecx]
push eax
lea eax, [ebp - 0x298]
push eax
push 1
push 0
push 0x4e5224
push dword [ebp - 0x2b0]
call ebx
test eax, eax
jne 0x4368ef
push 0x208
push eax
lea eax, [ebp - 0x298]
push eax
call fcn.0049d8c0
add esp, 0xc
lea eax, [ebp - 0x298]
push dword [ebp - 0x29c]
push esi
push eax
call edi
lea ecx, [ebp - 0x298]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x436994
sub ecx, edx
sar ecx, 1
lea eax, [ecx + ecx]
push eax
lea eax, [ebp - 0x298]
push eax
push 1
push 0
push str.Launcher
push dword [ebp - 0x2b0]
call ebx
test eax, eax
jne 0x4368ef
push 0x80
push eax
lea eax, [ebp - 0x90]
push eax
call fcn.0049d8c0
push 0
call fcn.004b118c
push edx
push eax
lea eax, [ebp - 0x90]
push str._I64d
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x20
mov dword [ebp - 0x2a0], 0
lea eax, [ebp - 0x2a0]
push eax
call fcn.004376e0
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x2a0]
cmp dword [eax - 0xc], 0
je 0x436b24
lea ecx, [ebp - 0x2a4]
mov dword [ebp - 0x2a4], 0
call fcn.00462f60
mov byte [ebp - 4], 1
push dword [ebp - 0x2a4]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x436a8d
push ecx
mov ecx, esp
mov dword [ebp - 0x2c8], esp
push str.InstallTime
call fcn.00404280
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x2a4]
push ecx
add eax, 0xfffffff0
mov esi, esp
push eax
mov dword [ebp - 0x2b4], esi
call fcn.00404410
add esp, 4
add eax, 0x10
mov dword [esi], eax
mov byte [ebp - 4], 1
call fcn.00437980
push dword [ebp - 0x2a0]
mov ecx, dword [ebp - 0x2b0]
mov edx, str.Date
call fcn.00437020
push dword [ebp - 0x2a0]
call fcn.004afc91
cdq
lea ecx, [ebp - 0x2ac]
add esp, 4
mov dword [ebp - 0x2ac], eax
lea eax, [ebp - 0x29c]
mov dword [ebp - 0x2a8], edx
mov dword [ebp - 0x29c], 0
push eax
call fcn.00437d70
push dword [ebp - 0x29c]
mov ecx, dword [ebp - 0x2b0]
mov edx, str.InstallDate
call fcn.00437020
mov edx, dword [ebp - 0x29c]
or edi, 0xffffffff
add esp, 4
mov esi, eax
add edx, 0xfffffff0
mov ecx, edi
lock xadd dword [edx + 0xc], ecx
dec ecx
test ecx, ecx
jg 0x436b15
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0
mov edx, dword [ebp - 0x2a4]
jmp 0x436bb4
lea ecx, [ebp - 0x90]
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x436b30
sub ecx, edx
sar ecx, 1
lea eax, [ecx + ecx]
push eax
lea eax, [ebp - 0x90]
push eax
push 1
push 0
push str.Date
push dword [ebp - 0x2b0]
call ebx
lea eax, [ebp - 0x90]
push eax
call fcn.004afc91
cdq
lea ecx, [ebp - 0x2ac]
mov dword [ebp - 0x2ac], eax
lea eax, [ebp - 0x29c]
push eax
mov dword [ebp - 0x2a8], edx
mov dword [ebp - 0x29c], 0
call fcn.00437d70
push dword [ebp - 0x29c]
mov ecx, dword [ebp - 0x2b0]
mov edx, str.InstallDate
call fcn.00437020
mov edx, dword [ebp - 0x29c]
add esp, 4
mov esi, eax
or edi, 0xffffffff
mov eax, edi
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x436bcb
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
call fcn.004379e0
test eax, eax
je 0x436c3b
mov edx, dword [ebp - 0x2b8]
test edx, edx
je 0x436c0f
mov ecx, edx
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x436be3
sub ecx, esi
sar ecx, 1
je 0x436c0f
mov ecx, dword [ebp - 0x2b0]
push edx
mov edx, str.ActDate
call fcn.00437020
mov esi, eax
mov eax, dword [ebp - 0x2b8]
jmp 0x436c2e
mov ecx, dword [ebp - 0x2b0]
lea eax, [ebp - 0x90]
push eax
mov edx, str.ActDate
call fcn.00437020
mov esi, eax
lea eax, [ebp - 0x90]
mov ecx, esp
push eax
call fcn.00404280
call fcn.00437a60
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x2a0]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], edi
dec edi
test edi, edi
jg 0x436c5d
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
test esi, esi
js 0x436d21
mov esi, dword [ebp - 0x2bc]
mov ecx, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x436c70
sub ecx, edx
sar ecx, 1
lea eax, [ecx + ecx]
push eax
push esi
push 1
push 0
push 0x4e8b74
push dword [ebp - 0x2b0]
call ebx
test eax, eax
jne 0x4368ef
mov esi, dword [ebp - 0x2c0]
mov ecx, esi
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x436cb0
sub ecx, edx
sar ecx, 1
lea eax, [ecx + ecx]
push eax
push esi
push 1
push 0
push str.Qhclickid
push dword [ebp - 0x2b0]
call ebx
test eax, eax
jne 0x4368ef
mov esi, dword [ebp - 0x2c4]
mov ecx, esi
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x436cf0
sub ecx, edx
sar ecx, 1
lea eax, [ecx + ecx]
push eax
push esi
push 1
push 0
push 0x4e8b90
push dword [ebp - 0x2b0]
call ebx
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
jmp 0x436d36
mov eax, 0x80004005
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.00484ed0
mov esp, ebp
pop ebp
ret 0x1c