Function at 0x10259f0
Capabilities:
Capture webcam image

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rbp
push rsi
push rdi
push r12
push r13
push r14
sub rsp, 0xa0
xor esi, esi
movaps xmmword [rax - 0x38], xmm6
mov rbx, rdx
mov rdi, rcx
cmp dword [rcx + 0x4c], esi
je 0x1025a40
lea rax, [rax + 0x20]
lea rdx, [rcx + 0x60]
lea r8d, [rsi + 2]
xor r9d, r9d
mov rcx, rbx
mov qword [rsp + 0x20], rax
call qword [sym.imp.UxTheme.dll_BeginBufferedPaint]
mov rsi, rax
test rax, rax
jne 0x1025a48
mov qword [rsp + 0xe8], rbx
mov rcx, rdi
call fcn.01025e8c
mov rcx, qword [rdi + 8]
mov rbp, qword [rsp + 0xe8]
mov edx, 0xfffffff4
mov qword [rsp + 0x40], rcx
call qword [sym.imp.USER32.dll_GetWindowLongPtrW]
lea rdx, [rdi + 0x60]
lea rcx, [rsp + 0x68]
mov dword [rsp + 0x50], 0xfffffff4
mov dword [rsp + 0x58], 4
mov qword [rsp + 0x60], rbp
mov qword [rsp + 0x48], rax
call qword [sym.imp.USER32.dll_CopyRect]
mov rcx, qword [rdi + 8]
and qword [rsp + 0x78], 0
and qword [rsp + 0x88], 0
mov dword [rsp + 0x80], 0x20
call qword [sym.imp.USER32.dll_GetParent]
mov r8, qword [rsp + 0x48]
lea r9, [rsp + 0x40]
mov rcx, rax
mov edx, 0x4e
call qword [sym.imp.USER32.dll_SendMessageW]
cmp rax, 4
je 0x1025b79
mov rcx, qword [rdi + 8]
mov edx, 0xffffffec
call qword [sym.imp.USER32.dll_GetWindowLongW]
test al, 0x20
je 0x1025b4a
mov rcx, qword [0x01030268]
lea rax, [0x01030268]
cmp rcx, rax
je 0x1025b23
bt dword [rcx + 0x1c], 0x1d
jae 0x1025b23
cmp byte [rcx + 0x19], 4
jb 0x1025b23
mov rcx, qword [rcx + 0x10]
lea r8, [0x01005fd0]
mov edx, 0xa
call fcn.01012194
mov ecx, 5
call qword [sym.imp.USER32.dll_GetSysColorBrush]
mov rcx, qword [rdi + 8]
lea rdx, [rsp + 0x30]
mov rbx, rax
call qword [sym.imp.USER32.dll_GetClientRect]
mov r8, rbx
lea rdx, [rsp + 0x30]
jmp 0x1025b70
mov rcx, qword [rdi + 8]
call qword [sym.imp.USER32.dll_GetParent]
mov r9, qword [rdi + 8]
mov r8, rbp
mov rcx, rax
mov edx, 0x138
call qword [sym.imp.USER32.dll_SendMessageW]
lea rdx, [rdi + 0x60]
mov r8, rax
mov rcx, rbp
call qword [sym.imp.USER32.dll_FillRect]
mov rdx, qword [rsp + 0xe8]
movss xmm2, dword [rdi + 0xd4]
mov rcx, rdi
call fcn.01024df4
mov r11d, dword [rdi + 0x9c]
mov rdx, qword [rsp + 0xe8]
movss xmm6, dword [0x01007964]
movaps xmm3, xmm6
lea r8, [rsp + 0xd0]
mov rcx, rdi
mov dword [rsp + 0xd0], r11d
call fcn.01025034
mov rcx, qword [rdi + 8]
mov rbp, qword [rsp + 0xe8]
lea r9, [rdi + 0x80]
xor r8d, r8d
mov edx, 0x419
call qword [sym.imp.USER32.dll_SendMessageW]
mov rcx, qword [rdi + 0x50]
mov r12d, 1
lea rbx, [rdi + 0x70]
test rcx, rcx
je 0x1025c21
mov eax, dword [rdi + 0xa4]
mov r9d, r12d
mov rdx, rbp
neg eax
sbb r8d, r8d
and qword [rsp + 0x28], 0
mov qword [rsp + 0x20], rbx
neg r8d
add r8d, r12d
call qword [sym.imp.UxTheme.dll_DrawThemeBackground]
jmp 0x1025c37
mov r9d, 0xf
mov rdx, rbx
mov rcx, rbp
lea r8d, [r9 - 5]
call qword [sym.imp.USER32.dll_DrawEdge]
comiss xmm6, dword [rdi + 0xd4]
mov rbp, qword [rsp + 0xe8]
jbe 0x1025d02
mov rcx, qword [rdi + 8]
call qword [sym.imp.USER32.dll_GetParent]
mov r9, qword [rdi + 8]
mov r8, rbp
mov rcx, rax
mov edx, 0x138
call qword [sym.imp.USER32.dll_SendMessageW]
lea rdx, [rdi + 0x60]
lea rcx, [rsp + 0x30]
mov r12, rax
call qword [sym.imp.USER32.dll_CopyRect]
cmp dword [rdi + 0xa4], 0
je 0x1025cb6
mov edx, dword [rdi + 0x7c]
mov ecx, edx
sub ecx, dword [rdi + 0x74]
sub ecx, 2
movd xmm0, ecx
cvtdq2ps xmm0, xmm0
mulss xmm0, dword [rdi + 0xd4]
addss xmm0, dword [0x01007954]
cvttss2si eax, xmm0
sub edx, eax
dec edx
mov dword [rsp + 0x3c], edx
jmp 0x1025ce4
mov eax, dword [rdi + 0x7c]
sub eax, dword [rdi + 0x74]
sub eax, 2
movd xmm0, eax
mov eax, dword [rbx]
cvtdq2ps xmm0, xmm0
mulss xmm0, dword [rdi + 0xd4]
addss xmm0, dword [0x01007954]
cvttss2si edx, xmm0
lea edx, [rdx + rax + 1]
mov dword [rsp + 0x30], edx
movss xmm3, dword [0x01007960]
lea rdx, [rsp + 0x30]
mov r8, r12
mov rcx, rbp
call fcn.01024d14
mov r12d, 1
cmp dword [rdi + 0x94], 0
je 0x1025d69
cmp dword [rdi + 0x5c], 0
mov rbx, qword [rsp + 0xe8]
jle 0x1025d3e
mov ecx, 0x10
call qword [sym.imp.USER32.dll_GetSysColor]
mov r8d, dword [rdi + 0x5c]
mov rdx, rbx
bts eax, 0x1f
mov rcx, rdi
mov r9d, eax
mov dword [rsp + 0x20], eax
call fcn.010252dc
cmp dword [rdi + 0x90], 0
jne 0x1025d72
mov r8d, dword [rdi + 0x58]
test r8d, r8d
jle 0x1025d69
mov r9d, 0xff339933
mov rdx, rbx
mov rcx, rdi
mov dword [rsp + 0x20], 0xff33cc33
call fcn.010252dc
cmp dword [rdi + 0x90], 0
je 0x1025d7d
cmp dword [rdi + 0x4c], 0
je 0x1025d7d
mov r9d, r12d
jmp 0x1025d80
xor r9d, r9d
movdqu xmm0, xmmword [rdi + 0x80]
mov rdx, qword [rsp + 0xe8]
lea r8, [rsp + 0x30]
mov rcx, rdi
movdqu xmmword [rsp + 0x30], xmm0
call fcn.01025788
cmp dword [rdi + 0xb4], 0
je 0x1025dd3
movdqu xmm0, xmmword [rdi + 0xbc]
mov r9d, dword [rdi + 0x4c]
mov rdx, qword [rsp + 0xe8]
lea r8, [rsp + 0x30]
mov rcx, rdi
movdqu xmmword [rsp + 0x30], xmm0
call fcn.01025788
mov rbp, qword [rsp + 0xe8]
mov rbx, qword [rdi + 8]
call qword [sym.imp.USER32.dll_GetFocus]
cmp rax, rbx
jne 0x1025e51
xor r9d, r9d
xor r8d, r8d
mov edx, 0x129
mov rcx, rbx
call qword [sym.imp.USER32.dll_SendMessageW]
test r12b, al
jne 0x1025e51
mov ebx, 0x14
mov ecx, ebx
call qword [sym.imp.USER32.dll_GetSysColor]
mov rcx, rbp
mov edx, eax
call qword [sym.imp.GDI32.dll_SetBkColor]
mov rcx, qword [rdi + 8]
lea rdx, [rsp + 0x30]
call qword [sym.imp.USER32.dll_GetClientRect]
mov ecx, ebx
call qword [sym.imp.USER32.dll_GetSysColorBrush]
lea rdx, [rsp + 0x30]
mov rcx, rbp
mov r8, rax
call qword [sym.imp.USER32.dll_FrameRect]
lea rdx, [rsp + 0x30]
mov rcx, rbp
call qword [sym.imp.USER32.dll_DrawFocusRect]
test rsi, rsi
je 0x1025e62
mov edx, r12d
mov rcx, rsi
call qword [sym.imp.UxTheme.dll_EndBufferedPaint]
lea r11, [rsp + 0xa0]
mov rbx, qword [r11 + 0x38]
mov rbp, qword [r11 + 0x40]
movaps xmm6, xmmword [r11 - 0x10]
mov rsp, r11
pop r14
pop r13
pop r12
pop rdi
pop rsi
ret