Function at 0x140030510
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 [0x1400c4080]
xor rax, rsp
mov qword [rbp + 0x3d0], rax
xor esi, esi
mov eax, esi
lea rbx, [0x1400e2b80]
mov rcx, rbx
cmp dword [rcx], 0x10
je 0x14003066f
inc eax
add rcx, 0x30
cmp eax, 0x1f
jb 0x140030553
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 0x140030820
mov rdi, qword [rbp - 0x60]
test edi, edi
je 0x140030820
mov r8d, edi
xor edx, edx
mov ecx, 0x1000
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x1400307f6
mov r9d, 0x104
lea r8, [rbp + 0x1c0]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_K32GetModuleFileNameExW]
test eax, eax
je 0x1400307ed
mov edx, 0x104
lea rcx, [rbp - 0x50]
call qword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
test eax, eax
je 0x1400307ed
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rdx, [rbp - 0x50]
lea rcx, [rsp + 0x38]
call fcn.140030a80
nop
lea rcx, [rsp + 0x78]
call fcn.140031200
nop
mov rdx, rax
lea rcx, [rsp + 0x38]
call fcn.140030860
mov r14, rax
mov rdx, qword [rbp - 0x70]
cmp rdx, 8
jb 0x140030692
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14003068d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14003068d
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 0x140030567
mov rbx, qword [rbx + rcx*8 + 0x28]
jmp 0x14003056a
call fcn.140095770
movdqa xmm0, xmmword [0x1400b4820]
movdqu xmmword [rbp - 0x78], xmm0
mov word [rsp + 0x78], si
lea rax, [rsp + 0x38]
cmp rax, r14
je 0x1400306ff
mov rdx, qword [r14 + 0x10]
cmp qword [r14 + 0x18], 8
jb 0x1400306bc
mov r14, qword [r14]
mov rax, qword [rsp + 0x50]
cmp rdx, rax
ja 0x1400306f2
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 0x1400306ff
mov r9, r14
lea rcx, [rsp + 0x38]
call fcn.140030f40
lea rdx, [rbp + 0x1c0]
lea rcx, [rsp + 0x58]
call fcn.140030a80
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 0x14003084e
mov edi, esi
test eax, eax
setg dil
xor edi, 1
mov rdx, qword [rsp + 0x70]
cmp rdx, 8
jb 0x140030791
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14003078c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14003078c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140095770
movdqa xmm0, xmmword [0x1400b4820]
movdqu xmmword [rsp + 0x68], xmm0
mov word [rsp + 0x58], si
mov rdx, qword [rsp + 0x50]
cmp rdx, 8
jb 0x1400307e9
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400307e4
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400307e4
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140095770
mov eax, edi
jmp 0x140030822
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 0x140030820
cmp edi, eax
setne sil
mov eax, esi
jmp 0x140030822
xor eax, eax
mov rcx, qword [rbp + 0x3d0]
xor rcx, rsp
call fcn.140095750
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.140030430
nop
int3