Function at 0x1076e35
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 0x1076fab
cmp dword [ebp + 0x14], 6
je 0x10770da
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 0x1076fa3
push 0xffffffffffffffff
push 2
lea ecx, [esi + 0x2ac]
call fcn.01010eb3
cmp eax, 5
jne 0x1076fa3
mov dword [ebp + 0x10], 1
cmp dword [0x10b24cc], ebx
je 0x1076f03
mov al, byte [0x10b24d0]
cmp al, 4
jae 0x1076eb8
cmp al, bl
jne 0x1076f03
mov eax, dword [0x10b24b8]
mov ecx, dword [0x10b24bc]
mov edx, 0x10000
and eax, edx
and ecx, edi
or eax, ecx
je 0x1076f03
mov eax, dword [0x10b24c0]
mov ecx, eax
and ecx, edx
mov edx, dword [0x10b24c4]
and edx, edi
cmp ecx, eax
jne 0x1076f03
cmp edx, dword [0x10b24c4]
jne 0x1076f03
push 0x10770e8
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.01075711
push 1
mov ecx, esi
call fcn.010763ca
cmp dword [ebp + 0x10], ebx
je 0x10770da
cmp dword [0x10b24cc], ebx
je 0x10770da
mov al, byte [0x10b24d0]
cmp al, 4
jae 0x1076f49
cmp al, bl
jne 0x10770da
mov eax, dword [0x10b24b8]
mov ecx, dword [0x10b24bc]
mov edx, 0x10000
and eax, edx
and ecx, edi
or eax, ecx
je 0x10770da
mov eax, dword [0x10b24c0]
mov esi, dword [0x10b24c4]
mov ecx, eax
and ecx, edx
mov edx, esi
and edx, edi
cmp ecx, eax
jne 0x10770da
cmp edx, esi
jne 0x10770da
push 0x10770f8
push dword [0x10b247c]
push dword [0x10b2478]
call fcn.0100e7c9
jmp 0x10770da
mov dword [ebp + 0x10], ebx
jmp 0x1076f03
xor ebx, ebx
cmp dword [ebp + 0x14], ebx
jne 0x10770da
lea eax, [esi + 0x3dc]
cmp dword [eax], ebx
je 0x1076fc7
mov dword [eax], ebx
jmp 0x10770da
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.01074787
push ebx
push dword [ebp + 0xc]
mov ecx, edi
call fcn.01010f3d
mov edi, eax
mov dword [ebp + 0x14], edi
cmp edi, ebx
je 0x10770da
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 0x1077026
cmp dword [edi + 0x10], 4
jae 0x1077026
push eax
push dword [ebp + 0x10]
mov ecx, esi
call fcn.0107472a
push dword [edi]
call fcn.0107a759
mov eax, dword [edi + 0x10]
cmp eax, 3
jb 0x1077087
xor edi, edi
cmp eax, 4
jb 0x1077047
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 0x10770da
cmp dword [esi + 0x31c], ebx
je 0x10770da
push dword [ebp + 0xc]
push dword [ebp + 0x10]
push edi
push 0x401
jmp 0x10770d0
cmp dword [esi + 0x318], ebx
je 0x10770da
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 0x10770da
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