Function at 0x140021490
Capabilities:
Capture webcam image

Disassembly:
push rsi
push rdi
push r12
sub rsp, 0x30
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x58], rbx
mov qword [rsp + 0x60], rbp
mov rbp, rcx
lea rbx, [rcx + 0xa0]
xor edi, edi
test rbx, rbx
je 0x1400214c6
lea rcx, [rbx - 0xa0]
jmp 0x1400214c9
mov rcx, rdi
mov edx, 0x3fc
mov rcx, qword [rcx + 8]
call qword [sym.imp.USER32.dll_GetDlgItem]
xor r9d, r9d
xor r8d, r8d
mov edx, 0xf0
mov rcx, rax
call qword [sym.imp.USER32.dll_SendMessageW]
mov dword [rbp + 0xa4], eax
test rbx, rbx
je 0x140021500
lea rcx, [rbx - 0xa0]
jmp 0x140021503
mov rcx, rdi
mov edx, 0x40b
mov rcx, qword [rcx + 8]
call qword [sym.imp.USER32.dll_GetDlgItem]
xor r9d, r9d
xor r8d, r8d
mov edx, 0xf0
mov rcx, rax
call qword [sym.imp.USER32.dll_SendMessageW]
mov dword [rbp + 0xa8], eax
test rbx, rbx
je 0x14002153a
lea rcx, [rbx - 0xa0]
jmp 0x14002153d
mov rcx, rdi
mov edx, 0x417
mov rcx, qword [rcx + 8]
call qword [sym.imp.USER32.dll_GetDlgItem]
xor r9d, r9d
xor r8d, r8d
mov edx, 0xf0
mov rcx, rax
call qword [sym.imp.USER32.dll_SendMessageW]
mov dword [rbp + 0xac], eax
test rbx, rbx
je 0x140021574
lea rcx, [rbx - 0xa0]
jmp 0x140021577
mov rcx, rdi
mov edx, 0x410
mov rcx, qword [rcx + 8]
call qword [sym.imp.USER32.dll_GetDlgItem]
xor r9d, r9d
xor r8d, r8d
mov edx, 0xf0
mov rcx, rax
call qword [sym.imp.USER32.dll_SendMessageW]
mov dword [rbp + 0xb0], eax
test rbx, rbx
je 0x1400215ae
lea rcx, [rbx - 0xa0]
jmp 0x1400215b1
mov rcx, rdi
mov edx, 0x413
mov rcx, qword [rcx + 8]
call qword [sym.imp.USER32.dll_GetDlgItem]
xor r9d, r9d
xor r8d, r8d
mov edx, 0xf0
mov rcx, rax
call qword [sym.imp.USER32.dll_SendMessageW]
mov dword [rbp + 0xb4], eax
test rbx, rbx
je 0x1400215e8
lea rcx, [rbx - 0xa0]
jmp 0x1400215eb
mov rcx, rdi
mov edx, 0x418
mov rcx, qword [rcx + 8]
call qword [sym.imp.USER32.dll_GetDlgItem]
xor r9d, r9d
xor r8d, r8d
mov edx, 0xf0
mov rcx, rax
call qword [sym.imp.USER32.dll_SendMessageW]
mov dword [rbp + 0xb8], eax
test rbx, rbx
je 0x140021622
lea rcx, [rbx - 0xa0]
jmp 0x140021625
mov rcx, rdi
mov edx, 0x411
mov rcx, qword [rcx + 8]
call qword [sym.imp.USER32.dll_GetDlgItem]
xor r9d, r9d
xor r8d, r8d
mov edx, 0xf0
mov rcx, rax
call qword [sym.imp.USER32.dll_SendMessageW]
mov dword [rbp + 0xbc], eax
test rbx, rbx
je 0x14002165c
lea rcx, [rbx - 0xa0]
jmp 0x14002165f
mov rcx, rdi
mov edx, 0x414
mov rcx, qword [rcx + 8]
call qword [sym.imp.USER32.dll_GetDlgItem]
xor r9d, r9d
xor r8d, r8d
mov edx, 0xf0
mov rcx, rax
call qword [sym.imp.USER32.dll_SendMessageW]
mov dword [rbp + 0xc0], eax
test rbx, rbx
je 0x140021696
lea rcx, [rbx - 0xa0]
jmp 0x140021699
mov rcx, rdi
mov edx, 0x419
mov rcx, qword [rcx + 8]
call qword [sym.imp.USER32.dll_GetDlgItem]
xor r9d, r9d
xor r8d, r8d
mov edx, 0xf0
mov rcx, rax
call qword [sym.imp.USER32.dll_SendMessageW]
mov dword [rbp + 0xc4], eax
test rbx, rbx
je 0x1400216d0
lea rcx, [rbx - 0xa0]
jmp 0x1400216d3
mov rcx, rdi
mov edx, 0x41c
mov rcx, qword [rcx + 8]
call qword [sym.imp.USER32.dll_GetDlgItem]
xor r9d, r9d
xor r8d, r8d
mov edx, 0xf0
mov rcx, rax
call qword [sym.imp.USER32.dll_SendMessageW]
mov dword [rbp + 0xc8], eax
test rbx, rbx
je 0x14002170a
lea rcx, [rbx - 0xa0]
jmp 0x14002170d
mov rcx, rdi
mov edx, 0x41d
mov rcx, qword [rcx + 8]
call qword [sym.imp.USER32.dll_GetDlgItem]
xor r9d, r9d
xor r8d, r8d
mov edx, 0xf0
mov rcx, rax
call qword [sym.imp.USER32.dll_SendMessageW]
mov dword [rbp + 0xcc], eax
test rbx, rbx
je 0x140021744
lea rcx, [rbx - 0xa0]
jmp 0x140021747
mov rcx, rdi
mov edx, 0x41e
mov rcx, qword [rcx + 8]
call qword [sym.imp.USER32.dll_GetDlgItem]
xor r9d, r9d
xor r8d, r8d
mov edx, 0xf0
mov rcx, rax
call qword [sym.imp.USER32.dll_SendMessageW]
mov dword [rbp + 0xd0], eax
call fcn.140012570
test eax, eax
je 0x14002180d
lea rcx, [rsp + 0x50]
call fcn.140022660
nop
mov rsi, rdi
lea rbx, str..iso
lea r12, vtable.type_info.0
nop dword [rax]
mov ecx, dword [rsi + rbp + 0xa4]
mov eax, dword [rsi + rbp + 0xd4]
xor eax, ecx
je 0x1400217d7
test ecx, ecx
je 0x1400217c5
mov rdx, qword [rbx]
lea rcx, [rsp + 0x50]
call fcn.140022a30
jmp 0x1400217d2
mov rdx, qword [rbx]
lea rcx, [rsp + 0x50]
call fcn.140022cf0
mov edi, 1
add rsi, 4
add rbx, 8
cmp rbx, r12
jl 0x1400217a0
test edi, edi
je 0x1400217ff
xor r9d, r9d
xor r8d, r8d
mov edx, 0x1000
mov ecx, 0x8000000
call qword [sym.imp.SHELL32.dll_SHChangeNotify]
nop
lea rcx, [rsp + 0x50]
call fcn.14001f140
xor eax, eax
jmp 0x140021817
mov rcx, rbp
call fcn.140020e10
xor eax, eax
mov rbx, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x60]
add rsp, 0x30
pop r12
pop rdi
pop rsi
ret