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

Disassembly:
push 0xffffffffffffffff
push 0x4e9ba8
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push ebx
push ebp
push esi
push edi
mov eax, dword [0x52a6ec]
xor eax, esp
push eax
lea eax, [esp + 0x38]
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 0x45a184
push 0x1388
push ebp
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
sete bl
mov byte [esp + 0x24], bl
mov dword [esp + 0x40], edi
test bl, bl
je 0x45a1e0
mov dword [esp + 0x14], VariantClear
mov byte [esp + 0x40], 1
call fcn.0045d9a0
test al, al
jne 0x45a1c3
call fcn.0045da90
test al, al
je 0x45a1e6
lea esi, [esp + 0x1c]
mov dword [esp + 0x1c], edi
call fcn.0045d950
test eax, eax
js 0x45a1c3
cmp dword [esp + 0x1c], 1
jg 0x45a1e6
mov eax, dword [esp + 0x14]
cmp eax, edi
je 0x45a1d9
cmp eax, 0x80000001
je 0x45a1d9
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push ebp
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
push ebp
jmp 0x45a3d6
mov dword [esp + 0x2c], edi
mov dword [esp + 0x30], edi
mov dword [esp + 0x34], edi
mov bl, 2
mov byte [esp + 0x40], bl
mov eax, dword [0x52a1ec]
mov edx, dword [eax + 0xc]
mov ecx, 0x52a1ec
call edx
add eax, 0x10
mov dword [esp + 0x18], eax
push 0x50bebc
push str.StatefulEvents
push str.SoftwareGoogleCommonRlz
push str._s_s_s
lea eax, [esp + 0x28]
mov byte [esp + 0x50], 3
call fcn.0045e200
mov esi, dword [esp + 0x28]
mov ecx, dword [esp + 0x24]
add esp, 0x10
lea eax, [esp + 0x2c]
push eax
mov edx, 0x2001f
mov eax, esi
call fcn.00404dd0
cmp eax, edi
je 0x45a29f
push 0x2001f
lea ecx, [esp + 0x30]
push ecx
mov ecx, dword [esp + 0x1c]
mov eax, esi
call fcn.00405df0
cmp eax, edi
je 0x45a29f
lea ecx, [esp + 0x18]
call fcn.0045ef50
lea esi, [esp + 0x2c]
call fcn.00405e70
mov eax, dword [esp + 0x14]
cmp eax, edi
je 0x45a291
cmp eax, 0x80000001
je 0x45a291
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea esi, [esp + 0x24]
call fcn.0045c160
jmp 0x45a3dc
mov eax, dword [esp + 0x48]
call fcn.0045c180
mov edi, eax
mov eax, dword [esp + 0x4c]
call fcn.0045c550
mov ebp, eax
test edi, edi
je 0x45a387
test ebp, ebp
je 0x45a387
cmp word [edi], 0
je 0x45a31f
cmp word [ebp], 0
je 0x45a31f
lea esi, [esp + 0x1c]
call fcn.0044bc50
push ebp
push edi
push 0x508340
mov eax, esi
mov byte [esp + 0x4c], 4
call fcn.0045e200
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x38]
add esp, 0xc
push 4
lea edx, [esp + 0x24]
push edx
push 4
push 0
push eax
push ecx
mov dword [esp + 0x38], 1
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov ecx, esi
test eax, eax
je 0x45a348
call fcn.0045ef50
lea ecx, [esp + 0x18]
call fcn.0045ef50
lea esi, [esp + 0x2c]
call fcn.00405e70
lea eax, [esp + 0x14]
call fcn.0045dec0
lea esi, [esp + 0x24]
call fcn.0045c160
jmp 0x45a3dc
call fcn.0045ef50
lea ecx, [esp + 0x18]
call fcn.0045ef50
lea esi, [esp + 0x2c]
call fcn.00405e70
lea eax, [esp + 0x14]
call fcn.0045dec0
lea esi, [esp + 0x24]
call fcn.0045c160
mov al, 1
mov ecx, dword [esp + 0x38]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x30
ret
lea eax, [esi - 0x10]
mov byte [esp + 0x40], bl
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x45a3a7
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x2c]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
je 0x45a3b8
push eax
call esi
mov eax, dword [esp + 0x14]
test eax, eax
je 0x45a3ca
cmp eax, 0x80000001
je 0x45a3ca
push eax
call esi
mov esi, dword [esp + 0x28]
push esi
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor al, al
mov ecx, dword [esp + 0x38]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x30
ret