Function at 0x41d1c0
Capabilities:
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x4f33e0
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push ebp
push esi
push edi
mov eax, dword [0x52a6ec]
xor eax, esp
push eax
lea eax, [esp + 0x2c]
mov dword fs:[0], eax
lea eax, [esp + 0x14]
push eax
mov ecx, 0x506c24
call fcn.00405cc0
mov ecx, dword [esp + 0x3c]
xor esi, esi
mov dword [esp + 0x34], esi
mov ecx, dword [ecx]
cmp ecx, esi
je 0x41d214
mov edx, dword [ecx]
mov edx, dword [edx + 4]
lea eax, [esp + 0x14]
push eax
push 5
call edx
mov dword [esp + 0x34], 0xffffffff
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41d23c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x20], esi
mov dword [esp + 0x24], esi
mov dword [esp + 0x28], esi
push 0x2011f
lea ecx, [esp + 0x24]
push ecx
mov eax, str.SoftwareMicrosoftWindowsCurrentVersionUninstallGooglePinyin2
mov ecx, reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x3c], 1
call fcn.00405df0
test eax, eax
je 0x41d286
mov eax, dword [esp + 0x20]
cmp eax, esi
je 0x41d27c
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 9
jmp 0x41d418
mov ebp, dword [sym.imp.KERNEL32.dll_lstrlenW]
push 0x505890
call ebp
mov edi, dword [esp + 0x20]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
lea edx, [eax + eax + 2]
push edx
push 0x505890
push 1
push esi
push str.DisplayName
push edi
call ebx
lea eax, [esp + 0x14]
push eax
mov ecx, 0x50609c
call fcn.00405cc0
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x1c]
push esi
push edx
mov byte [esp + 0x40], 2
call fcn.00417ef0
mov esi, dword [eax]
xor eax, eax
add esp, 0xc
test esi, esi
setne al
test eax, eax
je 0x41d2fb
push esi
call ebp
lea eax, [eax + eax + 2]
push eax
push esi
push 1
push 0
push str.UninstallString
push edi
call ebx
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41d31b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x34], 1
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41d340
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x18]
push ecx
mov ecx, 0x505f74
call fcn.00405cc0
lea edx, [esp + 0x18]
push edx
lea eax, [esp + 0x20]
push 2
push eax
mov byte [esp + 0x40], 3
call fcn.00417ef0
mov esi, dword [eax]
xor eax, eax
add esp, 0xc
test esi, esi
setne al
test eax, eax
je 0x41d38a
push esi
call ebp
lea ecx, [eax + eax + 2]
push ecx
push esi
push 1
push 0
push str.DisplayIcon
push edi
call ebx
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x41d3aa
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x34], 1
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41d3cf
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push str.Google_Inc.
call ebp
lea ecx, [eax + eax + 2]
push ecx
push str.Google_Inc.
push 1
push 0
push str.Publisher
push edi
call ebx
mov esi, dword [esp + 0x3c]
mov ecx, dword [esi]
test ecx, ecx
je 0x41d40b
inc dword [esi + 8]
mov eax, dword [esi + 8]
imul eax, eax, 0x64
cdq
idiv dword [esi + 4]
mov ebx, dword [ecx]
mov edx, dword [ebx + 8]
push eax
call edx
test edi, edi
je 0x41d416
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
mov ecx, dword [esp + 0x2c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x24
ret 4