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

Disassembly:
push 0xffffffffffffffff
push 0x4a26f3
mov eax, dword fs:[0]
push eax
sub esp, 0x48
mov eax, dword [0x5116ec]
xor eax, esp
mov dword [esp + 0x40], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5116ec]
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.002f1d20
push 0x28
mov dword [esp + 0x68], ebx
call fcn.00438a50
add esp, 4
cmp eax, ebx
je 0x3472da
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 0x3472dc
xor esi, esi
mov byte [esp + 0x64], bl
mov eax, dword [esp + 0x38]
mov edi, 8
cmp dword [esp + 0x4c], edi
jae 0x3472f3
lea eax, [esp + 0x38]
push esi
mov edx, 0x2011f
mov ecx, 0x80000001
call fcn.002f36a0
test eax, eax
je 0x347335
mov eax, dword [esp + 0x38]
cmp dword [esp + 0x4c], edi
jae 0x347315
lea eax, [esp + 0x38]
push 0x2011f
push esi
mov ecx, 0x80000001
call fcn.002f2f90
test eax, eax
je 0x347335
cmp esi, ebx
je 0x347333
push esi
call fcn.002ff950
xor esi, esi
mov dword [esp + 0x18], esi
mov byte [esp + 0x64], 4
cmp dword [esp + 0x4c], edi
jb 0x347351
mov eax, dword [esp + 0x38]
push eax
call fcn.00438a36
add esp, 4
cmp esi, ebx
jne 0x34735c
xor al, al
jmp 0x347511
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 0x34740d
cmp dword [esp + 0x18], edi
jne 0x34740d
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 0x34740d
cmp dword [esp + 0x28], edi
jne 0x34740d
push str.GALastSessionTime
push esi
lea ecx, [esp + 0x2c]
call fcn.003000c0
test eax, eax
jne 0x34740d
push str.GACurrentSessionTime
push esi
lea ecx, [esp + 0x24]
call fcn.003000c0
test eax, eax
jne 0x34740d
mov edx, dword [esp + 0x20]
cmp edx, ebx
jbe 0x34740d
mov eax, dword [esp + 0x24]
cmp eax, ebx
jbe 0x34740d
mov ecx, dword [esp + 0x1c]
cmp ecx, ebx
jbe 0x34740d
cmp edx, eax
ja 0x34740d
cmp eax, ecx
jbe 0x3474aa
push ebx
call fcn.0043a7dc
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 0x3474d2
cmp dword [esp + 0x28], edi
je 0x3474da
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.002ff950
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.00438a41
add esp, 0x54
ret