Function at 0x423460
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5c2286
mov eax, dword fs:[0]
push eax
sub esp, 0x358
mov eax, dword [0x64b9b0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ecx, 0x26
lea edi, [ebp - 0x140]
mov esi, str.SoftwareMicrosoftWindowsCurrentVersionExplorerFileExts.pdfUserChoice
lea edx, [ebp - 0x140]
rep movsd dword es:[edi], dword [esi]
push str.ProgId
mov ecx, reloc.WS2_32.dll_accept
call fcn.00473d40
add esp, 4
lea ecx, [ebp - 0x34c]
push eax
call fcn.004032f0
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x34c]
mov esi, dword [eax - 0xc]
test esi, esi
jns 0x4234e1
push 0x80070057
call fcn.004022b0
mov ecx, dword [eax - 8]
mov edx, 1
sub edx, dword [eax - 4]
sub ecx, esi
or ecx, edx
jge 0x423504
push esi
lea ecx, [ebp - 0x34c]
call fcn.004039d0
mov eax, dword [ebp - 0x34c]
lea ecx, [esi + 1]
push ecx
push eax
call fcn.005a46e6
mov eax, dword [ebp - 0x34c]
add esp, 8
cmp esi, dword [eax - 8]
jg 0x4234d7
mov dword [eax - 0xc], esi
xor ecx, ecx
mov eax, dword [ebp - 0x34c]
mov word [eax + esi*2], cx
mov eax, dword [ebp - 0x34c]
cmp dword [eax - 0xc], ecx
jl 0x42355d
push str..document.dc
push eax
call fcn.005943d7
mov ecx, eax
add esp, 8
mov eax, dword [ebp - 0x34c]
test ecx, ecx
je 0x42355d
sub ecx, eax
sar ecx, 1
cmp ecx, 0xffffffff
jne 0x4236a6
mov ecx, dword [0x624e64]
movups xmm0, xmmword [str.MasterPDF]
mov dword [ebp - 0x14], ecx
lea ecx, [ebp - 0x24]
push ecx
push eax
movups xmmword [ebp - 0x24], xmm0
call fcn.0059b7f6
add esp, 8
test eax, eax
je 0x4236a0
push 0x61e1b4
push str.none
push str.associate_pdf
push 0
call fcn.0047e230
add esp, 0x10
mov dword [ebp - 0x350], 0
lea eax, [ebp - 0x350]
mov ecx, 0x21
mov esi, str.SoftwareMicrosoftWindowsCurrentVersionApp_PathsMasterPDF.exe
lea edi, [ebp - 0xa8]
rep movsd dword es:[edi], dword [esi]
push eax
push 0x20019
push 0
lea eax, [ebp - 0xa8]
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4236a0
push eax
push eax
push eax
push eax
push eax
push eax
push eax
mov dword [ebp - 0x354], eax
lea eax, [ebp - 0x354]
push eax
push 0
push 0
push 0
push dword [ebp - 0x350]
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
test eax, eax
jne 0x423694
push 0x208
push eax
lea eax, [ebp - 0x348]
push eax
call fcn.005949a0
add esp, 0xc
mov dword [ebp - 0x35c], 1
lea eax, [ebp - 0x358]
mov dword [ebp - 0x358], 0x208
push eax
lea eax, [ebp - 0x348]
push eax
lea eax, [ebp - 0x35c]
push eax
push 0
push str.Launcher
push dword [ebp - 0x350]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push ecx
mov ecx, esp
mov dword [ebp - 0x360], esp
push 0x61e1b4
call fcn.004032f0
push ecx
lea eax, [ebp - 0x348]
mov byte [ebp - 4], 1
mov ecx, esp
push eax
call fcn.004032f0
mov byte [ebp - 4], 0
call fcn.00472970
add esp, 8
push dword [ebp - 0x350]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x34c]
lea edx, [eax - 0x10]
mov dword [ebp - 4], 0xffffffff
or eax, 0xffffffff
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4236c5
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
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.0057b967
mov esp, ebp
pop ebp
ret