Function at 0x10771ce
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.010748f6
push dword [ebp + 0xc]
mov dword [ebp - 8], eax
or edi, 0xffffffff
call fcn.01074938
test eax, eax
je 0x107721a
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 0x107725b
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 0x107725b
push edi
push dword [ebp + 8]
call fcn.0107a782
mov dword [ebx + 0x358], eax
mov eax, dword [ebx + 0x3bc]
cmp eax, 3
je 0x10772d6
mov ecx, dword [ebp + 0xc]
sub ecx, 0x200
je 0x1077402
dec ecx
je 0x107737b
dec ecx
je 0x1077366
dec ecx
dec ecx
je 0x10772b9
sub ecx, 0x9f
jne 0x10772d6
dec eax
je 0x1077433
dec eax
jne 0x10772d6
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 0x1077440
cmp eax, 2
jne 0x10772ca
mov ecx, ebx
call fcn.01076e0d
jmp 0x1077440
cmp eax, 1
jne 0x10772d6
mov ecx, ebx
call fcn.01075a46
push 1
push edi
mov ecx, esi
call fcn.01010f3d
mov esi, eax
mov dword [ebp + 0x10], esi
test esi, esi
je 0x107745c
push dword [esi]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x107757a
xor edi, edi
mov dword [ebp + 0x14], edi
cmp dword [ebp - 8], edi
je 0x10774db
push dword [esi]
call fcn.0107a759
mov ecx, dword [ebx + 0x338]
cmp ecx, edi
je 0x10774bc
push esi
call fcn.01075807
test al, al
je 0x1077465
cmp dword [ebx + 0x388], 7
je 0x1077465
xor eax, eax
inc eax
cmp dword [ebp + 0xc], 0x204
mov dword [ebp + 0x14], eax
je 0x107746a
cmp dword [ebp + 0xc], 0x206
je 0x107746a
mov dword [ebx + 0x388], edi
jmp 0x1077470
cmp eax, 2
jne 0x10772ca
mov ecx, ebx
call fcn.01076ba9
jmp 0x1077440
test edi, edi
jl 0x10772d6
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 0x1077440
dec eax
je 0x107741c
dec eax
jne 0x10772d6
push esi
push dword [ebp - 0x10]
mov ecx, ebx
push dword [ebp - 0x14]
call fcn.01076869
jmp 0x1077440
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 0x1077440
push dword [ebp - 0x10]
mov ecx, ebx
push dword [ebp - 0x14]
call fcn.01075eca
cmp dword [ebx + 0x3bc], 1
jne 0x107745c
push dword [ebp + 0x14]
mov ecx, ebx
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.01075297
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 0x10
mov dword [ebp + 0x14], edi
jmp 0x10774bc
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 0x1068870
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 0x1077521
cmp dword [ebp + 0xc], 0x202
jne 0x10774ff
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.01075711
jmp 0x1077538
cmp dword [ebp + 0xc], 0x205
jne 0x1077526
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.01075711
cmp dword [ebp + 0x14], edi
jne 0x1077592
cmp dword [ebp + 0xc], 0x202
je 0x1077538
cmp dword [ebp + 0xc], 0x205
jne 0x107754d
push edi
push edi
push 0x447
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_SendMessageW]
cmp eax, 0xffffffff
je 0x1077592
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 0x1077592
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 0x107745e