Function at 0x1800a1290
Capabilities:
Encode data using xor

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 - 0x188]
sub rsp, 0x260
movaps xmmword [rax - 0x38], xmm6
movaps xmmword [rax - 0x48], xmm7
mov rax, qword [0x180117040]
xor rax, rsp
mov qword [rbp + 0x130], rax
xor r12d, r12d
movsd xmm0, qword [0x180118dc0]
ucomisd xmm0, qword [0x180101388]
jp 0x1800a134d
jne 0x1800a134d
mov rdi, qword [0x180118e08]
xorps xmm0, xmm0
movups xmmword [rbp + 0xd0], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0xe0], xmm1
lea r8d, [r12 + 0x10]
lea rdx, str.bIsDisconnecting
lea rcx, [rbp + 0xd0]
call fcn.18001d5d0
nop
test rdi, rdi
je 0x1800a133b
lea rdx, [rbp + 0xd0]
mov rcx, rdi
call fcn.180004790
test eax, eax
jle 0x1800a133b
movsxd rbx, eax
add rbx, rdi
jmp 0x1800a133e
mov rbx, r12
lea rcx, [rbp + 0xd0]
call fcn.18001faf0
and byte [rbx], 0xfd
call fcn.180035100
mov r13d, 1
movsd xmm6, qword [0x180101238]
test al, al
je 0x1800a161c
call fcn.1800a4fd0
call fcn.1800356f0
mov rcx, qword [0x180118db8]
test rcx, rcx
je 0x1800a13b3
cmp qword [0x180119ef8], 0
je 0x1800a1391
mov rax, qword [0x180119e88]
jmp 0x1800a139b
movsxd rax, dword [0x180118d60]
add rax, rcx
mov rbx, qword [rax]
test rbx, rbx
je 0x1800a13b3
movsxd rax, dword [0x180118d58]
mov rbx, qword [rax + rbx]
test rbx, rbx
jne 0x1800a13b6
mov rbx, r12
xorps xmm0, xmm0
movups xmmword [rsp + 0x60], xmm0
mov qword [rsp + 0x70], r12
mov qword [rsp + 0x78], r12
mov r8d, 0xa
lea rdx, str.Match_Set_
lea rcx, [rsp + 0x60]
call fcn.18001d5d0
xorps xmm0, xmm0
movups xmmword [rbp + 0xd0], xmm0
movdqa xmm1, xmmword [0x1801015c0]
movdqu xmmword [rbp + 0xe0], xmm1
mov byte [rbp + 0xd0], 0
lea rcx, [rbp + 0xd0]
call fcn.18001faf0
lea rcx, [rsp + 0x60]
call fcn.18001faf0
xorps xmm0, xmm0
movups xmmword [rsp + 0x60], xmm0
mov qword [rsp + 0x70], r12
mov qword [rsp + 0x78], r12
mov r8d, 0xa
lea rdx, str.StartMatch
lea rcx, [rsp + 0x60]
call fcn.18001d5d0
xor r8d, r8d
lea rdx, [rsp + 0x60]
mov rcx, rbx
call fcn.1800906f0
mov cl, 5
call fcn.1800354f0
cmp dword [0x180118dc8], 0xb
jge 0x1800a15b2
lea rax, str.Athena_GameplayActors
mov qword [rsp + 0x40], rax
mov dword [rsp + 0x48], socket
mov dword [rsp + 0x4c], socket
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x50]
call fcn.1800b7c20
mov rcx, qword [rsp + 0x50]
call fcn.1800b6810
mov rbx, rax
mov r8d, 0x30
lea rdx, [rbp + 0xd0]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x1800a15b2
mov edx, dword [rbp + 0xf4]
test dl, 0xee
sete cl
test edx, 0x101
movzx eax, cl
cmovne eax, r13d
test al, al
jne 0x1800a15b2
test rbx, rbx
je 0x1800a15b2
movsxd rax, dword [0x180118d3c]
mov rcx, qword [rax + rbx]
test rcx, rcx
je 0x1800a15b2
movsxd rax, dword [0x180117448]
movups xmm1, xmmword [rax + rcx]
mov rax, qword [rax + rcx + 8]
movsxd rcx, eax
movq rbx, xmm1
lea rsi, [rbx + rcx*8]
cmp rbx, rsi
je 0x1800a15b2
nop dword [rax]
mov r8d, 0x30
lea rdx, [rbp + 0xd0]
mov rcx, qword [rbx]
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x1800a15a5
mov ecx, dword [rbp + 0xf4]
test cl, 0xee
sete al
test ecx, 0x101
movzx ecx, al
cmovne ecx, r13d
test cl, cl
jne 0x1800a15a5
mov rdi, qword [rbx]
call fcn.1800b5c20
test rax, rax
je 0x1800a15a5
movsxd rcx, dword [0x1801170b0]
mov rdx, qword [rcx + rdi]
cmp rdx, rax
je 0x1800a1593
movsxd rcx, dword [0x1801170a8]
nop dword [rax]
test rdx, rdx
je 0x1800a15a5
mov rdx, qword [rcx + rdx]
test rdx, rdx
je 0x1800a15a5
cmp rdx, rax
jne 0x1800a1580
xor r8d, r8d
mov rdx, qword [0x180118cd8]
mov rcx, qword [rbx]
call fcn.180038670
add rbx, 8
cmp rbx, rsi
jne 0x1800a1520
comisd xmm6, xmmword [0x180118dc0]
ja 0x1800a15ce
cmp dword [0x180118dc8], 0x17
jge 0x1800a15ce
call fcn.180036d60
test al, al
jne 0x1800a1621
mov rbx, qword [0x180118e08]
xorps xmm0, xmm0
movups xmmword [rsp + 0x60], xmm0
mov qword [rsp + 0x70], r12
mov qword [rsp + 0x78], r12
mov r8d, reloc.WS2_32.dll_socket
lea rdx, str.ServerReadyToStartMatch
lea rcx, [rsp + 0x60]
call fcn.18001d5d0
xor r8d, r8d
lea rdx, [rsp + 0x60]
mov rcx, rbx
call fcn.1800906f0
lea rcx, [0x180118df0]
call fcn.180022940
jmp 0x1800a1621
call fcn.180035d40
call fcn.1800bb830
mov rdx, rax
lea rcx, [rbp + 0xc0]
call fcn.1800b6640
movsxd rax, dword [rbp + 0xc8]
mov rbx, qword [rbp + 0xc0]
lea rdi, [rbx + rax*8]
cmp rbx, rdi
je 0x1800a168f
nop dword [rax]
mov rax, qword [rbx]
mov qword [rsp + 0x50], rax
mov rdx, qword [0x18011a580]
cmp rdx, qword [0x18011a588]
je 0x1800a1675
mov qword [rdx], rax
add qword [0x18011a580], 8
jmp 0x1800a1686
lea r8, [rsp + 0x50]
lea rcx, [0x18011a578]
call fcn.18000fc60
add rbx, 8
cmp rbx, rdi
jne 0x1800a1650
mov r14, 0xffffffffffffffff
cmp dword [0x180118dc8], 0x17
jge 0x1800a191d
call fcn.180036d60
test al, al
je 0x1800a1916
mov rdi, qword [0x18011a540]
mov rbx, qword [0x18011a538]
cmp rbx, rdi
je 0x1800a16d4
mov rcx, qword [rbx]
call fcn.180036f80
add rbx, 8
cmp rbx, rdi
jne 0x1800a16c3
mov eax, dword [0x180118dc8]
cmp eax, 0xb
jge 0x1800a16e8
lea rcx, str.Athena_POI_Foundations
jmp 0x1800a1711
cmp eax, 0x13
jge 0x1800a16f6
lea rcx, str.Apollo_POI_Foundations
jmp 0x1800a1711
lea rdx, str.Artemis_POI_Foundations
lea rcx, [0x1800e9060]
cmp eax, 0x17
cmovl rcx, rdx
cmp word [rcx], 0
je 0x1800a1723
mov rax, r14
inc rax
cmp word [rcx + rax*2], 0
jne 0x1800a1714
inc rax
jmp 0x1800a1726
mov rax, r12
test eax, eax
cmove rcx, r12
mov qword [rsp + 0x40], rcx
mov dword [rsp + 0x48], eax
mov dword [rsp + 0x4c], eax
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x50]
call fcn.1800b7c20
mov rcx, qword [rsp + 0x50]
call fcn.1800b6810
test rax, rax
je 0x1800a18b8
movsxd rcx, dword [0x180118d3c]
mov rdx, qword [rcx + rax]
test rdx, rdx
je 0x1800a18b8
movsxd rax, dword [0x180117448]
mov rbx, qword [rax + rdx]
mov rax, qword [rax + rdx + 8]
movsxd rcx, eax
lea r15, [rbx + rcx*8]
cmp rbx, r15
je 0x1800a18b8
nop
mov r8d, 0x30
lea rdx, [rbp + 0x100]
mov rcx, qword [rbx]
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x1800a18ab
mov ecx, dword [rbp + 0x124]
test cl, 0xee
sete al
test ecx, 0x101
movzx ecx, al
cmovne ecx, r13d
test cl, cl
jne 0x1800a18ab
mov rdi, qword [rbx]
call fcn.1800a67b0
test rax, rax
je 0x1800a18ab
movsxd rcx, dword [0x1801170b0]
mov rdx, qword [rcx + rdi]
cmp rdx, rax
je 0x1800a181b
movsxd rcx, dword [0x1801170a8]
nop dword [rax + rax]
test rdx, rdx
je 0x1800a18ab
mov rdx, qword [rcx + rdx]
test rdx, rdx
je 0x1800a18ab
cmp rdx, rax
jne 0x1800a1800
mov rsi, qword [rbx]
mov qword [rsp + 0x50], rsi
xorps xmm0, xmm0
movups xmmword [rsp + 0x60], xmm0
mov qword [rsp + 0x70], r12
mov qword [rsp + 0x78], r12
mov r8d, socket
lea rdx, str.DynamicFoundationType
lea rcx, [rsp + 0x60]
call fcn.18001d5d0
nop
test rsi, rsi
je 0x1800a186b
lea rdx, [rsp + 0x60]
mov rcx, rsi
call fcn.180004790
test eax, eax
jle 0x1800a186b
movsxd rdi, eax
add rdi, rsi
jmp 0x1800a186e
mov rdi, r12
lea rcx, [rsp + 0x60]
call fcn.18001faf0
cmp byte [rdi], 3
jne 0x1800a18ab
mov rdx, qword [0x18011a558]
cmp rdx, qword [0x18011a560]
je 0x1800a189a
mov qword [rdx], rsi
add qword [0x18011a558], 8
jmp 0x1800a18ab
lea r8, [rsp + 0x50]
lea rcx, [0x18011a550]
call fcn.18000fc60
add rbx, 8
cmp rbx, r15
jne 0x1800a1790
movsd xmm0, qword [0x180118dc0]
comisd xmm0, xmm6
jb 0x1800a191d
xorps xmm0, xmm0
movups xmmword [rbp + 0xd0], xmm0
mov qword [rbp + 0xe0], r12
mov qword [rbp + 0xe8], r12
mov r8d, 0xe
lea rdx, str.CollectGarbage
lea rcx, [rbp + 0xd0]
call fcn.18001d5d0
xor r8d, r8d
lea rdx, [rbp + 0xd0]
mov rcx, qword [0x180118da8]
call fcn.1800906f0
mov byte [0x18011a5fe], 1
jmp 0x1800a191d
mov byte [0x18011a629], r13b
movsd xmm0, qword [0x180118dc0]
comisd xmm0, xmmword [0x180101350]
jb 0x1800a1b0f
cmp dword [0x180118dc8], 0x11
jge 0x1800a1b0f
mov dword [rsp + 0x48], 0x20
mov dword [rsp + 0x4c], 0x20
lea rax, str.Athena.UseVolumetricClouds_true
mov qword [rsp + 0x40], rax
movaps xmm0, xmmword [rsp + 0x40]
movdqa xmmword [rbp + 0xc0], xmm0
lea rcx, [rbp + 0xc0]
call fcn.1800b7d40
mov dword [rsp + 0x48], 0x1a
mov dword [rsp + 0x4c], 0x1a
lea rax, str.Athena.PostProcessLevel_3
mov qword [rsp + 0x40], rax
movaps xmm0, xmmword [rsp + 0x40]
movdqa xmmword [rbp + 0xc0], xmm0
lea rcx, [rbp + 0xc0]
call fcn.1800b7d40
mov dword [rsp + 0x48], reloc.WS2_32.dll_socket
mov dword [rsp + 0x4c], reloc.WS2_32.dll_socket
lea rax, str.Athena.UseJanusFX_true
mov qword [rsp + 0x40], rax
movaps xmm0, xmmword [rsp + 0x40]
movdqa xmmword [rbp + 0xc0], xmm0
lea rcx, [rbp + 0xc0]
call fcn.1800b7d40
mov dword [rsp + 0x48], 0x20
mov dword [rsp + 0x4c], 0x20
lea rax, str.Athena.UsePhysicalRimlight_true
mov qword [rsp + 0x40], rax
movaps xmm0, xmmword [rsp + 0x40]
movdqa xmmword [rbp + 0xc0], xmm0
lea rcx, [rbp + 0xc0]
call fcn.1800b7d40
mov dword [rsp + 0x48], reloc.WS2_32.dll_socket
mov dword [rsp + 0x4c], reloc.WS2_32.dll_socket
lea rax, str.Athena.UseFluidFX_true
mov qword [rsp + 0x40], rax
movaps xmm0, xmmword [rsp + 0x40]
movdqa xmmword [rbp + 0xc0], xmm0
lea rcx, [rbp + 0xc0]
call fcn.1800b7d40
lea rax, str.Apollo_Volumetrics
mov qword [rsp + 0x40], rax
mov dword [rsp + 0x48], socket
mov dword [rsp + 0x4c], socket
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x50]
call fcn.1800b7c20
mov rcx, qword [rsp + 0x50]
call fcn.1800b6810
test rax, rax
jne 0x1800a1b0f
mov qword [rsp + 0x40], r12
mov qword [rsp + 0x48], r12
xorps xmm2, xmm2
mov dword [rbp + 0xc8], 0x3d
mov dword [rbp + 0xcc], 0x3d
lea rax, str._Volumetrics_FN_Levels_Apollo_Volumetrics.Apollo_Volumetrics
mov qword [rbp + 0xc0], rax
movaps xmm0, xmmword [rsp + 0x40]
movdqa xmmword [rsp + 0x60], xmm0
xorps xmm1, xmm1
unpcklps xmm1, xmm2
movsd qword [rsp + 0x50], xmm1
movss dword [rsp + 0x58], xmm2
xorps xmm0, xmm0
unpcklps xmm0, xmm2
movsd qword [rsp + 0x40], xmm0
movss dword [rsp + 0x48], xmm2
movaps xmm0, xmmword [rbp + 0xc0]
movdqa xmmword [rbp + 0xc0], xmm0
lea r9, [rsp + 0x60]
lea r8, [rsp + 0x50]
lea rdx, [rsp + 0x40]
lea rcx, [rbp + 0xc0]
call fcn.1800b8310
mov rcx, qword [0x180118db8]
test rcx, rcx
je 0x1800a1bc4
cmp qword [0x180119ef8], 0
je 0x1800a1b32
mov rax, qword [0x180119e88]
jmp 0x1800a1b3c
movsxd rax, dword [0x180118d60]
add rax, rcx
mov rcx, qword [rax]
test rcx, rcx
je 0x1800a1bc4
movsxd rax, dword [0x180118d58]
mov rbx, qword [rax + rcx]
test rbx, rbx
je 0x1800a1bc4
lea rcx, [rbp - 0x80]
lea rax, str.____UYTQX
mov edx, 2
nop dword [rax + rax]
movups xmm0, xmmword [rax]
movups xmmword [rcx], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rcx + 0x10], xmm1
movups xmm0, xmmword [rax + 0x20]
movups xmmword [rcx + 0x20], xmm0
movups xmm1, xmmword [rax + 0x30]
movups xmmword [rcx + 0x30], xmm1
movups xmm0, xmmword [rax + 0x40]
movups xmmword [rcx + 0x40], xmm0
movups xmm1, xmmword [rax + 0x50]
movups xmmword [rcx + 0x50], xmm1
movups xmm0, xmmword [rax + 0x60]
movups xmmword [rcx + 0x60], xmm0
lea rcx, [rcx + 0x80]
movups xmm1, xmmword [rax + 0x70]
movups xmmword [rcx - 0x10], xmm1
lea rax, [rax + 0x80]
sub rdx, 1
jne 0x1800a1b70
jmp 0x1800a1c32
mov rbx, r12
lea rcx, [rbp - 0x80]
lea rax, str.____UYTQX
mov edx, 2
nop word [rax + rax]
movups xmm0, xmmword [rax]
movups xmmword [rcx], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rcx + 0x10], xmm1
movups xmm0, xmmword [rax + 0x20]
movups xmmword [rcx + 0x20], xmm0
movups xmm1, xmmword [rax + 0x30]
movups xmmword [rcx + 0x30], xmm1
movups xmm0, xmmword [rax + 0x40]
movups xmmword [rcx + 0x40], xmm0
movups xmm1, xmmword [rax + 0x50]
movups xmmword [rcx + 0x50], xmm1
movups xmm0, xmmword [rax + 0x60]
movups xmmword [rcx + 0x60], xmm0
lea rcx, [rcx + 0x80]
movups xmm1, xmmword [rax + 0x70]
movups xmmword [rcx - 0x10], xmm1
lea rax, [rax + 0x80]
sub rdx, 1
jne 0x1800a1be0
movups xmm0, xmmword [rax]
movups xmmword [rcx], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rcx + 0x10], xmm1
movups xmm0, xmmword [rax + 0x20]
movups xmmword [rcx + 0x20], xmm0
mov eax, dword [rax + 0x30]
mov dword [rcx + 0x30], eax
mov r8d, r12d
mov edi, dword [0x180117018]
cmp edi, 2
jl 0x1800a1d8d
movdqa xmm5, xmmword [0x180101630]
movdqa xmm4, xmmword [0x180101850]
movdqa xmm6, xmmword [0x180101670]
movdqa xmm7, xmmword [str.55555555]
lea rcx, [rbp - 0x80]
nop dword [rax]
nop dword [rax + rax]
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
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 xmm3, xmm1, 0xd8
movq xmm2, xmm7
paddw xmm3, xmm2
movq xmm0, qword [rcx]
xorps xmm3, xmm0
movq qword [rcx], xmm3
lea eax, [r8 + 4]
movd xmm2, eax
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 xmm3, xmm1, 0xd8
movq xmm2, xmm7
paddw xmm3, xmm2
movq xmm0, qword [rcx + 8]
xorps xmm3, xmm0
movq qword [rcx + 8], xmm3
add r8d, 8
lea rcx, [rcx + 0x10]
cmp r8d, 0x98
jl 0x1800a1c90
cmp r8d, 0x9a
jge 0x1800a1dda
movsxd rax, r8d
lea r9, [rbp - 0x80]
lea r9, [r9 + rax*2]
nop dword [rax + rax]
mov eax, 0x92492493
imul r8d
add edx, r8d
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movzx eax, dx
imul ecx, eax, 0x38
movzx eax, r8w
sub ax, cx
add ax, 0x35
xor word [r9], ax
inc r8d
lea r9, [r9 + 2]
cmp r8d, 0x9a
jl 0x1800a1da0
cmp word [rbp - 0x80], 0
je 0x1800a1dff
lea rax, [rbp - 0x80]
mov rcx, r14
nop dword [rax + rax]
inc rcx
cmp word [rax + rcx*2], 0
jne 0x1800a1df0
inc rcx
jmp 0x1800a1e02
mov rcx, r12
mov dword [rbp + 0xc8], ecx
mov dword [rbp + 0xcc], ecx
lea rax, [rbp - 0x80]
test ecx, ecx
cmove rax, r12
mov qword [rbp + 0xc0], rax
movaps xmm0, xmmword [rbp + 0xc0]
movdqa xmmword [rsp + 0x60], xmm0
xorps xmm0, xmm0
movups xmmword [rbp + 0xd0], xmm0
mov qword [rbp + 0xe0], r12
mov qword [rbp + 0xe8], r12
mov r8d, 3
lea rdx, [0x1800ff864]
lea rcx, [rbp + 0xd0]
call fcn.18001d5d0
lea r8, [rsp + 0x60]
lea rdx, [rbp + 0xd0]
mov rcx, rbx
call fcn.1800906f0
movups xmm0, xmmword [str.bS__VW]
movups xmmword [rbp - 0x80], xmm0
movups xmm1, xmmword [0x1800fd6b0]
movups xmmword [rbp - 0x70], xmm1
movups xmm0, xmmword [0x1800fd6c0]
movups xmmword [rbp - 0x60], xmm0
movups xmm1, xmmword [0x1800fd6d0]
movups xmmword [rbp - 0x50], xmm1
movups xmm0, xmmword [0x1800fd6e0]
movups xmmword [rbp - 0x40], xmm0
movups xmm1, xmmword [0x1800fd6f0]
movups xmmword [rbp - 0x30], xmm1
movups xmm0, xmmword [0x1800fd700]
movups xmmword [rbp - 0x20], xmm0
movups xmm1, xmmword [str.A_EY_]
movups xmmword [rbp - 0x10], xmm1
movups xmm0, xmmword [0x1800fd720]
movups xmmword [rbp], xmm0
movsd xmm0, qword [0x1800fd730]
movsd qword [rbp + 0x10], xmm0
cmp edi, 2
jl 0x1800a202a
movdqa xmm5, xmmword [0x180101630]
mov edx, r12d
movdqa xmm4, xmmword [0x180101850]
movdqa xmm6, xmmword [0x180101670]
movdqa xmm0, xmmword [0x180101740]
movdqa xmmword [rsp + 0x60], xmm0
lea rcx, [rbp - 0x7c]
mov r8d, dword [rsp + 0x60]
nop dword [rax]
movd xmm2, edx
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 [0x180101720]
packuswb xmm2, xmm2
movd xmm0, r8d
paddb xmm2, xmm0
movd xmm0, dword [rcx - 4]
xorps xmm2, xmm0
movd dword [rcx - 4], xmm2
lea eax, [rdx + 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 [0x180101720]
packuswb xmm2, xmm2
movd xmm0, r8d
paddb xmm2, xmm0
movd xmm0, dword [rcx]
xorps xmm2, xmm0
movd dword [rcx], xmm2
add edx, 8
lea rcx, [rcx + 8]
cmp edx, 0x98
jl 0x1800a1f20
jmp 0x1800a2076
lea r9, [rbp - 0x80]
mov r8d, r12d
nop dword [rax]
nop word [rax + 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, 0x35
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 0x98
jl 0x1800a2040
xorps xmm0, xmm0
movups xmmword [rbp + 0xd0], xmm0
mov qword [rbp + 0xe0], r12
mov qword [rbp + 0xe8], r12
lea rax, [rbp - 0x80]
inc r14
cmp byte [rax + r14], 0
jne 0x1800a2092
mov r8, r14
lea rdx, [rbp - 0x80]
lea rcx, [rbp + 0xd0]
call fcn.18001d5d0
xorps xmm0, xmm0
movups xmmword [rsp + 0x60], xmm0
movdqa xmm1, xmmword [0x1801015c0]
movdqu xmmword [rsp + 0x70], xmm1
mov byte [rsp + 0x60], 0
lea rcx, [rsp + 0x60]
call fcn.18001faf0
lea rcx, [rbp + 0xd0]
call fcn.18001faf0
mov cl, 2
call fcn.180006480
mov rcx, qword [rbp + 0x130]
xor rcx, rsp
call fcn.1800c4020
lea r11, [rsp + 0x260]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret