Function at 0x10017990
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100320db
mov eax, dword fs:[0]
push eax
sub esp, 0xd8
push ebx
push esi
push edi
mov eax, dword [0x10046270]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
push str.UpdateHookDllPathAndVersion
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov edi, eax
mov dword [ebp - 0xd0], edi
push 0x7530
push edi
mov dword [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x10017f1f
mov dword [ebp - 0x14], eax
mov dword [ebp - 0xcc], vtable.CUtils.0
mov byte [ebp - 4], 2
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x78]
push eax
mov ecx, esi
call fcn.1000b380
lea eax, [ebp - 0x88]
push eax
mov ecx, esi
mov byte [ebp - 4], 3
call fcn.1000b220
mov byte [ebp - 4], 5
push dword [esi + 4]
lea ecx, [ebp - 0x58]
push dword [esi + 0xc]
mov dword [ebp - 0x58], vtable.CStringBufferW.0
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x54], 0
call fcn.1000a470
mov dword [ebp - 0x48], vtable.CStringBufferW.0
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x44], 0
mov byte [ebp - 4], 8
push 0xd
lea ecx, [ebp - 0x34]
mov dword [ebp - 0x34], vtable.CStringBufferW.0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x30], 0
call fcn.1000a840
mov esi, dword [ebp - 0x28]
push 0xd
push str.Hook64DllName
push dword [ebp - 0x2c]
push esi
call fcn.1001df56
add esp, 0x10
mov dword [ebp - 0x30], 0xd
mov dword [ebp - 0x2c], 0xe
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp - 0x34]
push eax
mov ecx, ebx
mov byte [ebp - 4], 9
call fcn.100163f0
test eax, eax
sete al
mov byte [ebp + 0xb], al
mov dword [ebp - 0x34], vtable.CStringBufferW.0
mov byte [ebp - 4], 0xa
test esi, esi
je 0x10017aee
push esi
call fcn.1001df51
mov al, byte [ebp + 0xb]
add esp, 4
test al, al
jne 0x10017e25
mov dword [ebp - 0x24], vtable.CStringBufferW.0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x20], 0
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x58]
push eax
mov byte [ebp - 4], 0xb
call fcn.100137d0
test eax, eax
mov eax, dword [ebp - 0x18]
je 0x10017df1
test eax, eax
je 0x10017df1
cmp dword [ebp - 0x20], 0
je 0x10017df1
lea ecx, [ebp - 0xe4]
call fcn.100196f0
sub esp, 0x10
lea eax, [ebp - 0x24]
mov ecx, esp
push eax
mov byte [ebp - 4], 0xc
call fcn.1000a2c0
lea ecx, [ebp - 0xe4]
call fcn.10019870
push ecx
push str.SoftwareConduitIEHook
lea ecx, [ebp - 0xb8]
call fcn.1000a1d0
mov dword [ebp - 0xa8], vtable.CStringBufferW.0
mov dword [ebp - 0x9c], 0
mov dword [ebp - 0xa0], 0
mov dword [ebp - 0xa4], 0
mov dword [ebp - 0xc8], vtable.CStringBufferW.0
mov dword [ebp - 0xbc], 0
mov dword [ebp - 0xc0], 0
mov dword [ebp - 0xc4], 0
mov dword [ebp - 0x68], vtable.CStringBufferW.0
mov dword [ebp - 0x5c], 0
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x64], 0
lea eax, [ebp - 0xb8]
push eax
lea ecx, [ebp - 0x98]
mov byte [ebp - 4], 0x10
call fcn.1000a2c0
mov byte [ebp - 4], 0x11
push dword [ebx + 0x50]
lea ecx, [ebp - 0x98]
call fcn.1000a6f0
mov esi, dword [ebp - 0xac]
lea ecx, [ebp - 0x14]
call fcn.10010d00
mov dword [ebp + 8], vtable.CSetupRegW.0
push 0
lea ecx, [ebp - 0x68]
push ecx
push str.ActiveHookToolbarName
push esi
push eax
mov byte [ebp - 4], 0x12
call fcn.100153d0
mov byte [ebp - 4], 0x11
test eax, eax
je 0x10017cb7
cmp dword [ebp - 0x5c], 0
je 0x10017cb7
cmp dword [ebp - 0x64], 0
je 0x10017cb7
lea eax, [ebp - 0xa8]
push eax
lea eax, [ebp - 0x68]
push eax
lea eax, [ebp - 0xb8]
push eax
mov ecx, ebx
call fcn.10017f50
test eax, eax
je 0x10017cb7
lea ecx, [ebp - 0x38]
call fcn.100196f0
sub esp, 0x10
lea eax, [ebp - 0xa8]
mov ecx, esp
push eax
mov byte [ebp - 4], 0x13
call fcn.1000a2c0
lea ecx, [ebp - 0x38]
call fcn.10019870
lea eax, [ebp - 0x38]
push eax
lea ecx, [ebp - 0xe4]
call fcn.10019a00
mov byte [ebp - 4], 0x11
lea ecx, [ebp - 0x38]
test eax, eax
jg 0x10017cb2
call fcn.100197f0
jmp 0x10017d97
call fcn.100197f0
mov esi, dword [ebp - 0xac]
lea ecx, [ebp - 0x14]
call fcn.10010d00
mov dword [ebp + 8], vtable.CSetupRegW.0
lea ecx, [ebx + 0x44]
push ecx
push str.ActiveHookToolbarName
push esi
push eax
mov byte [ebp - 4], 0x14
call fcn.10014c90
mov byte [ebp - 4], 0x11
mov esi, dword [ebp - 0x8c]
lea ecx, [ebp - 0x14]
call fcn.10010d00
mov dword [ebp + 8], vtable.CSetupRegW.0
lea ecx, [ebp - 0x78]
push ecx
push str.HookDllPath
push esi
push eax
mov byte [ebp - 4], 0x15
call fcn.10014c90
mov byte [ebp - 4], 0x11
mov esi, dword [ebp - 0x8c]
lea ecx, [ebp - 0x14]
call fcn.10010d00
mov dword [ebp + 8], vtable.CSetupRegW.0
lea ecx, [ebp - 0x24]
push ecx
push str.HookDllVersion
push esi
push eax
mov byte [ebp - 4], 0x16
call fcn.10014c90
mov byte [ebp - 4], 0x11
mov esi, dword [ebp - 0x8c]
lea ecx, [ebp - 0x14]
call fcn.10010d00
mov dword [ebp + 8], vtable.CSetupRegW.0
lea ecx, [ebp - 0x88]
push ecx
push str.HookDllName
push esi
push eax
mov byte [ebp - 4], 0x17
call fcn.10014c90
mov byte [ebp - 4], 0x11
mov esi, dword [ebp - 0x8c]
lea ecx, [ebp - 0x14]
call fcn.10010d00
mov dword [ebp + 8], vtable.CSetupRegW.0
lea ecx, [ebp - 0x48]
push ecx
push str.Hook64DllName
push esi
push eax
mov byte [ebp - 4], 0x18
call fcn.10014c90
lea ecx, [ebp - 0x98]
mov byte [ebp - 4], 0x10
call fcn.1000a240
lea ecx, [ebp - 0x68]
mov byte [ebp - 4], 0xf
call fcn.1000a240
lea ecx, [ebp - 0xc8]
mov byte [ebp - 4], 0xe
call fcn.1000a240
lea ecx, [ebp - 0xa8]
mov byte [ebp - 4], 0xd
call fcn.1000a240
lea ecx, [ebp - 0xb8]
mov byte [ebp - 4], 0xc
call fcn.1000a240
lea ecx, [ebp - 0xe4]
mov byte [ebp - 4], 0xb
call fcn.100197f0
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x24], vtable.CStringBufferW.0
mov byte [ebp - 4], 0x19
test eax, eax
je 0x10017e09
push eax
call fcn.1001df51
add esp, 4
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x24], vtable.CSeed.0
mov dword [ebp - 0x48], vtable.CStringBufferW.0
mov byte [ebp - 4], 0x1a
mov eax, dword [ebp - 0x3c]
test eax, eax
je 0x10017e40
push eax
call fcn.1001df51
add esp, 4
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x48], vtable.CSeed.0
mov dword [ebp - 0x58], vtable.CStringBufferW.0
mov byte [ebp - 4], 0x1b
mov eax, dword [ebp - 0x4c]
test eax, eax
je 0x10017e77
push eax
call fcn.1001df51
add esp, 4
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x54], 0
mov dword [ebp - 0x58], vtable.CSeed.0
mov dword [ebp - 0x88], vtable.CStringBufferW.0
mov byte [ebp - 4], 0x1c
mov eax, dword [ebp - 0x7c]
test eax, eax
je 0x10017eb1
push eax
call fcn.1001df51
add esp, 4
mov dword [ebp - 0x7c], 0
mov dword [ebp - 0x80], 0
mov dword [ebp - 0x84], 0
mov dword [ebp - 0x88], vtable.CSeed.0
mov dword [ebp - 0x78], vtable.CStringBufferW.0
mov byte [ebp - 4], 0x1d
mov eax, dword [ebp - 0x6c]
test eax, eax
je 0x10017eee
push eax
call fcn.1001df51
add esp, 4
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x6c], 0
mov dword [ebp - 0x70], 0
mov dword [ebp - 0x74], 0
mov dword [ebp - 0x78], vtable.CSeed.0
test eax, eax
je 0x10017f1f
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x14], 0
test edi, edi
je 0x10017f31
push edi
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4