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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x509056
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 0x418923
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 - 0x264]
lea ecx, [ebp - 0x248]
call fcn.0041bd80
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 0x418928
cmp dword [eax + 0x14], 7
jbe 0x4182cc
mov eax, dword [eax]
push edx
push eax
push 1
push 0x522ab4
push ecx
push dword [ebp - 0x264]
lea ecx, [ebp - 0x260]
call fcn.0041bd80
push 1
push 0x522ab4
lea ecx, [ebp - 0x260]
mov byte [ebp - 4], 2
call fcn.00416c00
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.00415000
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 0x4183b2
cmp dword [edi + 0x14], 7
mov eax, edi
jbe 0x418388
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 0x522ab8
push eax
call fcn.00417210
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 0x418885
mov edx, dword [ebp - 0x26c]
mov esi, dword [ebp - 0x270]
cmp dword [edx + 0x14], 7
jbe 0x418413
mov edx, dword [edx]
test edx, edx
je 0x418878
mov ecx, edx
lea eax, [ecx + 2]
mov dword [ebp - 0x26c], eax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x418426
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 0x418878
cmp dword [0x572bfc], 7
mov edx, 0x572be8
jbe 0x418476
mov edx, dword [0x572be8]
test edx, edx
je 0x418878
mov ecx, edx
lea eax, [ecx + 2]
mov dword [ebp - 0x26c], eax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x418481
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 0x418878
cmp dword [edi + 0x14], 7
jbe 0x4184bd
mov edi, dword [edi]
test edi, edi
je 0x418878
mov ecx, edi
lea edx, [ecx + 2]
nop word [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4184d0
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 0x418878
mov edx, dword [ebp - 0x264]
cmp dword [edx + 0x14], 7
jbe 0x418510
mov edx, dword [edx]
test edx, edx
je 0x418878
mov ecx, edx
lea eax, [ecx + 2]
mov dword [ebp - 0x264], eax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x418523
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 0x418878
mov eax, dword [ebp - 0x268]
mov edx, eax
cmp dword [eax + 0x14], 7
jbe 0x418563
mov edx, dword [eax]
test edx, edx
je 0x418878
mov ecx, edx
lea eax, [ecx + 2]
mov dword [ebp - 0x264], eax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x418576
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 0x418878
mov edx, dword [ebp - 0x268]
cmp dword [edx + 0x14], 7
jbe 0x4185b4
mov edx, dword [edx]
test edx, edx
je 0x418878
mov ecx, edx
lea eax, [ecx + 2]
mov dword [ebp - 0x264], eax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4185c7
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 0x418878
push 0x208
push eax
lea eax, [ebp - 0x218]
push eax
call fcn.004d8dc0
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 0x41866c
mov eax, dword [ebp - 0x264]
cmp eax, 1
je 0x41864d
cmp eax, 2
jne 0x41866c
mov eax, dword [ebp - 0x268]
test eax, eax
je 0x4188bd
test al, 1
jne 0x41866c
shr eax, 1
cmp word [ebp + eax*2 - 0x21a], 0
je 0x4186c4
cmp dword [ebp - 0x21c], 7
lea edx, [ebp - 0x230]
jbe 0x418689
mov edx, dword [ebp - 0x230]
test edx, edx
je 0x418878
mov ecx, edx
lea eax, [ecx + 2]
mov dword [ebp - 0x264], eax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x418694
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 0x418878
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 0x418878
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 0x418878
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 0x418878
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 0x418878
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 0x418878
mov eax, dword [ebp - 0x274]
mov edx, eax
cmp dword [eax + 0x14], 7
jbe 0x41879a
mov edx, dword [eax]
test edx, edx
je 0x418878
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 0x4187b0
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 0x418878
mov eax, dword [ebp - 0x274]
mov edx, eax
cmp dword [eax + 0x14], 7
jbe 0x4187f0
mov edx, dword [eax]
test edx, edx
je 0x418878
mov ecx, edx
lea eax, [ecx + 2]
mov dword [ebp - 0x264], eax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x418803
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 0x418878
mov edx, dword [ebp - 0x274]
cmp dword [edx + 0x14], 7
jbe 0x41883d
mov edx, dword [edx]
test edx, edx
je 0x418878
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 0x418850
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 0x418885
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor esi, esi
mov ecx, dword [ebp - 0x21c]
cmp ecx, 7
jbe 0x4188d5
mov edx, dword [ebp - 0x230]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4188cb
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41892d
jmp 0x4188cb
xor eax, eax
mov word [ebp - 0x218], ax
jmp 0x4186c4
push ecx
push edx
call fcn.004d4141
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.00415000
test esi, esi
je 0x418908
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.004d412e
mov esp, ebp
pop ebp
ret
call fcn.00401610
call fcn.00401610
call fcn.004e392c
int3