Function at 0x180004ab0
Capabilities:
Get process image filename

Disassembly:
push rbp
push r14
push rsi
push rdi
push rbx
sub rsp, 0x390
lea rbp, [rsp + 0x80]
mov qword [rbp + 0x308], 0xfffffffffffffffe
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
xor edi, edi
mov ecx, 0x410
xor edx, edx
mov r8d, eax
call qword [sym.imp.KERNEL32.dll_OpenProcess]
test rax, rax
je 0x180004e57
mov rsi, rax
lea rdx, [rbp - 0x50]
mov rcx, rax
mov r8d, 0x104
call sub.KERNEL32.dll_K32GetProcessImageFileNameW
test eax, eax
je 0x180004c12
xorps xmm0, xmm0
movaps xmmword [rbp + 0x2d0], xmm0
movaps xmmword [rbp + 0x2c0], xmm0
lea rbx, [rbp - 0x50]
mov rcx, rbx
call sub.api_ms_win_crt_string_l1_1_0.dll_wcslen
lea rdi, [rbp + 0x2c0]
mov rcx, rdi
mov rdx, rbx
mov r8, rax
call fcn.180009910
mov r8, qword [rbp + 0x2d0]
cmp qword [rbp + 0x2d8], 8
jb 0x180004b58
mov rdi, qword [rbp + 0x2c0]
mov rax, 0xffffffffffffffff
test r8, r8
je 0x180004c28
xorps xmm0, xmm0
movaps xmmword [rbp + 0x210], xmm0
movaps xmmword [rbp + 0x2b0], xmm0
movaps xmmword [rbp + 0x2a0], xmm0
movaps xmmword [rbp + 0x290], xmm0
movaps xmmword [rbp + 0x280], xmm0
movaps xmmword [rbp + 0x270], xmm0
movaps xmmword [rbp + 0x260], xmm0
movaps xmmword [rbp + 0x250], xmm0
movaps xmmword [rbp + 0x240], xmm0
movaps xmmword [rbp + 0x230], xmm0
movaps xmmword [rbp + 0x220], xmm0
movaps xmmword [rbp + 0x200], xmm0
movaps xmmword [rbp + 0x1f0], xmm0
movaps xmmword [rbp + 0x1e0], xmm0
movaps xmmword [rbp + 0x1d0], xmm0
movaps xmmword [rbp + 0x1c0], xmm0
mov byte [rbp + 0x21c], 1
lea rcx, [r8*2 - 2]
nop word [rax + rax]
movzx edx, word [rdi + rcx]
cmp rdx, 0xff
ja 0x180004c07
cmp byte [rbp + rdx + 0x1c0], 0
jne 0x180004c22
test rcx, rcx
je 0x180004c28
add rcx, 0xfffffffffffffffe
jmp 0x180004bf0
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor edi, edi
jmp 0x180004e57
sar rcx, 1
mov rax, rcx
inc rax
xorps xmm0, xmm0
movaps xmmword [rbp + 0x1d0], xmm0
movaps xmmword [rbp + 0x1c0], xmm0
sub r8, rax
jb 0x180004e71
lea rdx, [rdi + rax*2]
lea rdi, [rbp + 0x1c0]
mov rcx, rdi
call fcn.180009910
xorps xmm0, xmm0
movaps xmmword [rbp + 0x2f0], xmm0
movaps xmmword [rbp + 0x2e0], xmm0
lea rdx, str.Global_
lea rbx, [rbp + 0x2e0]
mov r8d, 7
mov rcx, rbx
call fcn.180009910
mov r8, qword [rbp + 0x1d0]
cmp qword [rbp + 0x1d8], 8
jb 0x180004c9d
mov rdi, qword [rbp + 0x1c0]
mov rax, qword [rbp + 0x2f0]
mov rcx, qword [rbp + 0x2f8]
mov rdx, rcx
sub rdx, rax
cmp rdx, r8
jae 0x180004ce0
mov qword [rsp + 0x20], r8
lea rcx, [rbp + 0x2e0]
mov rdx, r8
mov r9, rdi
call fcn.180009a10
cmp qword [rbp + 0x2f8], 8
jb 0x180004d18
mov r9, qword [rbp + 0x2e0]
jmp 0x180004d1f
lea r14, [rax + r8]
mov qword [rbp + 0x2f0], r14
cmp rcx, 8
jb 0x180004cf8
mov rbx, qword [rbp + 0x2e0]
lea rcx, [rbx + rax*2]
add r8, r8
mov rdx, rdi
call sub.VCRUNTIME140.dll_memmove
mov word [rbx + r14*2], 0
cmp qword [rbp + 0x2f8], 8
jae 0x180004cd7
lea r9, [rbp + 0x2e0]
xor edi, edi
xor ecx, ecx
xor edx, edx
mov r8d, 1
call qword [sym.imp.KERNEL32.dll_CreateSemaphoreW]
test rax, rax
je 0x180004d72
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x180004d72
mov rdx, qword [str.FortniteClient_Win64_Shipping.exe]
cmp qword [rbp + 0x1d8], 8
jb 0x180004d5d
mov rcx, qword [rbp + 0x1c0]
jmp 0x180004d64
lea rcx, [rbp + 0x1c0]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
test eax, eax
je 0x180004e67
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rax, qword [rbp + 0x2f8]
cmp rax, 8
jb 0x180004dc7
mov rcx, qword [rbp + 0x2e0]
lea rdx, [rax*2 + 2]
cmp rdx, 0x1000
jb 0x180004dc2
mov r8, qword [rcx - 8]
add rcx, 0xfffffffffffffff8
sub rcx, r8
cmp rcx, 0x20
jae 0x180004e76
add rax, rax
add rax, 0x29
mov rdx, rax
mov rcx, r8
call fcn.18000ab50
mov rax, qword [rbp + 0x1d8]
cmp rax, 8
jb 0x180004e0f
mov rcx, qword [rbp + 0x1c0]
lea rdx, [rax*2 + 2]
cmp rdx, 0x1000
jb 0x180004e0a
mov r8, qword [rcx - 8]
add rcx, 0xfffffffffffffff8
sub rcx, r8
cmp rcx, 0x20
jae 0x180004e76
add rax, rax
add rax, 0x29
mov rdx, rax
mov rcx, r8
call fcn.18000ab50
mov rax, qword [rbp + 0x2d8]
cmp rax, 8
jb 0x180004e57
mov rcx, qword [rbp + 0x2c0]
lea rdx, [rax*2 + 2]
cmp rdx, 0x1000
jb 0x180004e52
mov r8, qword [rcx - 8]
add rcx, 0xfffffffffffffff8
sub rcx, r8
cmp rcx, 0x20
jae 0x180004e76
add rax, rax
add rax, 0x29
mov rdx, rax
mov rcx, r8
call fcn.18000ab50
mov eax, edi
add rsp, 0x390
pop rbx
pop rdi
pop rsi
pop r14
pop rbp
ret
mov edi, 1
jmp 0x180004d7b
call fcn.1800099f0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3