Function at 0x440a83
Capabilities:
Capture webcam image

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
push esi
push edi
mov ebx, dword [sym.imp.USER32.dll_SendMessageW]
movzx edi, word [ebp + 0xc]
push 0
mov esi, ecx
push edi
push 0x419
push dword [esi + 0x5d8]
call ebx
lea ecx, [ebp - 0x24]
push ecx
push eax
push 0x41d
push dword [esi + 0x5d8]
call ebx
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x14]
push eax
push dword [esi + 0x5d8]
call dword [sym.imp.USER32.dll_ClientToScreen]
push 1
push edi
push 0x403
push dword [esi + 0x5d8]
call ebx
call dword [sym.imp.USER32.dll_CreatePopupMenu]
mov dword [ebp - 4], eax
push 0x48288c
lea eax, [ebp - 0xc]
push 0x3f7
push eax
call fcn.0044e20c
pop ecx
pop ecx
push eax
lea eax, [ebp - 8]
push eax
call fcn.00408321
push dword [eax]
mov edi, dword [sym.imp.USER32.dll_AppendMenuW]
push 0
push 3
push dword [ebp - 4]
call edi
lea ecx, [ebp - 8]
call fcn.0040139b
lea ecx, [ebp - 0xc]
call fcn.0040139b
push 0
push 0
push 0x800
push dword [ebp - 4]
call edi
lea eax, [ebp - 0xc]
push 0x7d6
push eax
call fcn.0044e20c
pop ecx
pop ecx
push dword [eax]
mov eax, dword [esi + 0x2c4]
dec eax
neg eax
sbb eax, eax
push 1
and al, 0xf8
add eax, 8
push eax
push dword [ebp - 4]
call edi
lea ecx, [ebp - 0xc]
call fcn.0040139b
cmp dword [esi + 0x2c4], 2
jne 0x440b81
mov dword [ebp - 8], 8
jmp 0x440b85
and dword [ebp - 8], 0
lea eax, [ebp - 0xc]
push 0x7d7
push eax
call fcn.0044e20c
pop ecx
pop ecx
push dword [eax]
push 2
push dword [ebp - 8]
push dword [ebp - 4]
call edi
lea ecx, [ebp - 0xc]
call fcn.0040139b
cmp dword [esi + 0x2c4], 3
jne 0x440bbb
mov dword [ebp - 8], 8
jmp 0x440bbf
and dword [ebp - 8], 0
lea eax, [ebp - 0xc]
push 0x7db
push eax
call fcn.0044e20c
pop ecx
pop ecx
push dword [eax]
push 3
push dword [ebp - 8]
push dword [ebp - 4]
call edi
lea ecx, [ebp - 0xc]
call fcn.0040139b
cmp dword [esi + 0x2c4], 4
jne 0x440bf5
mov dword [ebp - 8], 8
jmp 0x440bf9
and dword [ebp - 8], 0
lea eax, [ebp - 0xc]
push 0x7d1
push eax
call fcn.0044e20c
pop ecx
pop ecx
push dword [eax]
push 4
push dword [ebp - 8]
push dword [ebp - 4]
call edi
lea ecx, [ebp - 0xc]
call fcn.0040139b
cmp dword [esi + 0x2c4], 5
jne 0x440c2f
mov dword [ebp - 8], 8
jmp 0x440c33
and dword [ebp - 8], 0
lea eax, [ebp - 0xc]
push 0xd2f3
push eax
call fcn.0044e20c
pop ecx
pop ecx
push dword [eax]
push 5
push dword [ebp - 8]
push dword [ebp - 4]
call edi
lea ecx, [ebp - 0xc]
call fcn.0040139b
push 0
push 2
push 0x800
push dword [ebp - 4]
call edi
push 0
push dword [esi + 4]
push 0
push dword [ebp - 0x10]
push dword [ebp - 0x14]
push 0x102
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_TrackPopupMenu]
mov edi, eax
push 0
movzx eax, word [ebp + 0xc]
push eax
push 0x403
push dword [esi + 0x5d8]
call ebx
xor ebx, ebx
cmp edi, ebx
je 0x440cd9
push ebx
push edi
push str.m_grupping_type
push 0x4830a8
mov dword [esi + 0x2c4], edi
call fcn.00447ea0
add esp, 0x10
cmp dword [esi + 0x2c4], 1
je 0x440ccc
mov ecx, esi
mov dword [esi + 0x468], ebx
call fcn.00443e42
push dword [esi + 0x3258]
mov ecx, esi
call fcn.0043d59b
mov ecx, esi
call fcn.0044023a
cmp dword [ebp - 4], ebx
pop edi
pop esi
pop ebx
je 0x440cf1
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_DestroyMenu]
xor eax, eax
leave
ret 0x10