Function at 0x140044e7c
Capabilities:
Get common file path

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x20], r9
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rax - 0x728]
sub rsp, 0x800
mov rbx, r9
movzx r15d, r8b
mov r14, rdx
mov rdi, rcx
xor r12d, r12d
mov dword [rsp + 0x30], r12d
lea eax, [r12 + 1]
xchg dword [rsp + 0x30], eax
mov r8d, 0x104
lea rdx, [rbp + 0xd0]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea rcx, [rbp + 0xd0]
call qword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
mov rsi, rax
lea rax, [rbp + 0x2e0]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea edx, [r12 + 0x1a]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
js 0x1400452bb
mov r8, rsi
lea rdx, [rbp + 0x2e0]
lea rcx, [rbp + 0x4f0]
call qword [sym.imp.SHLWAPI.dll_PathCombineW]
mov ecx, 0xf8
call fcn.140096cd8
mov rsi, rax
mov qword [rbp - 0x38], rax
test rax, rax
je 0x140044faf
lea rax, [rbp - 0x28]
mov qword [rbp - 0x30], rax
lea rax, [rsp + 0x30]
mov qword [rbp - 0x58], rax
mov qword [rbp - 0x50], rdi
lea rax, vtable.std::_Func_impl_no_alloc_class__lambda_b816bbb5339e8a2462825451e6050650___void__struct_ICoreWebView2Controller____ptr64__struct_ICoreWebView2____ptr64_.0
mov qword [rbp - 0x28], rax
movups xmm0, xmmword [rbp - 0x58]
movdqu xmmword [rbp - 0x20], xmm0
lea rax, [rbp - 0x28]
mov qword [rbp + 0x10], rax
lea rax, [rbp + 0x88]
mov qword [rbp - 0x60], rax
mov qword [rbp + 0xc0], r12
mov rcx, qword [rbx + 0x38]
test rcx, rcx
je 0x140044f97
mov rax, qword [rcx]
lea rdx, [rbp + 0x88]
call qword [rax]
mov qword [rbp + 0xc0], rax
lea r9, [rbp - 0x28]
lea r8, [rbp + 0x88]
mov rdx, r14
mov rcx, rsi
call fcn.140040e00
jmp 0x140044fb2
mov rax, r12
mov qword [rdi + 0x48], rax
mov qword [rbp - 0x48], rdi
lea rcx, [rbp + 0x4f0]
mov qword [rbp - 0x40], rcx
lea rcx, vtable.std::_Func_impl_no_alloc_class__lambda_43975f0d999b584067251560e9f15dfa___long_int___.0
mov qword [rbp + 0x18], rcx
movups xmm0, xmmword [rbp - 0x48]
movdqu xmmword [rbp + 0x20], xmm0
lea rcx, [rbp + 0x18]
mov qword [rbp + 0x50], rcx
lea rdx, [rbp + 0x18]
mov rcx, rax
call fcn.140047698
mov rcx, qword [rdi + 0x48]
call fcn.14004799c
jmp 0x14004502c
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, [rbp + 0x58]
call qword [sym.imp.USER32.dll_GetMessageW]
test eax, eax
js 0x140045039
cmp dword [rbp + 0x60], 0x12
je 0x1400452bb
lea rcx, [rbp + 0x58]
call qword [sym.imp.USER32.dll_TranslateMessage]
lea rcx, [rbp + 0x58]
call qword [sym.imp.USER32.dll_DispatchMessageW]
mov eax, 1
xchg dword [rsp + 0x30], eax
test eax, eax
jne 0x140044ff8
cmp qword [rdi + 0x40], r12
je 0x1400452bb
mov rcx, qword [rdi + 0x38]
test rcx, rcx
je 0x1400452bb
mov qword [rsp + 0x38], r12
mov rax, qword [rcx]
lea rdx, [rsp + 0x38]
call qword [rax + 0x18]
test eax, eax
jne 0x1400452bb
mov rcx, qword [rsp + 0x38]
mov rax, qword [rcx]
mov edx, r15d
call qword [rax + 0x60]
test eax, eax
jne 0x1400452bb
mov rcx, qword [rsp + 0x38]
mov rax, qword [rcx]
xor edx, edx
call qword [rax + 0x50]
test eax, eax
jne 0x1400452bb
xorps xmm0, xmm0
movups xmmword [rbp - 0x80], xmm0
mov qword [rbp - 0x70], r12
mov qword [rbp - 0x68], r12
lea r8d, [rax + 0x40]
lea rdx, str.window.externalinvoke:s_window.chrome.webview.postMessage_s_
lea rcx, [rbp - 0x80]
call fcn.14003e608
nop
mov rsi, qword [rbp - 0x70]
test rsi, rsi
je 0x1400451e4
lea r14, [rbp - 0x80]
cmp qword [rbp - 0x68], 0x10
cmovae r14, qword [rbp - 0x80]
mov dword [rsp + 0x28], r12d
mov qword [rsp + 0x20], r12
mov r9d, esi
mov r8, r14
mov edx, 8
mov ecx, 0xfde9
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
movsxd r15, eax
test eax, eax
jle 0x1400451e4
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x50], xmm1
mov r8, r15
xor edx, edx
lea rcx, [rsp + 0x40]
call fcn.14003ea88
lea rax, [rsp + 0x40]
cmp qword [rsp + 0x58], 8
cmovae rax, qword [rsp + 0x40]
mov dword [rsp + 0x28], r15d
mov qword [rsp + 0x20], rax
mov r9d, esi
mov r8, r14
mov edx, 8
mov ecx, 0xfde9
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
test eax, eax
jle 0x14004518e
xorps xmm0, xmm0
movups xmmword [rsp + 0x60], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x70], xmm1
mov r8d, 0x20
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x60]
call fcn.140022850
movdqa xmm0, xmmword [0x1400fc750]
movdqu xmmword [rsp + 0x50], xmm0
mov word [rsp + 0x40], r12w
jmp 0x140045200
mov rdx, qword [rsp + 0x58]
cmp rdx, 8
jb 0x1400451d0
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400451cb
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400452f8
call fcn.140096c48
movdqa xmm0, xmmword [0x1400fc750]
movdqu xmmword [rsp + 0x50], xmm0
mov word [rsp + 0x40], r12w
xorps xmm0, xmm0
movups xmmword [rsp + 0x60], xmm0
movdqa xmm1, xmmword [0x1400fc750]
movdqu xmmword [rsp + 0x70], xmm1
mov word [rsp + 0x60], r12w
mov rcx, qword [rdi + 0x38]
mov rax, qword [rcx]
lea rdx, [rsp + 0x60]
cmp qword [rsp + 0x78], 8
cmovae rdx, qword [rsp + 0x60]
xor r8d, r8d
call qword [rax + 0xd8]
nop
mov rdx, qword [rsp + 0x78]
cmp rdx, 8
jb 0x140045265
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004525f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400452fe
call fcn.140096c48
nop
mov rdx, qword [rbp - 0x68]
cmp rdx, 0x10
jb 0x14004529d
inc rdx
mov rcx, qword [rbp - 0x80]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140045297
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400452f2
call fcn.140096c48
nop
mov rcx, qword [rbx + 0x38]
test rcx, rcx
je 0x1400452b7
mov r8, qword [rcx]
cmp rcx, rbx
setne dl
call qword [r8 + 0x20]
mov qword [rbx + 0x38], r12
mov al, 1
jmp 0x1400452d6
mov rcx, qword [rbx + 0x38]
test rcx, rcx
je 0x1400452d4
cmp rcx, rbx
mov rax, qword [rcx]
setne dl
call qword [rax + 0x20]
mov qword [rbx + 0x38], r12
xor al, al
lea r11, [rsp + 0x800]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret
call fcn.14000a3c4
nop
call fcn.14000a3c4
int3
call fcn.14000a3c4
int3