Function at 0x410d40
Capabilities:
Query or enumerate registry key
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x49068c
mov eax, dword fs:[0]
push eax
sub esp, 0x270
mov eax, dword [0x4ae7cc]
xor eax, esp
mov dword [esp + 0x268], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4ae7cc]
xor eax, esp
push eax
lea eax, [esp + 0x284]
mov dword fs:[0], eax
mov eax, dword [esp + 0x294]
push str.Packs
push str.SoftwareGoogleGoogle_Input_Tools
lea ecx, [esp + 0x60]
push 0x49c86c
xor ebx, ebx
push ecx
mov dword [esp + 0x28], eax
mov dword [esp + 0x24], ebx
call fcn.004083f0
add esp, 0x10
mov dword [esp + 0x28c], ebx
mov edi, 0x20019
call fcn.004128e0
test al, al
je 0x410dc2
mov edi, 0x20119
cmp dword [esp + 0x6c], 8
mov eax, dword [esp + 0x58]
jae 0x410dd1
lea eax, [esp + 0x58]
xor edx, edx
mov ecx, eax
mov dword [esp + 0x50], 7
mov dword [esp + 0x4c], ebx
mov word [esp + 0x3c], dx
lea esi, [ecx + 2]
lea esp, [esp]
mov dx, word [ecx]
add ecx, 2
cmp dx, bx
jne 0x410df0
sub ecx, esi
sar ecx, 1
push ecx
lea esi, [esp + 0x40]
call fcn.004072c0
mov ecx, edi
mov edi, esi
mov byte [esp + 0x28c], 1
call fcn.00419600
mov ebp, eax
mov dword [esp + 0x1c], ebp
mov edi, 8
mov byte [esp + 0x28c], 3
cmp dword [esp + 0x50], edi
jb 0x410e40
mov eax, dword [esp + 0x3c]
push eax
call fcn.00475405
add esp, 4
xor ecx, ecx
mov esi, 7
mov dword [esp + 0x50], esi
mov dword [esp + 0x4c], ebx
mov word [esp + 0x3c], cx
cmp ebp, ebx
jne 0x410e7d
mov dword [esp + 0x28c], 0xffffffff
cmp dword [esp + 0x6c], edi
jb 0x410e76
mov edx, dword [esp + 0x58]
push edx
call fcn.00475405
add esp, 4
xor al, al
jmp 0x410fc0
mov dword [esp + 0x14], ebx
xor eax, eax
mov dword [esp + 0x34], esi
mov dword [esp + 0x30], ebx
mov word [esp + 0x20], ax
push 0x206
lea edx, [esp + 0x7a]
xor ecx, ecx
push ebx
mov byte [esp + 0x294], 4
push edx
mov word [esp + 0x80], cx
call fcn.0047a9a0
mov ecx, dword [esp + 0x20]
mov edx, dword [ebp]
add esp, 0xc
push 0x104
lea eax, [esp + 0x78]
push eax
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
cmp eax, ebx
jne 0x410f02
lea eax, [esp + 0x74]
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x410ee0
sub eax, edx
sar eax, 1
push eax
lea eax, [esp + 0x78]
lea esi, [esp + 0x24]
call fcn.004072c0
xor eax, eax
lea esi, [eax + 7]
inc dword [esp + 0x14]
cmp eax, ebx
jne 0x410f3c
mov edi, dword [esp + 0x18]
lea ecx, [esp + 0x20]
call fcn.00401aa0
mov byte [esp + 0x28c], 3
cmp dword [esp + 0x34], 8
jb 0x410e81
mov eax, dword [esp + 0x20]
push eax
call fcn.00475405
add esp, 4
jmp 0x410e81
mov byte [esp + 0x28c], 3
cmp dword [esp + 0x34], 8
jb 0x410f58
mov ecx, dword [esp + 0x20]
push ecx
call fcn.00475405
add esp, 4
mov eax, dword [esp + 0x18]
mov edi, dword [eax]
mov dword [esp + 0x34], esi
mov esi, dword [eax + 4]
xor edx, edx
mov word [esp + 0x20], dx
mov ecx, esi
sub ecx, edi
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
push eax
push esi
push edi
mov dword [esp + 0x3c], ebx
call fcn.00411140
add esp, 0xc
push ebp
mov byte [esp + 0x290], bl
call fcn.004110a0
mov dword [esp + 0x28c], 0xffffffff
cmp dword [esp + 0x6c], 8
jb 0x410fbe
mov ecx, dword [esp + 0x58]
push ecx
call fcn.00475405
add esp, 4
mov al, 1
mov ecx, dword [esp + 0x284]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x268]
xor ecx, esp
call fcn.00475410
add esp, 0x27c
ret