Function at 0x47ec21
Capabilities:
Capture webcam image

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov eax, dword [ebp + 0xc]
push ebx
push esi
mov esi, ecx
mov ebx, dword [eax + 0xc]
cmp ebx, 0x80ad
mov dword [ebp - 0x14], ebx
je 0x47ec48
cmp ebx, 0x80ae
jne 0x47ee7e
mov eax, dword [ebp + 0x10]
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
push 0
push ebx
push 0x419
mov dword [eax], 1
push dword [esi + 0x39c]
call edi
lea ecx, [ebp - 0x30]
push ecx
push eax
push 0x41d
push dword [esi + 0x39c]
call edi
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x20]
push eax
push dword [esi + 0x39c]
call dword [sym.imp.USER32.dll_ClientToScreen]
call dword [sym.imp.USER32.dll_CreatePopupMenu]
push str.Zoom_:__3d___
lea ecx, [ebp - 0x18]
mov dword [ebp + 0xc], eax
call fcn.0040a4e8
cmp ebx, 0x80ae
jne 0x47ecec
push str.:__3d___
lea eax, [ebp - 0xc]
push 0xfa
push eax
mov ecx, esi
call fcn.0047ee8c
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.0040a915
push eax
lea ecx, [ebp - 0x18]
call fcn.00403a8c
lea ecx, [ebp - 0x10]
call fcn.004038fb
lea ecx, [ebp - 0xc]
call fcn.004038fb
cmp ebx, 0x80ad
mov ebx, dword [sym.imp.USER32.dll_AppendMenuW]
jne 0x47ed54
lea eax, [ebp - 0x10]
push 0xf7
push eax
mov ecx, esi
call fcn.0047ee8c
push dword [eax]
push 0x80a1
push 0
push dword [ebp + 0xc]
call ebx
lea ecx, [ebp - 0x10]
call fcn.004038fb
lea eax, [ebp - 0x10]
push 0xf8
push eax
mov ecx, esi
call fcn.0047ee8c
push dword [eax]
push 0x80a2
push 0
push dword [ebp + 0xc]
call ebx
lea ecx, [ebp - 0x10]
call fcn.004038fb
push 0
push 0
push 0x800
push dword [ebp + 0xc]
call ebx
cmp dword [ebp - 0x14], 0x80ae
mov dword [ebp - 0x10], 0x44c
jne 0x47ed6b
mov dword [ebp - 0x10], 0x640
push 0x19
pop eax
cmp dword [ebp - 0x10], eax
mov dword [ebp - 8], eax
jle 0x47edcd
mov dword [ebp - 4], 0x2341
push dword [ebp - 8]
mov eax, dword [0x4b0550]
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0xc]
push dword [ebp - 0x18]
push eax
call fcn.00403d66
add esp, 0xc
push dword [ebp - 0xc]
push dword [ebp - 4]
push 0
push dword [ebp + 0xc]
call ebx
cmp dword [ebp - 4], 0x251c
jl 0x47edb5
add dword [ebp - 8], 0x4b
add dword [ebp - 4], 0x4b
lea ecx, [ebp - 0xc]
call fcn.004038fb
add dword [ebp - 8], 0x19
add dword [ebp - 4], 0x19
mov eax, dword [ebp - 8]
cmp eax, dword [ebp - 0x10]
jl 0x47ed7d
push 0
push dword [esi + 4]
push 0
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push 0x102
push dword [ebp + 0xc]
call dword [sym.imp.USER32.dll_TrackPopupMenu]
mov ebx, eax
test ebx, ebx
je 0x47ee66
cmp dword [ebp - 0x14], 0x80ae
jne 0x47ee13
lea eax, [ebx - 0x2328]
push eax
push 1
push 0x405
mov dword [esi + 0xf8], eax
push dword [esi + 0x108]
jmp 0x47ee64
cmp dword [ebp - 0x14], 0x80ad
jne 0x47ee66
cmp ebx, 0x2328
jl 0x47ee59
cmp ebx, 0x4e20
jg 0x47ee59
lea eax, [ebx - 0x2328]
push eax
push 1
push 0x405
mov dword [esi + 0xfc], eax
push dword [esi + 0x10c]
call edi
push 0
push 0x80a0
push 0x111
push dword [esi + 4]
call edi
push 0
push ebx
push 0x111
push dword [esi + 4]
call edi
lea ecx, [ebp - 0x18]
call fcn.004038fb
cmp dword [ebp + 0xc], 0
pop edi
je 0x47ee7e
push dword [ebp + 0xc]
call dword [sym.imp.USER32.dll_DestroyMenu]
mov eax, dword [ebp + 0x10]
pop esi
pop ebx
and dword [eax], 0
xor eax, eax
leave
ret 0xc