Function at 0x14002d2b0
Capabilities:
Check for time delay via gettickcount

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push rbp
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xb0
mov rax, qword [0x140089010]
xor rax, rsp
mov qword [rbp + 0x37], rax
mov rsi, rcx
cmp qword [rcx + 0x380], 0
je 0x14002d4e2
cmp dword [rcx + 0x348], 0
je 0x14002d4e2
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, eax
sub ecx, dword [rsi + 0x34c]
xor edx, edx
mov eax, 0x3e8
div dword [rsi + 0x348]
cmp ecx, eax
jb 0x14002d4e2
cmp byte [rsi + 0x354], 0
jne 0x14002d4e2
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [rsi + 0x34c], eax
and qword [rbp - 0x39], 0
lea rdx, [rsi + 0x120]
lea rcx, [rbp + 0xf]
call qword [sym.imp.Cmmlib.dll_public:_void___cdecl_Cmm::CStringT_wchar_t_::constructor_class_Cmm::CStringT_wchar_t__const____ptr64____ptr64]
nop
xor edx, edx
lea ecx, [rdx + 0x42]
call qword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov r14, rax
test rax, rax
je 0x14002d4c0
mov rcx, qword [rbp - 0x39]
and qword [rbp - 0x39], 0
test rcx, rcx
je 0x14002d381
mov rdx, qword [rcx]
mov rax, qword [rdx + 0x10]
call qword [case.0x14000ba18.0]
nop
lea r8, [rbp - 0x39]
mov edi, 1
mov edx, edi
mov rcx, r14
call qword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
test eax, eax
jns 0x14002d3a7
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_GlobalFree]
jmp 0x14002d4c0
mov byte [rsi + 0x354], dil
mov r15, qword [rsi + 0x380]
lea rdx, [rbp + 0xf]
lea rcx, [rbp - 0x29]
call qword [sym.imp.Cmmlib.dll_public:_void___cdecl_Cmm::CStringT_wchar_t_::constructor_class_Cmm::CStringT_wchar_t__const____ptr64____ptr64]
nop
mov rcx, qword [rbp - 0x39]
mov qword [rbp - 1], rcx
test rcx, rcx
je 0x14002d3df
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x14000ba18.0]
nop
mov qword [rbp + 7], r14
lea rdx, [0x140059530]
mov ecx, 0x48
call fcn.14005027c
mov rbx, rax
test rax, rax
je 0x14002d451
mov dword [rax + 0xc], edi
lea rax, vtable.Microsoft::WRL::RuntimeClass_struct_Microsoft::WRL::RuntimeClassFlags_2___struct_ICoreWebView2CapturePreviewCompletedHandler_.0
mov qword [rbx], rax
mov rcx, qword [0x14009a888]
test rcx, rcx
je 0x14002d422
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x14000ba18.0]
lea rdx, [rbp - 0x29]
lea rcx, [rbx + 0x10]
call qword [sym.imp.Cmmlib.dll_public:_void___cdecl_Cmm::CStringT_wchar_t_::constructor_class_Cmm::CStringT_wchar_t_____ptr64____ptr64]
mov rax, qword [rbp - 1]
and qword [rbp - 1], 0
mov qword [rbx + 0x38], rax
mov rax, qword [rbp + 7]
mov qword [rbx + 0x40], rax
lea rax, method.Microsoft::WRL::RuntimeClass_struct_Microsoft::WRL::RuntimeClassFlags_2___struct_ICoreWebView2CapturePreviewCompletedHandler_.virtual_0
mov qword [rbx], rax
jmp 0x14002d453
xor ebx, ebx
mov qword [rbp - 0x31], rbx
mov rax, qword [r15]
mov r9, rbx
mov r8, qword [rbp - 0x39]
xor edx, edx
mov rcx, r15
mov rax, qword [rax + 0xf0]
call qword [case.0x14000ba18.0]
mov edi, eax
test rbx, rbx
je 0x14002d48b
mov rcx, qword [rbx]
mov rax, qword [rcx + 0x10]
mov rcx, rbx
call qword [case.0x14000ba18.0]
nop
mov rcx, qword [rbp - 1]
test rcx, rcx
je 0x14002d4a2
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [case.0x14000ba18.0]
nop
lea rcx, [rbp - 0x29]
call qword [sym.imp.Cmmlib.dll_public_virtual:_void___cdecl_Cmm::CStringT_wchar_t_::destructor_void____ptr64]
test edi, edi
jns 0x14002d4c0
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_GlobalFree]
mov byte [rsi + 0x354], 0
lea rcx, [rbp + 0xf]
call qword [sym.imp.Cmmlib.dll_public_virtual:_void___cdecl_Cmm::CStringT_wchar_t_::destructor_void____ptr64]
nop
mov rcx, qword [rbp - 0x39]
test rcx, rcx
je 0x14002d4e2
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [case.0x14000ba18.0]
nop
mov rcx, qword [rbp + 0x37]
xor rcx, rsp
call fcn.14004fc30
lea r11, [rsp + 0xb0]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret