Function at 0x107709e
Capabilities:
Capture webcam image

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
push dword [ebp + 8]
mov ebx, ecx
call fcn.01010957
push dword [ebp + 0xc]
mov esi, eax
mov dword [ebp - 4], esi
call fcn.010747c6
push dword [ebp + 0xc]
mov dword [ebp - 8], eax
or edi, 0xffffffff
call fcn.01074808
test eax, eax
je 0x10770ea
push 0
push dword [ebx + 0x358]
push 0x419
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_SendMessageW]
mov edi, eax
movsx eax, word [ebp + 0x14]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 0x14]
shr eax, 0x10
cwde
mov dword [ebp - 0x10], eax
cmp edi, 0xffffffff
jne 0x107712b
lea eax, [ebp - 0x14]
push eax
push 0
push 0x445
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_SendMessageW]
cmp dword [ebp - 8], 0
mov edi, eax
je 0x107712b
push edi
push dword [ebp + 8]
call fcn.0107a622
mov dword [ebx + 0x358], eax
mov eax, dword [ebx + 0x3bc]
cmp eax, 3
je 0x10771a6
mov ecx, dword [ebp + 0xc]
sub ecx, 0x200
je 0x10772d2
dec ecx
je 0x107724b
dec ecx
je 0x1077236
dec ecx
dec ecx
je 0x1077189
sub ecx, 0x9f
jne 0x10771a6
dec eax
je 0x1077303
dec eax
jne 0x10771a6
lea edi, [ebp - 8]
stosd dword es:[edi], eax
or dword [ebp - 0xc], 0xffffffff
lea eax, [ebp - 0xc]
push eax
push ecx
push 0x450
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x1077310
cmp eax, 2
jne 0x107719a
mov ecx, ebx
call fcn.01076cdd
jmp 0x1077310
cmp eax, 1
jne 0x10771a6
mov ecx, ebx
call fcn.01075916
push 1
push edi
mov ecx, esi
call fcn.01010f3d
mov esi, eax
mov dword [ebp + 0x10], esi
test esi, esi
je 0x107732c
push dword [esi]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x107744a
xor edi, edi
mov dword [ebp + 0x14], edi
cmp dword [ebp - 8], edi
je 0x10773ab
push dword [esi]
call fcn.0107a5f9
mov ecx, dword [ebx + 0x338]
cmp ecx, edi
je 0x107738c
push esi
call fcn.010756d7
test al, al
je 0x1077335
cmp dword [ebx + 0x388], 7
je 0x1077335
xor eax, eax
inc eax
cmp dword [ebp + 0xc], 0x204
mov dword [ebp + 0x14], eax
je 0x107733a
cmp dword [ebp + 0xc], 0x206
je 0x107733a
mov dword [ebx + 0x388], edi
jmp 0x1077340
cmp eax, 2
jne 0x107719a
mov ecx, ebx
call fcn.01076a79
jmp 0x1077310
test edi, edi
jl 0x10771a6
lea eax, [ebx + 0x3a8]
mov dword [eax], esi
mov dword [ebx + 0x3ac], edi
mov eax, dword [eax + 4]
mov ecx, esi
mov dword [ebx + 0x3b0], ecx
mov ecx, dword [ebp - 0x14]
mov dword [ebx + 0x3b4], eax
xor eax, eax
inc eax
mov dword [ebx + 0x3c0], ecx
mov ecx, dword [ebp - 0x10]
push eax
mov dword [ebx + 0x3c4], ecx
push edi
mov ecx, esi
mov dword [ebx + 0x3bc], eax
call fcn.01010f3d
mov dword [ebx + 0x3b8], eax
mov eax, dword [ebp - 0x10]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [ebp - 0x14]
lea edx, [ecx + 1]
push edx
push eax
push ecx
lea esi, [ebx + 0x3c8]
push esi
call dword [sym.imp.USER32.dll_SetRect]
mov edi, dword [sym.imp.USER32.dll_GetSystemMetrics]
push 0x45
call edi
push eax
push 0x44
call edi
push eax
push esi
call dword [sym.imp.USER32.dll_InflateRect]
jmp 0x1077310
dec eax
je 0x10772ec
dec eax
jne 0x10771a6
push esi
push dword [ebp - 0x10]
mov ecx, ebx
push dword [ebp - 0x14]
call fcn.01076739
jmp 0x1077310
push dword [ebp - 0x10]
lea eax, [ebx + 0x3c8]
push dword [ebp - 0x14]
push eax
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
jne 0x1077310
push dword [ebp - 0x10]
mov ecx, ebx
push dword [ebp - 0x14]
call fcn.01075d9a
cmp dword [ebx + 0x3bc], 1
jne 0x107732c
push dword [ebp + 0x14]
mov ecx, ebx
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.01075167
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 0x10
mov dword [ebp + 0x14], edi
jmp 0x107738c
mov dword [ebx + 0x388], eax
push 0xffff
push 5
push 0x403
push dword [ebx + 0x20]
call dword [sym.imp.USER32.dll_SendMessageW]
mov esi, dword [ebx + 0x338]
push 0x405
push edi
push edi
push dword [esi + 0x14]
mov ecx, ebx
push dword [esi + 0x10]
sub esp, 0x10
mov edi, esp
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.010476ec
push 0x21d
push 0x1068868
call fcn.01034b2d
mov esi, dword [ebp + 0x10]
xor edi, edi
push edi
push 3
push esi
mov ecx, ebx
call fcn.01022473
push edi
mov ecx, ebx
mov dword [ebx + 0x344], 1
call fcn.010468d3
jmp 0x10773f1
cmp dword [ebp + 0xc], 0x202
jne 0x10773cf
xor ecx, ecx
lea eax, [ebx + 0x29c]
cmp dword [ebp - 4], eax
push 1
setne cl
push esi
mov eax, ecx
push eax
call fcn.010755e1
jmp 0x1077408
cmp dword [ebp + 0xc], 0x205
jne 0x10773f6
xor ecx, ecx
lea eax, [ebx + 0x29c]
cmp dword [ebp - 4], eax
push 2
setne cl
push esi
mov eax, ecx
push eax
call fcn.010755e1
cmp dword [ebp + 0x14], edi
jne 0x1077462
cmp dword [ebp + 0xc], 0x202
je 0x1077408
cmp dword [ebp + 0xc], 0x205
jne 0x107741d
push edi
push edi
push 0x447
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_SendMessageW]
cmp eax, 0xffffffff
je 0x1077462
push 1
lea eax, [ebp - 0x14]
push eax
push edi
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_MapWindowPoints]
movzx eax, word [ebp - 0x10]
movzx ecx, word [ebp - 0x14]
push edi
push edi
shl eax, 0x10
or eax, ecx
push eax
push dword [ebp + 0xc]
mov ecx, ebx
push esi
call fcn.0104785b
jmp 0x1077462
push 4
push 1
push 0
push edi
add esi, 0x438
push esi
push dword [ebp - 4]
mov ecx, ebx
call fcn.01047269
xor eax, eax
inc eax
jmp 0x107732e