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

Disassembly:
mov rax, rsp
mov qword [rax + 0x18], rbx
mov qword [rax + 0x20], rsi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0x100
movaps xmmword [rax - 0x38], xmm6
xor r12d, r12d
movaps xmmword [rax - 0x48], xmm7
mov rbx, rcx
movaps xmmword [rax - 0x58], xmm8
movaps xmmword [rax - 0x68], xmm9
mov qword [rcx + 4], r12
mov dword [rcx], r12d
test dl, dl
je 0x1800a5a51
mov rcx, qword [0x1801ff8a0]
call fcn.1800a2050
lea rdx, [rsp + 0x30]
mov rcx, rax
call fcn.1800a1d94
mov esi, 4
xorps xmm6, xmm6
movss xmm0, dword [rax + 4]
movss xmm1, dword [rax + 8]
addss xmm0, dword [0x18008b90c]
mov eax, dword [rax]
mov dword [rbx], eax
movss dword [rbx + 4], xmm0
movss dword [rbx + 8], xmm1
mov r14, qword [0x1801ff8a0]
mov r15d, dword [0x1801ff280]
test r14, r14
jne 0x1800a5a17
and dword [rsp + 0x20], r12d
and dword [rsp + 0x24], r12d
and dword [rsp + 0x28], r12d
jmp 0x1800a5a41
mov rax, qword gs:[0x58]
mov rax, qword [rax + r15*8]
mov eax, dword [rsi + rax]
cmp dword [0x180200030], eax
jg 0x1800a6142
mov rdx, r14
lea rcx, [rsp + 0x20]
call qword [0x1801ffda0]
movsd xmm0, qword [rsp + 0x20]
mov r12d, dword [rsp + 0x28]
jmp 0x1800a5b2c
cmp byte [0x1801ff962], r12b
xorps xmm6, xmm6
je 0x1800a5a9b
movss xmm0, dword [0x1801ffb18]
ucomiss xmm0, xmm6
jne 0x1800a5a84
movss xmm0, dword [0x1801ffb1c]
ucomiss xmm0, xmm6
jne 0x1800a5a84
movss xmm0, dword [0x1801ffb20]
ucomiss xmm0, xmm6
je 0x1800a5a9b
movsd xmm0, qword [0x1801ffb18]
mov eax, dword [0x1801ffb20]
movsd qword [rcx], xmm0
mov dword [rcx + 8], eax
jmp 0x1800a5ac0
mov rcx, qword [0x1801ff930]
lea rdx, [rsp + 0x30]
mov r8d, 0x2f
call fcn.1800a4614
movsd xmm0, qword [rax]
mov eax, dword [rax + 8]
movsd qword [rbx], xmm0
mov dword [rbx + 8], eax
mov rcx, qword [0x1801ff930]
call fcn.1800a4b3c
mov r15d, dword [0x1801ff280]
mov esi, 4
mov r14, qword [rax]
test r14, r14
jne 0x1800a5af3
xorps xmm0, xmm0
movss dword [rsp + 0x28], xmm6
unpcklps xmm0, xmm6
movd r12d, xmm6
jmp 0x1800a5b26
mov rax, qword gs:[0x58]
mov rax, qword [rax + r15*8]
mov eax, dword [rsi + rax]
cmp dword [0x1802004e4], eax
jg 0x1800a6180
mov rax, qword [0x1801ffea8]
mov r12d, dword [r14 + rax + 8]
movsd xmm0, qword [r14 + rax]
mov dword [rsp + 0x28], r12d
movsd qword [rsp + 0x20], xmm0
mov dword [rbp + 0x6f], r12d
movsd qword [rsp + 0x40], xmm0
call fcn.1800a4bb8
mov rcx, rax
call fcn.1800ecbb8
mov r13, rax
test rax, rax
je 0x1800a610e
mov r8, qword [rax]
lea r10, [0x180084880]
or r14d, 0xffffffff
test r8, r8
je 0x1800a5d66
mov r8, qword [r8 + 0x10]
test r8, r8
je 0x1800a5d66
mov edx, r14d
or rax, 0xffffffffffffffff
inc rax
cmp byte [r8 + rax], 0
jne 0x1800a5b7a
test eax, eax
je 0x1800a5d66
mov r9d, eax
movsx ecx, byte [r8]
mov eax, edx
xor rcx, rax
shr edx, 8
movzx eax, cl
inc r8
xor edx, dword [r10 + rax*4]
sub r9, 1
jne 0x1800a5b8f
not edx
cmp edx, 0x479168ed
jne 0x1800a5d66
call fcn.1800a4bb8
mov rcx, rax
call fcn.1800a48e8
mov rcx, rax
call fcn.1800a3ec8
mov rcx, qword [rax]
call fcn.1800a328c
cmp dword [rax], 0x5bd8cc17
je 0x1800a5c0e
call fcn.1800a4bb8
mov rcx, rax
call fcn.1800a48e8
mov rcx, rax
call fcn.1800a3ec8
mov rcx, qword [rax]
call fcn.1800a328c
cmp dword [rax], 0x5f867078
je 0x1800a5c0e
movsd xmm9, qword [0x18008b930]
jmp 0x1800a5c17
movsd xmm9, qword [0x18008b948]
call fcn.1800a4bb8
mov rcx, rax
call fcn.1800a413c
lea rdx, [rsp + 0x30]
mov rcx, qword [rax]
call fcn.1800a3a9c
movss xmm7, dword [rbx]
movss xmm8, dword [rbx + 4]
movss xmm6, dword [rbx + 8]
movsd xmm0, qword [rax]
subss xmm6, dword [rax + 8]
movsd qword [rsp + 0x20], xmm0
subss xmm7, dword [rsp + 0x20]
subss xmm8, dword [rsp + 0x24]
call fcn.1800a58ec
movss xmm3, dword [0x18008b8d4]
movss xmm1, dword [rsp + 0x40]
mulss xmm1, dword [0x18008b898]
divss xmm3, xmm0
xorps xmm0, xmm0
mulss xmm8, xmm8
mulss xmm7, xmm7
mulss xmm6, xmm6
addss xmm8, xmm7
addss xmm8, xmm6
sqrtss xmm0, xmm8
mulss xmm3, xmm0
movd xmm0, r12d
mulss xmm0, dword [0x18008b898]
mulss xmm1, xmm3
mulss xmm0, xmm3
addss xmm1, dword [rbx]
addss xmm0, dword [rbx + 8]
movss dword [rbx], xmm1
movss dword [rbx + 8], xmm0
call fcn.1800a4bb8
mov rcx, rax
call fcn.1800a413c
lea rdx, [rsp + 0x30]
mov rcx, qword [rax]
call fcn.1800a3a9c
movss xmm0, dword [rbx + 4]
subss xmm0, dword [rax + 4]
cvtps2pd xmm6, xmm0
call fcn.1800a4bb8
mov rcx, rax
call fcn.1800a413c
lea rdx, [rsp + 0x30]
mov rcx, qword [rax]
call fcn.1800a3a9c
movss xmm1, dword [rbx + 8]
movaps xmm0, xmm6
movss xmm2, dword [rbx]
subss xmm1, dword [rax + 8]
subss xmm2, dword [rax]
mulss xmm1, xmm1
mulss xmm2, xmm2
addss xmm1, xmm2
sqrtss xmm1, xmm1
cvtps2pd xmm7, xmm1
movaps xmm1, xmm7
call sub.api_ms_win_crt_math_l1_1_0.dll_atan2
call sub.api_ms_win_crt_math_l1_1_0.dll_cos
movaps xmm6, xmm0
call fcn.1800a58ec
xorps xmm1, xmm1
cvtss2sd xmm1, xmm0
mulsd xmm6, xmm1
divsd xmm7, xmm6
mulsd xmm9, xmm7
mulsd xmm9, xmm7
cvtpd2ps xmm0, xmm9
jmp 0x1800a6104
mov rax, qword gs:[0x58]
mov ecx, r15d
mov r15d, esi
mov r12, qword [rax + rcx*8]
mov eax, dword [r12 + r15]
cmp dword [0x180200904], eax
jg 0x1800a61bb
cmp qword [0x1802002b0], 0
je 0x1800a610e
mov rcx, r13
call fcn.1800a3678
mov rsi, qword [rax]
test rsi, rsi
je 0x1800a610e
mov eax, dword [r12 + r15]
cmp dword [0x180200878], eax
jg 0x1800a631d
mov rax, qword [0x180200930]
mov rax, qword [rsi + rax]
mov qword [rbp + 0x67], rax
test rax, rax
je 0x1800a610e
mov rsi, qword [0x1802002b0]
test rsi, rsi
je 0x1800a610e
mov eax, dword [r12 + r15]
cmp dword [0x180200680], eax
jg 0x1800a6358
mov rax, qword [0x180200570]
mov rdx, rsi
mov rcx, qword [rbp + 0x67]
call rax
mov rsi, rax
test rax, rax
je 0x1800a610e
cmp byte [0x1801ff94d], 0
movss xmm7, dword [0x18008b908]
je 0x1800a5e26
movaps xmm9, xmm7
jmp 0x1800a5e2f
movss xmm9, dword [0x18008b8d4]
mov rax, qword [0x1801ffbb0]
mov rcx, rsi
call rax
mov eax, dword [r12 + r15]
movaps xmm8, xmm0
cmp dword [0x1801fff20], eax
jg 0x1800a6396
mov rax, qword [0x1801ffdd8]
mov rdx, qword [r13]
mulss xmm8, xmm9
mulss xmm8, dword [rax + r13]
test rdx, rdx
je 0x1800a5f08
mov rdx, qword [rdx + 0x10]
test rdx, rdx
je 0x1800a5f08
or rax, 0xffffffffffffffff
inc rax
cmp byte [rdx + rax], 0
jne 0x1800a5e7f
test eax, eax
je 0x1800a5f08
mov r8d, eax
lea r9, [0x180084880]
movsx ecx, byte [rdx]
mov eax, r14d
xor rcx, rax
shr r14d, 8
movzx eax, cl
inc rdx
xor r14d, dword [r9 + rax*4]
sub r8, 1
jne 0x1800a5e96
not r14d
cmp r14d, 0x643e3521
jne 0x1800a5f08
cmp byte [0x1801ff94d], r8b
jne 0x1800a5ed0
movss xmm7, dword [0x18008b8d4]
mov rax, qword [0x1801ffbb0]
mov rcx, rsi
call rax
mov eax, dword [r12 + r15]
movaps xmm8, xmm0
cmp dword [0x1801fffb0], eax
jg 0x1800a63d1
mov rax, qword [0x180200850]
xor edx, edx
mov rcx, r13
call rax
mulss xmm8, xmm7
mulss xmm8, xmm0
ucomiss xmm8, xmm6
je 0x1800a610e
mov eax, dword [r12 + r15]
cmp dword [0x180200060], eax
jg 0x1800a640f
mov rax, qword [0x180200118]
mov rcx, qword [rsi + rax]
test rcx, rcx
jne 0x1800a5f3c
call fcn.1800a1f6c
jmp 0x1800a610e
mov eax, dword [r12 + r15]
cmp dword [0x1801fff38], eax
mov rsi, qword [rcx + 0x10]
jg 0x1800a644a
mov rax, qword [0x1801ffdb8]
mov rcx, rsi
call rax
mov r14, rax
call fcn.1800a1f6c
mov rsi, rax
test r14, r14
je 0x1800a610e
test rax, rax
je 0x1800a610e
mov ecx, dword [r12 + r15]
cmp dword [0x1802000e8], ecx
jg 0x1800a6488
mov rax, qword [0x1801ffd90]
mov rdx, rsi
mov rcx, r14
call rax
mov rsi, rax
test rax, rax
je 0x1800a610e
call fcn.1800a4bb8
mov rcx, rax
call fcn.1800a413c
lea rdx, [rsp + 0x30]
mov rcx, qword [rax]
call fcn.1800a3a9c
movss xmm1, dword [rbx + 4]
xorps xmm4, xmm4
movss xmm2, dword [rbx + 8]
movsd xmm0, qword [rax]
subss xmm2, dword [rax + 8]
movsd qword [rsp + 0x20], xmm0
subss xmm1, dword [rsp + 0x24]
movss xmm0, dword [rbx]
subss xmm0, dword [rsp + 0x20]
mulss xmm2, xmm2
mulss xmm1, xmm1
mulss xmm0, xmm0
addss xmm1, xmm0
movss xmm0, dword [rbp + 0x6f]
mulss xmm0, dword [0x18008b898]
addss xmm1, xmm2
sqrtss xmm4, xmm1
movss xmm1, dword [rsp + 0x40]
mulss xmm1, dword [0x18008b898]
divss xmm4, xmm8
movaps xmm3, xmm4
mulss xmm1, xmm4
mulss xmm3, xmm0
addss xmm1, dword [rbx]
addss xmm3, dword [rbx + 8]
movss dword [rbx], xmm1
movss dword [rbx + 8], xmm3
call fcn.1800a4bb8
mov rcx, rax
call fcn.1800a413c
lea rdx, [rsp + 0x40]
mov rcx, qword [rax]
call fcn.1800a3a9c
movss xmm0, dword [rbx + 4]
subss xmm0, dword [rax + 4]
cvtps2pd xmm9, xmm0
call fcn.1800a4bb8
mov rcx, rax
call fcn.1800a413c
lea rdx, [rbp - 0x19]
mov rcx, qword [rax]
call fcn.1800a3a9c
movss xmm1, dword [rbx + 8]
xorps xmm7, xmm7
movss xmm0, dword [rbx]
subss xmm0, dword [rax]
subss xmm1, dword [rax + 8]
mov eax, dword [r12 + r15]
cmp dword [0x1801fff88], eax
mulss xmm0, xmm0
mulss xmm1, xmm1
addss xmm0, xmm1
sqrtss xmm7, xmm0
jg 0x1800a64c6
mov rax, qword [0x180200698]
movaps xmm0, xmm9
cvtps2pd xmm7, xmm7
movss xmm6, dword [rsi + rax]
movaps xmm1, xmm7
call sub.api_ms_win_crt_math_l1_1_0.dll_atan2
call sub.api_ms_win_crt_math_l1_1_0.dll_cos
mulss xmm6, dword [0x18008b874]
xorps xmm1, xmm1
cvtss2sd xmm1, xmm8
mulsd xmm0, xmm1
divsd xmm7, xmm0
cvtps2pd xmm0, xmm6
mulsd xmm0, xmm7
mulsd xmm7, qword [0x18008b940]
mulsd xmm0, xmm7
cvtpd2ps xmm0, xmm0
addss xmm0, dword [rbx + 4]
movss dword [rbx + 4], xmm0
lea r11, [rsp + 0x100]
mov rax, rbx
mov rbx, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
movaps xmm8, xmmword [r11 - 0x30]
movaps xmm9, xmmword [r11 - 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
lea rcx, [0x180200030]
call fcn.18012513c
cmp dword [0x180200030], 0xffffffff
jne 0x1800a5a33
mov ecx, 0x1e3bf1a8
call fcn.18009d7d0
lea rcx, [0x180200030]
mov r8, qword [rax]
mov qword [0x1801ffda0], r8
call fcn.1801250d0
jmp 0x1800a5a33
lea rcx, [0x1802004e4]
call fcn.18012513c
cmp dword [0x1802004e4], 0xffffffff
jne 0x1800a5b0f
mov ecx, 0xcf100582
call fcn.18009eda4
lea rcx, [0x1802004e4]
mov qword [0x1801ffea8], rax
call fcn.1801250d0
jmp 0x1800a5b0f
lea rcx, [0x180200904]
call fcn.18012513c
cmp dword [0x180200904], 0xffffffff
jne 0x1800a5d89
movabs rax, 0x86989ecb61471a0a
movabs rcx, 0x617d5eb710423208
mov qword [rbp + 0x67], rax
mov rax, qword [rbp + 0x67]
mov qword [rbp - 0x79], rax
movabs rax, 0x970b9b605d4c4916
mov qword [rbp + 0x67], rax
mov rax, qword [rbp + 0x67]
mov qword [rbp - 0x71], rax
movabs rax, 0x37e8624b10ec1858
mov qword [rbp + 0x67], rax
mov rax, qword [rbp + 0x67]
mov qword [rbp - 0x69], rax
movabs rax, 0x675d23ae8a6fe1dc
mov qword [rbp + 0x67], rax
mov rax, qword [rbp + 0x67]
mov qword [rbp - 0x61], rax
movabs rax, 0x29b06e0a13fc7b05
mov qword [rbp + 0x67], rax
mov rax, qword [rbp + 0x67]
mov qword [rbp - 0x59], rax
mov qword [rbp + 0x67], rcx
mov rax, qword [rbp + 0x67]
mov qword [rbp - 0x51], rax
movabs rax, 0xd6fcf1860c226e43
mov qword [rbp + 0x67], rax
mov rax, qword [rbp + 0x67]
mov qword [rbp - 0x49], rax
movabs rax, 0xfb62ef0338262664
mov qword [rbp + 0x67], rax
mov rax, qword [rbp + 0x67]
mov qword [rbp - 0x41], rax
movabs rax, 0x5a8d113851cc343d
mov qword [rbp + 0x67], rax
mov rax, qword [rbp + 0x67]
mov qword [rbp - 0x39], rax
movabs rax, 0x63570eda7168dbe
mov qword [rbp + 0x67], rax
mov rax, qword [rbp + 0x67]
mov qword [rbp - 0x31], rax
movabs rax, 0x29b06e0a13fc0b77
mov qword [rbp + 0x67], rax
mov rax, qword [rbp + 0x67]
mov qword [rbp + 0x67], rcx
lea rcx, [rbp - 0x79]
mov qword [rbp - 0x29], rax
mov rax, qword [rbp + 0x67]
movdqa xmm0, xmmword [rbp - 0x79]
xorps xmm0, xmmword [rbp - 0x49]
movdqa xmm1, xmmword [rbp - 0x69]
xorps xmm1, xmmword [rbp - 0x39]
movdqa xmmword [rbp - 0x79], xmm0
movdqa xmm0, xmmword [rbp - 0x59]
mov qword [rbp - 0x21], rax
xorps xmm0, xmmword [rbp - 0x29]
movdqa xmmword [rbp - 0x59], xmm0
movdqa xmmword [rbp - 0x69], xmm1
call fcn.1800a1ee0
lea rcx, [0x180200904]
mov qword [0x1802002b0], rax
call fcn.1801250d0
jmp 0x1800a5d89
lea rcx, [0x180200878]
call fcn.18012513c
cmp dword [0x180200878], 0xffffffff
jne 0x1800a5dbb
mov ecx, 0xd10dec8f
call fcn.18009eda4
lea rcx, [0x180200878]
mov qword [0x180200930], rax
call fcn.1801250d0
jmp 0x1800a5dbb
lea rcx, [0x180200680]
call fcn.18012513c
cmp dword [0x180200680], 0xffffffff
jne 0x1800a5df3
mov ecx, 0x726340ef
call fcn.18009d7d0
lea rcx, [0x180200680]
mov r8, qword [rax]
mov qword [0x180200570], r8
call fcn.1801250d0
jmp 0x1800a5df3
lea rcx, [0x1801fff20]
call fcn.18012513c
cmp dword [0x1801fff20], 0xffffffff
jne 0x1800a5e4f
mov ecx, 0xcdd491cf
call fcn.18009eda4
lea rcx, [0x1801fff20]
mov qword [0x1801ffdd8], rax
call fcn.1801250d0
jmp 0x1800a5e4f
lea rcx, [0x1801fffb0]
call fcn.18012513c
cmp dword [0x1801fffb0], 0xffffffff
jne 0x1800a5ef0
mov ecx, 0xe205489c
call fcn.18009d7d0
lea rcx, [0x1801fffb0]
mov rdx, qword [rax]
mov qword [0x180200850], rdx
call fcn.1801250d0
jmp 0x1800a5ef0
lea rcx, [0x180200060]
call fcn.18012513c
cmp dword [0x180200060], 0xffffffff
jne 0x1800a5f22
mov ecx, 0xc2fb7f15
call fcn.18009eda4
lea rcx, [0x180200060]
mov qword [0x180200118], rax
call fcn.1801250d0
jmp 0x1800a5f22
lea rcx, [0x1801fff38]
call fcn.18012513c
cmp dword [0x1801fff38], 0xffffffff
jne 0x1800a5f50
mov ecx, 0xad5514be
call fcn.18009d7d0
lea rcx, [0x1801fff38]
mov rdx, qword [rax]
mov qword [0x1801ffdb8], rdx
call fcn.1801250d0
jmp 0x1800a5f50
lea rcx, [0x1802000e8]
call fcn.18012513c
cmp dword [0x1802000e8], 0xffffffff
jne 0x1800a5f89
mov ecx, 0xe2084f16
call fcn.18009d7d0
lea rcx, [0x1802000e8]
mov rdx, qword [rax]
mov qword [0x1801ffd90], rdx
call fcn.1801250d0
jmp 0x1800a5f89
lea rcx, [0x1801fff88]
call fcn.18012513c
cmp dword [0x1801fff88], 0xffffffff
jne 0x1800a60b5
mov ecx, 0x24cf107d
call fcn.18009eda4
lea rcx, [0x1801fff88]
mov qword [0x180200698], rax
call fcn.1801250d0
jmp 0x1800a60b5