Function at 0x41b764
Capabilities:
Capture webcam image

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
mov eax, dword [ebp + 0xc]
push ebx
push esi
mov esi, ecx
mov ecx, dword [eax + 0xc]
mov eax, dword [0x4421a0]
mov dword [ebp - 0xc], eax
mov eax, 0x1b59
xor ebx, ebx
cmp ecx, eax
push edi
mov dword [ebp - 4], ebx
jne 0x41b948
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
push ebx
push eax
push 0x419
push dword [esi + 0xa80]
call edi
lea ecx, [ebp - 0x34]
push ecx
push eax
push 0x41d
push dword [esi + 0xa80]
call edi
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x24]
push eax
push dword [esi + 0xa80]
call dword [sym.imp.USER32.dll_ClientToScreen]
call dword [sym.imp.USER32.dll_CreatePopupMenu]
cmp dword [0x4aa908], ebx
mov edi, dword [sym.imp.USER32.dll_AppendMenuW]
mov dword [ebp - 8], eax
mov dword [ebp + 0xc], ebx
jle 0x41b8f5
mov eax, dword [ebp + 0xc]
push dword [eax*4 + 0x4a9c00]
lea eax, [eax*4 + 0x4a9c00]
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp eax, 5
jle 0x41b8e3
mov eax, dword [0x4421a0]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 0xc]
push dword [eax*4 + 0x4a97e8]
lea eax, [eax*4 + 0x4a9c00]
push dword [eax]
lea eax, [ebp - 0x14]
push str._s____d___
push eax
call fcn.00408deb
mov ecx, dword [ebp + 0xc]
add esp, 0x10
cmp dword [0x443de8], ecx
jne 0x41b84c
push 3
pop eax
jmp 0x41b84e
xor eax, eax
push dword [ebp - 0x14]
add ecx, 0xd6d8
or ah, 4
push ecx
push eax
push dword [ebp - 8]
call edi
cmp dword [0x4a71e0], ebx
jne 0x41b8db
push 0x3e7
push dword [ebp + 0xc]
call fcn.00428f9b
pop ecx
pop ecx
push eax
lea ecx, [ebp - 0x10]
call fcn.00407038
mov eax, dword [ebp - 0x10]
cmp dword [eax - 8], 5
jle 0x41b8d3
push ecx
lea eax, [ebp - 0x10]
mov ecx, esp
push eax
call fcn.004017a8
call fcn.0041b649
push 0x10
push eax
call fcn.0041b5b2
add esp, 0xc
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x18], eax
push ecx
push dword [eax + 4]
call sub.gdiplus.dll_GdipCreateHICONFromBitmap
cmp eax, ebx
je 0x41b8bf
mov ecx, dword [ebp - 0x18]
mov dword [ecx + 8], eax
mov eax, dword [ebp + 0xc]
lea ecx, [esi + 0x68]
add eax, 0xd6d8
push eax
push dword [ebp - 0x1c]
call fcn.00435acd
lea ecx, [ebp - 0x10]
call fcn.004017ee
lea ecx, [ebp - 0x14]
call fcn.004017ee
inc dword [ebp + 0xc]
mov eax, dword [ebp + 0xc]
cmp eax, dword [0x4aa908]
jl 0x41b7f0
push ebx
push ebx
push 0xc00
push dword [ebp - 8]
call edi
push str.Translate
mov ebx, 0x400
push 0xd73c
push ebx
push dword [ebp - 8]
call edi
push 0x4454cc
push 0xd73d
push ebx
push dword [ebp - 8]
call edi
push 2
lea ecx, [esi + 0x68]
push dword [ebp - 0x20]
mov dword [0x4a71e0], 1
push dword [ebp - 0x24]
push dword [ebp - 8]
call fcn.004354af
jmp 0x41bb45
mov eax, 0x80ae
cmp ecx, eax
jne 0x41ba2d
mov ecx, dword [esi + 0xa84]
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
push ebx
push eax
push 0x419
push ecx
mov dword [ebp - 0x14], ecx
call edi
lea ecx, [ebp - 0x34]
push ecx
push eax
push 0x41d
push dword [ebp - 0x14]
call edi
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x24]
push eax
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_ClientToScreen]
push ecx
mov dword [ebp + 0xc], ebx
mov eax, esp
lea ecx, [ebp + 0xc]
mov dword [eax], 0xd2
call fcn.004237c3
cmp dword [0x443de8], ebx
jne 0x41b9c5
push 5
push dword [ebp + 0xc]
call dword [sym.imp.USER32.dll_GetSubMenu]
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x1c]
jmp 0x41b9d6
push 4
push dword [ebp + 0xc]
call dword [sym.imp.USER32.dll_GetSubMenu]
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x18]
push ebx
mov eax, dword [eax]
push dword [esi + 4]
mov dword [ebp - 0x14], eax
push ebx
push dword [ebp - 0x20]
push dword [ebp - 0x24]
push 2
push eax
call dword [sym.imp.USER32.dll_TrackPopupMenu]
cmp eax, ebx
je 0x41b9ff
push ebx
push eax
push 0x111
push dword [esi + 4]
call edi
cmp dword [ebp - 0x14], ebx
mov esi, dword [sym.imp.USER32.dll_DestroyMenu]
je 0x41ba0f
push dword [ebp - 0x14]
call esi
cmp dword [ebp + 0xc], ebx
je 0x41bb45
push dword [ebp + 0xc]
call esi
test eax, eax
je 0x41bb45
mov dword [ebp + 0xc], ebx
jmp 0x41bb45
mov eax, 0x80a1
cmp ecx, eax
jne 0x41bb45
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
push ebx
push eax
push 0x419
push dword [esi + 0xa7c]
call edi
lea ecx, [ebp - 0x34]
push ecx
push eax
push 0x41d
push dword [esi + 0xa7c]
call edi
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x24]
push eax
push dword [esi + 0xa7c]
call dword [sym.imp.USER32.dll_ClientToScreen]
call dword [sym.imp.USER32.dll_CreatePopupMenu]
mov dword [ebp + 0xc], eax
lea eax, [ebp - 0x1c]
push 0xc351
push eax
call fcn.00428fb5
pop ecx
mov edi, dword [sym.imp.USER32.dll_AppendMenuW]
pop ecx
push dword [eax]
push 0x80a2
push ebx
push dword [ebp + 0xc]
call edi
lea ecx, [ebp - 0x1c]
call fcn.004017ee
lea eax, [ebp - 0x1c]
push 0xc352
push eax
call fcn.00428fb5
pop ecx
pop ecx
push dword [eax]
push 0x80a3
push ebx
push dword [ebp + 0xc]
call edi
lea ecx, [ebp - 0x1c]
call fcn.004017ee
push ebx
push ebx
push 0x800
push dword [ebp + 0xc]
call edi
lea eax, [ebp - 0x1c]
push 0xc353
push eax
call fcn.00428fb5
pop ecx
pop ecx
push dword [eax]
push 0x80a4
push ebx
push dword [ebp + 0xc]
call edi
lea ecx, [ebp - 0x1c]
call fcn.004017ee
mov eax, dword [0x4a7198]
mov edi, dword [ebp + 0xc]
dec eax
neg eax
sbb eax, eax
and al, 0xf8
add eax, 8
push eax
push 0x80a4
push edi
call dword [sym.imp.USER32.dll_CheckMenuItem]
push ebx
push dword [esi + 4]
push ebx
push dword [ebp - 0x20]
push dword [ebp - 0x24]
push 2
push edi
call dword [sym.imp.USER32.dll_TrackPopupMenu]
cmp edi, ebx
je 0x41bb45
push edi
call dword [sym.imp.USER32.dll_DestroyMenu]
lea ecx, [ebp - 0xc]
call fcn.004017ee
pop edi
pop esi
xor eax, eax
pop ebx
leave
ret 0xc