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

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
lea rbp, [rsp - 0x3e0]
sub rsp, 0x4e0
mov rax, qword [0x140159080]
xor rax, rsp
mov qword [rbp + 0x3d0], rax
xor esi, esi
mov eax, esi
lea rbx, [0x140173da0]
mov rcx, rbx
nop
cmp dword [rcx], 0x10
je 0x14008f93c
inc eax
add rcx, 0x30
cmp eax, 0x1f
jb 0x14008f820
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 0x14008faed
mov rdi, qword [rbp - 0x60]
test edi, edi
je 0x14008faed
mov r8d, edi
xor edx, edx
mov ecx, 0x1000
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x14008fac3
mov r9d, 0x104
lea r8, [rbp + 0x1c0]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_K32GetModuleFileNameExW]
test eax, eax
je 0x14008faba
mov edx, 0x104
lea rcx, [rbp - 0x50]
call qword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
test eax, eax
je 0x14008faba
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rdx, [rbp - 0x50]
lea rcx, [rsp + 0x38]
call fcn.14008fd40
nop
lea rcx, [rsp + 0x78]
call fcn.140090310
nop
mov rdx, rax
lea rcx, [rsp + 0x38]
call fcn.14008fb20
mov rdi, rax
mov rdx, qword [rbp - 0x70]
cmp rdx, 8
jb 0x14008f95f
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14008f95a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14008f95a
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 0x14008f834
mov rbx, qword [rbx + rcx*8 + 0x28]
jmp 0x14008f837
call fcn.1400f48d0
movdqa xmm0, xmmword [0x140142120]
movdqu xmmword [rbp - 0x78], xmm0
mov word [rsp + 0x78], si
lea rax, [rsp + 0x38]
cmp rax, rdi
je 0x14008f9cc
mov r9, rdi
cmp qword [rdi + 0x18], 8
jb 0x14008f988
mov r9, qword [rdi]
mov rdx, qword [rdi + 0x10]
mov rax, qword [rsp + 0x50]
cmp rdx, rax
ja 0x14008f9c2
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, r9
mov rcx, rbx
call sub.VCRUNTIME140.dll_memmove
mov word [rdi + rbx], si
jmp 0x14008f9cc
lea rcx, [rsp + 0x38]
call fcn.140090050
lea rdx, [rbp + 0x1c0]
lea rcx, [rsp + 0x58]
call fcn.14008fd40
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 0x14008fb17
mov edi, esi
test eax, eax
setg dil
xor edi, 1
mov rdx, qword [rsp + 0x70]
cmp rdx, 8
jb 0x14008fa5e
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14008fa59
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14008fa59
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400f48d0
movdqa xmm0, xmmword [0x140142120]
movdqu xmmword [rsp + 0x68], xmm0
mov word [rsp + 0x58], si
mov rdx, qword [rsp + 0x50]
cmp rdx, 8
jb 0x14008fab6
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14008fab1
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14008fab1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400f48d0
mov eax, edi
jmp 0x14008faef
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 0x14008faed
cmp edi, eax
setne sil
mov eax, esi
jmp 0x14008faef
xor eax, eax
mov rcx, qword [rbp + 0x3d0]
xor rcx, rsp
call fcn.1400f48b0
lea r11, [rsp + 0x4e0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret
call fcn.14008f6f0
nop
int3