Function at 0x14014a340
Capabilities:
Capture webcam image

Disassembly:
mov r11, rsp
push rbp
push rdi
lea rbp, [r11 - 0x1d8]
sub rsp, 0x2c8
mov rax, qword [0x1402ba040]
xor rax, rsp
mov qword [rbp + 0x1a0], rax
mov rdi, rcx
mov ecx, dword [rcx + 0x18]
sub ecx, 1
je 0x14014a6d3
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 0x14014a6cf
mov rcx, qword ds:[rdi + 0x20]
xor eax, eax
xorps xmm0, xmm0
mov dword [rsp + 0x48], 0x30
mov dword [rsp + 0x4c], 0x2d
movups xmmword [rsp + 0x50], xmm0
lea edx, [rax + 1]
mov qword [rsp + 0x70], rax
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 0x14014a6cf
mov rcx, qword [rdi + 0x20]
mov edx, 0xffffff
call qword [sym.imp.GDI32.dll_SetTextColor]
mov rcx, qword [rdi + 0x20]
cmp rsi, r14
jne 0x14014a487
mov edx, 0x808080
call qword [sym.imp.GDI32.dll_SetDCBrushColor]
lea ecx, [r12 + 0x12]
call qword [sym.imp.GDI32.dll_GetStockObject]
mov rcx, qword [rdi + 0x20]
mov r8, rax
jmp 0x14014a48e
mov r8, qword [0x1402c5140]
lea rdx, [rdi + 0x28]
call qword [sym.imp.USER32.dll_FillRect]
mov rcx, qword ds:[rdi]
call sym.SystemInformer.exe_QiGetWindowDpi
mov rcx, qword [rdi]
xor r9d, r9d
xor r8d, r8d
mov r14d, eax
lea edx, [r9 + 0x31]
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 0x14014a6cf
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 0x14014a5a5
mov rax, qword [rax]
lea r8, [rsp + 0x40]
lea rdx, [rsp + 0x44]
mov rcx, rsi
mov rax, qword [rax + 0x80]
call qword [case.0x14013b5a0.0]
test byte [rsp + 0x59], 0x40
je 0x14014a556
mov rax, qword [0x1402c8188]
nop
test rax, rax
je 0x14014a542
test r14d, r14d
je 0x14014a542
mov edx, r14d
mov ecx, 0x2d
call qword [case.0x14013b5a0.0]
add dword ds:[rdi + 0x28], eax
mov r9d, dword [rdi + 0x28]
jmp 0x14014a56b
mov ecx, 0x2d
call qword [sym.imp.USER32.dll_GetSystemMetrics]
add dword [rdi + 0x28], eax
mov r9d, dword [rdi + 0x28]
jmp 0x14014a56b
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_QiImageListDrawIcon
test byte [rsp + 0x59], 0x40
je 0x14014a686
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.140207110
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 0x14014a626
xorps xmm0, xmm0
pcmpeqw xmm0, xmmword [r8]
pmovmskb eax, xmm0
shr eax, cl
bsf ecx, eax
je 0x14014a622
mov r8d, ecx
shr r8, 1
jmp 0x14014a668
add r8, 0x10
xorps xmm0, xmm0
pcmpeqw xmm0, xmmword [r8]
pmovmskb eax, xmm0
bsf ecx, eax
jne 0x14014a656
nop word [rax + rax]
add r8, 0x10
movdqa xmm0, xmm1
pcmpeqw xmm0, xmmword [r8]
pmovmskb eax, xmm0
bsf ecx, eax
je 0x14014a640
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.1401e0100
add rsp, 0x2c8
pop rdi
pop rbp
ret
xor eax, eax
jmp 0x14014a68b
mov eax, 0x30
jmp 0x14014a6b3