Function at 0x1400a4440
Capabilities:
Capture webcam image

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r12
lea rbp, [rsp - 0x11a0]
mov eax, 0x12a0
call fcn.140057430
sub rsp, rax
mov rax, qword [0x140136e20]
xor rax, rsp
mov qword [rbp + 0x1190], rax
movsxd r9, dword [rdx + 0x20]
mov r8, qword [rdx + 0x18]
xor r12d, r12d
mov rdi, rdx
mov rsi, rcx
mov ebx, 0x7ffffffe
test r9, r9
je 0x1400a44d6
cmp r9, 0x7fffffff
ja 0x1400a44d6
lea rdx, [0x14010396c]
mov ecx, ebx
sub rcx, r9
sub rdx, r8
lea rax, [rcx + r9]
test rax, rax
je 0x1400a44c9
movzx eax, word [rdx + r8]
test ax, ax
je 0x1400a44c9
mov word [r8], ax
add r8, 2
dec r9
jne 0x1400a44a7
jmp 0x1400a44ce
test r9, r9
jne 0x1400a44d2
sub r8, 2
mov word [r8], r12w
movsxd rax, dword [rdi + 0x24]
cmp eax, 0xafca
jne 0x1400a45ad
mov rcx, qword [rsi + 0xa50]
mov rax, qword [rcx]
call qword [rax + 0x88]
test eax, eax
je 0x1400a482c
mov rcx, qword [rsi + 0xa50]
or edx, 0xffffffff
mov rax, qword [rcx]
call qword [rax + 0xa8]
lea rdx, [rbp + 0x780]
mov r8d, 1
mov rcx, rax
call fcn.140092ff0
lea r9, [rbp + 0x780]
lea r8, str.Back_to__s
lea rcx, [rbp + 0x990]
mov edx, 0x400
call section..text
movsxd r11, dword [rdi + 0x20]
mov rcx, qword [rdi + 0x18]
test r11, r11
je 0x1400a482c
cmp r11, 0x7fffffff
ja 0x1400a482c
lea rdx, [rbp + 0x990]
sub rbx, r11
sub rdx, rcx
nop
lea rax, [rbx + r11]
test rax, rax
je 0x1400a459b
movzx eax, word [rdx + rcx]
test ax, ax
je 0x1400a459b
mov word [rcx], ax
add rcx, 2
dec r11
jne 0x1400a4570
sub rcx, 2
mov word [rcx], r12w
jmp 0x1400a482c
test r11, r11
jne 0x1400a45a4
sub rcx, 2
mov word [rcx], r12w
jmp 0x1400a482c
cmp eax, 0xafcb
jne 0x1400a4681
mov rcx, qword [rsi + 0xa50]
mov rax, qword [rcx]
call qword [rax + 0x90]
test eax, eax
je 0x1400a482c
mov rcx, qword [rsi + 0xa50]
mov edx, 1
mov rax, qword [rcx]
call qword [rax + 0xa8]
lea rdx, [rbp + 0x780]
mov r8d, 1
mov rcx, rax
call fcn.140092ff0
lea r9, [rbp + 0x780]
lea r8, str.Forward_to__s
lea rcx, [rbp + 0x990]
mov edx, 0x400
call section..text
movsxd r11, dword [rdi + 0x20]
mov rcx, qword [rdi + 0x18]
test r11, r11
je 0x1400a482c
cmp r11, 0x7fffffff
ja 0x1400a482c
lea rdx, [rbp + 0x990]
sub rbx, r11
sub rdx, rcx
lea rax, [rbx + r11]
test rax, rax
je 0x1400a466f
movzx eax, word [rdx + rcx]
test ax, ax
je 0x1400a466f
mov word [rcx], ax
add rcx, 2
dec r11
jne 0x1400a4644
sub rcx, 2
mov word [rcx], r12w
jmp 0x1400a482c
test r11, r11
jne 0x1400a4678
sub rcx, 2
mov word [rcx], r12w
jmp 0x1400a482c
cmp eax, 0xbf68
jl 0x1400a46f6
mov rcx, qword [rsi + 0x400]
mov r8, rax
xor r9d, r9d
mov edx, 0x419
call qword [sym.imp.USER32.dll_SendMessageW]
cmp eax, 0xffffffff
je 0x1400a482c
mov rcx, qword [rsi + 0x400]
lea r9, [rsp + 0x38]
movsxd r8, eax
mov edx, 0x417
call qword [sym.imp.USER32.dll_SendMessageW]
test rax, rax
je 0x1400a482c
mov r9, qword [rsp + 0x48]
movsxd rdx, dword [rdi + 0x20]
mov rcx, qword [rdi + 0x18]
lea rax, [r9 + 0x400]
lea r8, [0x1401073e0]
mov qword [rsp + 0x20], rax
call section..text
jmp 0x1400a482c
cmp eax, 0xb798
jl 0x1400a4795
mov rcx, qword [rsi + 0x3f8]
mov r8, rax
xor r9d, r9d
mov edx, 0x419
call qword [sym.imp.USER32.dll_SendMessageW]
cmp eax, 0xffffffff
je 0x1400a482c
mov rcx, qword [rsi + 0x3f8]
lea r9, [rsp + 0x38]
movsxd r8, eax
mov edx, 0x417
call qword [sym.imp.USER32.dll_SendMessageW]
test rax, rax
je 0x1400a482c
mov rcx, qword [rsp + 0x48]
mov qword [rsp + 0x30], r12
test rcx, rcx
je 0x1400a482c
lea rdx, [rsp + 0x30]
call fcn.140094590
test eax, eax
js 0x1400a482c
mov rcx, qword [rsp + 0x30]
lea rdx, [rbp + 0x990]
call fcn.140096010
mov rcx, qword [rsp + 0x30]
mov ebx, eax
call qword [sym.imp.ole32.dll_CoTaskMemFree]
test ebx, ebx
js 0x1400a482c
jmp 0x1400a4818
cmp eax, 0xb3b0
jl 0x1400a482c
mov rcx, qword [rsi + 0x3f0]
mov r8, rax
xor r9d, r9d
mov edx, 0x419
call qword [sym.imp.USER32.dll_SendMessageW]
cmp eax, 0xffffffff
je 0x1400a482c
mov rcx, qword [rsi + 0x3f0]
lea r9, [rsp + 0x38]
movsxd r8, eax
mov edx, 0x417
call qword [sym.imp.USER32.dll_SendMessageW]
mov rcx, qword [rsp + 0x48]
lea rdx, [rsp + 0x60]
call fcn.1400924a0
cmp dword [rbp + 0x564], 1
jne 0x1400a482c
lea rax, [rbp + 0x568]
lea r9, [rsp + 0x60]
lea r8, str._s_n_s
lea rcx, [rbp + 0x990]
mov edx, 0x400
mov qword [rsp + 0x20], rax
call section..text
movsxd rdx, dword [rdi + 0x20]
mov rcx, qword [rdi + 0x18]
lea r8, [rbp + 0x990]
call fcn.140001240
mov rcx, qword [rbp + 0x1190]
xor rcx, rsp
call fcn.14004ae00
lea r11, [rsp + 0x12a0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r12
pop rdi
pop rbp
ret