Function at 0x493b16
Capabilities:
Capture webcam image

Disassembly:
mov eax, 0x4f0d0a
call fcn.004e1580
sub esp, 0x30
push ebx
push esi
mov esi, dword [ebp + 0xc]
lea eax, [ebp - 0x10]
push edi
push eax
push 0x506968
push esi
push dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x10], ebx
call fcn.004d1991
add esp, 0x10
cmp eax, ebx
mov dword [ebp - 0x34], eax
je 0x493be6
push 0x28
call sub.MFC42.DLL_operatornew
pop ecx
mov dword [ebp - 0x24], eax
cmp eax, ebx
mov dword [ebp - 4], ebx
je 0x493b6c
mov ecx, eax
call fcn.00492b67
mov ebx, eax
mov eax, dword [ebp - 0x10]
lea edi, [ebx + 8]
mov dword [ebx + 0x18], eax
or dword [ebp - 4], 0xffffffff
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov eax, dword [ebp - 0x10]
mov esi, dword [ebp - 0x30]
mov dword [ebx + 4], eax
mov eax, dword [ebp - 0x34]
push ebx
lea ecx, [esi + 0x54]
mov dword [ebx + 0x1c], eax
call fcn.00496754
call fcn.00499c14
push 0x5068b8
mov ecx, eax
call sub.MFC42.DLL_CCmdTarget::GetInterface
mov edi, eax
test edi, edi
mov dword [ebp - 0x38], edi
je 0x493bb5
mov eax, dword [edi]
push edi
call dword [eax + 4]
push 1
mov ecx, esi
pop eax
push dword [ebx + 0x18]
mov dword [ebp - 4], eax
push eax
push edi
push dword [ebp - 0x10]
call fcn.00493f05
test eax, eax
jne 0x493bed
push dword [ebx + 0x18]
mov ecx, esi
call fcn.00495974
or dword [ebp - 4], 0xffffffff
test edi, edi
je 0x493be6
mov eax, dword [edi]
push edi
call dword [eax + 8]
xor eax, eax
jmp 0x493dbc
push dword [ebp + 0xc]
mov ecx, esi
call fcn.00493ea9
push dword [ebp + 0xc]
mov ecx, esi
call fcn.00495883
lea ecx, [ebp - 0x2c]
call sub.MFC42.DLL_CString::CString_3
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 2
call sub.MFC42.DLL_CString::CString_3
and dword [ebp - 0x18], 0
lea eax, [ebp - 0x18]
push eax
mov byte [ebp - 4], 3
push dword [ebp + 0xc]
call dword [sym.imp.ole32.dll_StringFromCLSID]
test eax, eax
jne 0x493d7a
push dword [ebp - 0x18]
lea ecx, [ebp - 0x28]
call sub.MFC42.DLL_CString::operator
push dword [ebp - 0x18]
call dword [sym.imp.ole32.dll_CoTaskMemFree]
push dword [ebp - 0x28]
call fcn.004d32d5
pop ecx
push eax
lea eax, [ebp - 0x2c]
push 0x52a2a4
push eax
call sub.MFC42.DLL_CString::Format_1
add esp, 0xc
call fcn.004cbba4
mov ebx, eax
test ebx, ebx
mov dword [ebp - 0x3c], ebx
je 0x493c75
mov eax, dword [ebx]
push ebx
call dword [eax + 4]
and dword [ebp - 0x24], 0
mov eax, dword [ebx]
lea ecx, [ebp - 0x24]
push ecx
push ebx
mov byte [ebp - 4], 5
call dword [eax + 0x30]
mov ecx, dword [ebp - 0x10]
xor eax, eax
test ecx, ecx
mov dword [ebp - 0x20], eax
je 0x493ca4
mov eax, dword [ecx]
lea edx, [ebp - 0x20]
push edx
push 0x52c5a0
push ecx
call dword [eax]
mov eax, dword [ebp - 0x20]
test eax, eax
mov byte [ebp - 4], 6
je 0x493d4d
and dword [ebp - 0x14], 0
mov ecx, dword [eax]
lea edx, [ebp - 0x14]
push edx
push eax
call dword [ecx + 0x10]
lea ecx, [ebp - 0x1c]
call sub.MFC42.DLL_CString::CString_3
movzx ecx, byte [ebp - 0x14]
mov eax, dword [ebp - 0x14]
push ecx
xor ecx, ecx
mov byte [ebp - 4], 7
mov cl, byte [ebp - 0x13]
movzx ecx, cl
shr eax, 0x10
push ecx
movzx ecx, al
push ecx
xor ecx, ecx
mov cl, ah
movzx eax, cl
push eax
lea eax, [ebp - 0x1c]
push str._u._u._u._u
push eax
call sub.MFC42.DLL_CString::Format_1
push 0xffffffffffffffff
push dword [ebp - 0x2c]
call fcn.0040294f
mov dword [ebp - 0x34], eax
push 0xffffffffffffffff
mov byte [ebp - 4], 8
push dword [ebp - 0x1c]
call fcn.0040294f
add esp, 0x28
mov dword [ebp - 0x30], eax
push dword [ebp - 0x34]
mov eax, dword [ebp - 0x24]
mov byte [ebp - 4], 9
push dword [ebp - 0x30]
mov ecx, dword [eax]
push 0xffffffffffffffff
push eax
call dword [ecx + 0x18]
push dword [ebp - 0x30]
mov esi, dword [sym.imp.OLEAUT32.dll_SysStringLen]
call esi
push dword [ebp - 0x34]
call esi
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 6
call sub.MFC42.DLL_CString::CString
mov eax, dword [ebp - 0x20]
test eax, eax
mov byte [ebp - 4], 5
je 0x493d5b
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x24]
mov byte [ebp - 4], 4
test eax, eax
je 0x493d6c
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
test ebx, ebx
mov byte [ebp - 4], 3
je 0x493d7a
mov eax, dword [ebx]
push ebx
call dword [eax + 8]
call fcn.0040ff6c
push dword [ebp + 8]
push dword [ebp + 0xc]
push 0x419
push dword [eax + 0x20]
call dword [sym.imp.USER32.dll_SendMessageA]
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 2
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 1
call sub.MFC42.DLL_CString::CString
or dword [ebp - 4], 0xffffffff
test edi, edi
je 0x493db9
mov eax, dword [edi]
push edi
call dword [eax + 8]
push 1
pop eax
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 8