Function at 0x6759f8
Capabilities:
Get common file path

Disassembly:
mov eax, 0x698ac6
call fcn.006783e4
sub esp, 0x670
push ebx
push esi
push edi
mov esi, ecx
xor ebx, ebx
lea ecx, [ebp - 0x10]
xor edx, edx
inc ebx
mov dword [ebp - 4], edx
mov eax, ebx
mov dword [ebp - 0x10], edx
xchg dword [ecx], eax
push 0x104
lea eax, [ebp - 0x26c]
push eax
push edx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x26c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
mov edi, eax
lea eax, [ebp - 0x474]
push eax
xor eax, eax
push eax
push eax
push 0x1a
push eax
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
js 0x675bab
push edi
lea eax, [ebp - 0x474]
push eax
lea eax, [ebp - 0x67c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
push 0xa0
call fcn.00678281
mov edi, eax
pop ecx
mov dword [ebp - 0x18], edi
test edi, edi
je 0x675ac1
sub esp, 0x28
lea ecx, [ebp - 0x10]
mov eax, esp
mov dword [ebp - 0x1c], esp
mov dword [eax], vtable.std::_Func_impl_no_alloc_class__lambda_47bb0db757ce0198018761bd38fcd3b9___void__struct_ICoreWebView2Controller___struct_ICoreWebView2__.0
mov dword [eax + 4], ecx
mov dword [eax + 8], esi
mov dword [eax + 0x24], eax
sub esp, 0x28
mov byte [ebp - 4], 2
lea eax, [ebp + 0x10]
mov ecx, esp
push eax
call fcn.005ce5cb
push dword [ebp + 8]
mov ecx, edi
mov byte [ebp - 4], bl
call fcn.00674b15
jmp 0x675ac3
xor eax, eax
lea ecx, [ebp - 0x67c]
mov dword [esi + 0x2c], eax
mov dword [ebp - 0x40], ecx
lea ecx, [ebp - 0x48]
mov dword [ebp - 0x48], vtable.std::_Func_impl_no_alloc_class__lambda_5821aadda001d8355125256d721b3f61___long_int___.0
mov dword [ebp - 0x44], esi
mov dword [ebp - 0x24], ecx
push ecx
lea ecx, [eax + 0x70]
mov byte [ebp - 4], 3
call fcn.00674f31
lea ecx, [ebp - 0x48]
call fcn.005e322e
mov ecx, dword [esi + 0x2c]
mov byte [ebp - 4], 0
call fcn.00676ee5
jmp 0x675b33
xor eax, eax
push eax
push eax
push eax
lea eax, [ebp - 0x64]
push eax
call dword [sym.imp.USER32.dll_GetMessageW]
test eax, eax
js 0x675b43
cmp dword [ebp - 0x60], 0x12
je 0x675bab
lea eax, [ebp - 0x64]
push eax
call dword [sym.imp.USER32.dll_TranslateMessage]
lea eax, [ebp - 0x64]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageW]
lea ecx, [ebp - 0x10]
mov eax, ebx
xchg dword [ecx], eax
test eax, eax
setne al
test al, al
jne 0x675b02
cmp dword [esi + 0x28], 0
je 0x675bab
mov ecx, dword [esi + 0x24]
test ecx, ecx
je 0x675bab
and dword [ebp - 0x14], 0
lea edx, [ebp - 0x14]
mov eax, dword [ecx]
push edx
push ecx
call dword [eax + 0xc]
test eax, eax
jne 0x675bab
mov edx, dword [ebp - 0x14]
mov eax, dword [edx]
mov ecx, dword [eax + 0x30]
movzx eax, byte [ebp + 0xc]
push eax
push edx
call ecx
test eax, eax
jne 0x675bab
mov ecx, dword [ebp - 0x14]
push 0
push ecx
mov eax, dword [ecx]
call dword [eax + 0x28]
test eax, eax
jne 0x675bab
push str.window.externalinvoke:s_window.chrome.webview.postMessage_s_
lea ecx, [ebp - 0x38]
call fcn.005aa59e
lea eax, [ebp - 0x38]
mov byte [ebp - 4], 4
push eax
mov ecx, esi
call fcn.006763a6
lea ecx, [ebp - 0x38]
call fcn.005a97b4
jmp 0x675bad
xor bl, bl
lea ecx, [ebp + 0x10]
call fcn.005e322e
mov ecx, dword [ebp - 0xc]
mov al, bl
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret 0x30