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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x508f86
mov eax, dword fs:[0]
push eax
sub esp, 0x288
mov eax, dword [0x567040]
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 0x4186f3
cmp dword [ecx + 0x14], 7
jbe 0x41805c
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.0041bc80
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 0x4186f8
cmp dword [eax + 0x14], 7
jbe 0x41809c
mov eax, dword [eax]
push edx
push eax
push 1
push 0x522af4
push ecx
push dword [ebp - 0x264]
lea ecx, [ebp - 0x260]
call fcn.0041bc80
push 1
push 0x522af4
lea ecx, [ebp - 0x260]
mov byte [ebp - 4], 2
call fcn.00416b10
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.00414f90
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 0x418182
cmp dword [edi + 0x14], 7
mov eax, edi
jbe 0x418158
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 0x522af8
push eax
call fcn.00417000
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 0x418655
mov edx, dword [ebp - 0x26c]
mov esi, dword [ebp - 0x270]
cmp dword [edx + 0x14], 7
jbe 0x4181e3
mov edx, dword [edx]
test edx, edx
je 0x418648
mov ecx, edx
lea eax, [ecx + 2]
mov dword [ebp - 0x26c], eax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4181f6
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 0x418648
cmp dword [0x572bfc], 7
mov edx, 0x572be8
jbe 0x418246
mov edx, dword [0x572be8]
test edx, edx
je 0x418648
mov ecx, edx
lea eax, [ecx + 2]
mov dword [ebp - 0x26c], eax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x418251
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 0x418648
cmp dword [edi + 0x14], 7
jbe 0x41828d
mov edi, dword [edi]
test edi, edi
je 0x418648
mov ecx, edi
lea edx, [ecx + 2]
nop word [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4182a0
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 0x418648
mov edx, dword [ebp - 0x264]
cmp dword [edx + 0x14], 7
jbe 0x4182e0
mov edx, dword [edx]
test edx, edx
je 0x418648
mov ecx, edx
lea eax, [ecx + 2]
mov dword [ebp - 0x264], eax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4182f3
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 0x418648
mov eax, dword [ebp - 0x268]
mov edx, eax
cmp dword [eax + 0x14], 7
jbe 0x418333
mov edx, dword [eax]
test edx, edx
je 0x418648
mov ecx, edx
lea eax, [ecx + 2]
mov dword [ebp - 0x264], eax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x418346
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 0x418648
mov edx, dword [ebp - 0x268]
cmp dword [edx + 0x14], 7
jbe 0x418384
mov edx, dword [edx]
test edx, edx
je 0x418648
mov ecx, edx
lea eax, [ecx + 2]
mov dword [ebp - 0x264], eax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x418397
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 0x418648
push 0x208
push eax
lea eax, [ebp - 0x218]
push eax
call fcn.004d8e30
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 0x41843c
mov eax, dword [ebp - 0x264]
cmp eax, 1
je 0x41841d
cmp eax, 2
jne 0x41843c
mov eax, dword [ebp - 0x268]
test eax, eax
je 0x41868d
test al, 1
jne 0x41843c
shr eax, 1
cmp word [ebp + eax*2 - 0x21a], 0
je 0x418494
cmp dword [ebp - 0x21c], 7
lea edx, [ebp - 0x230]
jbe 0x418459
mov edx, dword [ebp - 0x230]
test edx, edx
je 0x418648
mov ecx, edx
lea eax, [ecx + 2]
mov dword [ebp - 0x264], eax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x418464
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 0x418648
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 0x418648
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 0x418648
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 0x418648
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 0x418648
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 0x418648
mov eax, dword [ebp - 0x274]
mov edx, eax
cmp dword [eax + 0x14], 7
jbe 0x41856a
mov edx, dword [eax]
test edx, edx
je 0x418648
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 0x418580
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 0x418648
mov eax, dword [ebp - 0x274]
mov edx, eax
cmp dword [eax + 0x14], 7
jbe 0x4185c0
mov edx, dword [eax]
test edx, edx
je 0x418648
mov ecx, edx
lea eax, [ecx + 2]
mov dword [ebp - 0x264], eax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4185d3
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 0x418648
mov edx, dword [ebp - 0x274]
cmp dword [edx + 0x14], 7
jbe 0x41860d
mov edx, dword [edx]
test edx, edx
je 0x418648
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 0x418620
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 0x418655
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor esi, esi
mov ecx, dword [ebp - 0x21c]
cmp ecx, 7
jbe 0x4186a5
mov edx, dword [ebp - 0x230]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x41869b
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4186fd
jmp 0x41869b
xor eax, eax
mov word [ebp - 0x218], ax
jmp 0x418494
push ecx
push edx
call fcn.004d4041
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.00414f90
test esi, esi
je 0x4186d8
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.004d402e
mov esp, ebp
pop ebp
ret
call fcn.00401610
call fcn.00401610
call fcn.004e399c
int3