Function at 0x494ff0
Capabilities:
Capture webcam image

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x63e330
mov eax, dword fs:[0]
push eax
sub esp, 0x48
mov eax, dword [0x6eed24]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x40], ebx
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x50], eax
mov dword [ebp - 4], 0
call dword [sym.imp.USER32.dll_CreatePopupMenu]
mov esi, eax
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x54], esi
mov edi, dword [ebx + 0x34]
mov byte [ebp - 4], 2
mov dword [ebp - 0x3c], edi
test edi, edi
je 0x495053
mov eax, dword [edi]
push edi
call dword [eax + 4]
test edi, edi
je 0x495126
mov ebx, 0x1068
mov dword [ebp - 0x38], 0
mov ecx, dword [ebp - 0x40]
lea edx, [ebp - 0x38]
push edx
push edi
mov byte [ebp - 4], 4
mov ecx, dword [ecx + 0x38]
push ecx
mov eax, dword [ecx]
call dword [eax + 0x54]
mov eax, dword [ebp - 0x40]
lea edx, [ebp - 0x44]
push edx
push dword [ebp - 0x38]
mov ecx, dword [eax + 0x38]
push 0
push edi
push ecx
mov eax, dword [ecx]
call dword [eax + 0x50]
mov eax, dword [ebp - 0x40]
push 0
push ebx
push 0x412
push dword [eax + 0x40]
call dword [sym.imp.USER32.dll_SendMessageW]
test al, 8
je 0x4950bc
push dword [ebp - 0x44]
push ebx
push 0x400
push 0xffffffffffffffff
push esi
call dword [sym.imp.USER32.dll_InsertMenuW]
inc ebx
test edi, edi
je 0x4950d2
mov eax, edi
xor edi, edi
mov dword [ebp - 0x3c], edi
mov ecx, dword [eax]
push eax
mov byte [ebp - 4], 6
call dword [ecx + 8]
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x4c], edi
cmp edi, eax
je 0x49510d
mov ecx, eax
mov dword [ebp - 0x48], ecx
mov byte [ebp - 4], 7
test ecx, ecx
je 0x4950f2
mov ecx, dword [eax]
push eax
call dword [ecx + 4]
mov eax, dword [ebp - 0x38]
mov ecx, edi
mov edi, dword [ebp - 0x48]
mov dword [ebp - 0x3c], edi
cmp dword [ebp - 0x4c], 0
mov byte [ebp - 4], 8
je 0x49510d
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov eax, dword [ebp - 0x38]
mov byte [ebp - 4], 9
test eax, eax
je 0x49511b
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
test edi, edi
jne 0x495060
mov ebx, dword [ebp - 0x40]
call dword [sym.imp.USER32.dll_CreatePopupMenu]
push str.SubMenu
push esi
push 0x410
push 0
push eax
mov dword [ebp - 0x3c], eax
call dword [sym.imp.USER32.dll_InsertMenuW]
push 0
push dword [ebp - 0x3c]
call dword [sym.imp.USER32.dll_GetSubMenu]
push 0
push 0x1015
push 0x419
push dword [ebx + 0x40]
mov esi, eax
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
call dword [sym.imp.USER32.dll_SendMessageW]
lea ecx, [ebp - 0x20]
push ecx
push eax
push 0x41d
push dword [ebx + 0x40]
call dword [sym.imp.USER32.dll_SendMessageW]
push 2
lea eax, [ebp - 0x20]
push eax
push 0
push dword [ebx + 0x40]
call dword [sym.imp.USER32.dll_MapWindowPoints]
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x18]
sub ecx, 4
mov dword [ebp - 0x30], eax
sub edx, 0x19
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x34]
push eax
push dword [ebx + 4]
mov dword [ebp - 0x34], 0x14
push ecx
push edx
push 0
push esi
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x24], ecx
mov dword [ebx + 0x50], 1
call dword [sym.imp.USER32.dll_TrackPopupMenuEx]
push 0
push 0
push 0x4c8
push dword [ebx + 0x4c]
mov dword [ebx + 0x50], 0
call dword [sym.imp.USER32.dll_PostMessageW]
mov eax, dword [ebp - 0x50]
mov esi, dword [sym.imp.USER32.dll_DestroyMenu]
mov dword [eax], 0
mov eax, dword [ebp - 0x3c]
test eax, eax
je 0x49521b
push eax
call esi
mov byte [ebp - 4], 0xa
test edi, edi
je 0x495229
mov eax, dword [edi]
push edi
call dword [eax + 8]
push dword [ebp - 0x44]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [ebp - 0x54]
test eax, eax
je 0x49523c
push eax
call esi
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004b2558
mov esp, ebp
pop ebp
ret 0x10