Function at 0x10095f10
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100c16f0
mov eax, dword fs:[0]
push eax
mov eax, 0x26264
call fcn.1009c8a0
mov eax, dword [0x100e7c94]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor esi, esi
lea eax, [ebp - 0x3130]
push 0x3120
push esi
push eax
xor ebx, ebx
mov dword [ebp - 0x26260], esi
call fcn.1003d670
push 0x3120
lea eax, [ebp - 0x6250]
push esi
push eax
call fcn.1003d670
add esp, 0x18
mov dword [ebp - 0x26268], ebx
push str.Empia_VideoClass_HidClass_Library
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
push 0x3e8
push eax
mov dword [0x1480982c], eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x100965b3
push 0x20002
push eax
lea eax, [ebp - 0x26254]
push eax
call fcn.1003d670
lea eax, [ebp - 0x26254]
push eax
call fcn.1008d3f0
movsx eax, word [ebp - 0x26254]
push eax
push str.EnumVideoDevice_found__d_Cap_Filters
call fcn.1008d430
xor edi, edi
xor eax, eax
add esp, 0x18
mov dword [ebp - 0x2625c], edi
cmp ax, word [ebp - 0x26254]
jge 0x10096214
nop dword [eax]
mov dword [ebp - 0x26258], 0
movsx eax, di
lea ebx, [ebp - 0x16252]
shl eax, 0xa
add ebx, eax
mov dword [ebp - 4], 0
lea eax, [ebp - 0x26258]
mov dword [ebp - 0x26264], ebx
push eax
push ebx
call fcn.1008d410
mov eax, dword [ebp - 0x26258]
add esp, 8
test eax, eax
je 0x100961e7
lea ecx, [ebp - 0x26268]
push ecx
push eax
call fcn.1008e4c0
add esp, 8
test eax, eax
je 0x100960be
imul eax, dword [0x148098f4], 0x20c
lea edx, [ebp - 0x2f28]
mov ecx, dword [ebp - 0x26268]
mov byte [0x14809828], 1
mov dword [ebp + eax - 0x2f2c], 0
mov dword [ebp + eax - 0x2f30], ecx
add eax, edx
push eax
push ecx
call fcn.10095930
imul eax, dword [0x148098f4], 0x20c
lea edi, [ebp - 0x3130]
push ebx
mov ecx, 0x40
mov esi, ebx
push str.Get_eMPIA_UVC_Device_:__ls
add edi, eax
rep movsd dword es:[edi], dword [esi]
call fcn.1008d430
mov eax, dword [0x148098f4]
add esp, 0x10
inc eax
mov dword [ebp - 0x26260], eax
mov dword [0x148098f4], eax
jmp 0x100961bd
lea eax, [ebp - 0x26268]
push eax
push dword [ebp - 0x26258]
call fcn.1008e2e0
add esp, 8
test eax, eax
je 0x1009613e
mov ebx, dword [0x148098f4]
lea edi, [ebp - 0x3130]
mov eax, dword [ebp - 0x26268]
imul ecx, ebx, 0x20c
inc ebx
mov byte [0x14809828], 1
mov dword [ebp - 0x26260], ebx
mov dword [0x148098f4], ebx
add edi, ecx
mov dword [ebp + ecx - 0x2f2c], 1
mov dword [ebp + ecx - 0x2f30], eax
mov eax, dword [ebp - 0x26264]
mov esi, eax
mov byte [ebp + ecx - 0x2f28], 1
mov ecx, 0x40
push eax
push str.Get_2595_UVC_Device_:__ls
rep movsd dword es:[edi], dword [esi]
call fcn.1008d430
add esp, 8
jmp 0x100961bd
lea eax, [ebp - 0x26268]
push eax
push dword [ebp - 0x26258]
call fcn.1008e640
add esp, 8
test eax, eax
je 0x100961c3
mov edx, dword [0x148098f4]
lea edi, [ebp - 0x3130]
mov eax, dword [ebp - 0x26268]
mov esi, ebx
imul ecx, edx, 0x20c
inc edx
push str.Get_1_Etron_UVC_Device
mov byte [0x14809828], 1
mov dword [ebp - 0x26260], edx
mov dword [0x148098f4], edx
add edi, ecx
mov dword [ebp + ecx - 0x2f2c], 2
mov dword [ebp + ecx - 0x2f30], eax
mov ecx, 0x40
rep movsd dword es:[edi], dword [esi]
call fcn.1008d430
push dword [0x14809904]
push str.Etron_Node_Id:_d
call fcn.1008d430
add esp, 0xc
mov edi, dword [ebp - 0x2625c]
mov eax, dword [ebp - 0x26258]
test eax, eax
je 0x100961e7
mov ecx, eax
xor eax, eax
mov dword [ebp - 0x26258], eax
test ecx, ecx
je 0x100961e7
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov eax, dword [ebp - 0x26258]
mov dword [ebp - 4], 0xffffffff
test eax, eax
je 0x100961f8
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
inc edi
mov dword [ebp - 0x2625c], edi
cmp di, word [ebp - 0x26254]
jl 0x10095ff0
mov esi, dword [ebp - 0x26260]
xor ebx, ebx
mov eax, dword [0x14809908]
test eax, eax
jne 0x10096288
test esi, esi
jle 0x100963aa
xor edx, edx
mov ebx, esi
nop dword [eax]
mov eax, dword [ebp + edx - 0x2f30]
lea esi, [ebp - 0x3130]
mov dword [edx + 0x14809b10], eax
lea edi, [edx + 0x14809910]
mov eax, dword [ebp + edx - 0x2f2c]
add esi, edx
mov dword [edx + 0x14809b14], eax
mov ecx, 0x40
mov al, byte [ebp + edx - 0x2f28]
mov byte [edx + 0x14809b18], al
add edx, 0x20c
rep movsd dword es:[edi], dword [esi]
sub ebx, 1
jne 0x10096230
mov esi, dword [ebp - 0x26260]
mov dword [0x14809908], esi
jmp 0x1009658b
cmp eax, esi
jge 0x100963ac
test esi, esi
jle 0x1009639f
lea ecx, [ebp - 0x3130]
mov dword [ebp - 0x2625c], esi
mov dword [ebp - 0x26258], ecx
nop word [eax + eax]
xor esi, esi
test eax, eax
jle 0x10096380
mov edi, 0x14809910
nop
push 0x100
push ecx
push edi
call fcn.1005cab0
add esp, 0xc
test eax, eax
je 0x10096336
mov eax, dword [0x14809908]
inc ebx
cmp ebx, eax
je 0x100962f3
mov ecx, dword [ebp - 0x26258]
inc esi
add edi, 0x20c
cmp esi, eax
jl 0x100962c0
jmp 0x10096380
imul edx, ebx, 0x20c
mov ecx, 0x40
mov ebx, dword [ebp - 0x26258]
mov esi, ebx
lea edi, [edx + 0x14809910]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [ebx + 0x200]
mov dword [edx + 0x14809b10], ecx
mov ecx, dword [ebx + 0x204]
mov dword [edx + 0x14809b14], ecx
mov cl, byte [ebx + 0x208]
mov byte [edx + 0x14809b18], cl
mov ecx, ebx
jmp 0x1009637e
imul edx, esi, 0x20c
mov ecx, 0x40
mov esi, dword [ebp - 0x26258]
lea edi, [edx + 0x14809910]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [ebp - 0x26258]
mov eax, dword [ecx + 0x200]
mov dword [edx + 0x14809b10], eax
mov eax, dword [ecx + 0x204]
mov dword [edx + 0x14809b14], eax
mov al, byte [ecx + 0x208]
mov byte [edx + 0x14809b18], al
mov eax, dword [0x14809908]
xor ebx, ebx
add ecx, 0x20c
sub dword [ebp - 0x2625c], 1
mov dword [ebp - 0x26258], ecx
jne 0x100962b0
mov esi, dword [ebp - 0x26260]
mov dword [0x14809908], esi
jmp 0x1009658b
cmp eax, esi
jle 0x10096512
test esi, esi
jle 0x1009639f
lea edi, [ebp - 0x2f30]
mov dword [ebp - 0x26264], esi
mov dword [ebp - 0x26258], edi
mov ecx, esi
nop word [eax + eax]
mov dword [ebp - 0x26270], 0
test eax, eax
jle 0x100964c7
lea ecx, [edi - 0x200]
mov esi, 0xfffffdf4
mov dword [ebp - 0x2626c], ecx
mov dword [ebp - 0x2625c], esi
nop dword [eax]
push 0x100
push ecx
lea eax, [esi + 0x14809b1c]
push eax
call fcn.1005cab0
add esp, 0xc
test eax, eax
jne 0x10096494
lea ecx, [eax + 0x40]
test ebx, ebx
jle 0x1009645a
lea edi, [ebp - 0x6250]
add edi, esi
mov esi, dword [ebp - 0x2626c]
rep movsd dword es:[edi], dword [esi]
mov edi, dword [ebp - 0x26258]
xor ebx, ebx
mov esi, dword [ebp - 0x2625c]
mov eax, dword [edi]
mov dword [esi + 0x14809b10], eax
mov eax, dword [edi + 4]
mov dword [esi + 0x14809b14], eax
mov al, byte [edi + 8]
mov byte [esi + 0x14809b18], al
jmp 0x10096495
lea edi, [ebp - 0x6044]
add edi, esi
mov esi, dword [ebp - 0x2626c]
rep movsd dword es:[edi], dword [esi]
mov edi, dword [ebp - 0x26258]
xor ebx, ebx
mov esi, dword [ebp - 0x2625c]
mov eax, dword [edi]
mov dword [esi + 0x14809d1c], eax
mov eax, dword [edi + 4]
mov dword [esi + 0x14809d20], eax
mov al, byte [edi + 8]
mov byte [esi + 0x14809d24], al
jmp 0x10096495
inc ebx
mov ecx, dword [ebp - 0x26270]
add esi, 0x20c
mov eax, dword [0x14809908]
inc ecx
mov dword [ebp - 0x26270], ecx
cmp ecx, eax
mov dword [ebp - 0x2625c], esi
lea ecx, [edi - 0x200]
jl 0x10096400
mov ecx, dword [ebp - 0x26264]
add edi, 0x20c
sub ecx, 1
mov dword [ebp - 0x26258], edi
mov dword [ebp - 0x26264], ecx
jne 0x100963d0
mov eax, dword [ebp - 0x26260]
xor edx, edx
mov dword [0x14809908], eax
nop
lea esi, [ebp - 0x6250]
mov ecx, 0x40
add esi, edx
lea edi, [edx + 0x14809910]
add edx, 0x20c
rep movsd dword es:[edi], dword [esi]
sub eax, 1
jne 0x100964f0
jmp 0x1009658b
xor edx, edx
mov dword [ebp - 0x26264], edx
test eax, eax
jle 0x1009658b
xor ecx, ecx
xor edi, edi
test eax, eax
jle 0x1009657d
imul ebx, ecx, 0x20c
lea esi, [ebp - 0x2f30]
lea ecx, [ebx + 0x14809910]
nop dword [eax + eax]
push 0x100
lea eax, [esi - 0x200]
push eax
push ecx
call fcn.1005cab0
add esp, 0xc
test eax, eax
jne 0x10096561
mov eax, dword [esi]
mov dword [ebx + 0x14809b10], eax
mov eax, dword [0x14809908]
lea ecx, [ebx + 0x14809910]
inc edi
add esi, 0x20c
cmp edi, eax
jl 0x10096540
mov edx, dword [ebp - 0x26264]
inc edx
movsx ecx, dx
mov dword [ebp - 0x26264], edx
cmp ecx, eax
jl 0x10096520
cmp dword [0x148098f4], 0
push dword [0x1480982c]
jne 0x100965b7
mov byte [0x14809828], 0
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
push dword [0x1480982c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
jmp 0x100965e6
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
call dword [sym.imp.KERNEL32.dll_GetLastError]
xor ecx, ecx
cmp eax, 0xb7
sete cl
push ecx
push dword [0x14809908]
push str.Found_UVC_Device:_d_Mutex:_x
call fcn.1008d430
add esp, 0xc
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1003acef
mov esp, ebp
pop ebp
ret