Function at 0x1800a582c
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 0x1800a5911
mov rcx, qword [0x1801eacf0]
call fcn.1800a1f10
lea rdx, [rsp + 0x30]
mov rcx, rax
call fcn.1800a1c54
mov esi, 4
xorps xmm6, xmm6
movss xmm0, dword [rax + 4]
movss xmm1, dword [rax + 8]
addss xmm0, dword [0x18008b8f4]
mov eax, dword [rax]
mov dword [rbx], eax
movss dword [rbx + 4], xmm0
movss dword [rbx + 8], xmm1
mov r14, qword [0x1801eacf0]
mov r15d, dword [0x1801ea6d0]
test r14, r14
jne 0x1800a58d7
and dword [rsp + 0x20], r12d
and dword [rsp + 0x24], r12d
and dword [rsp + 0x28], r12d
jmp 0x1800a5901
mov rax, qword gs:[0x58]
mov rax, qword [rax + r15*8]
mov eax, dword [rsi + rax]
cmp dword [0x1801eb490], eax
jg 0x1800a6002
mov rdx, r14
lea rcx, [rsp + 0x20]
call qword [0x1801eb1f0]
movsd xmm0, qword [rsp + 0x20]
mov r12d, dword [rsp + 0x28]
jmp 0x1800a59ec
cmp byte [0x1801eadb2], r12b
xorps xmm6, xmm6
je 0x1800a595b
movss xmm0, dword [0x1801eaf60]
ucomiss xmm0, xmm6
jne 0x1800a5944
movss xmm0, dword [0x1801eaf64]
ucomiss xmm0, xmm6
jne 0x1800a5944
movss xmm0, dword [0x1801eaf68]
ucomiss xmm0, xmm6
je 0x1800a595b
movsd xmm0, qword [0x1801eaf60]
mov eax, dword [0x1801eaf68]
movsd qword [rcx], xmm0
mov dword [rcx + 8], eax
jmp 0x1800a5980
mov rcx, qword [0x1801ead80]
lea rdx, [rsp + 0x30]
mov r8d, 0x2f
call fcn.1800a44d4
movsd xmm0, qword [rax]
mov eax, dword [rax + 8]
movsd qword [rbx], xmm0
mov dword [rbx + 8], eax
mov rcx, qword [0x1801ead80]
call fcn.1800a49fc
mov r15d, dword [0x1801ea6d0]
mov esi, 4
mov r14, qword [rax]
test r14, r14
jne 0x1800a59b3
xorps xmm0, xmm0
movss dword [rsp + 0x28], xmm6
unpcklps xmm0, xmm6
movd r12d, xmm6
jmp 0x1800a59e6
mov rax, qword gs:[0x58]
mov rax, qword [rax + r15*8]
mov eax, dword [rsi + rax]
cmp dword [0x1801eb934], eax
jg 0x1800a6040
mov rax, qword [0x1801eb2f8]
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.1800a4a78
mov rcx, rax
call fcn.1800ec144
mov r13, rax
test rax, rax
je 0x1800a5fce
mov r8, qword [rax]
lea r10, [0x180084880]
or r14d, 0xffffffff
test r8, r8
je 0x1800a5c26
mov r8, qword [r8 + 0x10]
test r8, r8
je 0x1800a5c26
mov edx, r14d
or rax, 0xffffffffffffffff
inc rax
cmp byte [r8 + rax], 0
jne 0x1800a5a3a
test eax, eax
je 0x1800a5c26
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 0x1800a5a4f
not edx
cmp edx, 0x479168ed
jne 0x1800a5c26
call fcn.1800a4a78
mov rcx, rax
call fcn.1800a47a8
mov rcx, rax
call fcn.1800a3d88
mov rcx, qword [rax]
call fcn.1800a314c
cmp dword [rax], 0x5bd8cc17
je 0x1800a5ace
call fcn.1800a4a78
mov rcx, rax
call fcn.1800a47a8
mov rcx, rax
call fcn.1800a3d88
mov rcx, qword [rax]
call fcn.1800a314c
cmp dword [rax], 0x5f867078
je 0x1800a5ace
movsd xmm9, qword [0x18008b918]
jmp 0x1800a5ad7
movsd xmm9, qword [0x18008b930]
call fcn.1800a4a78
mov rcx, rax
call fcn.1800a3ffc
lea rdx, [rsp + 0x30]
mov rcx, qword [rax]
call fcn.1800a395c
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.1800a57ac
movss xmm3, dword [0x18008b8bc]
movss xmm1, dword [rsp + 0x40]
mulss xmm1, dword [0x18008b880]
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 [0x18008b880]
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.1800a4a78
mov rcx, rax
call fcn.1800a3ffc
lea rdx, [rsp + 0x30]
mov rcx, qword [rax]
call fcn.1800a395c
movss xmm0, dword [rbx + 4]
subss xmm0, dword [rax + 4]
cvtps2pd xmm6, xmm0
call fcn.1800a4a78
mov rcx, rax
call fcn.1800a3ffc
lea rdx, [rsp + 0x30]
mov rcx, qword [rax]
call fcn.1800a395c
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.1800a57ac
xorps xmm1, xmm1
cvtss2sd xmm1, xmm0
mulsd xmm6, xmm1
divsd xmm7, xmm6
mulsd xmm9, xmm7
mulsd xmm9, xmm7
cvtpd2ps xmm0, xmm9
jmp 0x1800a5fc4
mov rax, qword gs:[0x58]
mov ecx, r15d
mov r15d, esi
mov r12, qword [rax + rcx*8]
mov eax, dword [r12 + r15]
cmp dword [0x1801ebd54], eax
jg 0x1800a607b
cmp qword [0x1801eb6f8], 0
je 0x1800a5fce
mov rcx, r13
call fcn.1800a3538
mov rsi, qword [rax]
test rsi, rsi
je 0x1800a5fce
mov eax, dword [r12 + r15]
cmp dword [0x1801ebcc8], eax
jg 0x1800a61dd
mov rax, qword [0x1801ebd80]
mov rax, qword [rsi + rax]
mov qword [rbp + 0x67], rax
test rax, rax
je 0x1800a5fce
mov rsi, qword [0x1801eb6f8]
test rsi, rsi
je 0x1800a5fce
mov eax, dword [r12 + r15]
cmp dword [0x1801ebad0], eax
jg 0x1800a6218
mov rax, qword [0x1801eb9c0]
mov rdx, rsi
mov rcx, qword [rbp + 0x67]
call rax
mov rsi, rax
test rax, rax
je 0x1800a5fce
cmp byte [0x1801ead9d], 0
movss xmm7, dword [0x18008b8f0]
je 0x1800a5ce6
movaps xmm9, xmm7
jmp 0x1800a5cef
movss xmm9, dword [0x18008b8bc]
mov rax, qword [0x1801eaff8]
mov rcx, rsi
call rax
mov eax, dword [r12 + r15]
movaps xmm8, xmm0
cmp dword [0x1801eb370], eax
jg 0x1800a6256
mov rax, qword [0x1801eb228]
mov rdx, qword [r13]
mulss xmm8, xmm9
mulss xmm8, dword [rax + r13]
test rdx, rdx
je 0x1800a5dc8
mov rdx, qword [rdx + 0x10]
test rdx, rdx
je 0x1800a5dc8
or rax, 0xffffffffffffffff
inc rax
cmp byte [rdx + rax], 0
jne 0x1800a5d3f
test eax, eax
je 0x1800a5dc8
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 0x1800a5d56
not r14d
cmp r14d, 0x643e3521
jne 0x1800a5dc8
cmp byte [0x1801ead9d], r8b
jne 0x1800a5d90
movss xmm7, dword [0x18008b8bc]
mov rax, qword [0x1801eaff8]
mov rcx, rsi
call rax
mov eax, dword [r12 + r15]
movaps xmm8, xmm0
cmp dword [0x1801eb410], eax
jg 0x1800a6291
mov rax, qword [0x1801ebca0]
xor edx, edx
mov rcx, r13
call rax
mulss xmm8, xmm7
mulss xmm8, xmm0
ucomiss xmm8, xmm6
je 0x1800a5fce
mov eax, dword [r12 + r15]
cmp dword [0x1801eb4c0], eax
jg 0x1800a62cf
mov rax, qword [0x1801eb568]
mov rcx, qword [rsi + rax]
test rcx, rcx
jne 0x1800a5dfc
call fcn.1800a1e2c
jmp 0x1800a5fce
mov eax, dword [r12 + r15]
cmp dword [0x1801eb388], eax
mov rsi, qword [rcx + 0x10]
jg 0x1800a630a
mov rax, qword [0x1801eb208]
mov rcx, rsi
call rax
mov r14, rax
call fcn.1800a1e2c
mov rsi, rax
test r14, r14
je 0x1800a5fce
test rax, rax
je 0x1800a5fce
mov ecx, dword [r12 + r15]
cmp dword [0x1801eb538], ecx
jg 0x1800a6348
mov rax, qword [0x1801eb1e0]
mov rdx, rsi
mov rcx, r14
call rax
mov rsi, rax
test rax, rax
je 0x1800a5fce
call fcn.1800a4a78
mov rcx, rax
call fcn.1800a3ffc
lea rdx, [rsp + 0x30]
mov rcx, qword [rax]
call fcn.1800a395c
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 [0x18008b880]
addss xmm1, xmm2
sqrtss xmm4, xmm1
movss xmm1, dword [rsp + 0x40]
mulss xmm1, dword [0x18008b880]
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.1800a4a78
mov rcx, rax
call fcn.1800a3ffc
lea rdx, [rsp + 0x40]
mov rcx, qword [rax]
call fcn.1800a395c
movss xmm0, dword [rbx + 4]
subss xmm0, dword [rax + 4]
cvtps2pd xmm9, xmm0
call fcn.1800a4a78
mov rcx, rax
call fcn.1800a3ffc
lea rdx, [rbp - 0x19]
mov rcx, qword [rax]
call fcn.1800a395c
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 [0x1801eb3e8], eax
mulss xmm0, xmm0
mulss xmm1, xmm1
addss xmm0, xmm1
sqrtss xmm7, xmm0
jg 0x1800a6386
mov rax, qword [0x1801ebae8]
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 [0x18008b85c]
xorps xmm1, xmm1
cvtss2sd xmm1, xmm8
mulsd xmm0, xmm1
divsd xmm7, xmm0
cvtps2pd xmm0, xmm6
mulsd xmm0, xmm7
mulsd xmm7, qword [0x18008b928]
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, [0x1801eb490]
call fcn.1801246cc
cmp dword [0x1801eb490], 0xffffffff
jne 0x1800a58f3
mov ecx, 0x1e3bf1a8
call fcn.18009d690
lea rcx, [0x1801eb490]
mov r8, qword [rax]
mov qword [0x1801eb1f0], r8
call fcn.180124660
jmp 0x1800a58f3
lea rcx, [0x1801eb934]
call fcn.1801246cc
cmp dword [0x1801eb934], 0xffffffff
jne 0x1800a59cf
mov ecx, 0xcf100582
call fcn.18009ec64
lea rcx, [0x1801eb934]
mov qword [0x1801eb2f8], rax
call fcn.180124660
jmp 0x1800a59cf
lea rcx, [0x1801ebd54]
call fcn.1801246cc
cmp dword [0x1801ebd54], 0xffffffff
jne 0x1800a5c49
movabs rax, 0x336d7739a1ed2d06
movabs rcx, 0x2b2c5d9176237728
mov qword [rbp + 0x67], rax
mov rax, qword [rbp + 0x67]
mov qword [rbp - 0x79], rax
movabs rax, 0xf16bebe6f8c6aec6
mov qword [rbp + 0x67], rax
mov rax, qword [rbp + 0x67]
mov qword [rbp - 0x71], rax
movabs rax, 0x3ea6aef11344eb3c
mov qword [rbp + 0x67], rax
mov rax, qword [rbp + 0x67]
mov qword [rbp - 0x69], rax
movabs rax, 0xef3c2a88089bc4bc
mov qword [rbp + 0x67], rax
mov rax, qword [rbp + 0x67]
mov qword [rbp - 0x61], rax
movabs rax, 0x52427830e5e167b1
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, 0x63091874cc88594f
mov qword [rbp + 0x67], rax
mov rax, qword [rbp + 0x67]
mov qword [rbp - 0x49], rax
movabs rax, 0x9d029f859dacc1b4
mov qword [rbp + 0x67], rax
mov rax, qword [rbp + 0x67]
mov qword [rbp - 0x41], rax
movabs rax, 0x53c3dd825264c759
mov qword [rbp + 0x67], rax
mov rax, qword [rbp + 0x67]
mov qword [rbp - 0x39], rax
movabs rax, 0x8e5479cb25e2a8de
mov qword [rbp + 0x67], rax
mov rax, qword [rbp + 0x67]
mov qword [rbp - 0x31], rax
movabs rax, 0x52427830e5e117c3
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.1800a1da0
lea rcx, [0x1801ebd54]
mov qword [0x1801eb6f8], rax
call fcn.180124660
jmp 0x1800a5c49
lea rcx, [0x1801ebcc8]
call fcn.1801246cc
cmp dword [0x1801ebcc8], 0xffffffff
jne 0x1800a5c7b
mov ecx, 0xd10dec8f
call fcn.18009ec64
lea rcx, [0x1801ebcc8]
mov qword [0x1801ebd80], rax
call fcn.180124660
jmp 0x1800a5c7b
lea rcx, [0x1801ebad0]
call fcn.1801246cc
cmp dword [0x1801ebad0], 0xffffffff
jne 0x1800a5cb3
mov ecx, 0x726340ef
call fcn.18009d690
lea rcx, [0x1801ebad0]
mov r8, qword [rax]
mov qword [0x1801eb9c0], r8
call fcn.180124660
jmp 0x1800a5cb3
lea rcx, [0x1801eb370]
call fcn.1801246cc
cmp dword [0x1801eb370], 0xffffffff
jne 0x1800a5d0f
mov ecx, 0xcdd491cf
call fcn.18009ec64
lea rcx, [0x1801eb370]
mov qword [0x1801eb228], rax
call fcn.180124660
jmp 0x1800a5d0f
lea rcx, [0x1801eb410]
call fcn.1801246cc
cmp dword [0x1801eb410], 0xffffffff
jne 0x1800a5db0
mov ecx, 0xe205489c
call fcn.18009d690
lea rcx, [0x1801eb410]
mov rdx, qword [rax]
mov qword [0x1801ebca0], rdx
call fcn.180124660
jmp 0x1800a5db0
lea rcx, [0x1801eb4c0]
call fcn.1801246cc
cmp dword [0x1801eb4c0], 0xffffffff
jne 0x1800a5de2
mov ecx, 0xc2fb7f15
call fcn.18009ec64
lea rcx, [0x1801eb4c0]
mov qword [0x1801eb568], rax
call fcn.180124660
jmp 0x1800a5de2
lea rcx, [0x1801eb388]
call fcn.1801246cc
cmp dword [0x1801eb388], 0xffffffff
jne 0x1800a5e10
mov ecx, 0xad5514be
call fcn.18009d690
lea rcx, [0x1801eb388]
mov rdx, qword [rax]
mov qword [0x1801eb208], rdx
call fcn.180124660
jmp 0x1800a5e10
lea rcx, [0x1801eb538]
call fcn.1801246cc
cmp dword [0x1801eb538], 0xffffffff
jne 0x1800a5e49
mov ecx, 0xe2084f16
call fcn.18009d690
lea rcx, [0x1801eb538]
mov rdx, qword [rax]
mov qword [0x1801eb1e0], rdx
call fcn.180124660
jmp 0x1800a5e49
lea rcx, [0x1801eb3e8]
call fcn.1801246cc
cmp dword [0x1801eb3e8], 0xffffffff
jne 0x1800a5f75
mov ecx, 0x24cf107d
call fcn.18009ec64
lea rcx, [0x1801eb3e8]
mov qword [0x1801ebae8], rax
call fcn.180124660
jmp 0x1800a5f75