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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x508b26
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, bind
mov edx, dword [ecx + 0x10]
sub eax, edx
cmp eax, 0x34
jb 0x418833
cmp dword [ecx + 0x14], 7
jbe 0x41819c
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.0041bf70
mov byte [ebp - 4], 1
mov ecx, bind
mov eax, dword [ebp - 0x270]
mov edx, dword [eax + 0x10]
sub ecx, edx
cmp ecx, 1
jb 0x418838
cmp dword [eax + 0x14], 7
jbe 0x4181dc
mov eax, dword [eax]
push edx
push eax
push 1
push 0x522b5c
push ecx
push dword [ebp - 0x264]
lea ecx, [ebp - 0x260]
call fcn.0041bf70
push 1
push 0x522b5c
lea ecx, [ebp - 0x260]
mov byte [ebp - 4], 2
call fcn.00416a40
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.00414ec0
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 0x4182c2
cmp dword [edi + 0x14], 7
mov eax, edi
jbe 0x418298
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 0x522b60
push eax
call fcn.00416f30
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 reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x418795
mov edx, dword [ebp - 0x26c]
mov esi, dword [ebp - 0x270]
cmp dword [edx + 0x14], 7
jbe 0x418323
mov edx, dword [edx]
test edx, edx
je 0x418788
mov ecx, edx
lea eax, [ecx + 2]
mov dword [ebp - 0x26c], eax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x418336
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 0x418788
cmp dword [0x572b34], 7
mov edx, 0x572b20
jbe 0x418386
mov edx, dword [0x572b20]
test edx, edx
je 0x418788
mov ecx, edx
lea eax, [ecx + 2]
mov dword [ebp - 0x26c], eax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x418391
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 0x418788
cmp dword [edi + 0x14], 7
jbe 0x4183cd
mov edi, dword [edi]
test edi, edi
je 0x418788
mov ecx, edi
lea edx, [ecx + 2]
nop word [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4183e0
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 0x418788
mov edx, dword [ebp - 0x264]
cmp dword [edx + 0x14], 7
jbe 0x418420
mov edx, dword [edx]
test edx, edx
je 0x418788
mov ecx, edx
lea eax, [ecx + 2]
mov dword [ebp - 0x264], eax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x418433
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 0x418788
mov eax, dword [ebp - 0x268]
mov edx, eax
cmp dword [eax + 0x14], 7
jbe 0x418473
mov edx, dword [eax]
test edx, edx
je 0x418788
mov ecx, edx
lea eax, [ecx + 2]
mov dword [ebp - 0x264], eax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x418486
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 0x418788
mov edx, dword [ebp - 0x268]
cmp dword [edx + 0x14], 7
jbe 0x4184c4
mov edx, dword [edx]
test edx, edx
je 0x418788
mov ecx, edx
lea eax, [ecx + 2]
mov dword [ebp - 0x264], eax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4184d7
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 0x418788
push 0x208
push eax
lea eax, [ebp - 0x218]
push eax
call fcn.004d88b0
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 0x41857c
mov eax, dword [ebp - 0x264]
cmp eax, 1
je 0x41855d
cmp eax, 2
jne 0x41857c
mov eax, dword [ebp - 0x268]
test eax, eax
je 0x4187cd
test al, 1
jne 0x41857c
shr eax, 1
cmp word [ebp + eax*2 - 0x21a], 0
je 0x4185d4
cmp dword [ebp - 0x21c], 7
lea edx, [ebp - 0x230]
jbe 0x418599
mov edx, dword [ebp - 0x230]
test edx, edx
je 0x418788
mov ecx, edx
lea eax, [ecx + 2]
mov dword [ebp - 0x264], eax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4185a4
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 0x418788
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 0x418788
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 0x418788
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 0x418788
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 0x418788
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 0x418788
mov eax, dword [ebp - 0x274]
mov edx, eax
cmp dword [eax + 0x14], 7
jbe 0x4186aa
mov edx, dword [eax]
test edx, edx
je 0x418788
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 0x4186c0
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 0x418788
mov eax, dword [ebp - 0x274]
mov edx, eax
cmp dword [eax + 0x14], 7
jbe 0x418700
mov edx, dword [eax]
test edx, edx
je 0x418788
mov ecx, edx
lea eax, [ecx + 2]
mov dword [ebp - 0x264], eax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x418713
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 0x418788
mov edx, dword [ebp - 0x274]
cmp dword [edx + 0x14], 7
jbe 0x41874d
mov edx, dword [edx]
test edx, edx
je 0x418788
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 0x418760
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 0x418795
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor esi, esi
mov ecx, dword [ebp - 0x21c]
cmp ecx, 7
jbe 0x4187e5
mov edx, dword [ebp - 0x230]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4187db
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41883d
jmp 0x4187db
xor eax, eax
mov word [ebp - 0x218], ax
jmp 0x4185d4
push ecx
push edx
call fcn.004d3ab1
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.00414ec0
test esi, esi
je 0x418818
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.004d3a9e
mov esp, ebp
pop ebp
ret
call fcn.00401610
call fcn.00401610
call fcn.004e2ffc
int3