Function at 0x1005ccc0
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x1008d420
mov eax, dword fs:[0]
push eax
sub esp, 0xe0
push ebx
push esi
push edi
mov eax, dword [0x100c90c0]
xor eax, esp
push eax
lea eax, [esp + 0xf0]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [esp + 0x28], ebx
push str.UpdateHookDllPathAndVersion
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov edi, eax
mov dword [esp + 0xd4], edi
push 0x7530
push edi
mov dword [esp + 0x100], 0
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x1005d28e
mov dword [esp + 0x10], eax
mov dword [esp + 0xbc], vtable.CUtils.0
mov esi, dword [ebp + 8]
lea eax, [esp + 0x3c]
push eax
mov ecx, esi
mov byte [esp + 0xfc], 2
call fcn.1003ff80
lea eax, [esp + 0x4c]
push eax
mov ecx, esi
mov byte [esp + 0xfc], 3
call fcn.1003fe30
mov byte [esp + 0xf8], 5
push dword [esi + 4]
lea ecx, [esp + 0x70]
push dword [esi + 0xc]
mov dword [esp + 0x74], vtable.CStringBufferW.0
mov dword [esp + 0x80], 0
mov dword [esp + 0x7c], 0
mov dword [esp + 0x78], 0
call fcn.1003ea90
mov dword [esp + 0x5c], vtable.CStringBufferW.0
mov dword [esp + 0x68], 0
mov dword [esp + 0x64], 0
mov dword [esp + 0x60], 0
mov byte [esp + 0xf8], 8
push 0xd
lea ecx, [esp + 0x1c]
mov dword [esp + 0x1c], vtable.CStringBufferW.0
mov dword [esp + 0x28], 0
mov dword [esp + 0x24], 0
mov dword [esp + 0x20], 0
call fcn.1003f120
mov esi, dword [esp + 0x24]
push 0xd
push str.Hook64DllName
push dword [esp + 0x28]
push esi
call fcn.1006fb74
add esp, 0x10
mov dword [esp + 0x1c], 0xd
mov dword [esp + 0x20], 0xe
lea eax, [esp + 0x5c]
push eax
lea eax, [esp + 0x1c]
push eax
mov ecx, ebx
mov byte [esp + 0x100], 9
call fcn.1005b910
test eax, eax
sete bl
mov byte [esp + 0xf8], 7
test esi, esi
je 0x1005ce51
push esi
call fcn.1006eaef
add esp, 4
test bl, bl
jne 0x1005d1e3
mov dword [esp + 0x18], vtable.CStringBufferW.0
mov dword [esp + 0x24], 0
mov dword [esp + 0x20], 0
mov dword [esp + 0x1c], 0
lea eax, [esp + 0x18]
push eax
lea eax, [esp + 0x70]
push eax
mov byte [esp + 0x100], 0xa
call fcn.1004e0c0
mov ebx, dword [esp + 0x24]
test eax, eax
je 0x1005d1d6
test ebx, ebx
je 0x1005d1e3
cmp dword [esp + 0x1c], 0
je 0x1005d1d6
lea ecx, [esp + 0xd8]
call fcn.10053060
sub esp, 0x10
lea eax, [esp + 0x28]
mov ecx, esp
push eax
mov byte [esp + 0x10c], 0xb
call fcn.1003e5f0
lea ecx, [esp + 0xe8]
call fcn.10053170
push ecx
push str.SoftwareConduitIEHook
lea ecx, [esp + 0xa4]
call fcn.1003e580
mov dword [esp + 0x7c], vtable.CStringBufferW.0
mov dword [esp + 0x88], 0
mov dword [esp + 0x84], 0
mov dword [esp + 0x80], 0
mov dword [esp + 0xac], vtable.CStringBufferW.0
mov dword [esp + 0xb8], 0
mov dword [esp + 0xb4], 0
mov dword [esp + 0xb0], 0
mov dword [esp + 0x2c], vtable.CStringBufferW.0
mov dword [esp + 0x38], 0
mov dword [esp + 0x34], 0
mov dword [esp + 0x30], 0
lea eax, [esp + 0x9c]
push eax
lea ecx, [esp + 0x90]
mov byte [esp + 0xfc], 0xf
call fcn.1003e5f0
mov eax, dword [esp + 0x28]
mov byte [esp + 0xf8], 0x10
push dword [eax + 0x50]
lea ecx, [esp + 0x90]
call fcn.1003ef30
mov esi, dword [esp + 0xa8]
lea ecx, [esp + 0x10]
call fcn.100436b0
mov dword [esp + 0x14], vtable.CSetupRegW.0
push 0
lea ecx, [esp + 0x30]
push ecx
push str.ActiveHookToolbarName
push esi
push eax
mov byte [esp + 0x10c], 0x11
call fcn.1004c5d0
mov byte [esp + 0xf8], 0x10
test eax, eax
je 0x1005d07c
cmp dword [esp + 0x38], 0
je 0x1005d07c
cmp dword [esp + 0x30], 0
je 0x1005d07c
mov ecx, dword [esp + 0x28]
lea eax, [esp + 0x7c]
push eax
lea eax, [esp + 0x30]
push eax
lea eax, [esp + 0xa4]
push eax
call fcn.1005d2c0
test eax, eax
je 0x1005d07c
lea ecx, [esp + 0xc0]
call fcn.10053060
sub esp, 0x10
lea eax, [esp + 0x8c]
mov ecx, esp
push eax
mov byte [esp + 0x10c], 0x12
call fcn.1003e5f0
lea ecx, [esp + 0xd0]
call fcn.10053170
lea eax, [esp + 0xc0]
push eax
lea ecx, [esp + 0xdc]
call fcn.100532f0
lea ecx, [esp + 0xc0]
test eax, eax
jg 0x1005d06f
call fcn.10053130
jmp 0x1005d194
mov byte [esp + 0xf8], 0x10
call fcn.10053130
mov esi, dword [esp + 0xa8]
lea ecx, [esp + 0x10]
call fcn.100436b0
mov dword [esp + 0x14], vtable.CSetupRegW.0
mov ecx, dword [esp + 0x28]
add ecx, 0x44
push ecx
push str.ActiveHookToolbarName
push esi
push eax
mov byte [esp + 0x108], 0x13
call fcn.1004bce0
mov byte [esp + 0xf8], 0x10
mov esi, dword [esp + 0x98]
lea ecx, [esp + 0x10]
call fcn.100436b0
mov dword [esp + 0x14], vtable.CSetupRegW.0
lea ecx, [esp + 0x3c]
push ecx
push str.HookDllPath
push esi
push eax
mov byte [esp + 0x108], 0x14
call fcn.1004bce0
mov byte [esp + 0xf8], 0x10
mov esi, dword [esp + 0x98]
lea ecx, [esp + 0x10]
call fcn.100436b0
mov dword [esp + 0x14], vtable.CSetupRegW.0
lea ecx, [esp + 0x18]
push ecx
push str.HookDllVersion
push esi
push eax
mov byte [esp + 0x108], 0x15
call fcn.1004bce0
mov byte [esp + 0xf8], 0x10
mov esi, dword [esp + 0x98]
lea ecx, [esp + 0x10]
call fcn.100436b0
mov dword [esp + 0x14], vtable.CSetupRegW.0
lea ecx, [esp + 0x4c]
push ecx
push str.HookDllName
push esi
push eax
mov byte [esp + 0x108], 0x16
call fcn.1004bce0
mov byte [esp + 0xf8], 0x10
mov esi, dword [esp + 0x98]
lea ecx, [esp + 0x10]
call fcn.100436b0
mov dword [esp + 0x14], vtable.CSetupRegW.0
lea ecx, [esp + 0x5c]
push ecx
push str.Hook64DllName
push esi
push eax
mov byte [esp + 0x108], 0x17
call fcn.1004bce0
lea ecx, [esp + 0x8c]
call fcn.10022960
lea ecx, [esp + 0x2c]
call fcn.10022960
lea ecx, [esp + 0xac]
call fcn.10022960
lea ecx, [esp + 0x7c]
call fcn.10022960
lea ecx, [esp + 0x9c]
call fcn.10022960
lea ecx, [esp + 0xd8]
call fcn.10053130
test ebx, ebx
je 0x1005d1e3
push ebx
call fcn.1006eaef
add esp, 4
mov eax, dword [esp + 0x68]
test eax, eax
je 0x1005d1f4
push eax
call fcn.1006eaef
add esp, 4
mov eax, dword [esp + 0x78]
test eax, eax
je 0x1005d205
push eax
call fcn.1006eaef
add esp, 4
mov eax, dword [esp + 0x58]
mov dword [esp + 0x4c], vtable.CStringBufferW.0
test eax, eax
je 0x1005d21e
push eax
call fcn.1006eaef
add esp, 4
mov eax, dword [esp + 0x48]
mov dword [esp + 0x58], 0
mov dword [esp + 0x54], 0
mov dword [esp + 0x50], 0
mov dword [esp + 0x4c], vtable.CSeed.0
mov dword [esp + 0x3c], vtable.CStringBufferW.0
test eax, eax
je 0x1005d257
push eax
call fcn.1006eaef
add esp, 4
mov eax, dword [esp + 0x10]
mov dword [esp + 0x48], 0
mov dword [esp + 0x44], 0
mov dword [esp + 0x40], 0
mov dword [esp + 0x3c], vtable.CSeed.0
test eax, eax
je 0x1005d28e
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0x10], 0
test edi, edi
je 0x1005d2a0
push edi
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esp + 0xf0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4