Function at 0x459270
Capabilities:
Check mutex on windows
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x4e9c28
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x52a6ec]
xor eax, esp
push eax
lea eax, [esp + 0x40]
mov dword fs:[0], eax
push str.A946A6A9_917E_4949_B9BC_6BADA8C7FD63
xor edi, edi
push edi
xor bl, bl
push edi
mov byte [esp + 0x30], bl
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov ebp, eax
push ebp
mov dword [esp + 0x2c], ebp
call fcn.0045c080
add esp, 4
test al, al
je 0x4592d4
push 0x1388
push ebp
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
sete bl
mov byte [esp + 0x24], bl
mov dword [esp + 0x48], edi
test bl, bl
je 0x459330
mov dword [esp + 0x18], VariantClear
mov byte [esp + 0x48], 1
call fcn.0045d9a0
test al, al
jne 0x459313
call fcn.0045da90
test al, al
je 0x45934d
lea esi, [esp + 0x1c]
mov dword [esp + 0x1c], edi
call fcn.0045d950
test eax, eax
js 0x459313
cmp dword [esp + 0x1c], 1
jg 0x45934d
mov eax, dword [esp + 0x18]
cmp eax, edi
je 0x459329
cmp eax, 0x80000001
je 0x459329
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push ebp
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
push ebp
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor al, al
mov ecx, dword [esp + 0x40]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x38
ret
lea eax, [esp + 0x2c]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemTimeAsFileTime]
mov edx, dword [0x52a1ec]
mov eax, dword [edx + 0xc]
mov ecx, 0x52a1ec
call eax
add eax, 0x10
mov dword [esp + 0x1c], eax
push str.PTimes
push str.SoftwareGoogleCommonRlz
push 0x507648
lea eax, [esp + 0x28]
mov byte [esp + 0x54], 2
call fcn.0045e200
add esp, 0xc
mov dword [esp + 0x34], edi
mov dword [esp + 0x38], edi
mov dword [esp + 0x3c], edi
mov edi, dword [esp + 0x1c]
push 0x2001f
lea ecx, [esp + 0x38]
push ecx
mov ecx, dword [esp + 0x20]
mov eax, edi
call fcn.00405df0
test eax, eax
je 0x459409
mov eax, dword [esp + 0x34]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
je 0x4593c9
push eax
call esi
lea eax, [edi - 0x10]
mov byte [esp + 0x48], 1
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4593ea
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x18]
test eax, eax
je 0x459329
cmp eax, 0x80000001
je 0x459329
push eax
call esi
jmp 0x459329
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x30]
mov esi, dword [esp + 0x34]
push 8
lea eax, [esp + 0x20]
push eax
push 0xb
push 0
push 0x50bebc
push esi
mov dword [esp + 0x34], ecx
mov dword [esp + 0x38], edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov ebp, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
sete bl
test esi, esi
je 0x459446
push esi
call ebp
lea eax, [edi - 0x10]
mov byte [esp + 0x48], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x459467
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x18]
test eax, eax
je 0x459479
cmp eax, 0x80000001
je 0x459479
push eax
call ebp
mov esi, dword [esp + 0x28]
push esi
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, bl
mov ecx, dword [esp + 0x40]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x38
ret