Function at 0x417fa0
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x508036
mov eax, dword fs:[0]
push eax
sub esp, 0x288
mov eax, dword [0x566040]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x26c], edx
mov eax, dword [ebp + 0xc]
xor esi, esi
mov edi, dword [ebp + 0x18]
mov dword [ebp - 0x264], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x268], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x270], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x274], eax
mov dword [ebp - 0x294], esi
mov dword [ebp - 0x290], esi
mov dword [ebp - 0x28c], esi
mov dword [ebp - 4], esi
mov eax, 0x7ffffffe
mov edx, dword [ecx + 0x10]
sub eax, edx
cmp eax, 0x34
jb 0x4186c3
cmp dword [ecx + 0x14], 7
jbe 0x41802c
mov ecx, dword [ecx]
push edx
push ecx
push 0x34
push str.SOFTWAREMicrosoftWindowsCurrentVersionUninstall_
push ecx
push dword [ebp - 0x264]
lea ecx, [ebp - 0x248]
call fcn.0041bb70
mov byte [ebp - 4], 1
mov ecx, 0x7ffffffe
mov eax, dword [ebp - 0x270]
mov edx, dword [eax + 0x10]
sub ecx, edx
cmp ecx, 1
jb 0x4186c8
cmp dword [eax + 0x14], 7
jbe 0x41806c
mov eax, dword [eax]
push edx
push eax
push 1
push 0x521af4
push ecx
push dword [ebp - 0x264]
lea ecx, [ebp - 0x260]
call fcn.0041bb70
push 1
push 0x521af4
lea ecx, [ebp - 0x260]
mov byte [ebp - 4], 2
call fcn.00416ae0
mov dword [ebp - 0x220], 0
xorps xmm0, xmm0
movups xmmword [ebp - 0x230], xmm0
mov dword [ebp - 0x21c], 0
xor ecx, ecx
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x230], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x220], xmm0
mov word [eax], cx
lea ecx, [ebp - 0x260]
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
call fcn.00414f60
cmp dword [edi + 0x10], 0
mov dword [ebp - 0x278], 0
mov dword [ebp - 0x27c], 0
mov dword [ebp - 0x280], 0
mov dword [ebp - 0x284], 0
je 0x418152
cmp dword [edi + 0x14], 7
mov eax, edi
jbe 0x418128
mov eax, dword [edi]
lea ecx, [ebp - 0x284]
push ecx
lea ecx, [ebp - 0x280]
push ecx
lea ecx, [ebp - 0x27c]
push ecx
lea ecx, [ebp - 0x278]
push ecx
push 0x521af8
push eax
call fcn.00416fd0
add esp, 0x18
cmp dword [ebp - 0x234], 7
lea ecx, [ebp - 0x288]
push ecx
lea ecx, [ebp - 0x270]
mov dword [ebp - 0x270], 0
push ecx
push 0
push 0x2001f
push 0
push 0
lea eax, [ebp - 0x248]
cmova eax, dword [ebp - 0x248]
push 0
push eax
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x418625
mov edx, dword [ebp - 0x26c]
mov esi, dword [ebp - 0x270]
cmp dword [edx + 0x14], 7
jbe 0x4181b3
mov edx, dword [edx]
test edx, edx
je 0x418618
mov ecx, edx
lea eax, [ecx + 2]
mov dword [ebp - 0x26c], eax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4181c6
sub ecx, dword [ebp - 0x26c]
sar ecx, 1
lea eax, [ecx*2 + 2]
push eax
push edx
push 1
push 0
push str.DisplayName
push esi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x418618
cmp dword [0x571b24], 7
mov edx, 0x571b10
jbe 0x418216
mov edx, dword [0x571b10]
test edx, edx
je 0x418618
mov ecx, edx
lea eax, [ecx + 2]
mov dword [ebp - 0x26c], eax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x418221
sub ecx, dword [ebp - 0x26c]
sar ecx, 1
lea eax, [ecx*2 + 2]
push eax
push edx
push 1
push 0
push str.DisplayIcon
push esi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x418618
cmp dword [edi + 0x14], 7
jbe 0x41825d
mov edi, dword [edi]
test edi, edi
je 0x418618
mov ecx, edi
lea edx, [ecx + 2]
nop word [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x418270
sub ecx, edx
sar ecx, 1
lea eax, [ecx*2 + 2]
push eax
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push 1
push 0
push str.DisplayVersion
push esi
call edi
test eax, eax
jne 0x418618
mov edx, dword [ebp - 0x264]
cmp dword [edx + 0x14], 7
jbe 0x4182b0
mov edx, dword [edx]
test edx, edx
je 0x418618
mov ecx, edx
lea eax, [ecx + 2]
mov dword [ebp - 0x264], eax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4182c3
sub ecx, dword [ebp - 0x264]
sar ecx, 1
lea eax, [ecx*2 + 2]
push eax
push edx
push 1
push 0
push str.Publisher
push esi
call edi
test eax, eax
jne 0x418618
mov eax, dword [ebp - 0x268]
mov edx, eax
cmp dword [eax + 0x14], 7
jbe 0x418303
mov edx, dword [eax]
test edx, edx
je 0x418618
mov ecx, edx
lea eax, [ecx + 2]
mov dword [ebp - 0x264], eax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x418316
sub ecx, dword [ebp - 0x264]
sar ecx, 1
lea eax, [ecx*2 + 2]
push eax
push edx
push 1
push 0
push str.InstallLocation
push esi
call edi
test eax, eax
jne 0x418618
mov edx, dword [ebp - 0x268]
cmp dword [edx + 0x14], 7
jbe 0x418354
mov edx, dword [edx]
test edx, edx
je 0x418618
mov ecx, edx
lea eax, [ecx + 2]
mov dword [ebp - 0x264], eax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x418367
sub ecx, dword [ebp - 0x264]
sar ecx, 1
lea eax, [ecx*2 + 2]
push eax
push edx
push 1
push 0
push str.UninstallPath
push esi
call edi
test eax, eax
jne 0x418618
push 0x208
push eax
lea eax, [ebp - 0x218]
push eax
call fcn.004d7f00
add esp, 0xc
mov dword [ebp - 0x268], 0x208
lea eax, [ebp - 0x268]
push eax
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x264]
push eax
push 0
push str.UninstallString
push esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x41840c
mov eax, dword [ebp - 0x264]
cmp eax, 1
je 0x4183ed
cmp eax, 2
jne 0x41840c
mov eax, dword [ebp - 0x268]
test eax, eax
je 0x41865d
test al, 1
jne 0x41840c
shr eax, 1
cmp word [ebp + eax*2 - 0x21a], 0
je 0x418464
cmp dword [ebp - 0x21c], 7
lea edx, [ebp - 0x230]
jbe 0x418429
mov edx, dword [ebp - 0x230]
test edx, edx
je 0x418618
mov ecx, edx
lea eax, [ecx + 2]
mov dword [ebp - 0x264], eax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x418434
sub ecx, dword [ebp - 0x264]
sar ecx, 1
lea eax, [ecx*2 + 2]
push eax
push edx
push 1
push 0
push str.UninstallString
push esi
call edi
test eax, eax
jne 0x418618
mov eax, dword [ebp + 0x1c]
push 4
mov dword [ebp - 0x264], eax
lea eax, [ebp - 0x264]
push eax
push 4
push 0
push str.EstimatedSize
push esi
call edi
test eax, eax
jne 0x418618
push 4
lea eax, [ebp - 0x264]
mov dword [ebp - 0x264], 1
push eax
push 4
push 0
push str.NoModify
push esi
call edi
test eax, eax
jne 0x418618
push 4
lea eax, [ebp - 0x264]
mov dword [ebp - 0x264], 1
push eax
push 4
push 0
push str.NoRepair
push esi
call edi
test eax, eax
jne 0x418618
mov eax, dword [ebp - 0x278]
push 4
mov dword [ebp - 0x264], eax
lea eax, [ebp - 0x264]
push eax
push 4
push 0
push str.VersionMajor
push esi
call edi
test eax, eax
jne 0x418618
mov eax, dword [ebp - 0x27c]
push 4
mov dword [ebp - 0x264], eax
lea eax, [ebp - 0x264]
push eax
push 4
push 0
push str.VersionMinor
push esi
call edi
test eax, eax
jne 0x418618
mov eax, dword [ebp - 0x274]
mov edx, eax
cmp dword [eax + 0x14], 7
jbe 0x41853a
mov edx, dword [eax]
test edx, edx
je 0x418618
mov ecx, edx
lea eax, [ecx + 2]
mov dword [ebp - 0x264], eax
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x418550
sub ecx, dword [ebp - 0x264]
sar ecx, 1
lea eax, [ecx*2 + 2]
push eax
push edx
push 1
push 0
push str.HelpLink
push esi
call edi
test eax, eax
jne 0x418618
mov eax, dword [ebp - 0x274]
mov edx, eax
cmp dword [eax + 0x14], 7
jbe 0x418590
mov edx, dword [eax]
test edx, edx
je 0x418618
mov ecx, edx
lea eax, [ecx + 2]
mov dword [ebp - 0x264], eax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4185a3
sub ecx, dword [ebp - 0x264]
sar ecx, 1
lea eax, [ecx*2 + 2]
push eax
push edx
push 1
push 0
push str.URLInfoAbout
push esi
call edi
test eax, eax
jne 0x418618
mov edx, dword [ebp - 0x274]
cmp dword [edx + 0x14], 7
jbe 0x4185dd
mov edx, dword [edx]
test edx, edx
je 0x418618
mov ecx, edx
lea eax, [ecx + 2]
mov dword [ebp - 0x264], eax
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4185f0
sub ecx, dword [ebp - 0x264]
sar ecx, 1
lea eax, [ecx*2 + 2]
push eax
push edx
push 1
push 0
push str.URLUpdateInfo
push esi
call edi
test esi, esi
je 0x418625
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor esi, esi
mov ecx, dword [ebp - 0x21c]
cmp ecx, 7
jbe 0x418675
mov edx, dword [ebp - 0x230]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x41866b
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4186cd
jmp 0x41866b
xor eax, eax
mov word [ebp - 0x218], ax
jmp 0x418464
push ecx
push edx
call fcn.004d3111
add esp, 8
xor eax, eax
mov dword [ebp - 0x220], 0
lea ecx, [ebp - 0x248]
mov dword [ebp - 0x21c], 7
mov word [ebp - 0x230], ax
call fcn.00414f60
test esi, esi
je 0x4186a8
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
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.004d30fe
mov esp, ebp
pop ebp
ret
call fcn.00401610
call fcn.00401610
call fcn.004e2a5c
int3