Function at 0x14002a670
Capabilities:
Get common file path
Get explorer pid

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
mov qword [rsp + 0x20], r14
push rbp
lea rbp, [rsp - 0x3e0]
sub rsp, 0x4e0
mov rax, qword [0x1400be080]
xor rax, rsp
mov qword [rbp + 0x3d0], rax
xor esi, esi
mov eax, esi
lea rbx, [0x1400dcb50]
mov rcx, rbx
cmp dword [rcx], 0x10
je 0x14002a7cf
inc eax
add rcx, 0x30
cmp eax, 0x1f
jb 0x14002a6b3
mov rbx, rsi
lea rdi, [rsp + 0x78]
xor eax, eax
mov ecx, Ordinal_50
rep stosb byte [rdi], al
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
mov qword [rsp + 0x20], rsi
mov r9d, Ordinal_50
lea r8, [rsp + 0x78]
xor edx, edx
call rbx
test eax, eax
jne 0x14002a980
mov rdi, qword [rbp - 0x60]
test edi, edi
je 0x14002a980
mov r8d, edi
xor edx, edx
mov ecx, 0x1000
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x14002a956
mov r9d, 0x104
lea r8, [rbp + 0x1c0]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_K32GetModuleFileNameExW]
test eax, eax
je 0x14002a94d
mov edx, 0x104
lea rcx, [rbp - 0x50]
call qword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
test eax, eax
je 0x14002a94d
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rdx, [rbp - 0x50]
lea rcx, [rsp + 0x38]
call fcn.14002abe0
nop
lea rcx, [rsp + 0x78]
call fcn.14002b1b0
nop
mov rdx, rax
lea rcx, [rsp + 0x38]
call fcn.14002a9c0
mov r14, rax
mov rdx, qword [rbp - 0x70]
cmp rdx, 8
jb 0x14002a7f2
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002a7ed
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14002a7ed
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
cdqe
lea rcx, [rax + rax*2]
add rcx, rcx
cmp byte [rbx + rcx*8 + 0x24], sil
je 0x14002a6c7
mov rbx, qword [rbx + rcx*8 + 0x28]
jmp 0x14002a6ca
call fcn.14008f720
movdqa xmm0, xmmword [0x1400aee80]
movdqu xmmword [rbp - 0x78], xmm0
mov word [rsp + 0x78], si
lea rax, [rsp + 0x38]
cmp rax, r14
je 0x14002a85f
mov rdx, qword [r14 + 0x10]
cmp qword [r14 + 0x18], 8
jb 0x14002a81c
mov r14, qword [r14]
mov rax, qword [rsp + 0x50]
cmp rdx, rax
ja 0x14002a852
lea rbx, [rsp + 0x38]
cmp rax, 8
cmovae rbx, qword [rsp + 0x38]
mov qword [rsp + 0x48], rdx
lea rdi, [rdx + rdx]
mov r8, rdi
mov rdx, r14
mov rcx, rbx
call sub.VCRUNTIME140.dll_memmove
mov word [rdi + rbx], si
jmp 0x14002a85f
mov r9, r14
lea rcx, [rsp + 0x38]
call fcn.14002aef0
lea rdx, [rbp + 0x1c0]
lea rcx, [rsp + 0x58]
call fcn.14002abe0
nop
lea rdx, [rsp + 0x58]
cmp qword [rsp + 0x70], 8
cmovae rdx, qword [rsp + 0x58]
lea rcx, [rsp + 0x38]
cmp qword [rsp + 0x50], 8
cmovae rcx, qword [rsp + 0x38]
call qword [sym.imp.MSVCP140.dll__Equivalent]
test eax, eax
js 0x14002a9ae
mov edi, esi
test eax, eax
setg dil
xor edi, 1
mov rdx, qword [rsp + 0x70]
cmp rdx, 8
jb 0x14002a8f1
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002a8ec
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14002a8ec
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14008f720
movdqa xmm0, xmmword [0x1400aee80]
movdqu xmmword [rsp + 0x68], xmm0
mov word [rsp + 0x58], si
mov rdx, qword [rsp + 0x50]
cmp rdx, 8
jb 0x14002a949
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002a944
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14002a944
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14008f720
mov eax, edi
jmp 0x14002a982
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [rsp + 0x30], esi
call qword [sym.imp.USER32.dll_GetShellWindow]
mov rcx, rax
lea rdx, [rsp + 0x30]
call qword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov eax, dword [rsp + 0x30]
test eax, eax
je 0x14002a980
cmp edi, eax
setne sil
mov eax, esi
jmp 0x14002a982
xor eax, eax
mov rcx, qword [rbp + 0x3d0]
xor rcx, rsp
call fcn.14008f700
lea r11, [rsp + 0x4e0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov r14, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
call fcn.14002a590
nop
int3