Function at 0x140007540
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 [0x14001e010]
xor rax, rsp
mov qword [rbp + 0x3d0], rax
xor esi, esi
mov eax, esi
lea rbx, [0x140036180]
mov rcx, rbx
cmp dword [rcx], 0x10
je 0x14000769f
inc eax
add rcx, 0x30
cmp eax, 0x1f
jb 0x140007583
mov rbx, rsi
lea rdi, [rsp + 0x78]
xor eax, eax
mov ecx, 0x30
rep stosb byte [rdi], al
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
mov qword [rsp + 0x20], rsi
mov r9d, 0x30
lea r8, [rsp + 0x78]
xor edx, edx
call rbx
test eax, eax
jne 0x14000784d
mov rdi, qword [rbp - 0x60]
test edi, edi
je 0x14000784d
mov r8d, edi
xor edx, edx
mov ecx, 0x1000
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x140007823
mov r9d, 0x104
lea r8, [rbp + 0x1c0]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_K32GetModuleFileNameExW]
test eax, eax
je 0x14000781a
mov edx, 0x104
lea rcx, [rbp - 0x50]
call qword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
test eax, eax
je 0x14000781a
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rdx, [rbp - 0x50]
lea rcx, [rsp + 0x38]
call fcn.140007ab0
nop
lea rcx, [rsp + 0x78]
call fcn.140007dd0
nop
mov rdx, rax
lea rcx, [rsp + 0x38]
call fcn.140007890
mov r14, rax
mov rdx, qword [rbp - 0x70]
cmp rdx, 8
jb 0x1400076c2
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400076bd
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400076bd
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 0x140007597
mov rbx, qword [rbx + rcx*8 + 0x28]
jmp 0x14000759a
call fcn.140011710
movdqa xmm0, xmmword [0x140019bf0]
movdqu xmmword [rbp - 0x78], xmm0
mov word [rsp + 0x78], si
lea rax, [rsp + 0x38]
cmp rax, r14
je 0x14000772f
mov rdx, qword [r14 + 0x10]
cmp qword [r14 + 0x18], 8
jb 0x1400076ec
mov r14, qword [r14]
mov rax, qword [rsp + 0x50]
cmp rdx, rax
ja 0x140007722
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 0x14000772f
mov r9, r14
lea rcx, [rsp + 0x38]
call fcn.140008c20
lea rdx, [rbp + 0x1c0]
lea rcx, [rsp + 0x58]
call fcn.140007ab0
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 0x14000787b
mov edi, esi
test eax, eax
setle dil
mov rdx, qword [rsp + 0x70]
cmp rdx, 8
jb 0x1400077be
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400077b9
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400077b9
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140011710
movdqa xmm0, xmmword [0x140019bf0]
movdqu xmmword [rsp + 0x68], xmm0
mov word [rsp + 0x58], si
mov rdx, qword [rsp + 0x50]
cmp rdx, 8
jb 0x140007816
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140007811
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140007811
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140011710
mov eax, edi
jmp 0x14000784f
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 0x14000784d
cmp edi, eax
setne sil
mov eax, esi
jmp 0x14000784f
xor eax, eax
mov rcx, qword [rbp + 0x3d0]
xor rcx, rsp
call fcn.1400116f0
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.140007460
nop
int3