Function at 0xe8d64
Capabilities:
Capture webcam image

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffb0
push ebx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
mov ebx, dword [eax]
call dword [ebx + 0x38]
test al, al
jne 0xe9015
call fcn.000db120
call fcn.000db250
test al, al
je 0xe9004
mov eax, dword [ebp - 0xc]
mov eax, dword [eax]
sub eax, 0xbc4e
jne 0xe8ff1
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 8]
cmp dword [eax + 8], 0xfffffff4
jne 0xe9015
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 8]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xc]
dec eax
je 0xe8dda
sub eax, 0x10000
je 0xe8de9
jmp 0xe8fe7
mov eax, dword [ebp - 0xc]
mov dword [eax + 0xc], 0x20
jmp 0xe9015
mov eax, dword [ebp - 8]
mov edx, dword [0x86d68]
call fcn.000130a0
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x24]
dec eax
je 0xe8e11
sub eax, 2
je 0xe8ea1
jmp 0xe8fdd
lea edx, [ebp - 0x34]
mov eax, dword [ebp - 0x24]
mov ecx, dword [eax]
call dword [ecx + 0x40]
mov eax, dword [ebp - 0x24]
mov bx, 0xffb9
call fcn.000130ec
test al, al
je 0xe8e7a
push 0
xor ecx, ecx
mov edx, 0x129
mov eax, dword [ebp - 0x24]
call fcn.00053f54
test al, 1
jne 0xe8e7a
push 0
lea eax, [ebp - 0x1c]
push eax
push 0
push 0x200e
call sub.user32.dll_SystemParametersInfoA
push 0
lea eax, [ebp - 0x20]
push eax
push 0
push 0x2010
call sub.user32.dll_SystemParametersInfoA
mov eax, dword [ebp - 0x20]
neg eax
push eax
mov eax, dword [ebp - 0x1c]
neg eax
push eax
lea eax, [ebp - 0x34]
push eax
call sub.user32.dll_InflateRect
push 0
push 0
lea eax, [ebp - 0x34]
push eax
mov eax, dword [ebp - 0x24]
call fcn.00059088
push eax
call fcn.000db120
mov edx, dword [ebp - 0x10]
mov ecx, dword [edx + 0x10]
pop edx
call fcn.000db874
jmp 0xe8fdd
lea eax, [ebp - 0x34]
push eax
push 0
push 0x419
mov eax, dword [ebp - 0x24]
call fcn.00059088
push eax
call sub.user32.dll_SendMessageA
xor eax, eax
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x24]
cmp byte [eax + 0x1f0], 0
jne 0xe8f1d
mov eax, dword [ebp - 0x24]
mov bx, 0xffb9
call fcn.000130ec
test al, al
je 0xe8ef3
push 0
lea eax, [ebp - 0x1c]
push eax
push 0
push 0x200e
call sub.user32.dll_SystemParametersInfoA
mov eax, dword [ebp - 0x1c]
add dword [ebp - 0x18], eax
lea edx, [ebp - 0x50]
mov eax, dword [ebp - 0x24]
mov ecx, dword [eax]
call dword [ecx + 0x40]
mov eax, dword [ebp - 0x50]
add eax, dword [ebp - 0x18]
mov dword [ebp - 0x34], eax
lea edx, [ebp - 0x50]
mov eax, dword [ebp - 0x24]
mov ecx, dword [eax]
call dword [ecx + 0x40]
mov eax, dword [ebp - 0x48]
sub eax, dword [ebp - 0x18]
mov dword [ebp - 0x2c], eax
jmp 0xe8f6d
mov eax, dword [ebp - 0x24]
mov bx, 0xffb9
call fcn.000130ec
test al, al
je 0xe8f45
push 0
lea eax, [ebp - 0x20]
push eax
push 0
push 0x2010
call sub.user32.dll_SystemParametersInfoA
mov eax, dword [ebp - 0x1c]
add dword [ebp - 0x18], eax
lea edx, [ebp - 0x50]
mov eax, dword [ebp - 0x24]
mov ecx, dword [eax]
call dword [ecx + 0x40]
mov eax, dword [ebp - 0x4c]
add eax, dword [ebp - 0x18]
mov dword [ebp - 0x30], eax
lea edx, [ebp - 0x50]
mov eax, dword [ebp - 0x24]
mov ecx, dword [eax]
call dword [ecx + 0x40]
mov eax, dword [ebp - 0x44]
sub eax, dword [ebp - 0x18]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
push eax
mov eax, dword [ebp - 0x2c]
push eax
mov eax, dword [ebp - 0x30]
push eax
mov eax, dword [ebp - 0x34]
push eax
call sub.gdi32.dll_CreateRectRgn
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
push eax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x10]
push eax
call sub.gdi32.dll_SelectClipRgn
call fcn.000db120
lea ecx, [ebp - 0x40]
mov dl, 0x22
call fcn.000db680
lea eax, [ebp - 0x40]
push eax
push 0
push 0
mov eax, dword [ebp - 0x24]
call fcn.00059088
push eax
call fcn.000db120
mov edx, dword [ebp - 0x10]
mov ecx, dword [edx + 0x10]
pop edx
call fcn.000db874
mov eax, dword [ebp - 0x14]
push eax
call sub.gdi32.dll_DeleteObject
push 0
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x10]
push eax
call sub.gdi32.dll_SelectClipRgn
mov eax, dword [ebp - 0xc]
xor edx, edx
mov dword [eax + 0xc], edx
jmp 0xe9015
mov eax, dword [ebp - 0xc]
xor edx, edx
mov dword [eax + 0xc], edx
jmp 0xe9015
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x4c]
call fcn.000e6aa0
jmp 0xe9015
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x4c]
call fcn.000e6aa0
pop ebx
mov esp, ebp
pop ebp
ret