Function at 0x107765d
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.0101094f
cmp dword [ebp + 0xc], 0x5de
mov edi, eax
jne 0x10777d3
cmp dword [ebp + 0x14], 6
je 0x1077902
push 0xa
push dword [esi + 0x14]
xor ebx, ebx
mov dword [esi + 0x334], ebx
call dword [sym.imp.USER32.dll_KillTimer]
mov edi, SHChangeNotifyRegister
cmp dword [esi + 0x320], ebx
jne 0x10777cb
push 0xffffffffffffffff
push 2
lea ecx, [esi + 0x2ac]
call fcn.01010eab
cmp eax, 5
jne 0x10777cb
mov dword [ebp + 0x10], 1
cmp dword [0x10b24cc], ebx
je 0x107772b
mov al, byte [0x10b24d0]
cmp al, 4
jae 0x10776e0
cmp al, bl
jne 0x107772b
mov eax, dword [0x10b24b8]
mov ecx, dword [0x10b24bc]
mov edx, 0x10000
and eax, edx
and ecx, edi
or eax, ecx
je 0x107772b
mov eax, dword [0x10b24c0]
mov ecx, eax
and ecx, edx
mov edx, dword [0x10b24c4]
and edx, edi
cmp ecx, eax
jne 0x107772b
cmp edx, dword [0x10b24c4]
jne 0x107772b
push 0x1077910
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.01075f39
push 1
mov ecx, esi
call fcn.01076bf2
cmp dword [ebp + 0x10], ebx
je 0x1077902
cmp dword [0x10b24cc], ebx
je 0x1077902
mov al, byte [0x10b24d0]
cmp al, 4
jae 0x1077771
cmp al, bl
jne 0x1077902
mov eax, dword [0x10b24b8]
mov ecx, dword [0x10b24bc]
mov edx, 0x10000
and eax, edx
and ecx, edi
or eax, ecx
je 0x1077902
mov eax, dword [0x10b24c0]
mov esi, dword [0x10b24c4]
mov ecx, eax
and ecx, edx
mov edx, esi
and edx, edi
cmp ecx, eax
jne 0x1077902
cmp edx, esi
jne 0x1077902
push 0x1077920
push dword [0x10b247c]
push dword [0x10b2478]
call fcn.0100e7c9
jmp 0x1077902
mov dword [ebp + 0x10], ebx
jmp 0x107772b
xor ebx, ebx
cmp dword [ebp + 0x14], ebx
jne 0x1077902
lea eax, [esi + 0x3dc]
cmp dword [eax], ebx
je 0x10777ef
mov dword [eax], ebx
jmp 0x1077902
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.01074faf
push ebx
push dword [ebp + 0xc]
mov ecx, edi
call fcn.01010f35
mov edi, eax
mov dword [ebp + 0x14], edi
cmp edi, ebx
je 0x1077902
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 0x107784e
cmp dword [edi + 0x10], 4
jae 0x107784e
push eax
push dword [ebp + 0x10]
mov ecx, esi
call fcn.01074f52
push dword [edi]
call fcn.0107afe9
mov eax, dword [edi + 0x10]
cmp eax, 3
jb 0x10778af
xor edi, edi
cmp eax, 4
jb 0x107786f
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.01040f21
cmp dword [esi + 0x318], ebx
je 0x1077902
cmp dword [esi + 0x31c], ebx
je 0x1077902
push dword [ebp + 0xc]
push dword [ebp + 0x10]
push edi
push 0x401
jmp 0x10778f8
cmp dword [esi + 0x318], ebx
je 0x1077902
push ebx
push ebx
push ebx
push 0x201
push edi
mov ecx, esi
call fcn.01040f21
push ebx
push ebx
push ebx
mov edi, 0x202
push edi
push dword [ebp + 0x14]
mov ecx, esi
call fcn.01040f21
cmp dword [esi + 0x31c], ebx
je 0x1077902
push ebx
push ebx
push ebx
push 0x203
push dword [ebp + 0x14]
mov ecx, esi
call fcn.01040f21
push ebx
push ebx
push ebx
push edi
push dword [ebp + 0x14]
mov ecx, esi
call fcn.01040f21
pop edi
pop esi
pop ebx
pop ebp
ret 0x10