Function at 0x418940
Capabilities:
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x49b849
mov eax, dword fs:[0]
push eax
sub esp, 0x98
mov eax, dword [0x4bc7dc]
xor eax, esp
mov dword [esp + 0x94], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4bc7dc]
xor eax, esp
push eax
lea eax, [esp + 0xac]
mov dword fs:[0], eax
mov ebp, dword [esp + 0xbc]
push str.Packs
push str.SoftwareGoogleGoogle_Input_Tools
lea eax, [esp + 0x40]
push str._s_s
push eax
call fcn.00474110
add esp, 0x10
xor ebx, ebx
mov dword [esp + 0xb4], ebx
cmp dword [esp + 0x4c], 8
mov eax, dword [esp + 0x38]
jae 0x4189b6
lea eax, [esp + 0x38]
xor ecx, ecx
mov word [esp + 0x1c], cx
mov ecx, eax
mov dword [esp + 0x30], 7
mov dword [esp + 0x2c], ebx
lea esi, [ecx + 2]
mov edi, edi
mov dx, word [ecx]
add ecx, 2
cmp dx, bx
jne 0x4189d0
sub ecx, esi
sar ecx, 1
push ecx
lea esi, [esp + 0x20]
call fcn.0040ca50
push 1
push 0x20119
mov edi, esi
mov byte [esp + 0xbc], 1
call fcn.00410720
add esp, 8
mov dword [esp + 0x14], eax
mov esi, 8
mov byte [esp + 0xb4], 3
cmp dword [esp + 0x30], esi
jb 0x418a26
mov edx, dword [esp + 0x1c]
push edx
call fcn.0047fe1e
add esp, 4
xor eax, eax
mov word [esp + 0x1c], ax
mov eax, dword [ebp + 0x48]
mov edi, 7
mov dword [esp + 0x30], edi
mov dword [esp + 0x2c], ebx
cmp eax, ebx
jne 0x418a4a
mov ecx, dword [0x4c0550]
mov eax, dword [ecx + 0x48]
mov ecx, dword [eax + 0x10]
lea edx, [esp + 0x70]
push edx
call fcn.0040bf70
add esp, 4
mov byte [esp + 0xb4], 4
cmp dword [eax + 0x14], esi
jb 0x418a69
mov eax, dword [eax]
mov ecx, dword [esp + 0x38]
cmp dword [esp + 0x4c], esi
jae 0x418a77
lea ecx, [esp + 0x38]
push eax
push ecx
lea eax, [esp + 0x5c]
push str._s_s
push eax
call fcn.00474110
add esp, 0x10
mov byte [esp + 0xb4], 6
cmp dword [esp + 0x84], esi
jb 0x418aa9
mov ecx, dword [esp + 0x70]
push ecx
call fcn.0047fe1e
add esp, 4
mov dword [esp + 0x84], edi
xor edx, edx
push 1
push 0x2011f
lea edi, [esp + 0x5c]
mov dword [esp + 0x88], ebx
mov word [esp + 0x78], dx
call fcn.00410720
mov edi, eax
add esp, 8
mov dword [esp + 0x18], edi
mov byte [esp + 0xb4], 7
mov eax, dword [ebp + 0x48]
cmp eax, ebx
jne 0x418aee
mov eax, dword [0x4c0550]
mov eax, dword [eax + 0x48]
mov ecx, dword [eax + 0xc]
lea edx, [esp + 0x8c]
push edx
call fcn.0040bf70
add esp, 4
cmp dword [eax + 0x14], esi
jb 0x418b0a
mov esi, dword [eax]
jmp 0x418b0c
mov esi, eax
xor eax, eax
cmp esi, ebx
setne al
cmp eax, ebx
je 0x418b35
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 ebx
push str.Version
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov ebp, 8
cmp dword [esp + 0xa0], ebp
jb 0x418b53
mov edx, dword [esp + 0x8c]
push edx
call fcn.0047fe1e
add esp, 4
xor eax, eax
mov esi, 7
mov dword [esp + 0xa0], esi
mov dword [esp + 0x9c], ebx
mov word [esp + 0x8c], ax
mov byte [esp + 0xb4], 6
cmp edi, ebx
je 0x418b82
push edi
call fcn.00410800
mov byte [esp + 0xb4], 3
cmp dword [esp + 0x68], ebp
jb 0x418b9d
mov ecx, dword [esp + 0x54]
push ecx
call fcn.0047fe1e
add esp, 4
mov byte [esp + 0xb4], bl
mov eax, dword [esp + 0x14]
xor edx, edx
mov dword [esp + 0x68], esi
mov dword [esp + 0x64], ebx
mov word [esp + 0x54], dx
cmp eax, ebx
je 0x418bc1
push eax
call fcn.00410800
mov dword [esp + 0xb4], 0xffffffff
cmp dword [esp + 0x4c], ebp
jb 0x418bdf
mov eax, dword [esp + 0x38]
push eax
call fcn.0047fe1e
add esp, 4
xor eax, eax
mov ecx, dword [esp + 0xac]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x94]
xor ecx, esp
call fcn.0047fe29
add esp, 0xa4
ret 4