Function at 0x1400aebf0
Capabilities:
Capture webcam image
Set file attributes
Timestomp file

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rdi
push r13
push r14
push r15
lea rbp, [rsp - 0x420]
sub rsp, 0x520
mov rax, qword [0x140136e20]
xor rax, rsp
mov qword [rbp + 0x410], rax
xor r15d, r15d
mov r13, rcx
mov r14d, 0x80
mov qword [rsp + 0x40], r15
mov qword [rsp + 0x48], r15
cmp dword [rcx + 0xb8], r15d
je 0x1400aecf8
mov rcx, qword [rcx + 8]
mov edx, 0x413
call qword [sym.imp.USER32.dll_GetDlgItem]
lea r9, [rbp - 0x78]
xor r8d, r8d
mov rcx, rax
mov edx, 0x1001
call qword [sym.imp.USER32.dll_SendMessageW]
mov rcx, qword [r13 + 8]
mov edx, 0x418
call qword [sym.imp.USER32.dll_GetDlgItem]
lea r9, [rsp + 0x78]
xor r8d, r8d
mov rcx, rax
mov edx, 0x1001
call qword [sym.imp.USER32.dll_SendMessageW]
movzx eax, word [rbp - 0x76]
movzx r11d, word [rbp - 0x78]
mov word [rsp + 0x6a], ax
movzx eax, word [rbp - 0x74]
lea r8, [rbp - 0x68]
mov word [rsp + 0x6c], ax
movzx eax, word [rbp - 0x72]
lea rdx, [rsp + 0x68]
mov word [rsp + 0x6e], ax
movzx eax, word [rbp - 0x80]
xor ecx, ecx
mov word [rsp + 0x70], ax
movzx eax, word [rbp - 0x7e]
mov word [rsp + 0x68], r11w
mov word [rsp + 0x72], ax
movzx eax, word [rbp - 0x7c]
mov word [rsp + 0x74], ax
movzx eax, word [rbp - 0x7a]
mov word [rsp + 0x76], ax
call qword [sym.imp.KERNEL32.dll_TzSpecificLocalTimeToSystemTime]
lea rdx, [rsp + 0x58]
lea rcx, [rbp - 0x68]
call qword [sym.imp.KERNEL32.dll_SystemTimeToFileTime]
lea r15, [rsp + 0x58]
cmp dword [r13 + 0xbc], 0
je 0x1400aedc7
mov rcx, qword [r13 + 8]
mov edx, 0x419
call qword [sym.imp.USER32.dll_GetDlgItem]
lea r9, [rsp + 0x78]
xor r8d, r8d
mov rcx, rax
mov edx, 0x1001
call qword [sym.imp.USER32.dll_SendMessageW]
mov rcx, qword [r13 + 8]
mov edx, 0x41a
call qword [sym.imp.USER32.dll_GetDlgItem]
lea r9, [rbp - 0x78]
xor r8d, r8d
mov rcx, rax
mov edx, 0x1001
call qword [sym.imp.USER32.dll_SendMessageW]
movzx eax, word [rsp + 0x7a]
movzx r11d, word [rsp + 0x78]
mov word [rsp + 0x6a], ax
movzx eax, word [rsp + 0x7c]
lea r8, [rbp - 0x68]
mov word [rsp + 0x6c], ax
movzx eax, word [rsp + 0x7e]
lea rdx, [rsp + 0x68]
mov word [rsp + 0x6e], ax
movzx eax, word [rbp - 0x70]
xor ecx, ecx
mov word [rsp + 0x70], ax
movzx eax, word [rbp - 0x6e]
mov word [rsp + 0x68], r11w
mov word [rsp + 0x72], ax
movzx eax, word [rbp - 0x6c]
mov word [rsp + 0x74], ax
movzx eax, word [rbp - 0x6a]
mov word [rsp + 0x76], ax
call qword [sym.imp.KERNEL32.dll_TzSpecificLocalTimeToSystemTime]
lea rdx, [rsp + 0x60]
lea rcx, [rbp - 0x68]
call qword [sym.imp.KERNEL32.dll_SystemTimeToFileTime]
lea rax, [rsp + 0x60]
mov qword [rsp + 0x40], rax
cmp dword [r13 + 0xc0], 0
je 0x1400aee96
mov rcx, qword [r13 + 8]
mov edx, 0x41b
call qword [sym.imp.USER32.dll_GetDlgItem]
lea r9, [rsp + 0x78]
xor r8d, r8d
mov rcx, rax
mov edx, 0x1001
call qword [sym.imp.USER32.dll_SendMessageW]
mov rcx, qword [r13 + 8]
mov edx, 0x41c
call qword [sym.imp.USER32.dll_GetDlgItem]
lea r9, [rbp - 0x78]
xor r8d, r8d
mov rcx, rax
mov edx, 0x1001
call qword [sym.imp.USER32.dll_SendMessageW]
movzx eax, word [rsp + 0x7a]
movzx r11d, word [rsp + 0x78]
mov word [rsp + 0x6a], ax
movzx eax, word [rsp + 0x7c]
lea r8, [rbp - 0x68]
mov word [rsp + 0x6c], ax
movzx eax, word [rsp + 0x7e]
lea rdx, [rsp + 0x68]
mov word [rsp + 0x6e], ax
movzx eax, word [rbp - 0x70]
xor ecx, ecx
mov word [rsp + 0x70], ax
movzx eax, word [rbp - 0x6e]
mov word [rsp + 0x68], r11w
mov word [rsp + 0x72], ax
movzx eax, word [rbp - 0x6c]
mov word [rsp + 0x74], ax
movzx eax, word [rbp - 0x6a]
mov word [rsp + 0x76], ax
call qword [sym.imp.KERNEL32.dll_TzSpecificLocalTimeToSystemTime]
lea rdx, [rsp + 0x50]
lea rcx, [rbp - 0x68]
call qword [sym.imp.KERNEL32.dll_SystemTimeToFileTime]
lea rax, [rsp + 0x50]
mov qword [rsp + 0x48], rax
mov rdi, qword [r13 + 0x68]
mov qword [rsp + 0x558], rsi
mov qword [rsp + 0x560], r12
mov rbx, qword [rdi]
cmp rbx, rdi
je 0x1400aef0d
mov eax, dword [rbx + 0x14]
mov r12d, dword [rbx + 0x10]
mov rcx, qword [r13 + 8]
mov esi, dword [rbx + 0x1c]
mov dword [rsp + 0x7c], eax
mov eax, dword [rbx + 0x18]
mov dword [rsp + 0x78], r12d
mov rdx, qword [rsp + 0x78]
mov dword [rbp - 0x80], eax
shr rdx, 0x20
call qword [sym.imp.USER32.dll_GetDlgItem]
xor r9d, r9d
xor r8d, r8d
mov rcx, rax
mov edx, 0xf0
call qword [sym.imp.USER32.dll_SendMessageW]
test esi, esi
jne 0x1400aeefd
cmp eax, 1
je 0x1400aef02
jmp 0x1400aef05
cmp eax, 1
je 0x1400aef05
or r14d, r12d
mov rbx, qword [rbx]
cmp rbx, rdi
jne 0x1400aeeb2
mov rdi, qword [r13 + 0x50]
mov rbx, qword [rdi]
cmp rbx, rdi
je 0x1400aeff8
mov r12, qword [rsp + 0x40]
lea rcx, [rbp - 0x50]
lea rdx, [rbx + 0x10]
mov r8d, 0x458
call fcn.14004b590
mov rcx, qword [r13 + 0x68]
mov r11d, r14d
mov rax, qword [rcx]
cmp rax, rcx
je 0x1400aef8b
mov r10d, dword [rbp + 0x1b8]
nop dword [rax + rax]
mov edx, dword [rax + 0x14]
mov r8d, dword [rax + 0x18]
mov r9d, dword [rax + 0x10]
mov dword [rsp + 0x7c], edx
mov edx, dword [rax + 0x1c]
mov dword [rbp - 0x80], r8d
mov dword [rbp - 0x7c], edx
cmp r8d, 2
jne 0x1400aef83
mov rdx, qword [rbp - 0x80]
shr rdx, 0x20
test edx, edx
jne 0x1400aef83
test r10d, r9d
je 0x1400aef83
or r11d, r9d
mov rax, qword [rax]
cmp rax, rcx
jne 0x1400aef50
lea rcx, [rbp - 0x50]
mov edx, r11d
call qword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov qword [rsp + 0x30], 0
lea rcx, [rbp - 0x50]
xor r9d, r9d
xor r8d, r8d
mov edx, pe_nt_image_headers64
mov dword [rsp + 0x28], 0x2000000
mov dword [rsp + 0x20], 3
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rsi, rax
cmp rax, 0xffffffffffffffff
je 0x1400aefec
mov r8, qword [rsp + 0x48]
mov r9, r15
mov rdx, r12
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetFileTime]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rbx, qword [rbx]
cmp rbx, rdi
jne 0x1400aef22
mov rcx, qword [r13 + 8]
mov edx, 1
call qword [sym.imp.USER32.dll_EndDialog]
mov r12, qword [rsp + 0x560]
mov rsi, qword [rsp + 0x558]
mov rcx, qword [rbp + 0x410]
xor rcx, rsp
call fcn.14004ae00
mov rbx, qword [rsp + 0x568]
add rsp, 0x520
pop r15
pop r14
pop r13
pop rdi
pop rbp
ret