Function at 0x416fa0
Capabilities:
Query or enumerate registry value
Resolve function by parsing pe exports
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x49b9ff
mov eax, dword fs:[0]
push eax
sub esp, 0xfc
mov eax, dword [0x4bc7dc]
xor eax, esp
mov dword [esp + 0xf8], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4bc7dc]
xor eax, esp
push eax
lea eax, [esp + 0x110]
mov dword fs:[0], eax
mov esi, ecx
lea eax, [esp + 0x20]
push eax
mov ecx, 0x4a8968
mov dword [esp + 0x38], esi
call fcn.00402450
xor ebp, ebp
mov dword [esp + 0x118], ebp
mov ecx, dword [esi]
cmp ecx, ebp
je 0x41700d
mov edx, dword [ecx]
mov edx, dword [edx + 4]
lea eax, [esp + 0x20]
push eax
push 3
call edx
mov dword [esp + 0x118], 0xffffffff
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x417038
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor ecx, ecx
mov ebx, 7
push 0x22
mov eax, str.SoftwareGoogleGoogle_Input_Tools
lea esi, [esp + 0xbc]
mov dword [esp + 0xd0], ebx
mov dword [esp + 0xcc], ebp
mov word [esp + 0xbc], cx
call fcn.0040ca50
push 0x28
mov dword [esp + 0x11c], 1
call fcn.0048068d
add esp, 4
cmp eax, ebp
je 0x417099
mov dword [eax], ebp
mov dword [eax + 4], ebp
mov dword [eax + 8], ebp
xor edx, edx
mov dword [eax + 0x20], ebx
mov dword [eax + 0x1c], ebp
mov word [eax + 0xc], dx
mov esi, eax
jmp 0x41709b
xor esi, esi
mov byte [esp + 0x118], 1
mov eax, dword [esp + 0xb8]
mov edi, 8
cmp dword [esp + 0xcc], edi
jae 0x4170bf
lea eax, [esp + 0xb8]
push esi
mov edx, 0x2011f
mov ecx, 0x80000002
call fcn.0040e500
test eax, eax
je 0x417110
mov eax, dword [esp + 0xb8]
cmp dword [esp + 0xcc], edi
jae 0x4170ea
lea eax, [esp + 0xb8]
push 0x2011f
push esi
mov ecx, 0x80000002
call fcn.0040f930
test eax, eax
je 0x417110
cmp esi, ebp
je 0x417108
push esi
call fcn.00410800
xor edi, edi
mov dword [esp + 0x20], edi
jmp 0x417116
mov edi, esi
mov dword [esp + 0x20], esi
mov dword [esp + 0x44], edi
mov byte [esp + 0x118], 5
cmp dword [esp + 0xcc], 8
jb 0x41713c
mov eax, dword [esp + 0xb8]
push eax
call fcn.0047fe1e
add esp, 4
xor ecx, ecx
mov dword [esp + 0xcc], ebx
mov dword [esp + 0xc8], ebp
mov word [esp + 0xb8], cx
cmp edi, ebp
je 0x4176e7
push edi
call fcn.004182a0
lea edx, [esp + 0x1c]
push edx
mov ecx, 0x4a7e74
call fcn.00402450
mov edx, dword [esp + 0x1c]
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea eax, [esp + 0x30]
push eax
mov eax, dword [edi]
push ebp
lea ecx, [esp + 0x2c]
push ecx
push ebp
push edx
push eax
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x48], ebp
call esi
test eax, eax
mov eax, dword [esp + 0x1c]
setne bl
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4171ba
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, bl
mov ebx, dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
je 0x4171e4
mov ecx, dword [esp + 0x34]
movzx edx, byte [ecx + 0xd]
push 4
lea eax, [esp + 0x28]
push eax
push 4
push ebp
mov dword [esp + 0x34], edx
mov ecx, dword [edi]
push 0x4a7e74
push ecx
call ebx
lea edx, [esp + 0x1c]
push edx
mov ecx, str.BrandCode
call fcn.00402450
mov edx, dword [esp + 0x1c]
lea eax, [esp + 0x24]
push eax
mov eax, dword [edi]
push ebp
lea ecx, [esp + 0x38]
push ecx
push ebp
push edx
push eax
mov dword [esp + 0x48], ebp
mov dword [esp + 0x3c], ebp
call esi
test eax, eax
mov eax, dword [esp + 0x1c]
setne byte [esp + 0x1b]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x417238
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp byte [esp + 0x1b], 0
je 0x41726b
mov ecx, dword [esp + 0x34]
mov esi, dword [ecx + 0x10]
xor eax, eax
cmp esi, ebp
setne al
cmp eax, ebp
je 0x41726b
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea edx, [eax + eax + 2]
mov eax, dword [edi]
push edx
push esi
push 1
push ebp
push str.BrandCode
push eax
call ebx
lea ecx, [esp + 0x1c]
push ecx
mov ecx, str.InstallTime
call fcn.00402450
mov ecx, dword [esp + 0x1c]
lea edx, [esp + 0x24]
push edx
mov edx, dword [edi]
push ebp
lea eax, [esp + 0x38]
push eax
push ebp
push ecx
push edx
mov dword [esp + 0x48], ebp
mov dword [esp + 0x3c], ebp
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
mov eax, dword [esp + 0x1c]
setne byte [esp + 0x1b]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4172c3
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp byte [esp + 0x1b], 0
je 0x4172ef
push ebp
call fcn.004825a1
add esp, 4
push 4
lea ecx, [esp + 0x28]
push ecx
push 4
push ebp
mov dword [esp + 0x50], edx
mov dword [esp + 0x34], eax
mov edx, dword [edi]
push str.InstallTime
push edx
call ebx
push ebp
lea esi, [esp + 0x28]
call fcn.0040cb40
mov esi, dword [eax]
xor eax, eax
add esp, 4
cmp esi, ebp
setne al
cmp eax, ebp
je 0x417323
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ecx, dword [edi]
lea eax, [eax + eax + 2]
push eax
push esi
push 1
push ebp
push str.PATH
push ecx
call ebx
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x417343
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push 1
lea esi, [esp + 0x28]
call fcn.0040cb40
mov esi, dword [eax]
xor eax, eax
add esp, 4
cmp esi, ebp
setne al
cmp eax, ebp
je 0x417378
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov edx, dword [edi]
lea ecx, [eax + eax + 2]
push ecx
push esi
push 1
push ebp
push str.DataPath
push edx
call ebx
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x417398
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x34]
mov ecx, dword [eax + 0x2c]
sub ecx, dword [eax + 0x28]
mov eax, 0x66666667
imul ecx
sar edx, 4
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
mov dword [esp + 0x1c], ebp
je 0x4175ea
mov ebx, dword [esp + 0x34]
mov eax, dword [ebx + 0x28]
mov ecx, dword [eax + ebp + 8]
lea edx, [esp + 0xd4]
push edx
call fcn.0040bf70
add esp, 4
mov edi, eax
mov byte [esp + 0x118], 6
xor eax, eax
mov word [esp + 0x64], ax
push 0x1f
mov eax, str.SoftwareGoogleUpdateClients_
lea esi, [esp + 0x68]
mov dword [esp + 0x7c], 7
mov dword [esp + 0x78], 0
call fcn.0040ca50
lea ecx, [esp + 0x80]
push ecx
mov eax, edi
mov ecx, esi
mov byte [esp + 0x11c], 7
call fcn.004132c0
add esp, 4
mov byte [esp + 0x118], 9
cmp dword [esp + 0x78], 8
jb 0x417441
mov edx, dword [esp + 0x64]
push edx
call fcn.0047fe1e
add esp, 4
mov esi, 7
xor edi, edi
xor eax, eax
mov dword [esp + 0x78], esi
mov dword [esp + 0x74], edi
mov word [esp + 0x64], ax
mov byte [esp + 0x118], 0xa
cmp dword [esp + 0xe8], 8
jb 0x417479
mov ecx, dword [esp + 0xd4]
push ecx
call fcn.0047fe1e
add esp, 4
mov dword [esp + 0xe4], edi
xor edx, edx
push 1
push 0x2021f
lea edi, [esp + 0x88]
mov dword [esp + 0xf0], esi
mov word [esp + 0xdc], dx
call fcn.00410720
mov edi, eax
add esp, 8
mov dword [esp + 0x24], edi
mov byte [esp + 0x118], 0xb
test edi, edi
je 0x4176f1
mov eax, dword [ebx + 0x28]
mov eax, dword [eax + ebp + 0xc]
lea ecx, [esp + 0xf0]
push ecx
mov ecx, eax
call fcn.0040bf70
add esp, 4
cmp dword [eax + 0x14], 8
jb 0x4174e0
mov esi, dword [eax]
jmp 0x4174e2
mov esi, eax
xor eax, eax
test esi, esi
setne al
test eax, eax
je 0x41750c
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea edx, [eax + eax + 2]
mov eax, dword [edi]
push edx
push esi
push 1
push 0
push 0x4a8b4c
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
cmp dword [esp + 0x104], 8
jb 0x417526
mov ecx, dword [esp + 0xf0]
push ecx
call fcn.0047fe1e
add esp, 4
mov eax, dword [ebx + 0x28]
mov ecx, dword [eax + ebp + 0x10]
lea edx, [esp + 0xf0]
push edx
call fcn.0040bf70
add esp, 4
cmp dword [eax + 0x14], 8
jb 0x417547
mov esi, dword [eax]
jmp 0x417549
mov esi, eax
xor eax, eax
test esi, esi
setne al
test eax, eax
je 0x417573
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ecx, dword [edi]
lea eax, [eax + eax + 2]
push eax
push esi
push 1
push 0
push 0x4a8b54
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
cmp dword [esp + 0x104], 8
jb 0x41758d
mov edx, dword [esp + 0xf0]
push edx
call fcn.0047fe1e
add esp, 4
push edi
mov byte [esp + 0x11c], 0xa
call fcn.00410800
mov byte [esp + 0x118], 5
cmp dword [esp + 0x94], 8
jb 0x4175bd
mov eax, dword [esp + 0x80]
push eax
call fcn.0047fe1e
add esp, 4
mov ecx, dword [ebx + 0x2c]
sub ecx, dword [ebx + 0x28]
mov esi, dword [esp + 0x1c]
mov eax, 0x66666667
imul ecx
sar edx, 4
mov ecx, edx
shr ecx, 0x1f
inc esi
add ecx, edx
add ebp, 0x28
mov dword [esp + 0x1c], esi
cmp esi, ecx
jb 0x4173c1
xor ebp, ebp
push str.Plugins
push str.SoftwareGoogleGoogle_Input_Tools
lea edx, [esp + 0x50]
push str._s_s
push edx
call fcn.00474110
add esp, 0x10
mov byte [esp + 0x118], 0xc
cmp dword [esp + 0x5c], 8
mov eax, dword [esp + 0x48]
jae 0x41761d
lea eax, [esp + 0x48]
xor ecx, ecx
mov word [esp + 0x64], cx
mov ecx, eax
mov dword [esp + 0x78], 7
mov dword [esp + 0x74], ebp
lea esi, [ecx + 2]
mov dx, word [ecx]
add ecx, 2
cmp dx, bp
jne 0x417635
sub ecx, esi
sar ecx, 1
push ecx
lea esi, [esp + 0x68]
call fcn.0040ca50
push 1
push 0x2011f
mov edi, esi
mov byte [esp + 0x120], 0xd
call fcn.00410720
mov ebp, eax
add esp, 8
mov dword [esp + 0x30], ebp
mov byte [esp + 0x118], 0xf
cmp dword [esp + 0x78], 8
jb 0x417689
mov edx, dword [esp + 0x64]
push edx
call fcn.0047fe1e
add esp, 4
xor ebx, ebx
xor eax, eax
mov esi, 7
mov dword [esp + 0x78], esi
mov dword [esp + 0x74], ebx
mov word [esp + 0x64], ax
cmp ebp, ebx
jne 0x41774e
mov byte [esp + 0x118], 5
cmp dword [esp + 0x5c], 8
jb 0x4176c3
mov ecx, dword [esp + 0x48]
push ecx
call fcn.0047fe1e
add esp, 4
mov dword [esp + 0x118], 0xffffffff
mov eax, dword [esp + 0x20]
xor edx, edx
push eax
mov dword [esp + 0x60], esi
mov dword [esp + 0x5c], ebx
mov word [esp + 0x4c], dx
call fcn.00410800
mov eax, 6
jmp 0x417b37
mov byte [esp + 0x118], 5
cmp dword [esp + 0x94], 8
jb 0x417713
mov edx, dword [esp + 0x80]
push edx
call fcn.0047fe1e
add esp, 4
mov dword [esp + 0x118], 0xffffffff
mov ecx, dword [esp + 0x20]
xor eax, eax
push ecx
mov dword [esp + 0x98], esi
mov dword [esp + 0x94], 0
mov word [esp + 0x84], ax
call fcn.00410800
mov eax, 0xd
jmp 0x417b37
lea ecx, [esp + 0x3c]
push ecx
call fcn.00475b90
mov ecx, dword [eax]
mov edx, dword [eax + 4]
add esp, 4
push 4
lea eax, [esp + 0x28]
push eax
push 4
push ebx
mov dword [esp + 0x34], ecx
mov ecx, dword [ebp]
push str.Changed
push ecx
mov dword [esp + 0x40], edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
je 0x4177dd
push ebp
mov byte [esp + 0x11c], 0xc
call fcn.00410800
mov byte [esp + 0x118], 5
cmp dword [esp + 0x5c], 8
jb 0x4177af
mov edx, dword [esp + 0x48]
push edx
call fcn.0047fe1e
add esp, 4
mov dword [esp + 0x118], 0xffffffff
mov ecx, dword [esp + 0x20]
xor eax, eax
push ecx
mov dword [esp + 0x60], esi
mov dword [esp + 0x5c], ebx
mov word [esp + 0x4c], ax
call fcn.00410800
mov eax, 6
jmp 0x417b37
push str.PacksChanged
push str.SoftwareGoogleGoogle_Input_Tools
lea edx, [esp + 0xa4]
push str._s_s
push edx
call fcn.00474110
add esp, 0x10
mov byte [esp + 0x118], 0x10
cmp dword [esp + 0xb0], 8
mov eax, dword [esp + 0x9c]
jae 0x41781c
lea eax, [esp + 0x9c]
xor ecx, ecx
mov word [esp + 0x80], cx
mov ecx, eax
mov dword [esp + 0x94], esi
mov dword [esp + 0x90], ebx
lea esi, [ecx + 2]
lea esp, [esp]
mov dx, word [ecx]
add ecx, 2
cmp dx, bx
jne 0x417840
sub ecx, esi
sar ecx, 1
push ecx
lea esi, [esp + 0x84]
call fcn.0040ca50
push 1
push 0x2011f
mov edi, esi
mov byte [esp + 0x120], 0x11
call fcn.00410720
mov esi, eax
add esp, 8
mov dword [esp + 0x1c], esi
mov byte [esp + 0x118], 0x13
cmp dword [esp + 0x94], 8
jb 0x41789d
mov edx, dword [esp + 0x80]
push edx
call fcn.0047fe1e
add esp, 4
xor eax, eax
mov edi, 7
mov dword [esp + 0x94], edi
mov dword [esp + 0x90], ebx
mov word [esp + 0x80], ax
cmp esi, ebx
jne 0x417957
mov esi, 8
mov byte [esp + 0x118], 0xf
cmp dword [esp + 0xb0], esi
jb 0x4178e8
mov ecx, dword [esp + 0x9c]
push ecx
call fcn.0047fe1e
add esp, 4
xor edx, edx
push ebp
mov dword [esp + 0xb4], edi
mov dword [esp + 0xb0], ebx
mov word [esp + 0xa0], dx
mov byte [esp + 0x11c], 0xc
call fcn.00410800
mov byte [esp + 0x118], 5
cmp dword [esp + 0x5c], esi
jb 0x417929
mov eax, dword [esp + 0x48]
push eax
call fcn.0047fe1e
add esp, 4
mov dword [esp + 0x118], 0xffffffff
mov edx, dword [esp + 0x20]
xor ecx, ecx
push edx
mov dword [esp + 0x60], edi
mov dword [esp + 0x5c], ebx
mov word [esp + 0x4c], cx
call fcn.00410800
mov eax, 6
jmp 0x417b37
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x3c]
push ecx
lea edx, [esp + 0x44]
push edx
push ebx
mov dword [esp + 0x48], ebx
mov eax, dword [esi]
push str.PacksInstallCounter
push eax
mov dword [esp + 0x3c], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov eax, 1
add dword [esp + 0x38], eax
jne 0x417990
mov dword [esp + 0x38], eax
mov eax, dword [esi]
mov ecx, dword [esp + 0x38]
push 4
lea edx, [esp + 0x28]
push edx
push 4
push ebx
push str.PacksInstallCounter
push eax
mov dword [esp + 0x3c], ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
je 0x417a5b
push esi
mov byte [esp + 0x11c], 0x10
call fcn.00410800
mov esi, 8
mov byte [esp + 0x118], 0xf
cmp dword [esp + 0xb0], esi
jb 0x4179ec
mov ecx, dword [esp + 0x9c]
push ecx
call fcn.0047fe1e
add esp, 4
xor edx, edx
push ebp
mov dword [esp + 0xb4], edi
mov dword [esp + 0xb0], ebx
mov word [esp + 0xa0], dx
mov byte [esp + 0x11c], 0xc
call fcn.00410800
mov byte [esp + 0x118], 5
cmp dword [esp + 0x5c], esi
jb 0x417a2d
mov eax, dword [esp + 0x48]
push eax
call fcn.0047fe1e
add esp, 4
mov dword [esp + 0x118], 0xffffffff
mov edx, dword [esp + 0x20]
xor ecx, ecx
push edx
mov dword [esp + 0x60], edi
mov dword [esp + 0x5c], ebx
mov word [esp + 0x4c], cx
call fcn.00410800
mov eax, 6
jmp 0x417b37
call fcn.00418c10
mov edi, eax
cmp edi, ebx
je 0x417ac0
push esi
mov byte [esp + 0x11c], 0x10
call fcn.00410800
lea esi, [esp + 0x9c]
mov byte [esp + 0x118], 0xf
call fcn.00402420
push ebp
mov byte [esp + 0x11c], 0xc
call fcn.00410800
lea esi, [esp + 0x48]
mov byte [esp + 0x118], 5
call fcn.00402420
mov dword [esp + 0x118], 0xffffffff
mov eax, dword [esp + 0x20]
push eax
call fcn.00410800
mov eax, edi
jmp 0x417b37
mov edi, dword [esp + 0x34]
mov ecx, dword [edi]
cmp ecx, ebx
je 0x417adf
inc dword [edi + 8]
mov eax, dword [edi + 8]
imul eax, eax, 0x64
cdq
idiv dword [edi + 4]
mov ebx, dword [ecx]
mov edx, dword [ebx + 8]
push eax
call edx
push esi
mov byte [esp + 0x11c], 0x10
call fcn.00410800
lea esi, [esp + 0x9c]
mov byte [esp + 0x118], 0xf
call fcn.00402420
push ebp
mov byte [esp + 0x11c], 0xc
call fcn.00410800
lea esi, [esp + 0x48]
mov byte [esp + 0x118], 5
call fcn.00402420
mov dword [esp + 0x118], 0xffffffff
mov eax, dword [esp + 0x20]
push eax
call fcn.00410800
xor eax, eax
mov ecx, dword [esp + 0x110]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0xf8]
xor ecx, esp
call fcn.0047fe29
add esp, 0x108
ret