Function at 0x1800011c0
Capabilities:
Get process image filename

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r14
push r15
lea rbp, [rsp - 0x2c0]
sub rsp, 0x3c0
mov rax, qword [section..data]
xor rax, rsp
mov qword [rbp + 0x2b0], rax
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 0x180001237
mov r8d, 0x104
lea rdx, [rbp + 0xa0]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_K32GetProcessImageFileNameW]
test eax, eax
jne 0x18000123e
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
jmp 0x180001590
xorps xmm0, xmm0
movups xmmword [rsp + 0x78], xmm0
mov qword [rbp - 0x78], rdi
mov qword [rbp - 0x70], rdi
lea rax, [rbp + 0xa0]
mov rdi, 0xffffffffffffffff
mov r8, rdi
nop
inc r8
cmp word [rax + r8*2], 0
jne 0x180001260
lea rdx, [rbp + 0xa0]
lea rcx, [rsp + 0x78]
call fcn.180001690
nop
lea rbx, [rsp + 0x78]
cmp qword [rbp - 0x70], 7
cmova rbx, qword [rsp + 0x78]
mov esi, 1
mov r14, qword [rbp - 0x78]
test r14, r14
je 0x180001352
xor edx, edx
mov r8d, pe_nt_image_headers64
lea rcx, [rbp - 0x60]
call sub.VCRUNTIME140.dll_memset
lea rcx, [0x180003324]
lea r8, [0x180003326]
mov edx, pe_nt_image_headers64
movzx eax, word [rcx]
cmp ax, dx
jae 0x18000130a
movzx eax, al
mov byte [rbp + rax - 0x60], sil
add rcx, 2
cmp rcx, r8
jne 0x1800012c3
lea rcx, [r14 - 1]
mov rax, rdi
cmp rcx, rax
cmovb rax, rcx
lea rcx, [rbx + rax*2]
nop
movzx eax, word [rcx]
cmp ax, dx
jae 0x1800012ff
cmp byte [rbp + rax - 0x60], 0
jne 0x18000134a
cmp rcx, rbx
je 0x180001352
sub rcx, 2
jmp 0x1800012f0
lea rcx, [r14 - 1]
mov rax, rdi
cmp rcx, rax
cmovb rax, rcx
lea rcx, [rbx + rax*2]
nop dword [rax]
mov rdx, rsi
lea rax, [0x180003324]
movzx r8d, word [rcx]
nop
cmp word [rax], r8w
je 0x18000134a
add rax, 2
sub rdx, rsi
jne 0x180001330
cmp rcx, rbx
je 0x180001352
sub rcx, 2
jmp 0x180001320
sub rcx, rbx
sar rcx, 1
jmp 0x180001355
mov rcx, rdi
inc rcx
xorps xmm0, xmm0
movups xmmword [rsp + 0x58], xmm0
xor ebx, ebx
mov qword [rsp + 0x68], rbx
mov qword [rsp + 0x70], rbx
cmp r14, rcx
jb 0x1800015bc
sub r14, rcx
cmp r14, 0xffffffffffffffff
cmovb rdi, r14
lea rax, [rsp + 0x78]
cmp qword [rbp - 0x70], 7
cmova rax, qword [rsp + 0x78]
lea rdx, [rax + rcx*2]
mov r8, rdi
lea rcx, [rsp + 0x58]
call fcn.180001690
nop
xorps xmm0, xmm0
movups xmmword [rsp + 0x38], xmm0
mov qword [rsp + 0x48], rbx
mov qword [rsp + 0x50], rbx
lea r8d, [rbx + 7]
lea rdx, [0x180003328]
lea rcx, [rsp + 0x38]
call fcn.180001690
nop
lea r9, [rsp + 0x58]
cmp qword [rsp + 0x70], 7
cmova r9, qword [rsp + 0x58]
mov rdi, qword [rsp + 0x68]
mov r14, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x50]
mov rax, rcx
sub rax, r14
cmp rdi, rax
ja 0x18000142b
lea rax, [r14 + rdi]
mov qword [rsp + 0x48], rax
lea rbx, [rsp + 0x38]
cmp rcx, 7
cmova rbx, qword [rsp + 0x38]
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 0x18000143d
mov qword [rsp + 0x20], rdi
mov rdx, rdi
lea rcx, [rsp + 0x38]
call fcn.1800017d0
lea r9, [rsp + 0x38]
cmp qword [rsp + 0x50], 7
cmova r9, qword [rsp + 0x38]
mov r8d, esi
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateSemaphoreW]
test rax, rax
je 0x18000148f
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x18000148f
lea rcx, [rsp + 0x58]
cmp qword [rsp + 0x70], 7
cmova rcx, qword [rsp + 0x58]
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 0x18000149a
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, ebx
mov rdx, qword [rsp + 0x50]
cmp rdx, 7
jbe 0x1800014df
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800014da
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800014da
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800019d0
mov qword [rsp + 0x48], rbx
mov qword [rsp + 0x50], 7
mov word [rsp + 0x38], bx
mov rdx, qword [rsp + 0x70]
cmp rdx, 7
jbe 0x180001537
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180001532
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180001532
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800019d0
mov qword [rsp + 0x68], rbx
mov qword [rsp + 0x70], 7
mov word [rsp + 0x58], bx
mov rdx, qword [rbp - 0x70]
cmp rdx, 7
jbe 0x18000158e
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180001589
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180001589
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800019d0
mov eax, esi
mov rcx, qword [rbp + 0x2b0]
xor rcx, rsp
call fcn.1800019b0
lea r11, [rsp + 0x3c0]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
call fcn.180001670
nop
int3