Function at 0x10040f00
Capabilities:
Check mutex on windows

Disassembly:
push 0xffffffffffffffff
push 0x1007d880
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
push ebx
push ebp
push esi
push edi
push str.PluginStoreLock
push 0
push 0
mov ebp, ecx
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
or ebx, 0xffffffff
push ebx
lea esi, [ebp + 0x60]
push eax
mov dword [esp + 0x2c], eax
mov dword [esi], 0
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov edx, dword [esp + 0x38]
test edx, edx
lea ecx, [ebp + 4]
jne 0x10040f54
xor eax, eax
jmp 0x10040f6e
mov eax, edx
lea edi, [eax + 1]
lea esp, [esp]
mov bl, byte [eax]
inc eax
test bl, bl
jne 0x10040f60
sub eax, edi
mov ebx, 0xffffffff
push eax
push edx
call fcn.100048d0
push 0x10084804
lea eax, [esp + 0x3c]
push eax
mov ecx, ebp
call fcn.10040e60
push ebp
push eax
push SysReAllocStringLen
mov dword [esp + 0x3c], 0
call fcn.1004a280
mov eax, dword [esp + 0x44]
add eax, 0xfffffff0
add esp, 0xc
mov dword [esp + 0x30], ebx
lea ecx, [eax + 0xc]
mov edx, ebx
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x10040fbe
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
push 0x100847fc
lea eax, [esp + 0x3c]
push eax
mov ecx, ebp
call fcn.10040e60
push esi
push eax
mov edi, 1
push SysReAllocStringLen
mov dword [esp + 0x3c], edi
call fcn.1004a280
mov eax, dword [esp + 0x44]
add eax, 0xfffffff0
add esp, 0xc
mov dword [esp + 0x30], ebx
lea ecx, [eax + 0xc]
mov edx, ebx
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x10041008
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
push 0x100847f4
lea eax, [esp + 0x3c]
push eax
mov ecx, ebp
call fcn.10040e60
lea ecx, [ebp + 8]
push ecx
push eax
push SysReAllocStringLen
mov dword [esp + 0x3c], 2
call fcn.10049910
mov eax, dword [esp + 0x44]
add eax, 0xfffffff0
add esp, 0xc
mov dword [esp + 0x30], ebx
lea edx, [eax + 0xc]
mov ecx, ebx
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x10041054
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
push str.Vendor
lea eax, [esp + 0x3c]
push eax
mov ecx, ebp
call fcn.10040e60
lea ecx, [ebp + 0xc]
push ecx
push eax
push SysReAllocStringLen
mov dword [esp + 0x3c], 3
call fcn.10049910
mov eax, dword [esp + 0x44]
add eax, 0xfffffff0
add esp, 0xc
mov dword [esp + 0x30], ebx
lea edx, [eax + 0xc]
mov ecx, ebx
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x100410a0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
push str.Version
lea eax, [esp + 0x3c]
push eax
mov ecx, ebp
call fcn.10040e60
lea ecx, [ebp + 0x10]
push ecx
push eax
push SysReAllocStringLen
mov dword [esp + 0x3c], 4
call fcn.10049910
mov eax, dword [esp + 0x44]
add eax, 0xfffffff0
add esp, 0xc
mov dword [esp + 0x30], ebx
lea edx, [eax + 0xc]
mov ecx, ebx
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x100410ec
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
push str.IconUrl
lea eax, [esp + 0x3c]
push eax
mov ecx, ebp
call fcn.10040e60
lea ecx, [ebp + 0x14]
push ecx
push eax
push SysReAllocStringLen
mov dword [esp + 0x3c], 5
call fcn.10049910
mov eax, dword [esp + 0x44]
add eax, 0xfffffff0
add esp, 0xc
mov dword [esp + 0x30], ebx
lea edx, [eax + 0xc]
mov ecx, ebx
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x10041138
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
push str.Description
lea eax, [esp + 0x3c]
push eax
mov ecx, ebp
call fcn.10040e60
lea ecx, [ebp + 0x18]
push ecx
push eax
push SysReAllocStringLen
mov dword [esp + 0x3c], 6
call fcn.10049910
mov eax, dword [esp + 0x44]
add eax, 0xfffffff0
add esp, 0xc
mov dword [esp + 0x30], ebx
lea edx, [eax + 0xc]
mov ecx, ebx
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x10041184
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
push 0x10082614
lea eax, [esp + 0x3c]
push eax
mov ecx, ebp
call fcn.10040e60
lea ecx, [ebp + 0x1c]
push ecx
push eax
push SysReAllocStringLen
mov dword [esp + 0x3c], 7
call fcn.10049910
mov eax, dword [esp + 0x44]
add eax, 0xfffffff0
add esp, 0xc
mov dword [esp + 0x30], ebx
lea edx, [eax + 0xc]
mov ecx, ebx
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x100411d0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
push 0x100847d0
lea eax, [esp + 0x3c]
push eax
mov ecx, ebp
call fcn.10040e60
lea ecx, [esp + 0x14]
push ecx
push eax
push SysReAllocStringLen
mov dword [esp + 0x3c], 8
call fcn.1004a280
mov eax, dword [esp + 0x44]
add eax, 0xfffffff0
add esp, 0xc
mov dword [esp + 0x30], ebx
lea edx, [eax + 0xc]
lock xadd dword [edx], ebx
dec ebx
test ebx, ebx
jg 0x1004121b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x14]
mov dword [ebp + 0x24], eax
mov edx, dword [0x10098a04]
mov ecx, 0x10098a04
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0x10], eax
push 0x100847cc
lea eax, [esp + 0x3c]
mov ebx, 9
push eax
mov ecx, ebp
mov dword [esp + 0x38], ebx
call fcn.10040e60
lea ecx, [esp + 0x10]
push ecx
push eax
push SysReAllocStringLen
mov byte [esp + 0x3c], 0xa
call fcn.10049910
mov esi, eax
mov eax, dword [esp + 0x44]
add eax, 0xfffffff0
add esp, 0xc
mov byte [esp + 0x30], bl
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x1004128d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
test esi, esi
je 0x100412e3
mov eax, dword [esp + 0x10]
mov ecx, dword [eax - 4]
add eax, 0xfffffff0
cmp ecx, edi
jle 0x100412b3
mov eax, dword [eax + 4]
push eax
lea ecx, [esp + 0x14]
call fcn.10001f10
mov ecx, dword [esp + 0x10]
lea eax, [ecx - 0x10]
dec dword [eax + 0xc]
jne 0x100412bf
mov dword [eax + 0xc], 0xffffffff
mov eax, dword [esp + 0x10]
mov esi, eax
lea edi, [ebp + 0x28]
mov ecx, 8
add eax, 0xfffffffc
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [eax]
test ecx, ecx
jge 0x100412e3
inc ecx
mov dword [eax], ecx
jne 0x100412e3
mov dword [eax], 1
push str.IconPath
lea edx, [esp + 0x3c]
push edx
mov ecx, ebp
call fcn.10040e60
lea ecx, [ebp + 0x4c]
push ecx
push eax
push SysReAllocStringLen
mov byte [esp + 0x3c], 0xb
call fcn.10049910
mov eax, dword [esp + 0x44]
add eax, 0xfffffff0
add esp, 0xc
mov byte [esp + 0x30], bl
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x1004132d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
push str.OriginURL
lea eax, [esp + 0x3c]
push eax
mov ecx, ebp
call fcn.10040e60
lea ecx, [ebp + 0x50]
push ecx
push eax
push SysReAllocStringLen
mov byte [esp + 0x3c], 0xc
call fcn.10049910
mov eax, dword [esp + 0x44]
add eax, 0xfffffff0
add esp, 0xc
mov byte [esp + 0x30], bl
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x10041377
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
push 0x100847ac
lea eax, [esp + 0x3c]
push eax
mov ecx, ebp
call fcn.10040e60
lea ecx, [esp + 0x18]
push ecx
push eax
push SysReAllocStringLen
mov byte [esp + 0x3c], 0xd
call fcn.1004a280
mov eax, dword [esp + 0x44]
add eax, 0xfffffff0
add esp, 0xc
mov byte [esp + 0x30], bl
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x100413c2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x18]
push 0x100847a8
lea ecx, [esp + 0x3c]
push ecx
mov ecx, ebp
mov dword [ebp + 0x54], eax
call fcn.10040e60
lea edx, [ebp + 0x58]
push edx
push eax
push SysReAllocStringLen
mov byte [esp + 0x3c], 0xe
call fcn.1004a280
mov eax, dword [esp + 0x44]
add eax, 0xfffffff0
add esp, 0xc
mov byte [esp + 0x30], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x10041413
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
push 0x100847a0
lea eax, [esp + 0x3c]
push eax
mov ecx, ebp
call fcn.10040e60
lea ecx, [ebp + 0x5c]
push ecx
push eax
push SysReAllocStringLen
mov byte [esp + 0x3c], 0xf
call fcn.1004a280
mov eax, dword [esp + 0x44]
add eax, 0xfffffff0
add esp, 0xc
mov byte [esp + 0x30], bl
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x1004145d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
push 0x10084790
lea eax, [esp + 0x3c]
push eax
mov ecx, ebp
call fcn.10040e60
lea ecx, [ebp + 0x64]
push ecx
push eax
push SysReAllocStringLen
mov byte [esp + 0x3c], 0x10
call fcn.1004a280
mov eax, dword [esp + 0x44]
add eax, 0xfffffff0
add esp, 0xc
mov byte [esp + 0x30], bl
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x100414a7
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
push str.UpdateTime
lea eax, [esp + 0x3c]
push eax
mov ecx, ebp
call fcn.10040e60
lea ecx, [ebp + 0x68]
push ecx
push eax
push SysReAllocStringLen
mov byte [esp + 0x3c], 0x11
call fcn.10049910
mov eax, dword [esp + 0x44]
add eax, 0xfffffff0
add esp, 0xc
mov byte [esp + 0x30], bl
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x100414f1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
push str.AlertURL
lea eax, [esp + 0x3c]
push eax
mov ecx, ebp
call fcn.10040e60
lea ecx, [ebp + 0x70]
push ecx
push eax
push SysReAllocStringLen
mov byte [esp + 0x3c], 0x12
call fcn.10049910
mov eax, dword [esp + 0x44]
add eax, 0xfffffff0
add esp, 0xc
mov byte [esp + 0x30], bl
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x1004153b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
push str.CurAlertID
lea eax, [esp + 0x3c]
push eax
mov ecx, ebp
call fcn.10040e60
lea ecx, [ebp + 0x74]
push ecx
push eax
push SysReAllocStringLen
mov byte [esp + 0x3c], 0x13
call fcn.1004a280
mov eax, dword [esp + 0x44]
add eax, 0xfffffff0
add esp, 0xc
mov byte [esp + 0x30], bl
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x10041585
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
push str.CurAlertStyle
lea eax, [esp + 0x3c]
push eax
mov ecx, ebp
call fcn.10040e60
lea ecx, [ebp + 0x78]
push ecx
push eax
push SysReAllocStringLen
mov byte [esp + 0x3c], 0x14
call fcn.1004a280
mov eax, dword [esp + 0x44]
add eax, 0xfffffff0
add esp, 0xc
mov byte [esp + 0x30], bl
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x100415cf
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
push str.CurAlertDisabled
lea eax, [esp + 0x20]
push eax
mov ecx, ebp
call fcn.10040e60
lea ecx, [esp + 0x20]
push ecx
push eax
push SysReAllocStringLen
mov byte [esp + 0x3c], 0x15
call fcn.1004a280
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
add esp, 0xc
mov byte [esp + 0x30], bl
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x1004161a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x20]
mov esi, dword [esp + 0x24]
push esi
mov dword [ebp + 0x7c], eax
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, ebp
call fcn.10040820
mov esi, eax
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
mov dword [esp + 0x30], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x10041662
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov ecx, dword [esp + 0x28]
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x24
ret 4