Function at 0x140066620
Capabilities:
Get process image filename

Disassembly:
mov qword [rsp + 0x20], rbx
mov qword [rsp + 0x18], r8
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rbp
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0x37]
sub rsp, 0xa0
mov rax, qword [0x140241cc0]
xor rax, rsp
mov qword [rbp + 0x2f], rax
mov ebx, dword [rbp + 0x6f]
mov rdi, qword [rbp + 0x67]
mov qword [rbp + 7], rdi
mov dword [rbp + 7], ebx
mov r14, qword [rbp + 0x77]
xor r15d, r15d
test r14, r14
je 0x140066672
mov byte [r14], 1
test ebx, ebx
jne 0x14006669c
xorps xmm0, xmm0
movups xmmword [rdi], xmm0
mov qword [rdi + 0x10], r15
mov qword [rdi + 0x18], r15
lea r8d, [rbx + 0x13]
lea rdx, str.System_Idle_Process
mov rcx, rdi
call fcn.140025740
jmp 0x140066809
cmp ebx, 4
jne 0x1400666c7
xorps xmm0, xmm0
movups xmmword [rdi], xmm0
mov qword [rdi + 0x10], r15
mov qword [rdi + 0x18], r15
lea r8d, [rbx + 2]
lea rdx, str.System
mov rcx, rdi
call fcn.140025740
jmp 0x140066809
mov edx, 4
mov rax, qword gs:[0x58]
mov rcx, qword [rax]
mov eax, dword [rdx + rcx]
cmp dword [0x14024da08], eax
jle 0x140066720
lea rcx, [0x14024da08]
call fcn.140144780
cmp dword [0x14024da08], 0xffffffff
jne 0x140066720
call fcn.1400a5370
mov edx, 0x400
mov r8d, 0x1000
test al, al
cmovne edx, r8d
mov dword [0x14024da0c], edx
lea rcx, [0x14024da08]
call fcn.140144710
mov r8d, ebx
xor edx, edx
mov ecx, dword [0x14024da0c]
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rbx, rax
mov qword [rbp + 0x27], rax
test rax, rax
je 0x140066875
mov dword [rbp - 1], r15d
call fcn.140066490
test rax, rax
je 0x140066773
mov qword [rsp + 0x20], r15
mov r9d, 4
lea r8, [rbp - 1]
lea edx, [r9 + 0x47]
mov rcx, rbx
call qword [case.0x1400cd6b1.0]
test eax, eax
je 0x140066773
mov dword [rbp - 1], r15d
mov ecx, 0x10000
call fcn.140144de0
mov rsi, rax
mov qword [rbp + 0x17], rax
mov r8d, 0x8000
mov rdx, rax
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_K32GetProcessImageFileNameW]
test eax, eax
jne 0x1400667bf
cmp dword [rbp - 1], 1
jne 0x14006682f
xorps xmm0, xmm0
movups xmmword [rdi], xmm0
mov qword [rdi + 0x10], r15
mov qword [rdi + 0x18], r15
lea r8d, [rax + 0xb]
lea rdx, [0x14020b328]
jmp 0x1400667ee
test r14, r14
je 0x1400667c8
mov byte [r14], 0
xorps xmm0, xmm0
movups xmmword [rdi], xmm0
mov qword [rdi + 0x10], r15
mov qword [rdi + 0x18], r15
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp word [rsi + r8*2], 0
jne 0x1400667e0
mov rdx, rsi
mov rcx, rdi
call fcn.140025740
nop
mov rcx, rsi
call fcn.140144330
nop
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rax, rdi
mov rcx, qword [rbp + 0x2f]
xor rcx, rsp
call fcn.140144310
mov rbx, qword [rsp + 0xe8]
add rsp, 0xa0
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
lea rax, str.Unable_to_get_image_path_of_process__
mov qword [rbp - 0x39], rax
mov qword [rbp - 0x31], 0x27
call qword [sym.imp.KERNEL32.dll_GetLastError]
movaps xmm0, xmmword [rbp - 0x39]
movdqa xmmword [rbp - 0x39], xmm0
lea r9, [rbp + 7]
lea r8, [rbp - 0x39]
mov edx, eax
lea rcx, [rbp - 0x21]
call fcn.140051920
lea rdx, [0x14023da00]
lea rcx, [rbp - 0x21]
call fcn.14015a550
nop
lea rax, str.Unable_to_open_process__
mov qword [rbp + 0x17], rax
mov qword [rbp + 0x1f], 0x1a
call qword [sym.imp.KERNEL32.dll_GetLastError]
movaps xmm0, xmmword [rbp + 0x17]
movdqa xmmword [rbp - 0x39], xmm0
lea r9, [rbp + 7]
lea r8, [rbp - 0x39]
mov edx, eax
lea rcx, [rbp - 0x21]
call fcn.140051920
lea rdx, [0x14023da00]
lea rcx, [rbp - 0x21]
call fcn.14015a550
int3