Function at 0x140004260
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r14
sub rsp, 0x90
mov rax, qword [0x140021010]
xor rax, rsp
mov qword [rsp + 0x80], rax
mov r14d, r8d
mov rax, rdx
mov rsi, rcx
mov qword [rcx + 8], rdx
mov r9d, 0x100
lea r8, [0x1400254b0]
mov edx, 0x67
mov rcx, rax
call qword [sym.imp.USER32.dll_LoadStringW]
xor ebp, ebp
mov edi, ebp
lea rdx, [0x140015808]
lea ecx, [rbp + 0x18]
call fcn.140012c10
mov rbx, rax
test rax, rax
je 0x1400042fe
mov dword [rax + 0xc], 1
lea rax, vtable.Microsoft::WRL::RuntimeClass_struct_Microsoft::WRL::RuntimeClassFlags_2___struct_ICoreWebView2WebMessageReceivedEventHandler_.0
mov qword [rbx], rax
mov rcx, qword [0x1400258c8]
test rcx, rcx
je 0x1400042ed
mov rax, qword [rcx]
call qword [rax + 8]
mov qword [rbx + 0x10], rsi
lea rax, method.Microsoft::WRL::RuntimeClass_struct_Microsoft::WRL::RuntimeClassFlags_2___struct_ICoreWebView2WebMessageReceivedEventHandler_.virtual_0
mov qword [rbx], rax
mov rdi, rbx
mov rcx, qword [rsi + 0x90]
mov qword [rsi + 0x90], rdi
test rcx, rcx
je 0x140004317
mov rax, qword [rcx]
call qword [rax + 0x10]
mov qword [rsp + 0x58], rbp
mov rax, qword [rsi + 8]
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x48], rbp
mov qword [rsp + 0x40], rbp
mov dword [rsp + 0x38], 0x320
mov dword [rsp + 0x30], 0x4b0
mov dword [rsp + 0x28], 0x64
mov dword [rsp + 0x20], 0x64
mov r9d, 0xcf0000
lea r8, [0x1400254b0]
lea rdx, [0x1400256b0]
xor ecx, ecx
call qword [sym.imp.USER32.dll_CreateWindowExW]
mov qword [rsi + 0x10], rax
test rax, rax
je 0x1400044fa
mov r8, rsi
mov edx, 0xffffffeb
mov rcx, rax
call qword [sym.imp.USER32.dll_SetWindowLongPtrW]
mov rcx, rsi
call fcn.14000b070
mov edx, r14d
mov rcx, qword [rsi + 0x10]
call qword [sym.imp.USER32.dll_ShowWindow]
mov rcx, qword [rsi + 0x10]
call qword [sym.imp.USER32.dll_UpdateWindow]
lea rcx, [rsp + 0x60]
call fcn.14000b340
nop
mov rcx, qword [rsp + 0x70]
mov rdx, qword [rsp + 0x78]
mov rax, rdx
sub rax, rcx
cmp rax, 0xa
jb 0x1400043fd
lea rdi, [rcx + 0xa]
mov qword [rsp + 0x70], rdi
lea rbx, [rsp + 0x60]
cmp rdx, 8
cmovae rbx, qword [rsp + 0x60]
lea rcx, [rbx + rcx*2]
mov r8d, 0x14
lea rdx, str.User_Data
call sub.VCRUNTIME140.dll_memmove
mov word [rbx + rdi*2], bp
jmp 0x14000441c
mov qword [rsp + 0x20], 0xa
lea r9, str.User_Data
mov edx, 0xa
lea rcx, [rsp + 0x60]
call fcn.14000dbb0
mov rdi, rbp
lea rdx, [0x140015808]
mov ecx, 0x18
call fcn.140012c10
mov rbx, rax
test rax, rax
je 0x14000446c
mov dword [rax + 0xc], 1
lea rax, vtable.Microsoft::WRL::RuntimeClass_struct_Microsoft::WRL::RuntimeClassFlags_2___struct_ICoreWebView2CreateCoreWebView2EnvironmentCompletedHandler_.0
mov qword [rbx], rax
mov rcx, qword [0x1400258c8]
test rcx, rcx
je 0x14000445b
mov rax, qword [rcx]
call qword [rax + 8]
mov qword [rbx + 0x10], rsi
lea rax, method.Microsoft::WRL::RuntimeClass_struct_Microsoft::WRL::RuntimeClassFlags_2___struct_ICoreWebView2CreateCoreWebView2EnvironmentCompletedHandler_.virtual_0
mov qword [rbx], rax
mov rdi, rbx
lea rdx, [rsp + 0x60]
cmp qword [rsp + 0x78], 8
cmovae rdx, qword [rsp + 0x60]
mov r9, rdi
xor r8d, r8d
xor ecx, ecx
call qword [sym.imp.WebView2Loader.dll_CreateCoreWebView2EnvironmentWithOptions]
mov ebx, eax
test rdi, rdi
je 0x14000449b
mov rdx, qword [rdi]
mov rcx, rdi
call qword [rdx + 0x10]
test ebx, ebx
jns 0x1400044ae
lea rcx, str.Content_WebViews_environment_creation_failed_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
jmp 0x1400044b3
mov ebp, 1
mov rdx, qword [rsp + 0x78]
cmp rdx, 8
jb 0x1400044f8
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400044f3
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400044f3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140012e74
mov eax, ebp
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.140012940
lea r11, [rsp + 0x90]
mov rbx, qword [r11 + 0x28]
mov rbp, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret