Function at 0x43e471
Capabilities:
Capture webcam image

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
push ebx
push esi
movzx ebx, word [ebp + 0xc]
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
push edi
push 1
mov edi, ecx
push ebx
push 0x403
push dword [edi + 0x5d8]
call esi
and dword [ebp - 4], 0
call dword [sym.imp.USER32.dll_CreatePopupMenu]
push 0
push ebx
push 0x419
mov dword [ebp - 4], eax
push dword [edi + 0x5d8]
call esi
lea ecx, [ebp - 0x40]
push ecx
push eax
push 0x41d
push dword [edi + 0x5d8]
call esi
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x30]
push eax
push dword [edi + 0x5d8]
call dword [sym.imp.USER32.dll_ClientToScreen]
mov ebx, 0x482a00
lea ecx, [ebp - 0x18]
push ebx
call fcn.004013c8
lea eax, [ebp - 0x24]
push 0xc1d
push eax
call fcn.0044bfce
pop ecx
mov esi, 0xc1c
pop ecx
push eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x20]
push esi
push eax
call fcn.0044bfce
pop ecx
pop ecx
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.004015b6
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.004015b6
lea ecx, [ebp - 0x1c]
call fcn.0040139c
lea ecx, [ebp - 0x20]
call fcn.0040139c
lea ecx, [ebp - 0x24]
call fcn.0040139c
lea ecx, [ebp - 0x18]
call fcn.0040139c
push ebx
lea ecx, [ebp - 0x18]
call fcn.004013c8
lea eax, [ebp - 0x1c]
push 0xc1e
push eax
call fcn.0044bfce
pop ecx
pop ecx
push eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x20]
push esi
push eax
call fcn.0044bfce
pop ecx
pop ecx
push eax
lea eax, [ebp - 0x24]
push eax
call fcn.004015b6
push eax
lea eax, [ebp - 8]
push eax
call fcn.004015b6
lea ecx, [ebp - 0x24]
call fcn.0040139c
lea ecx, [ebp - 0x20]
call fcn.0040139c
lea ecx, [ebp - 0x1c]
call fcn.0040139c
lea ecx, [ebp - 0x18]
call fcn.0040139c
lea eax, [ebp - 0x10]
push 0xcf0c
push eax
call fcn.0044bfce
xor eax, eax
pop ecx
cmp dword [edi + 0x2cc], eax
pop ecx
jne 0x43e5c4
push 8
pop eax
push dword [ebp - 0x14]
mov esi, dword [sym.imp.USER32.dll_AppendMenuW]
push 1
push eax
push dword [ebp - 4]
call esi
mov eax, dword [edi + 0x2cc]
push dword [ebp - 8]
dec eax
neg eax
sbb eax, eax
push 2
and al, 0xf8
add eax, 8
push eax
push dword [ebp - 4]
call esi
push dword [ebp - 8]
mov ebx, 0x800
push 2
push ebx
push dword [ebp - 4]
call esi
push 0xffffffffffffffff
push 0xffffffffffffffff
push 0xb3ba
mov ecx, edi
call fcn.0043d4ad
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x20]
push 0x19a
push eax
call fcn.0044bfce
pop ecx
pop ecx
push dword [eax]
push dword [ebp - 0x24]
push 0x10
push dword [ebp - 4]
call esi
lea ecx, [ebp - 0x20]
call fcn.0040139c
mov eax, dword [ebp - 4]
push eax
mov dword [ebp - 0x24], eax
call dword [sym.imp.USER32.dll_GetMenuItemCount]
dec eax
push eax
push 0xb3b3
push dword [ebp - 0x24]
call fcn.004373e9
lea eax, [ebp - 0x24]
push 0x19b
push eax
call fcn.0044bfce
add esp, 0x14
push dword [eax]
push 0xb3b4
push 0
push dword [ebp - 4]
call esi
lea ecx, [ebp - 0x24]
call fcn.0040139c
push 0
push 0
push ebx
push dword [ebp - 4]
call esi
push dword [ebp - 0x10]
push 0x8060
push 0
push dword [ebp - 4]
call esi
lea eax, [ebp - 0x24]
push 0xb5
push eax
call fcn.0044b345
pop ecx
pop ecx
push dword [eax]
push 0x8015
push 0
push dword [ebp - 4]
call esi
lea ecx, [ebp - 0x24]
call fcn.0040139c
push dword [ebp - 8]
push 2
push ebx
push dword [ebp - 4]
call esi
lea eax, [ebp - 0x24]
push 0xc28
push eax
call fcn.0044b345
pop ecx
pop ecx
push dword [eax]
push 0xb3b9
push 0
push dword [ebp - 4]
call esi
lea ecx, [ebp - 0x24]
call fcn.0040139c
push dword [ebp - 8]
push 2
push ebx
push dword [ebp - 4]
call esi
lea eax, [ebp - 0x24]
push 0x3f2
push eax
call fcn.0044bfce
pop ecx
xor ebx, ebx
pop ecx
push dword [eax]
push 0x8493
push ebx
push dword [ebp - 4]
call esi
lea ecx, [ebp - 0x24]
call fcn.0040139c
lea eax, [ebp - 0x24]
push 0x3f3
push eax
call fcn.0044bfce
pop ecx
pop ecx
push dword [eax]
push 0x8492
push ebx
push dword [ebp - 4]
call esi
lea ecx, [ebp - 0x24]
call fcn.0040139c
push ebx
lea eax, [edi + 4]
push ebx
mov ebx, dword [sym.imp.USER32.dll_SendMessageW]
push 0x101f
mov dword [ebp - 0x18], eax
push dword [eax]
call ebx
push 0
push 0
push 0x1200
push eax
call ebx
mov ecx, dword [0x47e520]
push eax
lea eax, [ebp - 0xc]
push 0x482a04
push eax
mov dword [ebp - 0xc], ecx
call fcn.004017cc
add esp, 0xc
lea ecx, [ebp - 0x1c]
push 0x47ff68
call fcn.004013c8
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x28]
push 0x196
push eax
call fcn.0044bfce
pop ecx
pop ecx
push eax
lea eax, [ebp - 0x20]
push eax
call fcn.004015b6
push eax
lea eax, [ebp - 0x24]
push eax
call fcn.004015b6
push dword [eax]
push 0x8063
push 0
push dword [ebp - 4]
call esi
lea ecx, [ebp - 0x24]
call fcn.0040139c
lea ecx, [ebp - 0x20]
call fcn.0040139c
lea ecx, [ebp - 0x28]
call fcn.0040139c
lea ecx, [ebp - 0x1c]
call fcn.0040139c
mov eax, dword [edi + 0x50]
mov esi, 0x8060
neg eax
sbb eax, eax
and eax, 8
push eax
push esi
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_CheckMenuItem]
mov ecx, dword [0x48fd30]
and dword [ebp - 0x1c], 0
test ecx, ecx
je 0x43e826
push 0
push dword [ebp - 0x2c]
push dword [ebp - 0x30]
push 0x102
push dword [ebp - 4]
call fcn.0041b03a
mov dword [ebp - 0x1c], eax
movzx eax, word [ebp + 0xc]
push 0
push eax
push 0x403
push dword [edi + 0x5d8]
call ebx
mov eax, dword [ebp - 0x1c]
xor ebx, ebx
cmp eax, ebx
je 0x43e8c8
cmp eax, 1
jne 0x43e854
mov dword [edi + 0x2cc], ebx
jmp 0x43e8af
cmp eax, 2
jne 0x43e884
lea eax, [ebp + 0xc]
push 0xb8
push eax
call fcn.0044bfce
mov eax, dword [eax]
pop ecx
pop ecx
mov ecx, dword [ebp - 0x18]
push ebx
push 0x488b68
push eax
call fcn.00415427
lea ecx, [ebp + 0xc]
call fcn.0040139c
jmp 0x43e8af
cmp eax, esi
jne 0x43e8b8
xor eax, eax
cmp dword [edi + 0x50], ebx
lea ecx, [edi + 0x2d0]
sete al
mov dword [edi + 0x50], eax
mov dword [ecx], eax
call fcn.004423bd
mov ecx, dword [ebp - 0x18]
push 0x105
push ebx
push ebx
call fcn.0043e8f9
mov ecx, edi
call fcn.0043e0c7
jmp 0x43e8c8
mov ecx, dword [ebp - 0x18]
push dword [ecx]
push eax
push 0x111
call fcn.0042cb81
lea ecx, [ebp - 0xc]
call fcn.0040139c
lea ecx, [ebp - 0x10]
call fcn.0040139c
lea ecx, [ebp - 8]
call fcn.0040139c
lea ecx, [ebp - 0x14]
call fcn.0040139c
lea ecx, [ebp - 4]
call fcn.0042cb98
pop edi
pop esi
xor eax, eax
pop ebx
leave
ret 0x10