Function at 0x10779f6
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.0101094f
push dword [ebp + 0xc]
mov esi, eax
mov dword [ebp - 4], esi
call fcn.0107511e
push dword [ebp + 0xc]
mov dword [ebp - 8], eax
or edi, 0xffffffff
call fcn.01075160
test eax, eax
je 0x1077a42
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 0x1077a83
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 0x1077a83
push edi
push dword [ebp + 8]
call fcn.0107b012
mov dword [ebx + 0x358], eax
mov eax, dword [ebx + 0x3bc]
cmp eax, 3
je 0x1077afe
mov ecx, dword [ebp + 0xc]
sub ecx, 0x200
je 0x1077c2a
dec ecx
je 0x1077ba3
dec ecx
je 0x1077b8e
dec ecx
dec ecx
je 0x1077ae1
sub ecx, 0x9f
jne 0x1077afe
dec eax
je 0x1077c5b
dec eax
jne 0x1077afe
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 0x1077c68
cmp eax, 2
jne 0x1077af2
mov ecx, ebx
call fcn.01077635
jmp 0x1077c68
cmp eax, 1
jne 0x1077afe
mov ecx, ebx
call fcn.0107626e
push 1
push edi
mov ecx, esi
call fcn.01010f35
mov esi, eax
mov dword [ebp + 0x10], esi
test esi, esi
je 0x1077c84
push dword [esi]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x1077da2
xor edi, edi
mov dword [ebp + 0x14], edi
cmp dword [ebp - 8], edi
je 0x1077d03
push dword [esi]
call fcn.0107afe9
mov ecx, dword [ebx + 0x338]
cmp ecx, edi
je 0x1077ce4
push esi
call fcn.0107602f
test al, al
je 0x1077c8d
cmp dword [ebx + 0x388], 7
je 0x1077c8d
xor eax, eax
inc eax
cmp dword [ebp + 0xc], 0x204
mov dword [ebp + 0x14], eax
je 0x1077c92
cmp dword [ebp + 0xc], 0x206
je 0x1077c92
mov dword [ebx + 0x388], edi
jmp 0x1077c98
cmp eax, 2
jne 0x1077af2
mov ecx, ebx
call fcn.010773d1
jmp 0x1077c68
test edi, edi
jl 0x1077afe
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.01010f35
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 0x1077c68
dec eax
je 0x1077c44
dec eax
jne 0x1077afe
push esi
push dword [ebp - 0x10]
mov ecx, ebx
push dword [ebp - 0x14]
call fcn.01077091
jmp 0x1077c68
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 0x1077c68
push dword [ebp - 0x10]
mov ecx, ebx
push dword [ebp - 0x14]
call fcn.010766f2
cmp dword [ebx + 0x3bc], 1
jne 0x1077c84
push dword [ebp + 0x14]
mov ecx, ebx
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.01075abf
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 0x10
mov dword [ebp + 0x14], edi
jmp 0x1077ce4
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.01040db2
push 0x21d
push 0x1068af0
call fcn.01034ccd
mov esi, dword [ebp + 0x10]
xor edi, edi
push edi
push 3
push esi
mov ecx, ebx
call fcn.01022537
push edi
mov ecx, ebx
mov dword [ebx + 0x344], 1
call fcn.0103ff9b
jmp 0x1077d49
cmp dword [ebp + 0xc], 0x202
jne 0x1077d27
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.01075f39
jmp 0x1077d60
cmp dword [ebp + 0xc], 0x205
jne 0x1077d4e
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.01075f39
cmp dword [ebp + 0x14], edi
jne 0x1077dba
cmp dword [ebp + 0xc], 0x202
je 0x1077d60
cmp dword [ebp + 0xc], 0x205
jne 0x1077d75
push edi
push edi
push 0x447
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_SendMessageW]
cmp eax, 0xffffffff
je 0x1077dba
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.01040f21
jmp 0x1077dba
push 4
push 1
push 0
push edi
add esi, 0x438
push esi
push dword [ebp - 4]
mov ecx, ebx
call fcn.0104092f
xor eax, eax
inc eax
jmp 0x1077c86