Function at 0x18002ebf0
Capabilities:
Encode data using xor
Move file

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x148]
sub rsp, 0x220
movaps xmmword [rax - 0x38], xmm6
mov rax, qword [0x18007e040]
xor rax, rsp
mov qword [rbp + 0x100], rax
xor ebx, ebx
cmp dword [0x18007f6e0], 0x14
jl 0x18002f2cf
mov r8d, 0x104
lea rdx, [rbp - 0x10]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
xorps xmm0, xmm0
movups xmmword [rsp + 0x68], xmm0
mov qword [rsp + 0x78], rbx
mov qword [rbp - 0x80], rbx
lea rax, [rbp - 0x10]
mov r8, 0xffffffffffffffff
nop dword [rax + rax]
inc r8
cmp byte [rax + r8], bl
jne 0x18002ec70
lea rdx, [rbp - 0x10]
lea rcx, [rsp + 0x68]
call fcn.180015df0
nop
xorps xmm0, xmm0
movups xmmword [rbp - 0x78], xmm0
mov qword [rbp - 0x68], rbx
mov qword [rbp - 0x60], rbx
mov r8d, 0x1c
lea rdx, str.FortniteGameBinariesWin64
lea rcx, [rbp - 0x78]
call fcn.180015df0
nop
lea r12, [rbp - 0x78]
mov rdi, qword [rbp - 0x78]
cmp qword [rbp - 0x60], 0xf
cmova r12, rdi
mov rsi, qword [rsp + 0x78]
lea r14, [rsp + 0x68]
cmp qword [rbp - 0x80], 0xf
cmova r14, qword [rsp + 0x68]
mov r15, qword [rbp - 0x68]
test r15, r15
jne 0x18002eced
mov rdi, 0xffffffffffffffff
cmp rsi, rdi
cmovb rdi, rsi
jmp 0x18002ed34
cmp r15, rsi
ja 0x18002ed5c
mov rax, rsi
sub rax, r15
mov rdi, 0xffffffffffffffff
cmp rax, rdi
cmovb rdi, rax
add rdi, r14
movzx r13d, byte [r12]
nop
cmp byte [rdi], r13b
jne 0x18002ed27
mov r8, r15
mov rdx, r12
mov rcx, rdi
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x18002ed31
cmp rdi, r14
je 0x18002ed58
dec rdi
jmp 0x18002ed10
sub rdi, r14
cmp rdi, 0xffffffffffffffff
je 0x18002ed58
mov qword [rsp + 0x20], 6
mov r8, r15
mov rdx, rdi
lea rcx, [rsp + 0x68]
call fcn.180036d50
mov rsi, qword [rsp + 0x78]
mov rdi, qword [rbp - 0x78]
lea rcx, [rsp + 0x68]
mov r10, qword [rbp - 0x80]
cmp r10, 0xf
mov r9, qword [rsp + 0x68]
cmova rcx, r9
cmp rsi, 1
jb 0x18002edab
lea rax, [rsi - 1]
mov r8, 0xffffffffffffffff
cmp rax, r8
cmovb r8, rax
add r8, rcx
nop dword [rax]
cmp byte [r8], 0x5c
jne 0x18002ed9c
mov eax, ebx
test ebx, ebx
je 0x18002eda6
cmp r8, rcx
je 0x18002edab
dec r8
jmp 0x18002ed90
sub r8, rcx
jmp 0x18002edb2
mov r8, 0xffffffffffffffff
cmp r8, 0xffffffffffffffff
je 0x18002ee37
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x50], xmm1
cmp rsi, r8
cmovb r8, rsi
lea rdx, [rsp + 0x68]
cmp r10, 0xf
cmova rdx, r9
lea rcx, [rsp + 0x40]
call fcn.180015df0
mov rdx, qword [rbp - 0x80]
cmp rdx, 0xf
jbe 0x18002ee23
inc rdx
mov rcx, qword [rsp + 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18002ee1e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18002f234
call fcn.180042f70
movups xmm0, xmmword [rsp + 0x40]
movups xmmword [rsp + 0x68], xmm0
movups xmm1, xmmword [rsp + 0x50]
movups xmmword [rsp + 0x78], xmm1
mov eax, dword [0x1800711b8]
mov dword [rsp + 0x38], eax
movzx eax, word [0x1800711bc]
mov word [rsp + 0x3c], ax
movzx eax, byte [0x1800711be]
movsd xmm0, qword [str.kzLSWXtPY_o__E]
mov byte [rsp + 0x3e], al
movsd qword [rsp + 0x30], xmm0
mov r8d, ebx
mov esi, dword [0x18007e018]
cmp esi, 2
jl 0x18002ef7c
movdqa xmm4, xmmword [0x180072be0]
movdqa xmm2, xmmword [0x180072ab0]
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x180072ad0]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x180072b60]
packuswb xmm2, xmm2
paddb xmm2, xmmword [0x180072b90]
movd xmm0, dword [str.kzLSWXtPY_o__E]
xorps xmm2, xmm0
movd dword [rsp + 0x30], xmm2
movdqa xmm3, xmmword [0x180072ac0]
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm3
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x180072ad0]
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x180072b60]
packuswb xmm2, xmm2
paddb xmm2, xmmword [0x180072b90]
movd xmm0, dword [rsp + 0x34]
xorps xmm2, xmm0
movd dword [rsp + 0x34], xmm2
mov r8d, 8
movsxd rax, r8d
lea r9, [rsp + 0x30]
add r9, rax
nop word [rax + rax]
mov eax, 0xa0a0a0a1
imul r8d
add edx, r8d
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x33
movzx eax, r8b
sub al, cl
add al, 0x37
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 0xf
jl 0x18002ef90
lea r8, [rsp + 0x30]
lea rdx, [rsp + 0x68]
lea rcx, [rbp - 0x38]
call fcn.180016b10
nop
movups xmm0, xmmword [str.kzLSWXtPY_]
movups xmmword [rsp + 0x40], xmm0
mov eax, dword [0x1800711a8]
mov dword [rsp + 0x50], eax
cmp byte [0x1800711ab], 0
je 0x18002f17e
cmp esi, 2
jl 0x18002f13c
movdqa xmm5, xmmword [0x180072ab0]
movdqa xmm4, xmmword [0x180072be0]
movdqa xmm6, xmmword [0x180072ad0]
movdqa xmm0, xmmword [0x180072b90]
movdqa xmmword [rsp + 0x30], xmm0
lea rcx, [rsp + 0x44]
mov edx, dword [rsp + 0x30]
movd xmm2, ebx
pshufd xmm2, xmm2, 0
paddd xmm2, xmm5
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x180072b60]
packuswb xmm2, xmm2
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx - 4]
xorps xmm2, xmm0
movd dword [rcx - 4], xmm2
lea eax, [rbx + 4]
movd xmm3, eax
pshufd xmm3, xmm3, 0
paddd xmm3, xmm5
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm3
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x180072b60]
packuswb xmm2, xmm2
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx]
xorps xmm2, xmm0
movd dword [rcx], xmm2
add ebx, 8
mov eax, ebx
lea rcx, [rcx + 8]
cmp ebx, 0x10
jl 0x18002f032
cmp eax, 0x14
jge 0x18002f17e
movsxd rax, ebx
lea r8, [rsp + 0x40]
add r8, rax
nop word [rax + rax]
mov eax, 0xa0a0a0a1
imul ebx
add edx, ebx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x33
movzx eax, bl
sub al, cl
add al, 0x37
xor byte [r8], al
inc ebx
lea r8, [r8 + 1]
cmp ebx, 0x14
jl 0x18002f150
lea r8, [rsp + 0x40]
lea rdx, [rsp + 0x68]
lea rcx, [rbp - 0x58]
call fcn.180016b10
lea rdx, [rbp - 0x58]
cmp qword [rbp - 0x40], 0xf
cmova rdx, qword [rbp - 0x58]
lea rcx, [rbp - 0x38]
cmp qword [rbp - 0x20], 0xf
cmova rcx, qword [rbp - 0x38]
call qword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll_rename]
mov rdx, qword [rbp - 0x40]
cmp rdx, 0xf
jbe 0x18002f1f1
inc rdx
mov rcx, qword [rbp - 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18002f1ec
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18002f1ec
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180042f70
movdqa xmm0, xmmword [0x180072aa0]
movdqu xmmword [rbp - 0x48], xmm0
mov byte [rbp - 0x58], 0
mov rdx, qword [rbp - 0x20]
cmp rdx, 0xf
jbe 0x18002f240
inc rdx
mov rcx, qword [rbp - 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18002f23b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18002f23b
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180042f70
movdqa xmm0, xmmword [0x180072aa0]
movdqu xmmword [rbp - 0x28], xmm0
mov byte [rbp - 0x38], 0
mov rax, qword [rbp - 0x60]
cmp rax, 0xf
jbe 0x18002f290
lea rdx, [rax + 1]
mov rax, rdi
cmp rdx, 0x1000
jb 0x18002f287
add rdx, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18002f287
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rdi
call fcn.180042f70
nop
mov rdx, qword [rbp - 0x80]
cmp rdx, 0xf
jbe 0x18002f2cf
inc rdx
mov rcx, qword [rsp + 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18002f2ca
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18002f2ca
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180042f70
mov rcx, qword [rbp + 0x100]
xor rcx, rsp
call fcn.180042be0
lea r11, [rsp + 0x220]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
movaps xmm6, xmmword [r11 - 0x10]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret