Function at 0x14003eb50
Capabilities:
Capture webcam image

Disassembly:
mov qword [rsp + 8], rcx
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 7]
sub rsp, 0xe8
mov rax, qword [0x14013d0a8]
xor rax, rsp
mov qword [rbp - 9], rax
mov r13, r9
mov qword [rbp - 0x41], r9
mov rbx, r8
mov r15, rdx
mov r14, rcx
mov rdi, qword [rbp + 0x77]
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x38], rbx
mov rax, r8
shr rax, 0x20
mov qword [rsp + 0x40], rax
mov r12, qword [rbp + 0x6f]
mov rax, qword [rbp + 0x7f]
mov qword [rsp + 0x48], rax
xor esi, esi
mov dword [rbp - 0x79], ebx
mov rax, r8
shr rax, 0x20
mov dword [rbp - 0x75], eax
lea r9, [rbp - 0x79]
xor r8d, r8d
mov edx, 0x1039
mov rcx, r15
call qword [sym.imp.USER32.dll_SendMessageW]
test eax, eax
js 0x14003eff9
test byte [rbp - 0x71], 0xe
je 0x14003eff9
movsxd rax, dword [rbp - 0x69]
test eax, eax
js 0x14003eff9
lea rcx, [0x14013c964]
mov eax, dword [rcx + rax*4]
mov dword [r12], eax
mov r8d, dword [rbp - 0x6d]
mov dword [r13], r8d
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x20], rax
mov r9d, dword [r12]
mov rdx, r15
lea rcx, [rsp + 0x30]
call fcn.14003e6a0
nop
lea rcx, [rsp + 0x30]
call fcn.1400b0850
test eax, eax
jne 0x14003ec5c
lea rcx, [0x1400f6914]
call fcn.1400b0640
mov rdx, rax
lea rcx, [0x1400f6914]
call fcn.1400b0780
mov qword [r14], rax
mov rcx, qword [rsp + 0x30]
jmp 0x14003efec
mov dword [rsp + 0x58], ebx
lea eax, [rbx + 1]
mov dword [rsp + 0x60], eax
mov r13d, dword [rsp + 0x3c]
mov dword [rsp + 0x5c], r13d
mov rax, qword [rsp + 0x40]
inc eax
mov dword [rbp - 0x7d], eax
mov r9d, 2
lea r8, [rsp + 0x58]
xor edx, edx
mov rcx, r15
call qword [sym.imp.USER32.dll_MapWindowPoints]
mov edx, 2
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.USER32.dll_MonitorFromPoint]
mov dword [rbp - 0x31], 0x28
xorps xmm0, xmm0
xor ecx, ecx
movups xmmword [rbp - 0x2d], xmm0
movups xmmword [rbp - 0x1d], xmm0
mov dword [rbp - 0xd], ecx
lea rdx, [rbp - 0x31]
mov rcx, rax
call qword [sym.imp.USER32.dll_GetMonitorInfoW]
movups xmm0, xmmword [rbp - 0x1d]
movups xmmword [rbp - 0x51], xmm0
mov r9d, 2
lea r8, [rbp - 0x51]
mov rdx, r15
xor ecx, ecx
call qword [sym.imp.USER32.dll_MapWindowPoints]
movdqa xmm0, xmmword [0x1400f98d0]
movdqu xmmword [rbp - 0x61], xmm0
mov rcx, r15
call qword [sym.imp.USER32.dll_GetDC]
mov qword [rsp + 0x38], rax
mov rdx, qword [0x14013c8d0]
mov rcx, qword [rsp + 0x48]
cmp byte [rcx], 0
cmovne rdx, qword [0x14013c8d8]
mov rcx, rax
call qword [sym.imp.GDI32.dll_SelectObject]
lea rcx, [rsp + 0x30]
call fcn.1400b0200
mov rcx, rax
mov edx, 0xa
call fcn.1400ba484
lea rcx, [rsp + 0x30]
test rax, rax
je 0x14003ed4d
call fcn.1400b0200
mov dword [rsp + 0x20], 0xc00
jmp 0x14003ed5a
call fcn.1400b0200
mov dword [rsp + 0x20], 0xc20
lea r9, [rbp - 0x61]
mov r8d, 0xffffffff
mov rdx, rax
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.USER32.dll_DrawTextW]
xor r9d, r9d
xor r8d, r8d
mov edx, 0x419
mov rcx, qword [0x1401426b8]
call qword [sym.imp.USER32.dll_SendMessageW]
mov r8d, dword [rbp - 0x59]
mov ecx, r8d
sub ecx, dword [rbp - 0x61]
cmp ecx, eax
cmovg r8d, eax
mov dword [rbp - 0x59], r8d
mov rdx, qword [rsp + 0x38]
mov rcx, r15
call qword [sym.imp.USER32.dll_ReleaseDC]
lea rcx, [rsp + 0x30]
call fcn.1400b0200
mov rcx, rax
mov edx, 0xa
call fcn.1400ba484
test rax, rax
je 0x14003ee51
mov edx, 6
lea r8d, [rdx - 5]
lea rcx, [rbp - 0x61]
call qword [sym.imp.USER32.dll_InflateRect]
movups xmm0, xmmword [rbp - 0x61]
movups xmmword [rdi], xmm0
call qword [sym.imp.USER32.dll_GetCursor]
mov rcx, rax
lea r9, [rsp + 0x40]
lea r8, [rsp + 0x48]
lea rdx, [rsp + 0x38]
call fcn.14003d700
mov r8d, r13d
sub r8d, dword [rdi + 4]
add r8d, dword [rsp + 0x40]
xor edx, edx
mov rcx, rdi
call qword [sym.imp.USER32.dll_OffsetRect]
mov ecx, 0x28
call qword [sym.imp.USER32.dll_GetSystemMetrics]
mov rdx, rdi
test eax, eax
mov eax, 8
lea rcx, [rdi + 8]
jne 0x14003ee38
mov rcx, rdi
lea rsi, [rax + rdx]
sub ebx, dword [rcx]
xor r8d, r8d
mov edx, ebx
mov rcx, rdi
call qword [sym.imp.USER32.dll_OffsetRect]
jmp 0x14003ef60
mov rax, qword [rbp - 0x41]
movsxd rcx, dword [rax]
mov eax, dword [rbp - 0x69]
test eax, eax
je 0x14003ee86
test rdi, rdi
je 0x14003ee6c
mov dword [rdi + 4], eax
mov dword [rdi], esi
mov rsi, rdi
mov r8, rcx
mov r9, rsi
mov edx, 0x1038
mov rcx, r15
call qword [sym.imp.USER32.dll_SendMessageW]
lea rsi, [rdi + 8]
jmp 0x14003eedb
test rdi, rdi
je 0x14003ee90
mov dword [rdi], esi
mov rsi, rdi
mov r8, rcx
mov r9, rsi
mov edx, 0x100e
mov rcx, r15
call qword [sym.imp.USER32.dll_SendMessageW]
xor r9d, r9d
xor r8d, r8d
mov edx, 0x101f
mov rcx, r15
call qword [sym.imp.USER32.dll_SendMessageW]
mov rcx, rax
lea r9, [rbp - 0x41]
xor r8d, r8d
mov edx, 0x1207
call qword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [rbp - 0x41]
mov dword [rdi], eax
lea rsi, [rdi + 8]
mov eax, dword [rbp - 0x39]
mov dword [rsi], eax
mov ecx, dword [r12]
call fcn.14003f070
test al, al
je 0x14003eeeb
add dword [rsi], 0xfffffffa
cmp dword [r12], 0x9c77
jne 0x14003ef0f
mov ecx, gethostbyaddr
call qword [sym.imp.USER32.dll_GetSystemMetrics]
mov edx, eax
xor r8d, r8d
lea rcx, [rbp - 0x61]
call qword [sym.imp.USER32.dll_OffsetRect]
mov ecx, dword [rdi]
mov eax, dword [rsi]
sub eax, ecx
mov edx, dword [rbp - 0x59]
cmp eax, edx
jle 0x14003ef44
lea rcx, [0x1400f6914]
call fcn.1400b0640
mov rdx, rax
lea rcx, [0x1400f6914]
call fcn.1400b0780
mov qword [r14], rax
mov rcx, qword [rsp + 0x30]
jmp 0x14003efec
add ecx, dword [rbp - 0x61]
mov dword [rdi], ecx
lea eax, [rcx + rdx]
mov dword [rsi], eax
mov edx, 6
lea r8d, [rdx - 5]
mov rcx, rdi
call qword [sym.imp.USER32.dll_InflateRect]
mov eax, dword [rdi + 0xc]
cmp eax, dword [rbp - 0x45]
jle 0x14003ef79
sub r13d, eax
mov r8d, r13d
xor edx, edx
mov rcx, rdi
call qword [sym.imp.USER32.dll_OffsetRect]
mov eax, dword [rdi + 4]
mov r8d, dword [rbp - 0x4d]
cmp eax, r8d
jge 0x14003ef93
sub r8d, eax
xor edx, edx
mov rcx, rdi
call qword [sym.imp.USER32.dll_OffsetRect]
mov eax, dword [rsi]
mov edx, dword [rbp - 0x49]
cmp eax, edx
jle 0x14003efaa
sub edx, eax
xor r8d, r8d
mov rcx, rdi
call qword [sym.imp.USER32.dll_OffsetRect]
mov eax, dword [rdi]
mov edx, dword [rbp - 0x51]
cmp eax, edx
jge 0x14003efc1
sub edx, eax
xor r8d, r8d
mov rcx, rdi
call qword [sym.imp.USER32.dll_OffsetRect]
mov r9d, 2
mov r8, rdi
xor edx, edx
mov rcx, r15
call qword [sym.imp.USER32.dll_MapWindowPoints]
mov rcx, qword [rsp + 0x30]
mov qword [r14], rcx
test rcx, rcx
je 0x14003efec
call fcn.1400b04e0
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x14003eff7
call fcn.1400b0810
nop
jmp 0x14003f017
lea rcx, [0x1400f6914]
call fcn.1400b0640
mov rdx, rax
lea rcx, [0x1400f6914]
call fcn.1400b0780
mov qword [r14], rax
mov rax, r14
mov rcx, qword [rbp - 9]
xor rcx, rsp
call fcn.1400b5660
add rsp, 0xe8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret