Function at 0x14003fda4
Capabilities:
Get process image filename

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0x370]
sub rsp, 0x470
mov rax, qword [0x1400ade58]
xor rax, rsp
mov qword [rbp + 0x360], rax
mov rsi, rdx
xor r14d, r14d
mov qword [rsp + 0x20], r14
lea rax, fcn.1400137b0
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x30], r14
mov rax, qword [rcx]
movabs r10, 0xda01ae397addf970
mov rax, qword [rax + 0x10]
call qword [case.0x1400620e5.0]
mov r8d, eax
lea edx, [r14 + 1]
mov ecx, 0x1000
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_1.dll_OpenProcess]
nop dword [rax + rax]
mov qword [rsp + 0x30], rax
test rax, rax
jne 0x14003fe56
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
mov eax, 0x80004005
test ebx, ebx
cmovns ebx, eax
test ebx, ebx
js 0x14003ff8c
mov rax, qword [rsp + 0x30]
mov dword [rsp + 0x38], 0x104
lea r8, [rsp + 0x40]
lea rdx, [rsp + 0x38]
mov rcx, rax
call qword [sym.imp.api_ms_win_appmodel_runtime_l1_1_0.dll_GetPackageFamilyName]
nop dword [rax + rax]
movzx ecx, ax
or ecx, 0x80070000
test eax, eax
cmovle ecx, eax
or rdi, 0xffffffffffffffff
mov r15d, 0xffffffff
test ecx, ecx
js 0x14003fee2
lea rax, [rsp + 0x40]
mov rbx, rdi
inc rbx
cmp word [rax + rbx*2], r14w
jne 0x14003fe9b
cmp rbx, r15
ja 0x14003fee2
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.api_ms_win_core_winrt_string_l1_1_0.dll_WindowsDeleteString]
nop dword [rax + rax]
mov qword [rsp + 0x20], r14
lea r8, [rsp + 0x20]
mov edx, ebx
lea rcx, [rsp + 0x40]
call qword [sym.imp.api_ms_win_core_winrt_string_l1_1_0.dll_WindowsCreateString]
nop dword [rax + rax]
mov ebx, eax
test eax, eax
jns 0x14003ff7f
mov r8d, 0x104
lea rdx, [rbp + 0x150]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.api_ms_win_core_psapi_l1_1_0.dll_K32GetProcessImageFileNameW]
nop dword [rax + rax]
lea rcx, [rbp + 0x150]
call qword [sym.imp.api_ms_win_core_shlwapi_legacy_l1_1_0.dll_PathFindFileNameW]
nop dword [rax + rax]
mov rbx, rax
test rax, rax
je 0x14003ff49
inc rdi
cmp word [rax + rdi*2], r14w
jne 0x14003ff1b
cmp rdi, r15
ja 0x14003ff42
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.api_ms_win_core_winrt_string_l1_1_0.dll_WindowsDeleteString]
nop dword [rax + rax]
mov edx, edi
mov rcx, rbx
jmp 0x14003ff63
mov ebx, 0x80070216
jmp 0x14003ff7b
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.api_ms_win_core_winrt_string_l1_1_0.dll_WindowsDeleteString]
nop dword [rax + rax]
xor edx, edx
lea rcx, [0x14008f550]
mov qword [rsp + 0x20], r14
lea r8, [rsp + 0x20]
call qword [sym.imp.api_ms_win_core_winrt_string_l1_1_0.dll_WindowsCreateString]
nop dword [rax + rax]
mov ebx, eax
test ebx, ebx
js 0x14003ff8c
mov rax, qword [rsp + 0x20]
mov qword [rsp + 0x20], r14
mov qword [rsi], rax
lea rax, fcn.1400137b0
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x30], r14
je 0x14003ffb2
lea rcx, [rsp + 0x28]
call fcn.1400137b0
test al, al
je 0x14003ffec
mov qword [rsp + 0x30], r14
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.api_ms_win_core_winrt_string_l1_1_0.dll_WindowsDeleteString]
nop dword [rax + rax]
mov eax, ebx
mov rcx, qword [rbp + 0x360]
xor rcx, rsp
call fcn.14007c650
mov rbx, qword [rsp + 0x4b0]
add rsp, 0x470
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
nop
movzx ecx, ax
or ecx, 0x80070000
test eax, eax
cmovle ecx, eax
call fcn.140013788
int3