Function at 0x180021200
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r14
push rbp
lea rbp, [rax - 0x58]
sub rsp, 0x150
movaps xmmword [rax - 0x18], xmm6
movaps xmmword [rax - 0x28], xmm7
movaps xmmword [rax - 0x38], xmm8
movaps xmmword [rax - 0x48], xmm9
mov rax, qword [0x180129540]
xor rax, rsp
mov qword [rbp], rax
lea rcx, [0x18012aa80]
call fcn.180023080
movsxd rcx, dword [0x18012906c]
mov rax, qword [0x18012a6d0]
mov ecx, dword [rcx + rax]
mov dword [0x18012aad8], ecx
mov rax, qword [0x18012a6d8]
mov qword [0x18012aae0], rax
xorps xmm9, xmm9
xorps xmm0, xmm0
unpcklps xmm0, xmm9
movsd qword [rsp + 0x30], xmm0
movss dword [rsp + 0x38], xmm9
xorps xmm0, xmm0
unpcklps xmm0, xmm9
movsd qword [rbp - 0x80], xmm0
movss dword [rbp - 0x78], xmm9
lea r8, [rsp + 0x30]
lea rdx, [rbp - 0x80]
lea rcx, [rbp - 0x68]
call fcn.180021090
movups xmm6, xmmword [rax]
movups xmm7, xmmword [rax + 0x10]
movups xmm8, xmmword [rax + 0x20]
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
xor r14d, r14d
mov qword [rsp + 0x50], r14
mov qword [rsp + 0x58], socket
lea ecx, [r14 + 0x30]
call fcn.1800d8958
mov rcx, rax
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x50], 0x22
mov qword [rsp + 0x58], 0x2f
movups xmm0, xmmword [str._Script_FortniteGame.FortInventory]
movups xmmword [rax], xmm0
movups xmm1, xmmword [0x1800e40c0]
movups xmmword [rax + 0x10], xmm1
movzx eax, word [0x1800e40d0]
mov word [rcx + 0x20], ax
mov byte [rcx + 0x22], r14b
lea rcx, [rsp + 0x40]
call fcn.18001eb60
movaps xmmword [rbp - 0x30], xmm6
movaps xmmword [rbp - 0x20], xmm7
movaps xmmword [rbp - 0x10], xmm8
mov byte [rsp + 0x20], r14b
xor r9d, r9d
mov r8b, 1
lea rdx, [rbp - 0x30]
mov rcx, rax
call fcn.1800b2200
mov rbx, rax
mov rcx, qword [0x18012aa98]
cmp dword [0x18012a608], 0x1d
jl 0x180021572
call fcn.1800c9c70
mov rdi, rax
mov qword [rax], rbx
movups xmm0, xmmword [0x1800e4468]
movups xmmword [rbp - 0x30], xmm0
movups xmm1, xmmword [0x1800e4478]
movups xmmword [rbp - 0x20], xmm1
movsd xmm0, qword [0x1800e4488]
movsd qword [rbp - 0x10], xmm0
mov eax, dword [0x1800e4490]
mov dword [rbp - 8], eax
mov r8d, r14d
cmp dword [0x180129500], 2
jl 0x1800214d7
movdqa xmm5, xmmword [0x1800e4760]
movdqa xmm4, xmmword [0x1800e47a0]
movdqa xmm6, xmmword [str.5555]
movdqa xmm0, xmmword [str.6666666666666666]
movdqa xmmword [rsp + 0x30], xmm0
lea rcx, [rbp - 0x2c]
mov edx, dword [rsp + 0x30]
movd xmm2, r8d
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
psrad xmm1, 4
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 [0x1800e4780]
packuswb xmm2, xmm2
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx - 4]
xorps xmm2, xmm0
movd dword [rcx - 4], xmm2
lea eax, [r8 + 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
psrad xmm1, 4
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 [0x1800e4780]
packuswb xmm2, xmm2
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx]
xorps xmm2, xmm0
movd dword [rcx], xmm2
add r8d, 8
lea rcx, [rcx + 8]
cmp r8d, 0x28
jl 0x1800213d2
cmp r8d, 0x2c
jge 0x180021520
movsxd rax, r8d
lea r9, [rbp - 0x30]
add r9, rax
nop dword [rax]
nop word [rax + rax]
mov eax, 0x4d4873ed
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x35
movzx eax, r8b
sub al, cl
add al, 0x36
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 0x2c
jl 0x1800214f0
xorps xmm0, xmm0
movups xmmword [rsp + 0x60], xmm0
mov qword [rsp + 0x70], r14
mov qword [rsp + 0x78], r14
lea rax, [rbp - 0x30]
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp byte [rax + r8], r14b
jne 0x180021540
lea rdx, [rbp - 0x30]
lea rcx, [rsp + 0x60]
call fcn.180004e30
lea rcx, [rsp + 0x60]
call fcn.18001eb60
mov rdx, rax
mov rcx, rbx
call fcn.18009ddd0
mov qword [rdi + 8], rax
jmp 0x18002157a
call fcn.1800c9c70
mov qword [rax], rbx
mov qword [0x18012aae8], rbx
movsd xmm0, qword [0x18012a600]
mov qword [rsp + 0x58], socket
comisd xmm0, xmmword [0x1800e4728]
jb 0x1800216a0
mov qword [rsp + 0x50], socket
movsd xmm0, qword [str.ClientQuickBars]
movsd qword [rsp + 0x40], xmm0
mov eax, dword [0x1800e44a0]
mov dword [rsp + 0x48], eax
movzx eax, word [0x1800e44a4]
mov word [rsp + 0x4c], ax
movzx eax, byte [reloc.WS2_32.dll_WSAStartup]
mov byte [rsp + 0x4e], al
mov byte [rsp + 0x4f], r14b
lea rax, [rsp + 0x40]
mov qword [rbp - 0x70], rax
mov rsi, qword [0x18012aa98]
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x60]
call fcn.180011810
mov rdi, rax
mov qword [rbp - 0x80], rax
test rsi, rsi
je 0x180021633
mov rdx, rax
lea rcx, [rbp - 0x30]
call fcn.180011810
mov rdx, rax
mov rcx, rsi
call fcn.180017a50
test eax, eax
jle 0x180021633
movsxd rbx, eax
add rbx, rsi
mov rcx, rdi
call fcn.180012760
jmp 0x18002163e
mov rcx, rdi
call fcn.180012760
mov rbx, r14
mov rdx, qword [rsp + 0x58]
cmp rdx, 0xf
jbe 0x18002167e
inc rdx
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180021679
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180021679
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800d8994
mov qword [rsp + 0x50], r14
mov qword [rsp + 0x58], socket
mov byte [rsp + 0x40], 0
mov rax, qword [rbx]
mov qword [0x18012aad0], rax
jmp 0x1800217cf
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x50], 9
movsd xmm0, qword [str.QuickBars]
movsd qword [rsp + 0x40], xmm0
movzx eax, byte [reloc.WS2_32.dll_WSAStartup]
mov byte [rsp + 0x48], al
mov byte [rsp + 0x49], r14b
lea rdx, [rsp + 0x40]
mov rcx, qword [0x18012aa98]
call fcn.18001ec60
mov rbx, rax
movaps xmm0, xmm9
unpcklps xmm0, xmm9
movsd qword [rsp + 0x30], xmm0
movss dword [rsp + 0x38], xmm9
movaps xmm0, xmm9
unpcklps xmm0, xmm9
movsd qword [rbp - 0x80], xmm0
movss dword [rbp - 0x78], xmm9
lea r8, [rsp + 0x30]
lea rdx, [rbp - 0x80]
lea rcx, [rbp - 0x68]
call fcn.180021090
movups xmm6, xmmword [rax]
movups xmm7, xmmword [rax + 0x10]
movups xmm8, xmmword [rax + 0x20]
xorps xmm0, xmm0
movups xmmword [rsp + 0x60], xmm0
mov qword [rsp + 0x70], r14
mov qword [rsp + 0x78], socket
mov ecx, 0x30
call fcn.1800d8958
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x70], 0x22
mov qword [rsp + 0x78], 0x2f
movups xmm0, xmmword [str._Script_FortniteGame.FortQuickBars]
movups xmmword [rax], xmm0
movups xmm1, xmmword [0x1800e44c8]
movups xmmword [rax + 0x10], xmm1
movzx ecx, word [0x1800e44d8]
mov word [rax + 0x20], cx
mov byte [rax + 0x22], r14b
lea rcx, [rsp + 0x60]
call fcn.18001eb60
movaps xmmword [rbp - 0x30], xmm6
movaps xmmword [rbp - 0x20], xmm7
movaps xmmword [rbp - 0x10], xmm8
mov byte [rsp + 0x20], r14b
xor r9d, r9d
mov r8b, 1
lea rdx, [rbp - 0x30]
mov rcx, rax
call fcn.1800b2200
mov qword [0x18012aad0], rax
mov qword [rbx], rax
mov rdx, qword [0x18012aa98]
mov rcx, qword [0x18012aad0]
call fcn.18009f8a0
mov rdx, qword [0x18012aa98]
mov rcx, qword [0x18012aae8]
call fcn.18009f8a0
mov dword [rsp + 0x38], 0xe
mov dword [rsp + 0x3c], 0xe
lea rax, str.bInfiniteAmmo
mov qword [rsp + 0x30], rax
movaps xmm0, xmmword [rsp + 0x30]
movdqa xmmword [rsp + 0x30], xmm0
mov r8b, 1
lea rdx, [rsp + 0x30]
mov rcx, qword [0x18012aa98]
call fcn.1800b4f00
mov dword [rsp + 0x38], socket
mov dword [rsp + 0x3c], socket
lea rax, str.bInfiniteConsumables
mov qword [rsp + 0x30], rax
movaps xmm0, xmmword [rsp + 0x30]
movdqa xmmword [rsp + 0x30], xmm0
mov r8b, 1
lea rdx, [rsp + 0x30]
mov rcx, qword [0x18012aa98]
call fcn.1800b4f00
mov dword [rsp + 0x38], socket
mov dword [rsp + 0x3c], socket
lea rax, str.bInfiniteMagazine
mov qword [rsp + 0x30], rax
movaps xmm0, xmmword [rsp + 0x30]
movdqa xmmword [rsp + 0x30], xmm0
mov r8b, 1
lea rdx, [rsp + 0x30]
mov rcx, qword [0x18012aa98]
call fcn.1800b4f00
mov dword [rsp + 0x38], socket
mov dword [rsp + 0x3c], socket
lea rax, str.bInfiniteDurability
mov qword [rsp + 0x30], rax
movaps xmm0, xmmword [rsp + 0x30]
movdqa xmmword [rsp + 0x30], xmm0
mov r8b, 1
lea rdx, [rsp + 0x30]
mov rcx, qword [0x18012aa98]
call fcn.1800b4f00
mov dword [rsp + 0x38], reloc.WS2_32.dll_inet_addr
mov dword [rsp + 0x3c], reloc.WS2_32.dll_inet_addr
lea rax, str.bBuildFree
mov qword [rsp + 0x30], rax
movaps xmm0, xmmword [rsp + 0x30]
movdqa xmmword [rsp + 0x30], xmm0
mov r8b, 1
lea rdx, [rsp + 0x30]
mov rcx, qword [0x18012aa98]
call fcn.1800b4f00
xorps xmm0, xmm0
movups xmmword [rsp + 0x60], xmm0
mov qword [rsp + 0x70], r14
mov qword [rsp + 0x78], socket
mov ecx, 0x20
call fcn.1800d8958
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x70], socket
mov qword [rsp + 0x78], 0x1f
movups xmm0, xmmword [str.Setting_up_Inventory_]
movups xmmword [rax], xmm0
mov ecx, dword [0x1800e45a8]
mov dword [rax + 0x10], ecx
movzx ecx, byte [0x1800e45ac]
mov byte [rax + 0x14], cl
mov byte [rax + 0x15], 0
lea rcx, [rsp + 0x60]
call fcn.1800935c0
mov rcx, qword [rbp]
xor rcx, rsp
call fcn.1800d8e20
lea r11, [rsp + 0x150]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov r14, qword [r11 + 0x28]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
movaps xmm8, xmmword [r11 - 0x30]
movaps xmm9, xmmword [r11 - 0x40]
mov rsp, r11
pop rbp
ret