Function at 0x180001fd0
Capabilities:
Get process image filename

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r14
push r15
lea rbp, [rsp - 0x2a0]
sub rsp, 0x3a0
xor edi, edi
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov r8d, eax
xor edx, edx
mov ecx, 0x410
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov r15, rax
test rax, rax
je 0x180002036
mov r8d, 0x104
lea rdx, [rbp + 0x90]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_K32GetProcessImageFileNameW]
test eax, eax
jne 0x18000203d
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
jmp 0x1800023ca
xorps xmm0, xmm0
movups xmmword [rsp + 0x70], xmm0
mov qword [rbp - 0x80], rdi
mov qword [rbp - 0x78], rdi
lea rax, [rbp + 0x90]
mov rdi, 0xffffffffffffffff
mov r8, rdi
nop
inc r8
cmp word [rax + r8*2], 0
jne 0x180002060
lea rdx, [rbp + 0x90]
lea rcx, [rsp + 0x70]
call fcn.180003b40
nop
lea rbx, [rsp + 0x70]
cmp qword [rbp - 0x78], 7
cmova rbx, qword [rsp + 0x70]
mov esi, 1
mov r14, qword [rbp - 0x80]
test r14, r14
je 0x18000216e
xor edx, edx
mov r8d, 0x100
lea rcx, [rbp - 0x70]
call sub.VCRUNTIME140.dll_memset
lea rcx, [0x180005544]
lea rdx, [0x180005546]
mov r8d, 0x100
movzx eax, word [rcx]
cmp ax, r8w
jae 0x18000210b
movzx eax, al
mov byte [rbp + rax - 0x70], sil
add rcx, 2
cmp rcx, rdx
jne 0x1800020c4
lea rcx, [r14 - 1]
mov rax, rdi
cmp rcx, rax
cmovb rax, rcx
lea rdx, [rbx + rax*2]
movzx eax, word [rdx]
cmp ax, r8w
jae 0x180002100
cmp byte [rbp + rax - 0x70], 0
jne 0x180002166
cmp rdx, rbx
je 0x18000216e
sub rdx, 2
jmp 0x1800020f0
lea rcx, [r14 - 1]
mov rax, rdi
cmp rcx, rax
cmovb rax, rcx
lea rdx, [rbx + rax*2]
mov r9d, 0x5c
nop dword [rax]
nop word [rax + rax]
mov rcx, rsi
movzx r8d, word [rdx]
lea rax, [0x180005544]
cmp r9w, r8w
je 0x180002166
cmp rcx, rsi
je 0x18000215b
dec rcx
add rax, 2
cmp word [rax], r8w
jne 0x180002144
test rax, rax
jne 0x180002166
cmp rdx, rbx
je 0x18000216e
sub rdx, 2
jmp 0x180002130
sub rdx, rbx
sar rdx, 1
jmp 0x180002171
mov rdx, rdi
inc rdx
xorps xmm0, xmm0
movups xmmword [rsp + 0x50], xmm0
xor ebx, ebx
mov qword [rsp + 0x60], rbx
mov qword [rsp + 0x68], rbx
cmp r14, rdx
jb 0x1800023e7
sub r14, rdx
cmp r14, 0xffffffffffffffff
cmovb rdi, r14
lea rax, [rsp + 0x70]
cmp qword [rbp - 0x78], 7
cmova rax, qword [rsp + 0x70]
lea rdx, [rax + rdx*2]
mov r8, rdi
lea rcx, [rsp + 0x50]
call fcn.180003b40
nop
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x48], rbx
lea r8d, [rbx + 7]
lea rdx, [0x180005548]
lea rcx, [rsp + 0x30]
call fcn.180003b40
nop
mov rdi, qword [rsp + 0x60]
lea r9, [rsp + 0x50]
cmp qword [rsp + 0x68], 7
cmova r9, qword [rsp + 0x50]
mov r14, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x48]
mov rax, rcx
sub rax, r14
cmp rdi, rax
ja 0x180002247
lea rax, [r14 + rdi]
mov qword [rsp + 0x40], rax
lea rbx, [rsp + 0x30]
cmp rcx, 7
cmova rbx, qword [rsp + 0x30]
lea rcx, [rbx + r14*2]
lea r8, [rdi + rdi]
mov rdx, r9
call sub.VCRUNTIME140.dll_memmove
lea rax, [r14 + rdi]
xor edi, edi
mov word [rbx + rax*2], di
xor ebx, ebx
jmp 0x180002259
mov qword [rsp + 0x20], rdi
mov rdx, rdi
lea rcx, [rsp + 0x30]
call fcn.180003de0
lea r9, [rsp + 0x30]
cmp qword [rsp + 0x48], 7
cmova r9, qword [rsp + 0x30]
mov r8d, esi
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateSemaphoreW]
test rax, rax
je 0x1800022ad
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x1800022ad
lea rcx, [rsp + 0x50]
cmp qword [rsp + 0x68], 7
cmova rcx, qword [rsp + 0x50]
lea rdx, str.FortniteClient_Win64_Shipping.exe
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
test eax, eax
je 0x1800022d4
jmp 0x1800022c9
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.180003860
lea rdx, [0x180003a10]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, ebx
mov rdx, qword [rsp + 0x48]
cmp rdx, 7
jbe 0x180002319
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180002314
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180002314
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180004018
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x48], 7
mov word [rsp + 0x30], bx
mov rdx, qword [rsp + 0x68]
cmp rdx, 7
jbe 0x180002371
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18000236c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18000236c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180004018
mov qword [rsp + 0x60], rbx
mov qword [rsp + 0x68], 7
mov word [rsp + 0x50], bx
mov rdx, qword [rbp - 0x78]
cmp rdx, 7
jbe 0x1800023c8
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800023c3
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800023c3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180004018
mov eax, esi
lea r11, [rsp + 0x3a0]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
call fcn.1800037d0
nop
int3