Function at 0x1076d05
Capabilities:
Capture webcam image

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
push esi
push edi
push dword [ebp + 0x10]
mov esi, ecx
call fcn.01010957
cmp dword [ebp + 0xc], 0x5de
mov edi, eax
jne 0x1076e7b
cmp dword [ebp + 0x14], 6
je 0x1076faa
push 0xa
push dword [esi + 0x14]
xor ebx, ebx
mov dword [esi + 0x334], ebx
call dword [sym.imp.USER32.dll_KillTimer]
mov edi, 0x80000000
cmp dword [esi + 0x320], ebx
jne 0x1076e73
push 0xffffffffffffffff
push 2
lea ecx, [esi + 0x2ac]
call fcn.01010eb3
cmp eax, 5
jne 0x1076e73
mov dword [ebp + 0x10], 1
cmp dword [0x10b24cc], ebx
je 0x1076dd3
mov al, byte [0x10b24d0]
cmp al, 4
jae 0x1076d88
cmp al, bl
jne 0x1076dd3
mov eax, dword [0x10b24b8]
mov ecx, dword [0x10b24bc]
mov edx, 0x10000
and eax, edx
and ecx, edi
or eax, ecx
je 0x1076dd3
mov eax, dword [0x10b24c0]
mov ecx, eax
and ecx, edx
mov edx, dword [0x10b24c4]
and edx, edi
cmp ecx, eax
jne 0x1076dd3
cmp edx, dword [0x10b24c4]
jne 0x1076dd3
push 0x1076fb8
push dword [0x10b247c]
push dword [0x10b2478]
call fcn.0100e7c9
xor eax, eax
cmp dword [esi + 0x320], ebx
setne al
add eax, 5
push eax
push ebx
push 0xa
call fcn.010755e1
push 1
mov ecx, esi
call fcn.0107629a
cmp dword [ebp + 0x10], ebx
je 0x1076faa
cmp dword [0x10b24cc], ebx
je 0x1076faa
mov al, byte [0x10b24d0]
cmp al, 4
jae 0x1076e19
cmp al, bl
jne 0x1076faa
mov eax, dword [0x10b24b8]
mov ecx, dword [0x10b24bc]
mov edx, 0x10000
and eax, edx
and ecx, edi
or eax, ecx
je 0x1076faa
mov eax, dword [0x10b24c0]
mov esi, dword [0x10b24c4]
mov ecx, eax
and ecx, edx
mov edx, esi
and edx, edi
cmp ecx, eax
jne 0x1076faa
cmp edx, esi
jne 0x1076faa
push 0x1076fc8
push dword [0x10b247c]
push dword [0x10b2478]
call fcn.0100e7c9
jmp 0x1076faa
mov dword [ebp + 0x10], ebx
jmp 0x1076dd3
xor ebx, ebx
cmp dword [ebp + 0x14], ebx
jne 0x1076faa
lea eax, [esi + 0x3dc]
cmp dword [eax], ebx
je 0x1076e97
mov dword [eax], ebx
jmp 0x1076faa
push 0xa
push dword [esi + 0x14]
mov dword [esi + 0x334], ebx
call dword [sym.imp.USER32.dll_KillTimer]
push ebx
mov ecx, esi
call fcn.01074657
push ebx
push dword [ebp + 0xc]
mov ecx, edi
call fcn.01010f3d
mov edi, eax
mov dword [ebp + 0x14], edi
cmp edi, ebx
je 0x1076faa
push ebx
push dword [ebp + 0xc]
push 0x419
push dword [ebp + 0x10]
call dword [sym.imp.USER32.dll_SendMessageW]
mov dword [ebp + 0xc], eax
cmp dword [esi + 0x318], ebx
je 0x1076ef6
cmp dword [edi + 0x10], 4
jae 0x1076ef6
push eax
push dword [ebp + 0x10]
mov ecx, esi
call fcn.010745fa
push dword [edi]
call fcn.0107a5f9
mov eax, dword [edi + 0x10]
cmp eax, 3
jb 0x1076f57
xor edi, edi
cmp eax, 4
jb 0x1076f17
mov edi, dword [esi + 0x318]
neg edi
sbb edi, edi
dec edi
push dword [ebp + 0xc]
xor eax, eax
cmp dword [esi + 0x318], ebx
push dword [ebp + 0x10]
setne al
push edi
mov ecx, esi
add eax, 0x400
push eax
push dword [ebp + 0x14]
call fcn.0104785b
cmp dword [esi + 0x318], ebx
je 0x1076faa
cmp dword [esi + 0x31c], ebx
je 0x1076faa
push dword [ebp + 0xc]
push dword [ebp + 0x10]
push edi
push 0x401
jmp 0x1076fa0
cmp dword [esi + 0x318], ebx
je 0x1076faa
push ebx
push ebx
push ebx
push 0x201
push edi
mov ecx, esi
call fcn.0104785b
push ebx
push ebx
push ebx
mov edi, 0x202
push edi
push dword [ebp + 0x14]
mov ecx, esi
call fcn.0104785b
cmp dword [esi + 0x31c], ebx
je 0x1076faa
push ebx
push ebx
push ebx
push 0x203
push dword [ebp + 0x14]
mov ecx, esi
call fcn.0104785b
push ebx
push ebx
push ebx
push edi
push dword [ebp + 0x14]
mov ecx, esi
call fcn.0104785b
pop edi
pop esi
pop ebx
pop ebp
ret 0x10