Function at 0x1940b00
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
mov qword [rax + 0x18], r8
push rbp
push rsi
push r12
sub rsp, 0xc0
mov r12d, dword [rcx + 0x5098]
mov ebp, dword [rcx + 0x509c]
movaps xmmword [rax - 0x58], xmm7
mov qword [rax + 0x10], rbx
mov qword [rax - 0x20], rdi
mov qword [rax - 0x28], r13
mov qword [rax - 0x30], r14
mov r14, qword [rcx + 0x5090]
mov rsi, rcx
mov rcx, qword [rcx + 0x1020]
mov rdi, qword [rsi + 0x1838]
mov qword [rax - 0x38], r15
movss xmm7, dword [rsi + 0x5948]
movaps xmmword [rax - 0x48], xmm6
movaps xmmword [rax - 0x68], xmm8
lea rbx, [rcx + r12*4]
mov r15, rdx
mov r13d, r9d
mov qword [rsp + 0x40], rcx
xor r8d, r8d
mov rdx, rbx
mov r9d, 0x40
mov rcx, r15
call fcn.01940050
lea rcx, [rsi + 0x58f8]
mov r8d, 2
mov rdx, rbx
call fcn.01920160
movsx eax, word [rsi + 0x5936]
xor r8d, r8d
movss xmm2, dword [0x018e3e70]
xorps xmm8, xmm8
shr r13d, 1
mov dword [rsi + 0x5940], eax
movss dword [rsp + 0x30], xmm8
movss dword [rsp + 0x34], xmm8
movss dword [rsp + 0xf8], xmm2
movaps xmm3, xmm2
movss xmm6, dword [0x01892040]
movss dword [rsp + 0xe0], xmm3
je 0x19410a6
mov rbx, qword [rsp + 0x40]
lea ecx, [r13 - 1]
mov r13, qword [rsp + 0xf0]
movaps xmmword [rsp + 0x60], xmm9
movss xmm9, dword [0x018e3e88]
movaps xmmword [rsp + 0x50], xmm10
movss xmm10, dword [0x018e3e84]
shr ecx, 5
inc ecx
mov qword [rsp + 0x38], rcx
lea rcx, [rbx + r12*4]
movaps xmm2, xmm10
mov r9d, 0x40
mov rdx, r15
call fcn.0194f0a0
add r12d, 0x40
mov eax, 0
cmp r12d, 0x400
lea r8, [0x018e3624]
lea rdx, [r14 + 8]
cmovae r12d, eax
lea r10d, [rax + 0x40]
lea r9d, [r12 + 4]
nop
movss xmm1, dword [r8 - 4]
lea ecx, [r9 - 4]
add rdx, 0x40
and ecx, 0x3ff
add r8, 0x20
lea eax, [rcx + 1]
movaps xmm0, xmm1
mulss xmm0, dword [rbx + rcx*4]
lea ecx, [r9 - 2]
and ecx, 0x3ff
movss dword [rdx - 0x48], xmm0
mulss xmm1, dword [rbx + rax*4]
lea eax, [rcx + 1]
movss dword [rdx - 0x44], xmm1
movss xmm2, dword [r8 - 0x20]
movaps xmm0, xmm2
mulss xmm0, dword [rbx + rcx*4]
mov ecx, r9d
and ecx, 0x3ff
movss dword [rdx - 0x40], xmm0
mulss xmm2, dword [rbx + rax*4]
lea eax, [rcx + 1]
movss dword [rdx - 0x3c], xmm2
movss xmm1, dword [r8 - 0x1c]
movaps xmm0, xmm1
mulss xmm0, dword [rbx + rcx*4]
lea ecx, [r9 + 2]
and ecx, 0x3ff
movss dword [rdx - 0x38], xmm0
mulss xmm1, dword [rbx + rax*4]
lea eax, [rcx + 1]
movss dword [rdx - 0x34], xmm1
movss xmm2, dword [r8 - 0x18]
movaps xmm0, xmm2
mulss xmm0, dword [rbx + rcx*4]
lea ecx, [r9 + 4]
and ecx, 0x3ff
movss dword [rdx - 0x30], xmm0
mulss xmm2, dword [rbx + rax*4]
lea eax, [rcx + 1]
movss dword [rdx - 0x2c], xmm2
movss xmm1, dword [r8 - 0x14]
movaps xmm0, xmm1
mulss xmm0, dword [rbx + rcx*4]
lea ecx, [r9 + 6]
and ecx, 0x3ff
movss dword [rdx - 0x28], xmm0
mulss xmm1, dword [rbx + rax*4]
lea eax, [rcx + 1]
movss dword [rdx - 0x24], xmm1
movss xmm2, dword [r8 - 0x10]
movaps xmm0, xmm2
mulss xmm0, dword [rbx + rcx*4]
lea ecx, [r9 + 8]
and ecx, 0x3ff
movss dword [rdx - 0x20], xmm0
mulss xmm2, dword [rbx + rax*4]
lea eax, [rcx + 1]
movss dword [rdx - 0x1c], xmm2
movss xmm1, dword [r8 - 0xc]
movaps xmm0, xmm1
mulss xmm0, dword [rbx + rcx*4]
lea ecx, [r9 + 0xa]
add r9d, 0x10
and ecx, 0x3ff
dec r10
movss dword [rdx - 0x18], xmm0
mulss xmm1, dword [rbx + rax*4]
lea eax, [rcx + 1]
movss dword [rdx - 0x14], xmm1
movss xmm2, dword [r8 - 8]
movaps xmm0, xmm2
mulss xmm0, dword [rbx + rcx*4]
movss dword [rdx - 0x10], xmm0
mulss xmm2, dword [rbx + rax*4]
movss dword [rdx - 0xc], xmm2
jne 0x1940c60
lea r8d, [r10 + 1]
lea rcx, [rsi + 0x50b0]
mov rdx, r14
call fcn.01953c80
lea r11, [rsp + 0xe0]
lea r9, [rsp + 0xf8]
lea r8, [rsp + 0x30]
lea rdx, [rsp + 0x34]
mov rcx, rsi
mov qword [rsp + 0x20], r11
call fcn.01940380
lea rcx, [r14 + 0x10]
lea rdx, [r14 + 0xff4]
lea r8, [r14 + 0xff0]
mov r9d, 0x33
nop word [rax + rax]
mov eax, dword [rcx - 8]
sub rdx, 0x28
sub r8, 0x28
mov dword [r8 + 0x30], eax
add rcx, 0x28
dec r9
movss xmm0, dword [rcx - 0x2c]
xorps xmm0, xmm6
movss dword [rdx + 0x30], xmm0
mov eax, dword [rcx - 0x28]
mov dword [r8 + 0x28], eax
movss xmm0, dword [rcx - 0x24]
xorps xmm0, xmm6
movss dword [rdx + 0x28], xmm0
mov eax, dword [rcx - 0x20]
mov dword [r8 + 0x20], eax
movss xmm0, dword [rcx - 0x1c]
xorps xmm0, xmm6
movss dword [rdx + 0x20], xmm0
mov eax, dword [rcx - 0x18]
mov dword [r8 + 0x18], eax
movss xmm0, dword [rcx - 0x14]
xorps xmm0, xmm6
movss dword [rdx + 0x18], xmm0
mov eax, dword [rcx - 0x10]
mov dword [r8 + 0x10], eax
movss xmm0, dword [rcx - 0xc]
xorps xmm0, xmm6
movss dword [rdx + 0x10], xmm0
jne 0x1940e20
lea rcx, [rsi + 0x50b0]
or r8d, 0xffffffff
mov rdx, r14
call fcn.01953c20
mov r11d, ebp
lea rdx, [r14 + 0x10]
mov r8d, 0x30
nop word [rax + rax]
movss xmm0, dword [rdx - 0x10]
lea ecx, [r11 + 1]
mov eax, r11d
addss xmm0, dword [rdi + rax*4]
and ecx, 0x1ff
add rdx, 0x50
movss dword [rdi + rax*4], xmm0
movss xmm0, dword [rdx - 0x58]
addss xmm0, dword [rdi + rcx*4]
movss dword [rdi + rcx*4], xmm0
inc ecx
and ecx, 0x1ff
movss xmm0, dword [rdi + rcx*4]
addss xmm0, dword [rdx - 0x50]
movss dword [rdi + rcx*4], xmm0
movss xmm0, dword [rdx - 0x48]
inc ecx
and ecx, 0x1ff
addss xmm0, dword [rdi + rcx*4]
movss dword [rdi + rcx*4], xmm0
movss xmm0, dword [rdx - 0x40]
inc ecx
and ecx, 0x1ff
addss xmm0, dword [rdi + rcx*4]
movss dword [rdi + rcx*4], xmm0
movss xmm0, dword [rdx - 0x38]
inc ecx
and ecx, 0x1ff
addss xmm0, dword [rdi + rcx*4]
movss dword [rdi + rcx*4], xmm0
movss xmm0, dword [rdx - 0x30]
inc ecx
and ecx, 0x1ff
addss xmm0, dword [rdi + rcx*4]
movss dword [rdi + rcx*4], xmm0
movss xmm0, dword [rdx - 0x28]
inc ecx
and ecx, 0x1ff
addss xmm0, dword [rdi + rcx*4]
movss dword [rdi + rcx*4], xmm0
movss xmm0, dword [rdx - 0x20]
inc ecx
and ecx, 0x1ff
addss xmm0, dword [rdi + rcx*4]
movss dword [rdi + rcx*4], xmm0
movss xmm0, dword [rdx - 0x18]
inc ecx
and ecx, 0x1ff
addss xmm0, dword [rdi + rcx*4]
lea r11d, [rcx + 1]
and r11d, 0x1ff
dec r8
movss dword [rdi + rcx*4], xmm0
jne 0x1940ec0
movsxd rax, r11d
lea rcx, [r14 + 0xf10]
mov r8d, 4
lea rdx, [rdi + rax*4 + 8]
mov eax, dword [rcx - 0x10]
add rdx, 0x20
add rcx, 0x40
dec r8
mov dword [rdx - 0x28], eax
mov eax, dword [rcx - 0x48]
mov dword [rdx - 0x24], eax
mov eax, dword [rcx - 0x40]
mov dword [rdx - 0x20], eax
mov eax, dword [rcx - 0x38]
mov dword [rdx - 0x1c], eax
mov eax, dword [rcx - 0x30]
mov dword [rdx - 0x18], eax
mov eax, dword [rcx - 0x28]
mov dword [rdx - 0x14], eax
mov eax, dword [rcx - 0x20]
mov dword [rdx - 0x10], eax
mov eax, dword [rcx - 0x18]
mov dword [rdx - 0xc], eax
jne 0x1940fd0
mov eax, ebp
lea r9d, [r8 + 0x20]
movaps xmm2, xmm9
lea rdx, [rdi + rax*4]
mov rcx, r13
call fcn.0194f0a0
add ebp, 0x20
mov r8d, 0
cmp ebp, 0x200
cmovae ebp, r8d
inc dword [rsi + 0x50a0]
add r15, 0x100
sub r13, 0xffffffffffffff80
dec qword [rsp + 0x38]
jne 0x1940c21
movss xmm2, dword [rsp + 0x30]
movaps xmm10, xmmword [rsp + 0x50]
movaps xmm9, xmmword [rsp + 0x60]
ucomiss xmm2, xmm8
movss xmm3, dword [rsp + 0xe0]
je 0x194109d
movss xmm0, dword [rsi + 0x5d64]
movss xmm1, dword [rsp + 0x34]
divss xmm1, xmm2
subss xmm1, xmm0
mulss xmm1, dword [0x01849770]
addss xmm1, xmm0
movss dword [rsi + 0x5d64], xmm1
movss xmm2, dword [rsp + 0xf8]
movss xmm0, dword [rsi + 0x5d64]
mov r15, qword [rsp + 0xa0]
mov r14, qword [rsp + 0xa8]
comiss xmm0, xmm8
mov r13, qword [rsp + 0xb0]
mov rdi, qword [rsp + 0xb8]
mov rbx, qword [rsp + 0xe8]
jae 0x19410df
xorps xmm0, xmm6
cmp dword [rsi + 4], 0x4b
movaps xmm6, xmmword [rsp + 0x90]
mov edx, 1
jae 0x194111d
comiss xmm0, dword [0x018921f4]
ja 0x19410fe
mov edx, r8d
mov eax, dword [rsi + 0x5d68]
cmp eax, 0x2710
jle 0x1941148
add eax, 0xffffd8f0
mov ecx, 1
mov dword [rsi + 0x5d68], eax
jmp 0x194114b
comiss xmm0, dword [0x0189202c]
ja 0x1941129
mov edx, r8d
mov eax, dword [rsi + 0x5d68]
cmp eax, 0x2710
jle 0x1941148
add eax, 0xffffd8f0
mov ecx, 1
mov dword [rsi + 0x5d68], eax
jmp 0x194114b
mov ecx, r8d
test edx, edx
je 0x1941178
mov eax, dword [rsi + 0x5d6c]
add dword [rsi + 0x5d68], eax
cmp dword [rsi + 0x5d68], 0x2710
jle 0x1941192
mov ecx, 1
mov dword [rsi + 0x5d68], 0x2710
jmp 0x1941197
mov eax, dword [rsi + 0x5d70]
sub dword [rsi + 0x5d68], eax
jns 0x1941192
mov ecx, r8d
mov dword [rsi + 0x5d68], r8d
jmp 0x19411a1
cmp ecx, 1
jne 0x19411a1
add dword [rsi + 0x5d68], 0x2710
movss xmm0, dword [rsi + 0x5d74]
test ecx, ecx
je 0x19411c8
comiss xmm0, dword [0x01849658]
jae 0x19411e1
addss xmm0, dword [0x018e3e80]
movss dword [rsi + 0x5d74], xmm0
jmp 0x19411e1
comiss xmm0, xmm8
jbe 0x19411de
subss xmm0, dword [0x018e3e80]
movss dword [rsi + 0x5d74], xmm0
movaps xmm2, xmm3
cmp dword [rsi + 0x5940], 0
movaps xmm8, xmmword [rsp + 0x70]
je 0x1941288
movss xmm0, dword [rsi + 0x594c]
subss xmm2, xmm0
mulss xmm2, dword [0x01892024]
addss xmm2, xmm0
movss xmm0, dword [rsi + 0x5950]
movss dword [rsi + 0x594c], xmm2
subss xmm3, xmm0
mulss xmm3, dword [0x01892024]
addss xmm3, xmm0
movss dword [rsi + 0x5950], xmm3
divss xmm2, xmm3
subss xmm2, xmm7
mulss xmm2, dword [0x018e0c3c]
addss xmm2, xmm7
movaps xmm7, xmm2
comiss xmm7, dword [0x018e3e7c]
jae 0x1941260
mov dword [rsi + 0x5944], 0x3dcccccd
jmp 0x1941288
comiss xmm7, dword [0x018e16c4]
jae 0x194127e
movaps xmm0, xmm2
mulss xmm0, dword [0x018920dc]
movss dword [rsi + 0x5944], xmm0
jmp 0x1941288
mov dword [rsi + 0x5944], 0x3f800000
movss dword [rsi + 0x5948], xmm7
movaps xmm7, xmmword [rsp + 0x80]
mov dword [rsi + 0x5098], r12d
mov dword [rsi + 0x509c], ebp
add rsp, 0xc0
pop r12
pop rsi
pop rbp
ret