Function at 0x140048ab0
Capabilities:
Encode data using xor

Disassembly:
mov r11, rsp
mov qword [r11 + 0x18], rbx
push rbp
push rdi
push r14
lea rbp, [r11 - 0x5f]
sub rsp, 0xa0
mov rbx, qword [0x140124520]
mov r14, rdx
movsxd r9, dword [rbx + 0x4090]
cmp dword [rbx + 0x4080], r9d
jle 0x140048e70
mov rax, qword [rbx + 0x4088]
lea r8, [r9 + r9*2]
add r8, r8
cmp dword [rax + r8*8], ecx
jne 0x140048e70
movss xmm3, dword [rdx + 8]
xor edi, edi
mov eax, dword [rbx + 0x3fb0]
mov qword [r11 + 8], rsi
mov qword [r11 + 0x10], r15
movaps xmmword [r11 - 0x28], xmm6
movaps xmmword [r11 - 0x38], xmm7
subss xmm3, dword [rdx]
test al, 0x10
je 0x140048b39
movss xmm0, dword [rbx + 0x3fec]
maxss xmm0, xmm3
movss dword [rbx + 0x3fec], xmm0
jmp 0x140048bb1
movss xmm0, dword [rbx + 0x3848]
or eax, 0x10
movss xmm1, dword [rbx + 0x3804]
movaps xmm2, xmm0
addss xmm2, dword [rbx + 0x3c18]
addss xmm1, xmm1
mov dword [rbp - 0xd], edi
mov dword [rbx + 0x3fb0], eax
mov qword [rbx + 0x4000], rdi
mov qword [rbx + 0x4008], rdi
mulss xmm2, dword [0x1400bc3d4]
subss xmm2, xmm0
movss xmm0, dword [0x1400bc4a8]
addss xmm2, xmm1
movups xmm1, xmmword [rbp - 0x11]
movss xmm1, xmm3
shufps xmm1, xmm1, 0xd2
movss xmm1, xmm0
shufps xmm1, xmm1, 0x27
movss xmm1, xmm2
shufps xmm1, xmm1, 0x39
movups xmmword [rbp - 0x11], xmm1
movups xmmword [rbx + 0x3fec], xmm1
xor eax, eax
mov dword [rbp - 0x11], 0x8ea3fcfd
mov byte [rbp - 5], al
mov edx, edi
mov dword [rbp - 0xd], 0xba8b818f
mov dword [rbp - 9], 0x8ddad7c3
nop dword [rax]
movsxd rcx, edx
lea eax, [rdx - 0x22]
inc edx
xor byte [rbp + rcx - 0x11], al
cmp edx, 0xc
jb 0x140048bd0
lea r8, [rbp - 0x11]
mov byte [rbp - 5], dil
mov edx, 0x10
lea rcx, [rbp - 1]
call fcn.14001b4b0
movzx r9d, byte [rbp - 1]
lea r8, [rbp]
lea r15, [0x140000000]
mov r10d, 0xffffffff
mov ecx, r10d
test r9b, r9b
je 0x140048c49
cmp r9b, 0x23
jne 0x140048c28
cmp byte [r8], r9b
jne 0x140048c28
cmp byte [r8 + 1], r9b
cmove ecx, r10d
movzx edx, cl
movzx eax, r9b
movzx r9d, byte [r8]
xor rdx, rax
shr ecx, 8
inc r8
xor ecx, dword [r15 + rdx*4 + 0xba1a0]
test r9b, r9b
jne 0x140048c15
not ecx
call fcn.140022900
mov rsi, rax
test rax, rax
je 0x140048d21
cmp byte [rax + 0x97], dil
je 0x140048d21
lea r8, [rbp + 0x7f]
mov qword [rbp + 0x7f], rdi
lea rdx, [rbp - 0x11]
mov rcx, rax
call fcn.140023110
mov rdx, rcx
lea r8, [rbp + 0x7f]
lea rcx, [rbp - 0x19]
call fcn.140023220
lea r8, [rbp - 0x19]
mov rdx, rsi
lea rcx, [rbp - 0x11]
call fcn.140022ef0
lea r9, [rsi + 0xb4]
lea rcx, [rbp + 0xf]
mov dword [r9], 3
call fcn.14002a710
movss xmm0, dword [r14]
lea rax, [rbp + 0xf]
movss xmm1, dword [r14 + 0xc]
lea r8, [rbp - 0x11]
mov dword [rsp + 0x30], 1
lea rdx, [rbp + 0x7f]
mov qword [rsp + 0x28], r14
lea rcx, [rbp - 0x19]
movss dword [rbp + 0x7f], xmm0
movss dword [rbp + 0x83], xmm1
mov qword [rsp + 0x20], rax
call fcn.14002a370
mov rsi, qword [0x140124520]
movsd xmm0, qword [rbp - 0x19]
or dword [rsi + 0x3fb0], 1
movsd qword [rsi + 0x3fc0], xmm0
mov qword [rsi + 0x3fc8], rdi
mov dword [rsi + 0x3fb4], 1
jmp 0x140048d28
mov rsi, qword [0x140124520]
movss xmm1, dword [rsi + 0x3800]
lea rcx, [rsi + 0x4030]
movss xmm0, dword [rsi + 0x3804]
lea rdx, [rbp - 0x11]
movss xmm6, dword [rbx + 0x3834]
movss xmm7, dword [rbx + 0x3804]
movss dword [rbp - 0xd], xmm1
movss dword [rbp - 9], xmm0
mov dword [rbp - 0x11], 2
call fcn.140030130
xor edx, edx
movss dword [rsi + 0x3800], xmm6
mov r8d, 0x4000147
movss dword [rsi + 0x3804], xmm7
lea rcx, [rbp - 1]
call fcn.140025130
mov rbx, qword [0x140124520]
movzx r10d, al
movaps xmm7, xmmword [rsp + 0x80]
movaps xmm6, xmmword [rsp + 0x90]
mov rsi, qword [rsp + 0xc0]
movsxd rcx, dword [rbx + 0x4030]
mov r8, qword [rbx + 0x4038]
lea rdx, [rcx + rcx*2]
movsxd rcx, dword [r8 + rdx*4 - 0xc]
lea r9, [rcx + rcx*2]
cmp dword [r15 + r9*4 + 0xba000], 8
mov ecx, dword [r15 + r9*4 + 0xba008]
jne 0x140048e13
mov eax, dword [r15 + r9*4 + 0xba004]
cmp eax, 1
jne 0x140048df6
mov eax, dword [r8 + rdx*4 - 8]
mov dword [rcx + rbx + 0x37f8], eax
jmp 0x140048e13
cmp eax, 2
jne 0x140048e13
mov eax, dword [r8 + rdx*4 - 8]
mov dword [rcx + rbx + 0x37f8], eax
mov eax, dword [r8 + rdx*4 - 4]
mov dword [rcx + rbx + 0x37fc], eax
dec dword [rbx + 0x4030]
mov r15, qword [rsp + 0xc8]
test r10b, r10b
jne 0x140048e6c
mov rax, qword [rbx + 0x3ea8]
cmp qword [rbx + 0x40b8], rax
jne 0x140048e4e
cmp byte [rbx + 0x4115], dil
je 0x140048e4e
cmp dword [rbx + 0x40f4], edi
jne 0x140048e4e
or dword [rbx + 0x4118], 2
test dword [rax + 0xc], 0x1000000
je 0x140048e5e
mov byte [rbx + 0x3e36], 1
call fcn.140027490
mov byte [rbx + 0x3e36], dil
jmp 0x140048e78
mov al, 1
jmp 0x140048e7a
xor edi, edi
mov dword [rbx + 0x3fb0], edi
xor al, al
mov rbx, qword [rsp + 0xd0]
add rsp, 0xa0
pop r14
pop rdi
pop rbp
ret