Function at 0x1800407a0
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
push rbp
push rbx
push rsi
push rdi
push r12
push r14
push r15
lea rbp, [rax - 0x168]
sub rsp, 0x230
movzx ecx, word [0x1800542b8]
xorps xmm0, xmm0
movaps xmmword [rax - 0x58], xmm6
xor r12d, r12d
movaps xmmword [rax - 0xb8], xmm12
movaps xmmword [rax - 0xc8], xmm13
mov eax, dword [str.wU_UO_]
mov dword [rbp + 0x170], eax
movzx eax, byte [0x1800542ba]
xor byte [rbp + 0x171], 0x37
xor al, 0x3c
xor byte [rbp + 0x172], 0x38
xor byte [rbp + 0x173], 0x39
mov word [rbp + 0x174], cx
xor cl, 0x3a
xor byte [rbp + 0x175], 0x3b
cmp byte [0x1800542c7], r12b
mov byte [rbp + 0x176], al
movdqu xmmword [rsp + 0x40], xmm0
mov byte [rbp + 0x170], 0x41
mov byte [rbp + 0x174], cl
movsd xmm0, qword [rbp + 0x170]
movsd qword [rbp + 0x178], xmm0
mov eax, dword [rbp + 0x178]
mov dword [rbp + 0x180], eax
movzx eax, word [rbp + 0x17c]
mov word [rbp + 0x184], ax
mov rax, qword [str._KL_WOXJ:]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x50], r12
je 0x1800409a3
cmp dword [0x1800adb58], 2
mov r8d, r12d
jl 0x180040968
movdqa xmm2, xmmword [0x18004e8e0]
movdqa xmm4, xmmword [0x18004e960]
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 1
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [str.7777]
psubd xmm2, xmm0
movd xmm0, dword [rsp + 0x30]
andps xmm2, xmmword [0x18004e950]
packuswb xmm2, xmm2
packuswb xmm2, xmm2
paddb xmm2, xmmword [0x18004e970]
xorps xmm2, xmm0
movd dword [rsp + 0x30], xmm2
movdqa xmm2, xmmword [0x18004e8f0]
movdqa xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 1
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [str.7777]
psubd xmm2, xmm0
movd xmm0, dword [rsp + 0x34]
andps xmm2, xmmword [0x18004e950]
packuswb xmm2, xmm2
packuswb xmm2, xmm2
paddb xmm2, xmmword [0x18004e970]
xorps xmm2, xmm0
movd dword [rsp + 0x34], xmm2
jmp 0x1800409a3
lea r9, [rsp + 0x30]
nop dword [rax]
mov eax, 0x29e4129f
lea r9, [r9 + 1]
mul r8d
mov eax, r8d
sub eax, edx
shr eax, 1
add eax, edx
shr eax, 5
movsx eax, al
imul ecx, eax, 0x37
movzx eax, r8b
inc r8d
sub al, cl
add al, 0x36
xor byte [r9 - 1], al
cmp r8d, 8
jl 0x180040970
mov eax, dword [0x1800542c8]
lea r8, [rbp + 0x170]
movups xmm0, xmmword [rsp + 0x30]
mov dword [rbp + 0x170], eax
lea rcx, [rsp + 0x40]
xor byte [rbp + 0x171], 0x37
xor edx, edx
xor byte [rbp + 0x172], 0x38
xor byte [rbp + 0x173], 0x39
movzx eax, byte [0x1800542cc]
xor al, 0x3a
mov byte [rbp + 0x170], 0x4d
mov byte [rbp + 0x174], al
movzx eax, word [rbp + 0x178]
mov word [rbp - 0x68], ax
mov eax, dword [str.KZ:]
movups xmmword [rbp - 0x40], xmm0
movsd xmm0, qword [rbp + 0x170]
mov dword [rbp + 0x170], eax
movzx eax, byte [0x1800542d4]
xor byte [rbp + 0x171], 0x37
xor al, 0x3a
xor byte [rbp + 0x172], 0x38
xor byte [rbp + 0x173], 0x39
mov byte [rbp + 0x174], al
movzx eax, word [rbp + 0x178]
mov byte [rbp + 0x170], 0x4d
mov word [rsp + 0x38], ax
lea rax, [rbp + 0x178]
movsd qword [rbp - 0x70], xmm0
movsd xmm0, qword [rbp + 0x170]
mov qword [rbp + 0x170], rax
movsd qword [rsp + 0x30], xmm0
call fcn.18002e140
mov rsi, qword [rsp + 0x48]
lea rax, [rbp - 0x40]
mov r15, qword [rsp + 0x50]
mov qword [rbp + 0x170], rax
cmp rsi, r15
je 0x180040a99
lea rax, [rbp - 0x40]
mov qword [rsi], rax
add rsi, 8
mov qword [rsp + 0x48], rsi
jmp 0x180040ab7
lea r8, [rbp + 0x170]
mov rdx, rsi
lea rcx, [rsp + 0x40]
call fcn.18002e140
mov r15, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x48]
lea rax, [rbp - 0x70]
mov qword [rbp + 0x170], rax
cmp rsi, r15
je 0x180040ad9
lea rax, [rbp - 0x70]
mov qword [rsi], rax
add rsi, 8
mov qword [rsp + 0x48], rsi
jmp 0x180040af7
lea r8, [rbp + 0x170]
mov rdx, rsi
lea rcx, [rsp + 0x40]
call fcn.18002e140
mov r15, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x48]
lea rax, [rsp + 0x30]
mov qword [rbp + 0x170], rax
cmp rsi, r15
je 0x180040b16
lea rax, [rsp + 0x30]
mov qword [rsi], rax
add rsi, 8
jmp 0x180040b34
lea r8, [rbp + 0x170]
mov rdx, rsi
lea rcx, [rsp + 0x40]
call fcn.18002e140
mov r15, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x48]
movsd xmm12, qword [0x1800adb30]
mov ecx, 0x20
movsd xmm13, qword [0x1800adb38]
mov r14d, 0xf
addsd xmm12, qword [0x1800547e0]
addsd xmm13, qword [0x180054808]
movsd xmm6, qword [str.Dec__4_2024]
movzx edi, word [0x1800542e0]
movzx ebx, byte [0x1800542e2]
mov qword [rsp + 0x78], r12
call fcn.18004c030
movdqa xmm0, xmmword [0x1800548e0]
movdqu xmmword [rbp - 0x80], xmm0
mov qword [rsp + 0x70], rax
movups xmm0, xmmword [str.Nevex_Fortnite__]
movups xmmword [rax], xmm0
movzx ecx, byte [0x180054320]
mov byte [rax + 0x10], cl
movsd qword [rax + 0x11], xmm6
mov word [rax + 0x19], di
mov byte [rax + 0x1b], bl
mov byte [rax + 0x1c], r12b
mov rdx, qword [rbp - 0x78]
mov rcx, qword [rbp - 0x80]
mov rax, rdx
sub rax, rcx
cmp rax, 0x27
jb 0x180040c06
cmp rdx, r14
lea rax, [rcx + 0x27]
lea rbx, [rsp + 0x70]
mov qword [rbp - 0x80], rax
cmova rbx, qword [rsp + 0x70]
lea rdx, str.__INSERT___menu_is_only_usable_in_game_
add rbx, rcx
mov r8d, 0x27
mov rcx, rbx
call sub.VCRUNTIME140.dll_memmove
lea rax, [rsp + 0x70]
mov byte [rbx + 0x27], r12b
jmp 0x180040c2d
movzx r8d, byte [rbp + 0x170]
lea r9, str.__INSERT___menu_is_only_usable_in_game_
mov edx, 0x27
mov qword [rsp + 0x20], 0x27
lea rcx, [rsp + 0x70]
call fcn.18002e7b0
xorps xmm0, xmm0
xorps xmm1, xmm1
movups xmmword [rbp - 0x60], xmm0
movdqu xmmword [rbp - 0x50], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x60], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x50], xmm1
mov qword [rax + 0x10], r12
mov qword [rax + 0x18], r14
mov byte [rax], r12b
mov rdx, qword [rbp - 0x78]
cmp rdx, r14
jbe 0x180040c94
mov rcx, qword [rsp + 0x70]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x180040c8f
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180040c8f
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.18004b988
cmp qword [rbp - 0x48], r14
lea rdx, [rbp - 0x60]
mov qword [rsp + 0x228], r13
lea rcx, [0x1800ae550]
cmova rdx, qword [rbp - 0x60]
movaps xmmword [rsp + 0x200], xmm7
movaps xmmword [rsp + 0x1f0], xmm8
movaps xmmword [rsp + 0x1e0], xmm9
movaps xmmword [rsp + 0x1d0], xmm10
movaps xmmword [rsp + 0x1c0], xmm11
movaps xmmword [rsp + 0x190], xmm14
movaps xmmword [rsp + 0x180], xmm15
call fcn.18002ecc0
movdqa xmm15, xmmword [0x180054970]
lea r9, [rsp + 0x60]
movss xmm2, dword [0x18004ea18]
lea rcx, [0x1800adb30]
movss xmm1, dword [0x180054880]
movups xmmword [rsp + 0x60], xmm15
call fcn.18004a950
movdqa xmm0, xmmword [0x18004e980]
movsd xmm7, qword [0x1800adb30]
movsd xmm6, qword [0x1800adb38]
addsd xmm7, qword [0x1800547c0]
addsd xmm6, qword [0x18004ea08]
movdqa xmmword [rbp + 0x50], xmm0
call fcn.180009040
lea rcx, [rbp + 0x50]
mov rbx, rax
call fcn.1800072c0
cvtpd2ps xmm0, xmm7
lea r9, [0x1800ae550]
mov r8d, eax
lea rdx, [rbp + 0x180]
mov rcx, rbx
mov qword [rsp + 0x20], r12
cvtpd2ps xmm1, xmm6
movss dword [rbp + 0x180], xmm0
movss dword [rbp + 0x184], xmm1
call fcn.18001bb40
mov eax, dword [0x18005b1e4]
xor edx, edx
mov rbx, qword [rsp + 0x40]
add eax, 0xffffffd8
sub rsi, rbx
cdqe
sar rsi, 3
movaps xmm8, xmm12
addsd xmm8, qword [0x1800547a8]
div rsi
mov dword [rbp + 0x170], r12d
movaps xmm9, xmm13
mov r13, rax
mov r14d, r12d
addsd xmm9, qword [0x1800547a8]
lea rdi, [rax - 2]
test rsi, rsi
je 0x1800410c8
movdqa xmm10, xmmword [0x180054990]
movsd xmm14, qword [0x1800547e8]
movsd xmm11, qword [0x1800547f8]
cmp rsi, r12
jbe 0x1800411e0
movsd xmm1, qword [0x1800ae460]
movaps xmm6, xmm15
comisd xmm1, xmm8
mov rbx, qword [rbx + r12*8]
mov qword [rbp - 0x30], rbx
jbe 0x180040ed2
xorps xmm0, xmm0
test rdi, rdi
js 0x180040e39
cvtsi2sd xmm0, rdi
jmp 0x180040e51
mov rax, rdi
mov rcx, rdi
shr rcx, 1
and eax, 1
or rcx, rax
cvtsi2sd xmm0, rcx
addsd xmm0, xmm0
addsd xmm0, xmm8
comisd xmm0, xmm1
jbe 0x180040ed2
movsd xmm1, qword [0x1800ae468]
comisd xmm1, xmm9
jbe 0x180040ed2
movaps xmm0, xmm9
addsd xmm0, xmm14
comisd xmm0, xmm1
jbe 0x180040ed2
mov rcx, qword [0x1800ae448]
movaps xmm6, xmm10
movups xmm0, xmmword [0x1800ae398]
movsd xmm1, qword [0x1800ae3a8]
mov r9, qword [rcx]
movsd qword [rbp - 0x10], xmm1
movups xmmword [rbp - 0x20], xmm0
test r9, r9
je 0x180040ec3
mov rax, qword [0x1800ad248]
mov r9, qword [r9 + rax*8]
test r9, r9
je 0x180040ec3
mov rdx, qword [0x1800adf80]
lea r8, [rbp - 0x20]
call r9
cmp byte [rbp - 8], 0
je 0x180040ed2
mov dword [0x18005b1ec], r14d
jmp 0x180040edb
cmp dword [0x18005b1ec], r14d
jne 0x180040edf
movaps xmm6, xmm10
movaps xmm0, xmm6
movss dword [rsp + 0x60], xmm6
movaps xmm1, xmm6
shufps xmm0, xmm6, 0x55
shufps xmm1, xmm6, 0xaa
lea rcx, [rdi - 0xa]
shufps xmm6, xmm6, 0xff
movaps xmm7, xmm8
unpcklpd xmm7, xmm9
movss dword [rsp + 0x6c], xmm6
xorps xmm6, xmm6
movss dword [rsp + 0x64], xmm0
movss dword [rsp + 0x68], xmm1
movdqa xmmword [rbp - 0x20], xmm7
test rcx, rcx
js 0x180040f2a
cvtsi2ss xmm6, rcx
jmp 0x180040f3f
mov rax, rcx
and ecx, 1
shr rax, 1
or rax, rcx
cvtsi2ss xmm6, rax
addss xmm6, xmm6
movss xmm2, dword [0x18004ea18]
lea r9, [rsp + 0x60]
movaps xmm1, xmm6
lea rcx, [rbp - 0x20]
call fcn.18004a950
movsd qword [rbp + 0x18], xmm11
mov qword [rbp + 0x20], 0
movups xmmword [rbp], xmm7
cvtps2pd xmm0, xmm6
movsd qword [rbp + 0x10], xmm0
cmp r14d, 0xffffffff
je 0x180040f82
mov byte [rbp + 0x28], 1
mov dword [rbp + 0x40], r14d
jmp 0x180040f86
mov byte [rbp + 0x28], 0
mov rcx, qword [0x1800ae478]
mov rdx, qword [rcx + 8]
cmp rdx, qword [rcx + 0x10]
je 0x180040fc4
movups xmm1, xmmword [rbp + 0x30]
movups xmmword [rdx], xmm7
unpcklpd xmm0, xmm11
movups xmmword [rdx + 0x10], xmm0
movups xmm0, xmmword [rbp + 0x20]
movups xmmword [rdx + 0x20], xmm0
movsd xmm0, qword [rbp + 0x40]
movups xmmword [rdx + 0x30], xmm1
movsd qword [rdx + 0x40], xmm0
add qword [rcx + 8], 0x48
jmp 0x180040fcd
lea r8, [rbp]
call fcn.18002e2f0
mov rcx, rdi
xorps xmm6, xmm6
shr rcx, 1
js 0x180040fdf
cvtsi2sd xmm6, rcx
jmp 0x180040ff4
mov rax, rcx
and ecx, 1
shr rax, 1
or rax, rcx
cvtsi2sd xmm6, rax
addsd xmm6, xmm6
mov rcx, rbx
addsd xmm6, xmm8
call qword [sym.imp.KERNEL32.dll_lstrlenW]
lea ecx, [rax + rax*4]
movd xmm0, ecx
cvtdq2pd xmm0, xmm0
subsd xmm6, xmm0
movdqa xmm0, xmmword [0x18004e980]
movdqa xmmword [rsp + 0x70], xmm0
call fcn.180009040
lea rcx, [rsp + 0x70]
mov rbx, rax
call fcn.1800072c0
mov r9, qword [rbp - 0x30]
lea rdx, [rbp + 0x188]
cvtpd2ps xmm0, xmm6
mov qword [rsp + 0x20], 0
mov r8d, eax
mov rcx, rbx
movaps xmm1, xmm9
addsd xmm1, qword [0x1800547c0]
movss dword [rbp + 0x188], xmm0
xorps xmm0, xmm0
cvtsd2ss xmm0, xmm1
movss dword [rbp + 0x18c], xmm0
call fcn.18001bb40
xorps xmm0, xmm0
test r13, r13
js 0x180041086
cvtsi2sd xmm0, r13
jmp 0x18004109e
mov rax, r13
mov rcx, r13
shr rcx, 1
and eax, 1
or rcx, rax
cvtsi2sd xmm0, rcx
addsd xmm0, xmm0
mov ecx, dword [rbp + 0x170]
addsd xmm8, xmm0
mov rbx, qword [rsp + 0x40]
inc ecx
movsxd rax, ecx
inc r14d
inc r12
mov dword [rbp + 0x170], ecx
cmp rax, rsi
jb 0x180040e02
addsd xmm13, qword [0x180054808]
mov rdx, qword [rbp - 0x48]
xorps xmm0, xmm0
addsd xmm12, xmm0
movsd qword [0x1800ae498], xmm13
movsd qword [0x1800ae490], xmm12
cmp rdx, 0xf
jbe 0x180041122
mov rcx, qword [rbp - 0x60]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x18004111d
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180041160
call fcn.18004b988
movdqa xmm0, xmmword [0x1800548d0]
mov byte [rbp - 0x60], 0
movdqu xmmword [rbp - 0x50], xmm0
test rbx, rbx
je 0x180041172
sub r15, rbx
mov rax, rbx
and r15, 0xfffffffffffffff8
cmp r15, 0x1000
jb 0x180041167
mov rbx, qword [rbx - 8]
add r15, 0x27
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180041167
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rdx, r15
mov rcx, rbx
call fcn.18004b988
movaps xmm14, xmmword [rsp + 0x190]
lea r11, [rsp + 0x230]
movaps xmm6, xmmword [r11 - 0x20]
movaps xmm12, xmmword [r11 - 0x80]
movaps xmm13, xmmword [r11 - 0x90]
movaps xmm11, xmmword [rsp + 0x1c0]
movaps xmm10, xmmword [rsp + 0x1d0]
movaps xmm9, xmmword [rsp + 0x1e0]
movaps xmm8, xmmword [rsp + 0x1f0]
movaps xmm7, xmmword [rsp + 0x200]
mov r13, qword [rsp + 0x228]
movaps xmm15, xmmword [rsp + 0x180]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
call fcn.18004a3a0
int3