Function at 0x418200
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5086a3
mov eax, dword fs:[0]
push eax
sub esp, 0xb4
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 - 0x90], edx
mov eax, dword [ebp + 0xc]
xor esi, esi
mov edi, dword [ebp + 0x14]
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0xa0], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x9c], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x94], eax
mov dword [ebp - 0xc0], esi
mov dword [ebp - 0xbc], esi
mov dword [ebp - 0xb8], esi
mov dword [ebp - 4], esi
mov eax, 0x7ffffffe
mov edx, dword [ecx + 0x10]
sub eax, edx
cmp eax, 0x34
jb 0x418999
cmp dword [ecx + 0x14], 7
jbe 0x41828c
mov ecx, dword [ecx]
push edx
push ecx
push 0x34
push str.SOFTWAREMicrosoftWindowsCurrentVersionUninstall_
push ecx
push dword [ebp - 0x8c]
lea ecx, [ebp - 0x58]
call fcn.0041bdf0
mov byte [ebp - 4], 1
mov eax, 0x7ffffffe
mov ecx, dword [edi + 0x10]
sub eax, ecx
cmp eax, 1
jb 0x41899e
cmp dword [edi + 0x14], 7
mov eax, edi
jbe 0x4182c5
mov eax, dword [edi]
push ecx
push eax
push 1
push 0x521ab4
push ecx
push dword [ebp - 0x8c]
lea ecx, [ebp - 0x70]
call fcn.0041bdf0
push 1
push 0x521ab4
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 2
call fcn.00416c00
mov dword [ebp - 0x30], 0
xorps xmm0, xmm0
movups xmmword [ebp - 0x40], xmm0
mov dword [ebp - 0x2c], 0
xor ecx, ecx
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x40], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x30], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 4
call fcn.00415000
mov ecx, dword [edi + 0x10]
mov eax, 0x7ffffffe
sub eax, ecx
cmp eax, 1
jb 0x4189a3
cmp dword [edi + 0x14], 7
jbe 0x418350
mov edi, dword [edi]
push ecx
push edi
push 1
push 0x521ab4
push ecx
push dword [ebp - 0x8c]
lea ecx, [ebp - 0x88]
call fcn.0041bdf0
push 9
push 0x521ab8
lea ecx, [ebp - 0x88]
mov byte [ebp - 4], 5
call fcn.00416c00
mov dword [ebp - 0x18], 0
xorps xmm0, xmm0
movups xmmword [ebp - 0x28], xmm0
mov dword [ebp - 0x14], 0
xor ecx, ecx
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x28], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x18], xmm0
mov word [eax], cx
lea ecx, [ebp - 0x88]
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
call fcn.00415000
mov eax, dword [ebp - 0x9c]
mov dword [ebp - 0xa4], 0
mov dword [ebp - 0xa8], 0
mov dword [ebp - 0xac], 0
cmp dword [eax + 0x10], 0
mov dword [ebp - 0xb0], 0
je 0x41842d
cmp dword [eax + 0x14], 7
mov ecx, eax
jbe 0x418403
mov ecx, dword [eax]
lea eax, [ebp - 0xb0]
push eax
lea eax, [ebp - 0xac]
push eax
lea eax, [ebp - 0xa8]
push eax
lea eax, [ebp - 0xa4]
push eax
push str._d._d._d._d
push ecx
call fcn.00417210
add esp, 0x18
cmp dword [ebp - 0x44], 7
lea ecx, [ebp - 0xb4]
push ecx
lea ecx, [ebp - 0x98]
mov dword [ebp - 0x98], 0
push ecx
push 0
push 0x2001f
push 0
push 0
lea eax, [ebp - 0x58]
cmova eax, dword [ebp - 0x58]
push 0
push eax
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
jne 0x4188d7
mov edx, dword [ebp - 0x90]
mov esi, dword [ebp - 0x98]
cmp dword [edx + 0x14], 7
jbe 0x41848b
mov edx, dword [edx]
test edx, edx
je 0x4188ce
mov ecx, edx
lea edi, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4184a0
sub ecx, edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
sar ecx, 1
lea eax, [ecx*2 + 2]
push eax
push edx
push 1
push 0
push str.DisplayName
push esi
call edi
test eax, eax
jne 0x4188c8
cmp dword [0x571bcc], 7
mov edx, 0x571bb8
jbe 0x4184ee
mov edx, dword [0x571bb8]
test edx, edx
je 0x4188c8
mov ecx, edx
lea eax, [ecx + 2]
mov dword [ebp - 0x90], eax
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x418500
sub ecx, dword [ebp - 0x90]
sar ecx, 1
lea eax, [ecx*2 + 2]
push eax
push edx
push 1
push 0
push str.DisplayIcon
push esi
call edi
test eax, eax
jne 0x4188c8
mov edx, dword [ebp - 0x9c]
cmp dword [edx + 0x14], 7
jbe 0x41853e
mov edx, dword [edx]
test edx, edx
je 0x4188c8
mov ecx, edx
lea eax, [ecx + 2]
mov dword [ebp - 0x90], eax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x418551
sub ecx, dword [ebp - 0x90]
sar ecx, 1
lea eax, [ecx*2 + 2]
push eax
push edx
push 1
push 0
push str.DisplayVersion
push esi
call edi
test eax, eax
jne 0x4188c8
mov edx, dword [ebp - 0x8c]
cmp dword [edx + 0x14], 7
jbe 0x41858f
mov edx, dword [edx]
test edx, edx
je 0x4188c8
mov ecx, edx
lea eax, [ecx + 2]
mov dword [ebp - 0x8c], eax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4185a2
sub ecx, dword [ebp - 0x8c]
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 0x4188c8
mov eax, dword [ebp - 0xa0]
mov edx, eax
cmp dword [eax + 0x14], 7
jbe 0x4185e2
mov edx, dword [eax]
test edx, edx
je 0x4188c8
mov ecx, edx
lea eax, [ecx + 2]
mov dword [ebp - 0x8c], eax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4185f5
sub ecx, dword [ebp - 0x8c]
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 0x4188c8
mov edx, dword [ebp - 0xa0]
cmp dword [edx + 0x14], 7
jbe 0x418633
mov edx, dword [edx]
test edx, edx
je 0x4188c8
mov ecx, edx
lea eax, [ecx + 2]
mov dword [ebp - 0x8c], eax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x418646
sub ecx, dword [ebp - 0x8c]
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 0x4188c8
cmp dword [ebp - 0x2c], 7
lea edx, [ebp - 0x40]
jbe 0x41868a
mov edx, dword [ebp - 0x40]
test edx, edx
je 0x4188c8
mov ecx, edx
lea eax, [ecx + 2]
mov dword [ebp - 0x8c], eax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x418695
sub ecx, dword [ebp - 0x8c]
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 0x4188c8
cmp dword [ebp - 0x14], 7
lea edx, [ebp - 0x28]
jbe 0x4186d9
mov edx, dword [ebp - 0x28]
test edx, edx
je 0x4188c8
mov ecx, edx
lea eax, [ecx + 2]
mov dword [ebp - 0x8c], eax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4186e4
sub ecx, dword [ebp - 0x8c]
sar ecx, 1
lea eax, [ecx*2 + 2]
push eax
push edx
push 1
push 0
push str.QuietUninstallString
push esi
call edi
test eax, eax
jne 0x4188c8
mov eax, dword [ebp + 0x1c]
push 4
mov dword [ebp - 0x8c], eax
lea eax, [ebp - 0x8c]
push eax
push 4
push 0
push str.EstimatedSize
push esi
call edi
test eax, eax
jne 0x4188c8
push 4
lea eax, [ebp - 0x8c]
mov dword [ebp - 0x8c], 1
push eax
push 4
push 0
push str.NoModify
push esi
call edi
test eax, eax
jne 0x4188c8
push 4
lea eax, [ebp - 0x8c]
mov dword [ebp - 0x8c], 1
push eax
push 4
push 0
push str.NoRepair
push esi
call edi
test eax, eax
jne 0x4188c8
mov eax, dword [ebp - 0xa4]
push 4
mov dword [ebp - 0x8c], eax
lea eax, [ebp - 0x8c]
push eax
push 4
push 0
push str.VersionMajor
push esi
call edi
test eax, eax
jne 0x4188c8
mov eax, dword [ebp - 0xa8]
push 4
mov dword [ebp - 0x8c], eax
lea eax, [ebp - 0x8c]
push eax
push 4
push 0
push str.VersionMinor
push esi
call edi
test eax, eax
jne 0x4188c8
mov eax, dword [ebp - 0x94]
mov edx, eax
cmp dword [eax + 0x14], 7
jbe 0x4187ea
mov edx, dword [eax]
test edx, edx
je 0x4188c8
mov ecx, edx
lea eax, [ecx + 2]
mov dword [ebp - 0x8c], eax
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x418800
sub ecx, dword [ebp - 0x8c]
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 0x4188c8
mov eax, dword [ebp - 0x94]
mov edx, eax
cmp dword [eax + 0x14], 7
jbe 0x418840
mov edx, dword [eax]
test edx, edx
je 0x4188c8
mov ecx, edx
lea eax, [ecx + 2]
mov dword [ebp - 0x8c], eax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x418853
sub ecx, dword [ebp - 0x8c]
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 0x4188c8
mov edx, dword [ebp - 0x94]
cmp dword [edx + 0x14], 7
jbe 0x41888d
mov edx, dword [edx]
test edx, edx
je 0x4188c8
mov ecx, edx
lea eax, [ecx + 2]
mov dword [ebp - 0x8c], eax
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4188a0
sub ecx, dword [ebp - 0x8c]
sar ecx, 1
lea eax, [ecx*2 + 2]
push eax
push edx
push 1
push 0
push str.URLUpdateInfo
push esi
call edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
je 0x4188d7
push esi
call edi
xor esi, esi
mov ecx, dword [ebp - 0x14]
cmp ecx, 7
jbe 0x418911
mov edx, dword [ebp - 0x28]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x418907
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4189a8
push ecx
push edx
call fcn.004d37a1
add esp, 8
mov ecx, dword [ebp - 0x2c]
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
cmp ecx, 7
jbe 0x41895b
mov edx, dword [ebp - 0x40]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x418951
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4189a8
push ecx
push edx
call fcn.004d37a1
add esp, 8
xor eax, eax
mov dword [ebp - 0x30], 0
lea ecx, [ebp - 0x58]
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
call fcn.00415000
test esi, esi
je 0x41897e
push esi
call edi
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.004d378e
mov esp, ebp
pop ebp
ret
call fcn.00401610
call fcn.00401610
call fcn.00401610
call fcn.004e2f6c
int3