Function at 0x180049920
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x90
mov r12, rcx
mov edx, dword [0x1801ef5e4]
mov rax, qword gs:[0x58]
mov rsi, qword [rax + rdx*8]
mov ebx, 0x14
lea rdi, [0x18021dbf8]
mov eax, dword [rbx + rsi]
cmp dword [0x18021dbc4], eax
jle 0x1800499b1
lea rcx, [0x18021dbc4]
call fcn.1800baf5c
cmp dword [0x18021dbc4], 0xffffffff
jne 0x1800499b1
mov dword [rsp + 0x20], 0xea503ac4
mov r9d, 0x26f69e30
mov r8d, 0x830bcf59
mov rdx, rdi
mov rcx, qword [0x18021daf0]
call fcn.180043350
nop
lea rcx, [0x18021dbc4]
call fcn.1800baef0
mov eax, dword [rbx + rsi]
cmp dword [0x18021dbcc], eax
jle 0x1800499eb
lea rcx, [0x18021dbcc]
call fcn.1800baf5c
cmp dword [0x18021dbcc], 0xffffffff
jne 0x1800499eb
lea rax, [0x18021dbfc]
mov qword [0x18021dc38], rax
lea rcx, [0x18021dbcc]
call fcn.1800baef0
mov eax, dword [rbx + rsi]
cmp dword [0x18021dc00], eax
jle 0x180049a1e
lea rcx, [0x18021dc00]
call fcn.1800baf5c
cmp dword [0x18021dc00], 0xffffffff
jne 0x180049a1e
mov qword [0x18021dc20], rdi
lea rcx, [0x18021dc00]
call fcn.1800baef0
mov r15d, 0x6bc
mov eax, dword [r15 + rsi]
mov ecx, 0x758
test al, 1
jne 0x180049a7a
or eax, 1
mov dword [r15 + rsi], eax
lea r14, [rcx + rsi]
xorps xmm0, xmm0
movups xmmword [r14], xmm0
mov rax, qword [0x18021dc20]
mov edx, dword [rax]
mov rax, qword [0x18021dc38]
mov dword [rsp + 0x20], edx
mov r9d, dword [rax]
mov r8, qword [r12]
mov rdx, r14
mov rcx, qword [r12 + 0x10]
call fcn.18003e680
lea rcx, [0x1800f58b0]
call fcn.1800bb07c
nop
jmp 0x180049a7e
lea r14, [rcx + rsi]
cmp qword [r14], 0
je 0x180049d4d
mov eax, dword [r15 + rsi]
mov r13d, 0x578
test al, 2
jne 0x180049ade
or eax, 2
mov dword [r15 + rsi], eax
lea rdi, [rsi + r13]
xorps xmm0, xmm0
movups xmmword [rdi], xmm0
mov rbx, qword [0x18021db20]
mov edx, 0x79101080
mov rcx, qword [0x18021daf0]
call fcn.180043100
mov r9d, eax
mov r8, qword [r12]
mov rdx, rdi
mov rcx, rbx
call fcn.18003c900
lea rcx, [0x1800f5840]
call fcn.1800bb07c
nop
mov eax, dword [r15 + rsi]
mov ebx, 0x624
test al, 4
jne 0x180049b06
or eax, 4
mov dword [r15 + rsi], eax
mov edx, 0x2b62ec40
mov rcx, qword [0x18021daf0]
call fcn.180043100
mov dword [rbx + rsi], eax
mov eax, dword [r15 + rsi]
mov edi, 0x630
test al, 8
jne 0x180049b45
or eax, 8
mov dword [r15 + rsi], eax
lea rdx, [rdi + rsi]
xorps xmm0, xmm0
movups xmmword [rdx], xmm0
mov r9d, dword [rbx + rsi]
mov r8, qword [r12]
mov rcx, qword [0x18021db20]
call fcn.18003c900
lea rcx, [0x1800f57d0]
call fcn.1800bb07c
nop
mov eax, dword [r15 + rsi]
mov ecx, 0x6a8
xor ebp, ebp
test al, 0x10
jne 0x180049d00
or eax, 0x10
mov dword [r15 + rsi], eax
lea r15, [rcx + rsi]
xorps xmm0, xmm0
movups xmmword [r15], xmm0
mov r13, qword [rsi + r13]
lea rdx, [rsp + 0x70]
mov rcx, qword [rdi + rsi]
call fcn.18003e130
xor edx, edx
mov rcx, rax
call fcn.180016f20
mov esi, eax
mov rax, qword [0x18021daf0]
mov qword [rsp + 0xc8], rax
lea rax, str.theItem
lea rdx, str.item
cmp dword [0x1801f0338], ebp
cmove rdx, rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x50], xmm0
mov qword [rsp + 0x60], rbp
mov qword [rsp + 0x68], rbp
mov r8, 0xffffffffffffffff
nop dword [rax + rax]
inc r8
cmp byte [rdx + r8], 0
jne 0x180049bd0
lea rcx, [rsp + 0x50]
call fcn.18000b050
nop
lea rdx, [rsp + 0x50]
cmp qword [rsp + 0x68], 0xf
cmova rdx, qword [rsp + 0x50]
mov ebx, 0xffffffff
mov edi, ebx
mov r8d, ebp
lea r10, [0x1801269e0]
mov r9, qword [rsp + 0x60]
test r9, r9
je 0x180049c32
movsx ecx, byte [rdx]
mov eax, edi
xor rcx, rax
movzx eax, cl
shr edi, 8
xor edi, dword [r10 + rax*4]
lea rdx, [rdx + 1]
inc r8d
mov eax, r8d
cmp rax, r9
jb 0x180049c11
not edi
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
mov qword [rsp + 0x40], rbp
mov qword [rsp + 0x48], rbp
mov r8d, 0x1c
lea rdx, str.net_minecraft_item_ItemStack
lea rcx, [rsp + 0x30]
call fcn.18000b050
nop
lea rdx, [rsp + 0x30]
cmp qword [rsp + 0x48], 0xf
cmova rdx, qword [rsp + 0x30]
mov r8d, ebp
mov r9, qword [rsp + 0x40]
test r9, r9
je 0x180049cb1
lea r10, [0x1801269e0]
nop dword [rax]
nop word [rax + rax]
movsx ecx, byte [rdx]
mov eax, ebx
xor rcx, rax
movzx eax, cl
shr ebx, 8
xor ebx, dword [r10 + rax*4]
lea rdx, [rdx + 1]
inc r8d
mov eax, r8d
cmp rax, r9
jb 0x180049c90
not ebx
mov r8d, edi
mov edx, ebx
mov rcx, qword [rsp + 0xc8]
call fcn.1800431b0
mov dword [rsp + 0x20], esi
mov r9d, eax
mov r8, qword [r12]
mov rdx, r15
mov rcx, r13
call fcn.18003e950
nop
lea rcx, [rsp + 0x30]
call fcn.180008ad0
nop
lea rcx, [rsp + 0x50]
call fcn.180008ad0
lea rcx, [0x1800f5760]
call fcn.1800bb07c
nop
jmp 0x180049d04
lea r15, [rsi + rcx]
cmp qword [r15], 0
je 0x180049d4d
xor r8d, r8d
mov rdx, qword [r12 + 8]
mov rcx, qword [r14]
call fcn.18003ef50
mov r9, rax
test rax, rax
je 0x180049d4d
mov rdx, qword [r15]
mov rcx, qword [rdx]
test rcx, rcx
je 0x180049d48
mov r8, qword [rdx + 8]
test r8, r8
je 0x180049d48
mov rdx, qword [rcx]
mov rax, qword [rdx + 0x2f8]
mov rdx, r9
call rax
mov rbp, rax
mov rax, rbp
jmp 0x180049d4f
xor eax, eax
lea r11, [rsp + 0x90]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret