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

Disassembly:
push 0xffffffffffffffff
push 0xd726f3
mov eax, dword fs:[0]
push eax
sub esp, 0x48
mov eax, dword [0xde16ec]
xor eax, esp
mov dword [esp + 0x40], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0xde16ec]
xor eax, esp
push eax
lea eax, [esp + 0x5c]
mov dword fs:[0], eax
mov eax, dword [esp + 0x6c]
xor ecx, ecx
push 0x22
mov word [esp + 0x3c], cx
mov esi, 7
xor ebx, ebx
push str.SoftwareGoogleGoogle_Input_Tools
lea ecx, [esp + 0x40]
mov dword [esp + 0x3c], eax
mov dword [esp + 0x54], esi
mov dword [esp + 0x50], ebx
call fcn.00bc1d20
push 0x28
mov dword [esp + 0x68], ebx
call fcn.00d08a50
add esp, 4
cmp eax, ebx
je 0xc172da
mov dword [eax], ebx
mov dword [eax + 4], ebx
mov dword [eax + 8], ebx
mov dword [eax + 0x20], esi
xor edx, edx
mov dword [eax + 0x1c], ebx
mov word [eax + 0xc], dx
mov esi, eax
jmp 0xc172dc
xor esi, esi
mov byte [esp + 0x64], bl
mov eax, dword [esp + 0x38]
mov edi, 8
cmp dword [esp + 0x4c], edi
jae 0xc172f3
lea eax, [esp + 0x38]
push esi
mov edx, 0x2011f
mov ecx, 0x80000001
call fcn.00bc36a0
test eax, eax
je 0xc17335
mov eax, dword [esp + 0x38]
cmp dword [esp + 0x4c], edi
jae 0xc17315
lea eax, [esp + 0x38]
push 0x2011f
push esi
mov ecx, 0x80000001
call fcn.00bc2f90
test eax, eax
je 0xc17335
cmp esi, ebx
je 0xc17333
push esi
call fcn.00bcf950
xor esi, esi
mov dword [esp + 0x18], esi
mov byte [esp + 0x64], 4
cmp dword [esp + 0x4c], edi
jb 0xc17351
mov eax, dword [esp + 0x38]
push eax
call fcn.00d08a36
add esp, 4
cmp esi, ebx
jne 0xc1735c
xor al, al
jmp 0xc17511
mov ebp, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea ecx, [esp + 0x28]
push ecx
lea edx, [esp + 0x34]
push edx
lea eax, [esp + 0x20]
push eax
push ebx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x2c], ebx
mov ecx, dword [esi]
push str.UserId
mov edi, 4
push ecx
mov dword [esp + 0x40], edi
call ebp
cmp eax, ebx
jne 0xc1740d
cmp dword [esp + 0x18], edi
jne 0xc1740d
lea edx, [esp + 0x18]
push edx
mov edx, dword [esi]
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x30]
push ecx
push ebx
push str.GAFirstSessionTime
push edx
mov dword [esp + 0x30], edi
call ebp
cmp eax, ebx
jne 0xc1740d
cmp dword [esp + 0x28], edi
jne 0xc1740d
push str.GALastSessionTime
push esi
lea ecx, [esp + 0x2c]
call fcn.00bd00c0
test eax, eax
jne 0xc1740d
push str.GACurrentSessionTime
push esi
lea ecx, [esp + 0x24]
call fcn.00bd00c0
test eax, eax
jne 0xc1740d
mov edx, dword [esp + 0x20]
cmp edx, ebx
jbe 0xc1740d
mov eax, dword [esp + 0x24]
cmp eax, ebx
jbe 0xc1740d
mov ecx, dword [esp + 0x1c]
cmp ecx, ebx
jbe 0xc1740d
cmp edx, eax
ja 0xc1740d
cmp eax, ecx
jbe 0xc174aa
push ebx
call fcn.00d0a7dc
mov dword [esp + 0x20], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x24], eax
add esp, 4
lea eax, [esp + 0x38]
push eax
call dword [sym.imp.ole32.dll_CoCreateGuid]
mov eax, dword [esp + 0x38]
push edi
lea ecx, [esp + 0x1c]
push ecx
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push ebx
mov dword [esp + 0x40], eax
mov dword [esp + 0x28], eax
mov edx, dword [esi]
push str.UserId
push edx
call edi
mov eax, dword [esp + 0x20]
push 4
lea ecx, [esp + 0x1c]
push ecx
push 4
push ebx
mov dword [esp + 0x28], eax
mov edx, dword [esi]
push str.GAFirstSessionTime
push edx
call edi
mov eax, dword [esp + 0x24]
push 4
lea ecx, [esp + 0x1c]
push ecx
push 4
push ebx
mov dword [esp + 0x28], eax
mov edx, dword [esi]
push str.GALastSessionTime
push edx
call edi
mov eax, dword [esp + 0x1c]
push 4
lea ecx, [esp + 0x1c]
push ecx
push 4
push ebx
mov dword [esp + 0x28], eax
mov edx, dword [esi]
push str.GACurrentSessionTime
push edx
call edi
mov edi, 4
lea eax, [esp + 0x18]
push eax
mov eax, dword [esi]
lea ecx, [esp + 0x30]
push ecx
lea edx, [esp + 0x30]
push edx
push ebx
push str.GATotalSessionCount
push eax
mov dword [esp + 0x30], edi
call ebp
cmp eax, ebx
jne 0xc174d2
cmp dword [esp + 0x28], edi
je 0xc174da
mov dword [esp + 0x2c], 1
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x20]
mov dword [eax + 0x30], ecx
mov ecx, dword [esp + 0x24]
mov dword [eax + 0x20], edx
mov edx, dword [esp + 0x1c]
mov dword [eax + 0x24], ecx
mov ecx, dword [esp + 0x2c]
push esi
mov dword [eax + 0x28], edx
mov dword [eax + 0x2c], ecx
mov dword [esp + 0x68], 0xffffffff
call fcn.00bcf950
mov al, 1
mov ecx, dword [esp + 0x5c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x40]
xor ecx, esp
call fcn.00d08a41
add esp, 0x54
ret