Function at 0x18004bfd0
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 - 0x158]
sub rsp, 0x230
movaps xmmword [rax - 0x38], xmm6
mov rax, qword [0x180119040]
xor rax, rsp
mov qword [rbp + 0x110], rax
xor ebx, ebx
cmp dword [0x18011abec], 0x14
jl 0x18004c69d
mov r8d, 0x104
lea rdx, [rbp]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
xorps xmm0, xmm0
movups xmmword [rsp + 0x60], xmm0
mov qword [rsp + 0x70], rbx
mov qword [rsp + 0x78], rbx
lea rax, [rbp]
mov rsi, 0xffffffffffffffff
mov r8, rsi
nop dword [rax]
inc r8
cmp byte [rax + r8], bl
jne 0x18004c050
lea rdx, [rbp]
lea rcx, [rsp + 0x60]
call fcn.180009130
nop
xorps xmm0, xmm0
movups xmmword [rbp - 0x20], xmm0
mov ecx, 0x20
call fcn.1800c8160
mov r15, rax
mov qword [rbp - 0x20], rax
mov qword [rbp - 0x10], 0x1c
mov qword [rbp - 8], 0x1f
movups xmm0, xmmword [str.FortniteGameBinariesWin64]
movups xmmword [rax], xmm0
movsd xmm0, qword [0x1800fcca0]
movsd qword [rax + 0x10], xmm0
mov ecx, dword [0x1800fcca8]
mov dword [rax + 0x18], ecx
mov byte [rax + 0x1c], 0
lea r12, [rsp + 0x60]
mov r13, qword [rsp + 0x60]
mov r10, qword [rsp + 0x78]
cmp r10, 0xf
cmova r12, r13
mov r14, qword [rsp + 0x70]
cmp r14, 0x1c
jb 0x18004c14b
lea rax, [r14 - 0x1c]
mov rdi, rsi
cmp rax, rsi
cmovb rdi, rax
add rdi, r12
movzx eax, byte [r15]
nop dword [rax + rax]
cmp byte [rdi], al
jne 0x18004c10d
mov r8d, 0x1c
mov rdx, r15
mov rcx, rdi
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x18004c117
movzx eax, byte [r15]
cmp rdi, r12
je 0x18004c146
dec rdi
jmp 0x18004c0f0
sub rdi, r12
cmp rdi, 0xffffffffffffffff
je 0x18004c146
mov qword [rsp + 0x20], 6
mov r8d, 0x1c
mov rdx, rdi
lea rcx, [rsp + 0x60]
call fcn.18004ce90
mov r14, qword [rsp + 0x70]
mov r13, qword [rsp + 0x60]
mov r10, qword [rsp + 0x78]
lea rcx, [rsp + 0x60]
cmp r10, 0xf
cmova rcx, r13
cmp r14, 1
jb 0x18004c18b
lea rax, [r14 - 1]
mov r8, rsi
cmp rax, rsi
cmovb r8, rax
add r8, rcx
nop
cmp byte [r8], 0x5c
jne 0x18004c17c
mov eax, ebx
test ebx, ebx
je 0x18004c186
cmp r8, rcx
je 0x18004c18b
dec r8
jmp 0x18004c170
sub r8, rcx
jmp 0x18004c18e
mov r8, rsi
cmp r8, 0xffffffffffffffff
je 0x18004c23e
xorps xmm0, xmm0
movups xmmword [rbp - 0x80], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x70], xmm1
cmp r14, r8
cmovb r8, r14
lea rdx, [rsp + 0x60]
cmp r10, 0xf
cmova rdx, r13
lea rcx, [rbp - 0x80]
call fcn.180009130
mov rdx, qword [rsp + 0x78]
cmp rdx, 0xf
jbe 0x18004c204
inc rdx
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18004c1ff
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18004c1ff
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800c8790
movups xmm2, xmmword [rbp - 0x80]
movups xmmword [rsp + 0x60], xmm2
movups xmm1, xmmword [rbp - 0x70]
movups xmmword [rsp + 0x70], xmm1
movsd xmm0, qword [str.nqAZSqWT]
movsd qword [rsp + 0x50], xmm0
movdqa xmm0, xmm1
psrldq xmm0, 8
movq r10, xmm0
movq r14, xmm1
movq r13, xmm2
jmp 0x18004c24c
movsd xmm0, qword [str.nqAZSqWT]
movsd qword [rsp + 0x50], xmm0
mov eax, dword [0x1800fa480]
mov dword [rsp + 0x58], eax
movzx eax, word [0x1800fa484]
mov word [rsp + 0x5c], ax
movzx eax, byte [0x1800fa486]
mov byte [rsp + 0x5e], al
mov r8d, ebx
mov r12d, dword [0x180119010]
cmp r12d, 2
jl 0x18004c385
movdqa xmm4, xmmword [0x1801046c0]
movdqa xmm2, xmmword [0x1801044a0]
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 [0x1801044f0]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x1801045a0]
packuswb xmm2, xmm2
paddb xmm2, xmmword [str.2222222222222222]
movd xmm0, dword [str.nqAZSqWT]
xorps xmm2, xmm0
movd dword [rsp + 0x50], xmm2
movdqa xmm3, xmmword [0x1801044b0]
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 [0x1801044f0]
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x1801045a0]
packuswb xmm2, xmm2
paddb xmm2, xmmword [str.2222222222222222]
movd xmm0, dword [rsp + 0x54]
xorps xmm2, xmm0
movd dword [rsp + 0x54], xmm2
mov r8d, 8
movsxd rax, r8d
lea r9, [rsp + 0x50]
add r9, rax
mov eax, 0x92492493
imul r8d
add edx, r8d
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x38
movzx eax, r8b
sub al, cl
add al, 0x32
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 0xf
jl 0x18004c390
lea rax, [rsp + 0x50]
mov rcx, rsi
nop dword [rax + rax]
inc rcx
cmp byte [rax + rcx], 0
jne 0x18004c3d0
movabs rdi, 0x7fffffffffffffff
mov rax, rdi
sub rax, r14
cmp rax, rcx
jb 0x18004c6d8
lea r9, [rsp + 0x60]
cmp r10, 0xf
cmova r9, r13
mov qword [rsp + 0x30], rcx
lea rax, [rsp + 0x50]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r14
lea rcx, [rbp - 0x40]
call fcn.1800151b0
nop
movups xmm0, xmmword [str.nqAZSqWTci_R0o__E]
movups xmmword [rbp - 0x80], xmm0
mov eax, dword [0x1800fa520]
mov dword [rbp - 0x70], eax
cmp byte [0x1800fa523], 0
je 0x18004c5ce
cmp r12d, 2
jl 0x18004c58a
movdqa xmm5, xmmword [0x1801044a0]
movdqa xmm4, xmmword [0x1801046c0]
movdqa xmm6, xmmword [0x1801044f0]
movdqa xmm0, xmmword [str.2222222222222222]
movdqa xmmword [rsp + 0x50], xmm0
lea rcx, [rbp - 0x7c]
mov edx, dword [rsp + 0x50]
nop word [rax + rax]
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 [0x1801045a0]
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 [0x1801045a0]
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 0x18004c480
cmp eax, 0x14
jge 0x18004c5ce
movsxd rax, ebx
lea r8, [rbp - 0x80]
add r8, rax
nop dword [rax]
nop dword [rax + rax]
mov eax, 0x92492493
imul ebx
add edx, ebx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x38
movzx eax, bl
sub al, cl
add al, 0x32
xor byte [r8], al
inc ebx
lea r8, [r8 + 1]
cmp ebx, 0x14
jl 0x18004c5a0
lea rax, [rbp - 0x80]
inc rsi
cmp byte [rax + rsi], 0
jne 0x18004c5d2
mov rax, qword [rsp + 0x70]
sub rdi, rax
cmp rdi, rsi
jb 0x18004c6d2
lea r9, [rsp + 0x60]
cmp qword [rsp + 0x78], 0xf
cmova r9, qword [rsp + 0x60]
mov qword [rsp + 0x30], rsi
lea rcx, [rbp - 0x80]
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x20], rax
lea rcx, [rbp - 0x60]
call fcn.1800151b0
lea rdx, [rbp - 0x60]
cmp qword [rbp - 0x48], 0xf
cmova rdx, qword [rbp - 0x60]
lea rcx, [rbp - 0x40]
cmp qword [rbp - 0x28], 0xf
cmova rcx, qword [rbp - 0x40]
call qword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll_rename]
lea rcx, [rbp - 0x60]
call fcn.180011620
nop
lea rcx, [rbp - 0x40]
call fcn.180011620
nop
mov edx, 0x20
mov rcx, r15
call fcn.1800c8790
nop
mov rdx, qword [rsp + 0x78]
cmp rdx, 0xf
jbe 0x18004c69d
inc rdx
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18004c698
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18004c698
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800c8790
mov rcx, qword [rbp + 0x110]
xor rcx, rsp
call fcn.1800c8140
lea r11, [rsp + 0x230]
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
call fcn.180003590
nop
call fcn.180003590
int3