Function at 0x4a6a08
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 0x4a6cb9
call fcn.00498500
call fcn.004986a0
test al, al
je 0x4a6ca8
mov eax, dword [ebp - 0xc]
mov eax, dword [eax]
sub eax, 0xbc4e
jne 0x4a6c95
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 8]
cmp dword [eax + 8], 0xfffffff4
jne 0x4a6cb9
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 0x4a6a7e
sub eax, 0x10000
je 0x4a6a8d
jmp 0x4a6c8b
mov eax, dword [ebp - 0xc]
mov dword [eax + 0xc], 0x20
jmp 0x4a6cb9
mov eax, dword [ebp - 8]
mov edx, dword [0x47043c]
call fcn.00403028
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x24]
dec eax
je 0x4a6ab5
sub eax, 2
je 0x4a6b45
jmp 0x4a6c81
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.00403074
test al, al
je 0x4a6b1e
push 0
xor ecx, ecx
mov edx, 0x129
mov eax, dword [ebp - 0x24]
call fcn.00446b88
test al, 1
jne 0x4a6b1e
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.0044d55c
push eax
call fcn.00498500
mov edx, dword [ebp - 0x10]
mov ecx, dword [edx + 0x10]
pop edx
call fcn.00498f10
jmp 0x4a6c81
lea eax, [ebp - 0x34]
push eax
push 0
push 0x419
mov eax, dword [ebp - 0x24]
call fcn.0044d55c
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 0x4a6bc1
mov eax, dword [ebp - 0x24]
mov bx, 0xffb9
call fcn.00403074
test al, al
je 0x4a6b97
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 0x4a6c11
mov eax, dword [ebp - 0x24]
mov bx, 0xffb9
call fcn.00403074
test al, al
je 0x4a6be9
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.00498500
lea ecx, [ebp - 0x40]
mov dl, 0x22
call fcn.00498cb8
lea eax, [ebp - 0x40]
push eax
push 0
push 0
mov eax, dword [ebp - 0x24]
call fcn.0044d55c
push eax
call fcn.00498500
mov edx, dword [ebp - 0x10]
mov ecx, dword [edx + 0x10]
pop edx
call fcn.00498f10
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 0x4a6cb9
mov eax, dword [ebp - 0xc]
xor edx, edx
mov dword [eax + 0xc], edx
jmp 0x4a6cb9
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x48]
call fcn.004a4998
jmp 0x4a6cb9
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x48]
call fcn.004a4998
pop ebx
mov esp, ebp
pop ebp
ret