Function at 0x4696e0
Capabilities:
Query or enumerate registry key
Query or enumerate registry value
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x4a530b
mov eax, dword fs:[0]
push eax
mov eax, 0x14b0
call fcn.0048ed30
mov eax, dword [0x4c97a0]
xor eax, esp
mov dword [esp + 0x14a8], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4c97a0]
xor eax, esp
push eax
lea eax, [esp + 0x14c4]
mov dword fs:[0], eax
mov eax, dword [esp + 0x14d4]
mov edi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
xor ebp, ebp
mov dword [esp + 0x64], eax
mov dword [esp + 0x2c], ebp
jmp 0x469740
push 0x206
lea edx, [esp + 0xa9a]
xor ecx, ecx
push ebp
push edx
mov word [esp + 0xaa0], cx
call fcn.0048dc10
mov eax, dword [esp + 0x38]
add esp, 0xc
cmp eax, ebp
jne 0x469776
lea esi, [esp + 0xa94]
call fcn.00468860
jmp 0x469787
cmp eax, 1
jne 0x469787
lea esi, [esp + 0xa94]
call fcn.00468bb0
push 0x40e
lea ecx, [esp + 0x10b2]
xor eax, eax
push ebp
push ecx
mov word [esp + 0x10b8], ax
call fcn.0048dc10
add esp, 0xc
lea edx, [esp + 0xa94]
push edx
push str.SOFTWAREMicrosoftWindowsCurrentVersionInstallerUserData_sProducts
mov eax, 0x410
lea ebx, [esp + 0x10b4]
call fcn.00468de0
add esp, 8
mov dword [esp + 0x14], ebp
mov eax, 0x20019
cmp dword [0x4d2040], ebp
je 0x4697de
mov eax, 0x20119
lea ecx, [esp + 0x14]
push ecx
push eax
push ebp
lea edx, [esp + 0x10b8]
push edx
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x469fe9
push 0x206
lea ecx, [esp + 0x482]
push ebp
push ecx
xor ebx, ebx
mov word [esp + 0x488], ax
call fcn.0048dc10
add esp, 0xc
lea edx, [esp + 0x58]
push edx
mov edx, dword [esp + 0x18]
push ebp
push ebp
xor eax, eax
push ebp
mov dword [esp + 0x68], eax
mov dword [esp + 0x6c], eax
lea eax, [esp + 0x44]
push eax
lea ecx, [esp + 0x490]
push ecx
push ebp
push edx
mov dword [esp + 0x54], 0x208
call edi
test eax, eax
jne 0x469fda
lea esi, [esp + 0x47c]
lea eax, [esp + 0x88c]
sub esi, eax
mov dword [esp + 0x38], esi
inc ebx
mov dword [esp + 0x60], ebx
mov dword [esp + 0x34], 0x208
mov dword [esp + 0x24], ebp
mov edx, 0x104
lea eax, [esp + 0x88c]
jmp 0x469890
lea ecx, [edx + 0x7ffffefa]
test ecx, ecx
je 0x4698b0
movzx ecx, word [esi + eax]
cmp cx, bp
je 0x4698b0
mov word [eax], cx
add eax, 2
sub edx, 1
jne 0x469890
jmp 0x4698b4
cmp edx, ebp
jne 0x4698b7
sub eax, 2
xor edx, edx
mov word [eax], dx
mov eax, 0x104
lea ecx, [esp + 0x88c]
cmp word [ecx], bp
je 0x4698d7
add ecx, 2
sub eax, 1
jne 0x4698c8
jmp 0x469931
cmp eax, ebp
je 0x469931
mov edx, 0x104
sub edx, eax
mov ecx, 0x104
sub ecx, edx
lea eax, [esp + edx*2 + 0x88c]
je 0x46991f
mov edi, str.Patches
lea esi, [ecx + edx + 0x7ffffefb]
sub edi, eax
cmp esi, ebp
je 0x46991b
movzx edx, word [eax + edi]
cmp dx, bp
je 0x46991b
mov word [eax], dx
dec ecx
add eax, 2
dec esi
cmp ecx, ebp
jne 0x469900
jmp 0x46991f
cmp ecx, ebp
jne 0x469922
sub eax, 2
mov edi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
mov esi, dword [esp + 0x38]
xor ecx, ecx
mov word [eax], cx
mov ecx, dword [esp + 0x14]
lea edx, [esp + 0x24]
push edx
push 0x20019
push ebp
lea eax, [esp + 0x898]
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x469fb5
push 0x206
lea eax, [esp + 0x68a]
xor edx, edx
push ebp
push eax
mov dword [esp + 0x3c], ebp
mov word [esp + 0x690], dx
call fcn.0048dc10
add esp, 0xc
lea ecx, [esp + 0x50]
push ecx
mov ecx, dword [esp + 0x28]
push ebp
push ebp
xor eax, eax
push ebp
lea edx, [esp + 0x38]
push edx
mov dword [esp + 0x64], eax
mov dword [esp + 0x68], eax
lea eax, [esp + 0x698]
push eax
push ebp
push ecx
mov dword [esp + 0x48], 0x208
call edi
test eax, eax
jne 0x469f9a
lea eax, [esp + 0x10ac]
lea edx, [esp + 0x6c]
sub eax, edx
mov dword [esp + 0x68], eax
jmp 0x4699d0
inc dword [esp + 0x30]
mov esi, dword [esp + 0x68]
mov dword [esp + 0x28], 0x208
mov dword [esp + 0x18], 0
mov edx, 0x104
lea eax, [esp + 0x6c]
lea ecx, [edx + 0x7ffffefa]
test ecx, ecx
je 0x469a11
movzx ecx, word [eax + esi]
test cx, cx
je 0x469a11
mov word [eax], cx
add eax, 2
sub edx, 1
jne 0x4699f1
jmp 0x469a15
test edx, edx
jne 0x469a18
sub eax, 2
xor edx, edx
mov word [eax], dx
mov eax, 0x104
lea ecx, [esp + 0x6c]
cmp word [ecx], 0
je 0x469a36
add ecx, 2
sub eax, 1
jne 0x469a26
jmp 0x469a87
test eax, eax
je 0x469a87
mov edx, 0x104
sub edx, eax
mov ecx, 0x104
sub ecx, edx
lea eax, [esp + edx*2 + 0x6c]
je 0x469a7f
mov edi, 0x4b42e8
lea esi, [ecx + edx + 0x7ffffefb]
sub edi, eax
lea esp, [esp]
test esi, esi
je 0x469a7b
movzx edx, word [eax + edi]
test dx, dx
je 0x469a7b
mov word [eax], dx
dec ecx
add eax, 2
dec esi
test ecx, ecx
jne 0x469a60
jmp 0x469a7f
test ecx, ecx
jne 0x469a82
sub eax, 2
xor ecx, ecx
mov word [eax], cx
mov eax, 0x104
lea ecx, [esp + 0x6c]
cmp word [ecx], 0
je 0x469aa0
add ecx, 2
sub eax, 1
jne 0x469a90
jmp 0x469aef
test eax, eax
je 0x469aef
mov edx, 0x104
sub edx, eax
mov ecx, 0x104
sub ecx, edx
lea eax, [esp + edx*2 + 0x6c]
je 0x469ae7
lea edi, [esp + 0x88c]
lea esi, [ecx + edx + 0x7ffffefb]
sub edi, eax
test esi, esi
je 0x469ae3
movzx edx, word [eax + edi]
test dx, dx
je 0x469ae3
mov word [eax], dx
dec ecx
add eax, 2
dec esi
test ecx, ecx
jne 0x469ac8
jmp 0x469ae7
test ecx, ecx
jne 0x469aea
sub eax, 2
xor edx, edx
mov word [eax], dx
mov eax, 0x104
lea ecx, [esp + 0x6c]
cmp word [ecx], 0
je 0x469b08
add ecx, 2
sub eax, 1
jne 0x469af8
jmp 0x469b57
test eax, eax
je 0x469b57
mov edx, 0x104
sub edx, eax
mov ecx, 0x104
sub ecx, edx
lea eax, [esp + edx*2 + 0x6c]
je 0x469b4f
mov edi, 0x4b42e8
lea esi, [ecx + edx + 0x7ffffefb]
sub edi, eax
mov edi, edi
test esi, esi
je 0x469b4b
movzx edx, word [eax + edi]
test dx, dx
je 0x469b4b
mov word [eax], dx
dec ecx
add eax, 2
dec esi
test ecx, ecx
jne 0x469b30
jmp 0x469b4f
test ecx, ecx
jne 0x469b52
sub eax, 2
xor ecx, ecx
mov word [eax], cx
mov eax, 0x104
lea ecx, [esp + 0x6c]
cmp word [ecx], 0
je 0x469b70
add ecx, 2
sub eax, 1
jne 0x469b60
jmp 0x469bbf
test eax, eax
je 0x469bbf
mov edx, 0x104
sub edx, eax
mov ecx, 0x104
sub ecx, edx
lea eax, [esp + edx*2 + 0x6c]
je 0x469bb7
lea edi, [esp + 0x684]
lea esi, [ecx + edx + 0x7ffffefb]
sub edi, eax
test esi, esi
je 0x469bb3
movzx edx, word [eax + edi]
test dx, dx
je 0x469bb3
mov word [eax], dx
dec ecx
add eax, 2
dec esi
test ecx, ecx
jne 0x469b98
jmp 0x469bb7
test ecx, ecx
jne 0x469bba
sub eax, 2
xor edx, edx
mov word [eax], dx
xor eax, eax
push 0x206
push eax
lea ecx, [esp + 0xca6]
push ecx
mov word [esp + 0xca8], ax
call fcn.0048dc10
add esp, 0xc
xor edx, edx
push 0x206
push edx
lea eax, [esp + 0xeae]
push eax
mov word [esp + 0xeb0], dx
call fcn.0048dc10
lea eax, [esp + 0x488]
add esp, 0xc
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x469c10
sub eax, edx
sar eax, 1
cmp eax, 0x20
jb 0x469c38
lea ecx, [esp + 0x47c]
push ecx
lea ecx, [esp + 0xca0]
call fcn.004691f0
lea eax, [esp + 0x684]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x469c42
sub eax, edx
sar eax, 1
cmp eax, 0x20
jb 0x469c6a
lea edx, [esp + 0x684]
push edx
lea ecx, [esp + 0xea8]
call fcn.004691f0
lea eax, [esp + 0x18]
push eax
push 0x20019
push 0
lea ecx, [esp + 0x78]
push ecx
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x469f6a
push 0x206
xor ebp, ebp
lea eax, [esp + 0x27a]
xor edx, edx
push ebp
push eax
mov word [esp + 0x280], dx
call fcn.0048dc10
mov edx, dword [0x4ce67c]
mov eax, dword [edx + 0xc]
add esp, 0xc
mov ecx, 0x4ce67c
mov dword [esp + 0x20], 4
call eax
mov edx, dword [0x4ce67c]
lea ebx, [eax + 0x10]
mov eax, dword [edx + 0xc]
mov ecx, 0x4ce67c
mov dword [esp + 0x44], ebx
call eax
lea esi, [eax + 0x10]
mov dword [esp + 0x48], esi
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x40], ebp
lea ecx, [esp + 0x20]
push ecx
lea edx, [esp + 0x278]
push edx
push ebp
push ebp
mov dword [esp + 0x14dc], ebp
mov eax, dword [esp + 0x28]
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push str.Uninstallable
push eax
call edi
test eax, eax
jne 0x469d2b
cmp dword [esp + 0x20], ebp
jbe 0x469d2b
cmp word [esp + 0x274], 1
je 0x469d78
mov ecx, dword [esp + 0x18]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [esi - 0x10]
mov dword [esp + 0x14cc], 0xffffffff
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x469d5d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [ebx - 0x10]
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x469f6a
jmp 0x469f60
lea edx, [esp + 0x20]
push edx
lea eax, [esp + 0x278]
push eax
push ebp
xor ecx, ecx
push ebp
mov word [esp + 0x284], cx
mov ecx, dword [esp + 0x28]
push str.DisplayName
push ecx
mov dword [esp + 0x38], 0x208
call edi
test eax, eax
jne 0x469dea
cmp dword [esp + 0x20], ebp
jbe 0x469dea
lea eax, [esp + 0x274]
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
cmp cx, bp
jne 0x469dc0
sub eax, edx
sar eax, 1
lea edx, [esp + 0x274]
mov ebx, eax
push edx
lea eax, [esp + 0x48]
call fcn.0046c7e0
mov esi, dword [esp + 0x48]
mov ebx, dword [esp + 0x44]
cmp word [esp + 0x274], bp
jne 0x469e1f
mov eax, dword [esp + 0x18]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [esi - 0x10]
mov dword [esp + 0x14cc], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jmp 0x469d51
lea ecx, [esp + 0xea4]
push ecx
lea edx, [esp + 0xca0]
push edx
push str.MsiExec.exe__package__s__uninstall__s__qb
lea edi, [esp + 0x54]
call fcn.0046afd0
mov ebp, dword [esp + 0x50]
add esp, 0xc
push 0x4b804c
push ebp
call dword [sym.imp.SHLWAPI.dll_StrStrIW]
mov ecx, eax
call fcn.0046ae20
mov ebx, dword [esp + 0x64]
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x1c]
push eax
call fcn.0046b710
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x40]
mov edi, eax
mov dword [edi], ecx
mov dword [edi + 4], edx
mov esi, dword [edi + 8]
lea eax, [ebp - 0x10]
sub esi, 0x10
mov dword [esp + 0x1c], eax
cmp eax, esi
je 0x469ec9
cmp dword [esi + 0xc], 0
lea ebx, [esi + 0xc]
jl 0x469ebd
mov ecx, dword [eax]
cmp ecx, dword [esi]
jne 0x469ebd
call fcn.0046b5f0
mov ebp, eax
or edx, 0xffffffff
lock xadd dword [ebx], edx
dec edx
test edx, edx
jg 0x469eb5
mov ecx, dword [esi]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push esi
call edx
add ebp, 0x10
mov dword [edi + 8], ebp
jmp 0x469ec9
mov ebx, dword [ebp - 0xc]
push ebp
lea eax, [edi + 8]
call fcn.0046c7e0
mov eax, dword [esp + 0x48]
mov esi, dword [edi + 0xc]
add edi, 0xc
lea ebp, [eax - 0x10]
sub esi, 0x10
cmp ebp, esi
je 0x469f24
cmp dword [esi + 0xc], 0
lea ebx, [esi + 0xc]
jl 0x469f19
mov ecx, dword [ebp]
cmp ecx, dword [esi]
jne 0x469f19
mov eax, ebp
call fcn.0046b5f0
mov dword [esp + 0x4c], eax
or edx, 0xffffffff
lock xadd dword [ebx], edx
dec edx
test edx, edx
jg 0x469f0e
mov ecx, dword [esi]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push esi
call edx
mov eax, dword [esp + 0x4c]
add eax, 0x10
mov dword [edi], eax
jmp 0x469f24
mov ebx, dword [eax - 0xc]
push eax
mov eax, edi
call fcn.0046c7e0
mov dword [esp + 0x14cc], 0xffffffff
lea ecx, [ebp + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x469f49
mov ecx, dword [ebp]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push ebp
call edx
mov eax, dword [esp + 0x1c]
add eax, 0xc
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x469f6a
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x50]
push ecx
mov ecx, dword [esp + 0x34]
push 0
push 0
push 0
lea edx, [esp + 0x38]
push edx
mov edx, dword [esp + 0x38]
lea eax, [esp + 0x698]
push eax
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
je 0x4699d0
mov eax, dword [esp + 0x24]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ebx, dword [esp + 0x60]
mov edi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
mov esi, dword [esp + 0x38]
xor ebp, ebp
lea ecx, [esp + 0x58]
push ecx
mov ecx, dword [esp + 0x18]
push ebp
push ebp
push ebp
lea edx, [esp + 0x44]
push edx
lea eax, [esp + 0x490]
push eax
push ebx
push ecx
call edi
test eax, eax
je 0x46986b
mov edx, dword [esp + 0x14]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0x14], ebp
mov eax, dword [esp + 0x2c]
inc eax
cmp eax, 2
mov dword [esp + 0x2c], eax
jl 0x469740
mov eax, 1
mov ecx, dword [esp + 0x14c4]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x14a8]
xor ecx, esp
call fcn.0048b133
add esp, 0x14bc
ret 4