Function at 0x14014c660
Capabilities:
Capture webcam image

Disassembly:
mov r11, rsp
push rbp
push rdi
lea rbp, [r11 - 0x1d8]
sub rsp, 0x2c8
mov rax, qword [0x1402bf040]
xor rax, rsp
mov qword [rbp + 0x1a0], rax
mov rdi, rcx
mov ecx, dword [rcx + 0x18]
sub ecx, 1
je 0x14014c9f3
mov qword [r11 + 0x10], rbx
mov qword [r11 + 0x18], rsi
mov qword [r11 - 0x18], r12
mov qword [r11 - 0x20], r14
mov qword [r11 - 0x28], r15
cmp ecx, 0x10000
jne 0x14014c9ef
mov rcx, qword [rdi + 0x20]
xorps xmm0, xmm0
xor eax, eax
mov dword [rsp + 0x48], 0x30
mov edx, 1
mov qword [rsp + 0x70], rax
movups xmmword [rsp + 0x50], xmm0
mov dword [rsp + 0x4c], 0x2d
movups xmmword [rsp + 0x60], xmm0
call qword [sym.imp.GDI32.dll_SetBkMode]
mov r8, qword [rdi + 0x38]
xor r12d, r12d
mov rcx, qword [rdi]
xor r9d, r9d
mov edx, 0x419
mov dword [rsp + 0x44], r12d
mov dword [rsp + 0x40], r12d
call qword [sym.imp.USER32.dll_SendMessageW]
mov rcx, qword [rdi]
xor r9d, r9d
xor r8d, r8d
mov r14d, eax
mov edx, 0x447
call qword [sym.imp.USER32.dll_SendMessageW]
mov r8, qword [rdi + 0x38]
xor r9d, r9d
mov rcx, qword [rdi]
mov edx, 0x40b
mov rsi, rax
call qword [sym.imp.USER32.dll_SendMessageW]
mov r8, qword [rdi + 0x38]
xor r9d, r9d
mov rcx, qword [rdi]
mov edx, 0x409
call qword [sym.imp.USER32.dll_SendMessageW]
mov r8d, dword [rdi + 0x38]
lea r9, [rsp + 0x48]
mov rcx, qword [rdi]
mov edx, 0x43f
mov r15, rax
call qword [sym.imp.USER32.dll_SendMessageW]
cmp rax, 0xffffffffffffffff
je 0x14014c9ef
mov rcx, qword [rdi + 0x20]
mov edx, 0xffffff
call qword [sym.imp.GDI32.dll_SetTextColor]
mov rcx, qword [rdi + 0x20]
cmp rsi, r14
jne 0x14014c7a7
mov edx, 0x808080
call qword [sym.imp.GDI32.dll_SetDCBrushColor]
mov ecx, 0x12
call qword [sym.imp.GDI32.dll_GetStockObject]
mov rcx, qword [rdi + 0x20]
mov r8, rax
jmp 0x14014c7ae
mov r8, qword [0x1402cab00]
lea rdx, [rdi + 0x28]
call qword [sym.imp.USER32.dll_FillRect]
mov rcx, qword ds:[rdi]
call sym.SystemInformer.exe_PhGetWindowDpi
mov rcx, qword [rdi]
xor r9d, r9d
xor r8d, r8d
mov edx, 0x31
mov r14d, eax
call qword [sym.imp.USER32.dll_SendMessageW]
mov rcx, qword [rdi + 0x20]
mov rdx, rax
call qword [sym.imp.GDI32.dll_SelectObject]
cmp dword [rsp + 0x54], 0xffffffff
je 0x14014c9ef
mov rcx, qword [rdi]
xor r9d, r9d
xor r8d, r8d
mov edx, 0x431
call qword [sym.imp.USER32.dll_SendMessageW]
mov rsi, rax
test rax, rax
je 0x14014c8c5
mov rax, qword [rax]
lea r8, [rsp + 0x40]
lea rdx, [rsp + 0x44]
mov rcx, rsi
mov rax, qword [rax + 0x80]
call qword [case.0x14013d64a.0]
test byte [rsp + 0x59], 0x40
je 0x14014c876
mov rax, qword [0x1402cdbc8]
nop
test rax, rax
je 0x14014c862
test r14d, r14d
je 0x14014c862
mov edx, r14d
mov ecx, 0x2d
call qword [case.0x14013d64a.0]
add dword ds:[rdi + 0x28], eax
mov r9d, dword [rdi + 0x28]
jmp 0x14014c88b
mov ecx, 0x2d
call qword [sym.imp.USER32.dll_GetSystemMetrics]
add dword [rdi + 0x28], eax
mov r9d, dword [rdi + 0x28]
jmp 0x14014c88b
mov ecx, dword [rdi + 0x28]
mov eax, dword [rdi + 0x30]
sub eax, ecx
sub eax, dword [rsp + 0x44]
cdq
sub eax, edx
sar eax, 1
lea r9d, [rcx + rax]
mov ecx, dword ds:[rdi + 0x2c]
mov eax, dword [rdi + 0x34]
mov r8, qword [rdi + 0x20]
sub eax, ecx
sub eax, dword [rsp + 0x40]
cdq
sub eax, edx
sar eax, 1
test r15, r15
lea edx, [rcx + rax]
sete al
mov byte [rsp + 0x30], al
mov rcx, rsi
mov dword [rsp + 0x28], r12d
mov dword [rsp + 0x20], edx
mov edx, dword [rsp + 0x54]
call sym.SystemInformer.exe_PhImageListDrawIcon
test byte [rsp + 0x59], 0x40
je 0x14014c9a6
movups xmm0, xmmword [rdi + 0x28]
xor edx, edx
mov word [rbp - 0x70], r12w
mov r8d, 0x206
lea rcx, [rbp - 0x6e]
movups xmmword [rsp + 0x78], xmm0
call fcn.14020a280
mov r8d, dword ds:[rdi + 0x38]
lea r9, [rbp - 0x70]
mov rcx, qword [rdi]
mov edx, 0x44b
call qword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword ds:[rsp + 0x44]
lea r8, [rbp - 0x70]
add dword [rsp + 0x78], eax
lea rcx, [rbp - 0x70]
and r8, 0xfffffffffffffff1
xorps xmm1, xmm1
and ecx, 0xf
je 0x14014c946
xorps xmm0, xmm0
pcmpeqw xmm0, xmmword [r8]
pmovmskb eax, xmm0
shr eax, cl
bsf ecx, eax
je 0x14014c942
mov r8d, ecx
shr r8, 1
jmp 0x14014c988
add r8, 0x10
xorps xmm0, xmm0
pcmpeqw xmm0, xmmword [r8]
pmovmskb eax, xmm0
bsf ecx, eax
jne 0x14014c976
nop word [rax + rax]
add r8, 0x10
movdqa xmm0, xmm1
pcmpeqw xmm0, xmmword [r8]
pmovmskb eax, xmm0
bsf ecx, eax
je 0x14014c960
lea rax, [rbp - 0x70]
sub r8, rax
mov eax, ecx
shr rax, 1
sar r8, 1
add r8, rax
mov rcx, qword ds:[rdi + 0x20]
lea r9, [rsp + 0x78]
lea rdx, [rbp - 0x70]
mov dword [rsp + 0x20], 0x100025
call qword [sym.imp.USER32.dll_DrawTextW]
mov eax, 4
mov r14, qword [rsp + 0x2b8]
mov r12, qword [rsp + 0x2c0]
mov rsi, qword [rsp + 0x2f0]
mov rbx, qword [rsp + 0x2e8]
mov r15, qword [rsp + 0x2b0]
mov rcx, qword ds:[rbp + 0x1a0]
xor rcx, rsp
call fcn.1401e4160
add rsp, 0x2c8
pop rdi
pop rbp
ret
xor eax, eax
jmp 0x14014c9ab
mov eax, 0x30
jmp 0x14014c9d3