Function at 0x1401bafc0
Capabilities:
Get process image filename

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
mov eax, 0x2140
call fcn.1401bf960
sub rsp, rax
mov qword [rsp + 0x2128], 0xfffffffffffffffe
mov rax, qword [0x14025e510]
xor rax, rsp
mov qword [rsp + 0x2130], rax
cmp qword [rsp + 0x2158], 0
jne 0x1401bb008
xor eax, eax
jmp 0x1401bb420
mov rax, qword [rsp + 0x2158]
movzx eax, word [rax + 0x10]
test eax, eax
je 0x1401bb35e
mov rax, qword [rsp + 0x2158]
mov r8d, dword [rax]
xor edx, edx
mov ecx, 0x400
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
je 0x1401bb359
xor eax, eax
mov word [rsp + 0x40], ax
lea rdi, [rsp + 0x42]
xor eax, eax
mov ecx, 0x1ffe
rep stosb byte [rdi], al
call fcn.140008c24
mov rdx, rax
lea rcx, [rsp + 0x28]
call fcn.140005310
nop
mov r8d, 0x1000
lea rdx, [rsp + 0x40]
mov rcx, qword [rsp + 0x20]
call sub.PSAPI.DLL_GetProcessImageFileNameW
mov dword [rsp + 0x2060], eax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x2040], eax
lea r8, [rsp + 0x28]
lea rdx, [rsp + 0x40]
mov rcx, qword [rsp + 0x2150]
call fcn.1401bae10
xor edx, edx
mov word [rsp + 0x2048], dx
lea rdi, [rsp + 0x204a]
xor eax, eax
mov ecx, 0x12
rep stosb byte [rdi], al
mov r8d, 8
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x2048]
call fcn.14002fce0
lea rdx, str.___
lea rcx, [rsp + 0x2048]
call qword [sym.imp.SHLWAPI.dll_StrCmpW]
test eax, eax
jne 0x1401bb10b
mov r8d, 4
xor edx, edx
lea rcx, [rsp + 0x28]
call fcn.140005640
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x2108], rax
mov rdx, qword [rsp + 0x2150]
add rdx, 0x108
mov r9d, 1
mov r8, qword [rsp + 0x2108]
mov rcx, qword [rsp + 0x2150]
call fcn.1401babf0
test eax, eax
jne 0x1401bb32d
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x2110], rax
mov rdx, qword [rsp + 0x2150]
add rdx, 0xe0
mov r9d, 1
mov r8, qword [rsp + 0x2110]
mov rcx, qword [rsp + 0x2150]
call fcn.1401babf0
test eax, eax
jne 0x1401bb1c4
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x2118], rax
mov rdx, qword [rsp + 0x2150]
add rdx, 0xb8
mov r9d, 1
mov r8, qword [rsp + 0x2118]
mov rcx, qword [rsp + 0x2150]
call fcn.1401babf0
test eax, eax
je 0x1401bb32d
mov rdx, qword [rsp + 0x2150]
add rdx, 0x168
xor r8d, r8d
lea rcx, [rsp + 0x2070]
call fcn.14000a314
nop
mov edx, 0xffffffff
lea rcx, [rsp + 0x2070]
call fcn.14000a278
mov rax, qword [rsp + 0x2150]
mov eax, dword [rax + 0x38]
add eax, 1
mov ecx, eax
mov eax, 4
mul rcx
mov rcx, rax
mov rax, 0xffffffffffffffff
cmovo rcx, rax
call fcn.140008c1c
mov qword [rsp + 0x20b0], rax
mov rax, qword [rsp + 0x20b0]
mov qword [rsp + 0x2068], rax
mov dword [rsp + 0x2088], 0
jmp 0x1401bb257
mov eax, dword [rsp + 0x2088]
add eax, 1
mov dword [rsp + 0x2088], eax
mov rax, qword [rsp + 0x2150]
mov eax, dword [rax + 0x38]
cmp dword [rsp + 0x2088], eax
jae 0x1401bb295
mov edi, dword [rsp + 0x2088]
mov rax, qword [rsp + 0x2150]
mov rax, qword [rax + 0x30]
mov edx, dword [rsp + 0x2088]
mov rcx, qword [rsp + 0x2068]
mov eax, dword [rax + rdi*4]
mov dword [rcx + rdx*4], eax
jmp 0x1401bb246
mov rax, qword [rsp + 0x2150]
mov edx, dword [rax + 0x38]
mov rcx, qword [rsp + 0x2068]
mov rax, qword [rsp + 0x2158]
mov eax, dword [rax]
mov dword [rcx + rdx*4], eax
mov rax, qword [rsp + 0x2150]
cmp qword [rax + 0x30], 0
je 0x1401bb2e5
mov rax, qword [rsp + 0x2150]
mov rax, qword [rax + 0x30]
mov qword [rsp + 0x20b8], rax
mov rcx, qword [rsp + 0x20b8]
call fcn.140008c14
mov rcx, qword [rsp + 0x2150]
mov rax, qword [rsp + 0x2068]
mov qword [rcx + 0x30], rax
mov rax, qword [rsp + 0x2150]
mov ecx, dword [rax + 0x38]
add ecx, 1
mov rax, qword [rsp + 0x2150]
mov dword [rax + 0x38], ecx
lea rcx, [rsp + 0x2070]
call fcn.14000a294
nop
lea rcx, [rsp + 0x2070]
call fcn.14000a294
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [rsp + 0x20c0], 1
lea rcx, [rsp + 0x28]
call fcn.1400053e0
mov eax, dword [rsp + 0x20c0]
jmp 0x1401bb420
jmp 0x1401bb41e
mov rdx, qword [rsp + 0x2150]
add rdx, 0x168
xor r8d, r8d
lea rcx, [rsp + 0x2090]
call fcn.14000a314
nop
mov edx, 0xffffffff
lea rcx, [rsp + 0x2090]
call fcn.14000a278
mov dword [rsp + 0x20a8], 0
jmp 0x1401bb3ae
mov eax, dword [rsp + 0x20a8]
add eax, 1
mov dword [rsp + 0x20a8], eax
mov rax, qword [rsp + 0x2150]
mov eax, dword [rax + 0x38]
cmp dword [rsp + 0x20a8], eax
jae 0x1401bb403
mov ecx, dword [rsp + 0x20a8]
mov rax, qword [rsp + 0x2150]
mov rax, qword [rax + 0x30]
mov ecx, dword [rax + rcx*4]
mov rax, qword [rsp + 0x2158]
cmp qword [rax], rcx
jne 0x1401bb401
mov ecx, dword [rsp + 0x20a8]
mov rax, qword [rsp + 0x2150]
mov rax, qword [rax + 0x30]
mov dword [rax + rcx*4], 0
jmp 0x1401bb403
jmp 0x1401bb39d
lea rcx, [rsp + 0x2090]
call fcn.14000a294
nop
lea rcx, [rsp + 0x2090]
call fcn.14000a294
xor eax, eax
mov rcx, qword [rsp + 0x2130]
xor rcx, rsp
call fcn.14002f990
add rsp, 0x2140
pop rdi
ret