Function at 0x4bffd0
Capabilities:
Capture webcam image

Disassembly:
sub esp, 0x44
mov eax, dword [0x55bc6c]
push ebx
push ebp
push esi
mov esi, dword [sym.imp.USER32.dll_GetSubMenu]
push edi
push 4
mov edi, ecx
push eax
call esi
push 0
push eax
call esi
mov ebx, eax
call dword [sym.imp.USER32.dll_CreatePopupMenu]
mov esi, eax
push esi
push ebx
mov dword [esp + 0x1c], esi
call fcn.0047f8a0
mov ebx, dword [sym.imp.USER32.dll_DeleteMenu]
add esp, 8
push 0x400
push 4
push esi
call ebx
test eax, eax
je 0x4c0028
push 0x400
push 4
push esi
call ebx
test eax, eax
jne 0x4c001a
mov eax, dword [esp + 0x5c]
mov ebp, dword [sym.imp.USER32.dll_SendMessageW]
push 0
mov ecx, dword [eax + 0xc]
mov ebx, dword [eax]
push ecx
push 0x419
push ebx
call ebp
lea ecx, [esp + 0x24]
push ecx
push eax
push 0x41d
push ebx
call ebp
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x30]
lea ecx, [esp + 0x1c]
mov dword [esp + 0x1c], edx
push ecx
push ebx
mov dword [esp + 0x28], eax
call dword [sym.imp.USER32.dll_ClientToScreen]
mov edx, dword [edi + 4]
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x1c]
push 0
push edx
push 0
push eax
push ecx
push 0x102
push esi
call dword [sym.imp.USER32.dll_TrackPopupMenu]
test eax, eax
mov dword [esp + 0x18], eax
je 0x4c018f
lea edx, [esp + 0x5c]
push eax
push edx
call fcn.004bd8d0
mov ecx, 7
xor eax, eax
lea edi, [esp + 0x40]
add esp, 8
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x5c]
mov byte [esp + 0x45], al
mov dword [esp + 0x34], 0x20
mov dword [esp + 0x38], 2
mov edx, dword [ecx - 0xc]
lea eax, [ecx - 0xc]
cmp edx, 1
mov dword [esp + 0x10], eax
jg 0x4c00df
mov edx, dword [ecx - 4]
test edx, edx
jge 0x4c0126
mov ebp, dword [ecx - 8]
test ebp, ebp
jle 0x4c00ec
jne 0x4c01b3
mov edi, dword [0x547570]
mov dword [esp + 0x5c], edi
lea ecx, [ebp + ebp + 2]
lea esi, [eax + 0xc]
mov edx, ecx
push eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x60]
mov dword [ecx - 8], ebp
call fcn.00405590
mov ecx, dword [esp + 0x5c]
mov esi, dword [esp + 0x14]
mov ebp, dword [sym.imp.USER32.dll_SendMessageW]
mov edx, dword [esp + 0x2c]
mov edi, dword [esp + 0x24]
lea eax, [esp + 0x34]
sub edx, edi
push eax
push 0x808a
push 0x440
push ebx
mov dword [esp + 0x5c], ecx
mov word [esp + 0x56], dx
call ebp
mov ecx, dword [esp + 0x18]
mov edx, dword [0x55bbe8]
push 0
push ecx
push 0x111
push edx
call ebp
mov eax, dword [esp + 0x5c]
mov edx, dword [0x547574]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x4c018f
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x4c018f
mov edx, dword [esp + 0x5c]
add edx, 0xfffffff4
push edx
call fcn.00532222
add esp, 4
mov eax, dword [esp + 0x60]
test esi, esi
mov dword [eax], 0
je 0x4c01a4
push esi
call dword [sym.imp.USER32.dll_DestroyMenu]
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x44
ret 0xc
lea eax, [ebp + ebp + 0xe]
push eax
call fcn.00532695
add esp, 4
test eax, eax
je 0x4c01e7
mov dword [eax], 1
mov word [eax + ebp*2 + 0xc], 0
lea edi, [eax + 0xc]
mov dword [eax + 4], ebp
mov dword [eax + 8], ebp
mov eax, dword [esp + 0x10]
mov dword [esp + 0x5c], edi
jmp 0x4c00f6
xor ecx, ecx
jmp 0x4c0120