Function at 0x140025330
Capabilities:
Capture webcam image

Disassembly:
mov rax, rsp
push rsi
push r12
push r13
sub rsp, 0xa0
mov qword [rsp + 0x60], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rbp
mov rbp, rdx
mov rbx, rcx
lea r9, [rax - 0x50]
xor r8d, r8d
mov edx, 0x419
mov rcx, qword [rcx + 0x40]
call qword [sym.imp.USER32.dll_SendMessageW]
mov ecx, 0x20
call fcn.1400c909c
mov qword [rsp + 0xc0], rax
test rax, rax
je 0x140025390
mov rcx, rax
call fcn.1400cf11c
mov rsi, rax
jmp 0x140025392
xor esi, esi
test rbp, rbp
jne 0x14002539b
xor ecx, ecx
jmp 0x14002539f
mov rcx, qword [rbp + 8]
call qword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov rdx, rax
mov rcx, rsi
call fcn.1400cf970
mov qword [rsp + 0x80], 0
lea r13, [0x1401202e8]
mov qword [rsp + 0x78], r13
mov rdx, qword [rbx + 0xa8]
lea rcx, [rsp + 0x78]
call fcn.1400cfde4
mov rdx, qword [rsp + 0x80]
mov rcx, qword [rsi + 8]
call fcn.1400cfeb8
mov r12, rax
mov rcx, rbx
call fcn.1400dc814
test al, 2
je 0x1400254ec
mov eax, dword [rbx + 0xc8]
mov edx, dword [rsp + 0x70]
mov ecx, edx
mov r11d, dword [rsp + 0x68]
sub ecx, r11d
cmp ecx, eax
jle 0x140025470
mov r10d, dword [rbx + 0xcc]
mov r9d, eax
mov ecx, dword [rbx + 0xb4]
mov r8d, dword [rbx + 0xb0]
sub edx, eax
sub edx, r11d
shr edx, 1
mov rax, qword [rsi + 8]
mov dword [rsp + 0x50], 0xffffff
mov dword [rsp + 0x48], r10d
mov dword [rsp + 0x40], r9d
mov dword [rsp + 0x38], ecx
mov dword [rsp + 0x30], r8d
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], r10d
mov r8d, dword [rsp + 0x6c]
mov rcx, qword [rbp + 8]
call qword [sym.imp.MSIMG32.dll_TransparentBlt]
jmp 0x1400255d6
lea rdx, [rsp + 0x88]
mov rcx, qword [rbx + 0x40]
call qword [sym.imp.USER32.dll_GetWindowRect]
mov r11d, dword [rbx + 0xcc]
mov r9d, dword [rbx + 0xc8]
mov ecx, dword [rbx + 0xb4]
mov edx, dword [rbx + 0xb0]
mov r8d, dword [rsp + 0x94]
sub r8d, dword [rsp + 0x8c]
mov rax, qword [rsi + 8]
mov dword [rsp + 0x50], 0xffffff
mov dword [rsp + 0x48], r11d
mov dword [rsp + 0x40], r9d
mov dword [rsp + 0x38], ecx
mov dword [rsp + 0x30], edx
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], r8d
mov r8d, dword [rsp + 0x6c]
mov edx, dword [rsp + 0x68]
mov rcx, qword [rbp + 8]
call qword [sym.imp.MSIMG32.dll_TransparentBlt]
jmp 0x1400255d6
mov eax, dword [rsp + 0x70]
mov edx, dword [rsp + 0x68]
sub eax, edx
cmp eax, dword [rbx + 0xc8]
jle 0x14002555e
mov r11d, dword [rbx + 0xcc]
mov r9d, dword [rbx + 0xc8]
mov ecx, dword [rbx + 0xb4]
mov r10d, dword [rbx + 0xb0]
mov r8d, dword [rsp + 0x74]
sub r8d, r11d
sub r8d, dword [rsp + 0x6c]
shr r8d, 1
mov rax, qword [rsi + 8]
mov dword [rsp + 0x50], 0xffffff
mov dword [rsp + 0x48], r11d
mov dword [rsp + 0x40], r9d
mov dword [rsp + 0x38], ecx
mov dword [rsp + 0x30], r10d
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], r11d
mov rcx, qword [rbp + 8]
call qword [sym.imp.MSIMG32.dll_TransparentBlt]
jmp 0x1400255d6
lea rdx, [rsp + 0x88]
mov rcx, qword [rbx + 0x40]
call qword [sym.imp.USER32.dll_GetWindowRect]
mov r11d, dword [rbx + 0xcc]
mov ecx, dword [rbx + 0xc8]
mov r10d, dword [rbx + 0xb4]
mov r8d, dword [rbx + 0xb0]
mov ebx, dword [rsp + 0x74]
sub ebx, dword [rsp + 0x6c]
mov r9d, dword [rsp + 0x70]
mov edx, dword [rsp + 0x68]
sub r9d, edx
mov rax, qword [rsi + 8]
mov dword [rsp + 0x50], 0xffffff
mov dword [rsp + 0x48], r11d
mov dword [rsp + 0x40], ecx
mov dword [rsp + 0x38], r10d
mov dword [rsp + 0x30], r8d
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], ebx
mov r8d, dword [rsp + 0x6c]
mov rcx, qword [rbp + 8]
call qword [sym.imp.MSIMG32.dll_TransparentBlt]
test r12, r12
je 0x1400255e9
mov rdx, qword [r12 + 8]
mov rcx, qword [rsi + 8]
call fcn.1400cfeb8
mov rcx, rsi
call fcn.1400cfa0c
lea rcx, [rsp + 0x78]
call fcn.1400cfe20
mov r11, qword [rsi]
mov edx, 1
mov rcx, rsi
call qword [r11 + reloc.DSOUND.dll_DirectSoundCaptureEnumerateW]
nop
mov qword [rsp + 0x78], r13
lea rcx, [rsp + 0x78]
call fcn.1400027d0
lea r11, [rsp + 0xa0]
mov rbx, qword [r11 + 0x28]
mov rbp, qword [r11 + 0x30]
mov rsp, r11
pop r13
pop r12
pop rsi
ret