Function at 0x1400530b0
Capabilities:
Encode data using xor

Disassembly:
mov dword [rsp + 0x10], edx
push rbp
push rsi
push r13
push r14
lea rbp, [rsp - 0x3f]
sub rsp, 0xe8
mov r14d, edx
mov esi, edx
and r14d, 0x1800000
mov r13, rcx
and esi, 0x700000
je 0x1400530e6
test r14d, r14d
jne 0x14005385d
mov qword [rsp + 0xe0], rdi
xor edi, edi
mov edx, edi
mov dword [rbp + 0x77], 0x9885858a
mov dword [rbp + 0x7b], 0x9b9688
movsxd rcx, edx
lea eax, [rdx - 0x17]
inc edx
xor byte [rbp + rcx + 0x77], al
cmp edx, 7
jb 0x140053100
mov rcx, qword [0x14024ad10]
mov byte [rbp + 0x7e], dil
mov eax, dword [rcx + 0x4090]
cmp dword [rcx + 0x4080], eax
jg 0x140053135
mov dword [rcx + 0x3fb0], edi
jmp 0x140053855
mov rax, qword [rcx + 0x3ea8]
xor edx, edx
movsxd rcx, dword [rax + 0xd0]
mov rax, qword [rax + 0xd8]
mov r8d, dword [rax + rcx*4 - 4]
lea rcx, [rbp + 0x77]
call fcn.14001a040
mov ecx, eax
call fcn.140028ba0
test al, al
je 0x140053855
mov rax, qword [0x14024ad10]
mov qword [rsp + 0x110], rbx
movaps xmmword [rsp + 0xc0], xmm6
mov qword [rbp - 0x49], rax
mov ebx, dword [rax + 0x52c4]
test esi, esi
jne 0x140053254
mov dword [rbp + 0x77], 0xa9adbb
mov edx, edi
nop dword [rax + rax]
movsxd rcx, edx
lea eax, [rdx - 0x17]
inc edx
xor byte [rbp + rcx + 0x77], al
cmp edx, 3
jb 0x1400531a0
mov edx, ebx
mov byte [rbp + 0x7a], dil
shr edx, 0x14
lea rcx, [rbp + 0x77]
and dl, 1
call fcn.1400460f0
test al, al
je 0x1400531d4
and ebx, 0xff9fffff
bts ebx, 0x14
mov dword [rbp + 0x77], 0xbdb9a1
mov edx, edi
nop dword [rax]
movsxd rcx, edx
lea eax, [rdx - 0x17]
inc edx
xor byte [rbp + rcx + 0x77], al
cmp edx, 3
jb 0x1400531e0
mov edx, ebx
mov byte [rbp + 0x7a], dil
shr edx, 0x15
lea rcx, [rbp + 0x77]
and dl, 1
call fcn.1400460f0
test al, al
je 0x140053214
and ebx, 0xffafffff
bts ebx, 0x15
mov dword [rbp + 0x77], 0x938fa1
mov edx, edi
nop dword [rax]
movsxd rcx, edx
lea eax, [rdx - 0x17]
inc edx
xor byte [rbp + rcx + 0x77], al
cmp edx, 3
jb 0x140053220
mov edx, ebx
mov byte [rbp + 0x7a], dil
shr edx, 0x16
lea rcx, [rbp + 0x77]
and dl, 1
call fcn.1400460f0
test al, al
je 0x140053254
and ebx, 0xffcfffff
bts ebx, 0x16
test r14d, r14d
jne 0x140053332
test esi, esi
jne 0x14005328a
mov rax, qword [0x14024ad10]
mov rcx, qword [rax + 0x3ea8]
cmp byte [rcx + 0x9b], dil
jne 0x14005328a
mov eax, dword [rcx + 0x19c]
neg eax
sbb ecx, ecx
add ecx, 6
call fcn.140046950
xor eax, eax
mov dword [rbp + 0x7f], 0xdec5c4d9
mov byte [rbp + 0x85], al
mov edx, edi
mov word [rbp + 0x83], 0xdbd8
nop dword [rax]
nop dword [rax + rax]
movsxd rcx, edx
lea eax, [rdx - 0x17]
inc edx
xor byte [rbp + rcx + 0x7f], al
cmp edx, 6
jb 0x1400532b0
mov edx, ebx
mov byte [rbp + 0x85], dil
shr edx, 0x17
lea rcx, [rbp + 0x7f]
and dl, 1
call fcn.1400460f0
test al, al
je 0x1400532e5
btr ebx, 0x18
bts ebx, 0x17
xor eax, eax
mov dword [rbp - 0x69], 0xdcdbc4d9
mov byte [rbp - 0x5f], al
mov edx, edi
mov dword [rbp - 0x65], 0xdedec0c3
mov word [rbp - 0x61], 0xc2c1
movsxd rcx, edx
lea eax, [rdx - 0x17]
inc edx
xor byte [rbp + rcx - 0x69], al
cmp edx, 0xa
jb 0x140053300
mov edx, ebx
mov byte [rbp - 0x5f], dil
shr edx, 0x18
lea rcx, [rbp - 0x69]
and dl, 1
call fcn.1400460f0
test al, al
je 0x140053332
btr ebx, 0x17
bts ebx, 0x18
test esi, esi
je 0x14005333b
test r14d, r14d
jne 0x140053364
mov rax, qword [0x14024ad10]
mov rcx, qword [rax + 0x3ea8]
cmp byte [rcx + 0x9b], dil
jne 0x140053364
mov eax, dword [rcx + 0x19c]
neg eax
sbb ecx, ecx
add ecx, 6
call fcn.140046950
movss xmm0, dword [0x1400b53e0]
xorps xmm6, xmm6
movss dword [rbp + 0x77], xmm0
mov edx, edi
mov dword [rbp + 0x7b], edi
mov dword [rbp - 0x69], 0x959b85aa
mov dword [rbp - 0x65], 0xde9c8fcd
mov word [rbp - 0x61], 0xdf
nop dword [rax]
movsxd rcx, edx
lea eax, [rdx - 0x17]
inc edx
xor byte [rbp + rcx - 0x69], al
cmp edx, 9
jb 0x140053390
lea rdx, [rbp + 0x77]
mov byte [rbp - 0x60], dil
lea rcx, [rbp - 0x69]
call fcn.1400448e0
test al, al
je 0x14005341a
xor eax, eax
mov dword [rbp + 0x77], 0x959b85aa
mov byte [rbp + 0x7b], al
mov edx, edi
nop dword [rax]
nop dword [rax + rax]
movsxd rcx, edx
lea eax, [rdx - 0x17]
inc edx
xor byte [rbp + rcx + 0x77], al
cmp edx, 4
jb 0x1400533d0
mov rax, qword [0x14024ad10]
xor edx, edx
mov byte [rbp + 0x7b], dil
mov rax, qword [rax + 0x3ea8]
movsxd rcx, dword [rax + 0xd0]
mov rax, qword [rax + 0xd8]
mov r8d, dword [rax + rcx*4 - 4]
lea rcx, [rbp + 0x77]
call fcn.14001a040
mov ecx, eax
xor edx, edx
call fcn.1400287e0
xor eax, eax
mov dword [rbp + 0x77], 0x959b85aa
mov byte [rbp + 0x7b], al
mov edx, edi
nop dword [rax + rax]
movsxd rcx, edx
lea eax, [rdx - 0x17]
inc edx
xor byte [rbp + rcx + 0x77], al
cmp edx, 4
jb 0x140053430
mov rcx, qword [0x14024ad10]
mov byte [rbp + 0x7b], dil
mov eax, dword [rcx + 0x4090]
cmp dword [rcx + 0x4080], eax
jg 0x140053465
mov dword [rcx + 0x3fb0], edi
jmp 0x1400537ef
mov rax, qword [rcx + 0x3ea8]
xor edx, edx
movsxd rcx, dword [rax + 0xd0]
mov rax, qword [rax + 0xd8]
mov r8d, dword [rax + rcx*4 - 4]
lea rcx, [rbp + 0x77]
call fcn.14001a040
mov ecx, eax
call fcn.140028ba0
test al, al
je 0x1400537ef
movss xmm4, dword [r13]
comiss xmm6, xmm4
mov qword [rsp + 0xd8], r12
mov qword [rsp + 0xd0], r15
movss xmm1, dword [0x1400b5284]
movaps xmmword [rsp + 0xb0], xmm7
jbe 0x1400534c9
movaps xmm0, xmm6
jmp 0x1400534d0
movaps xmm0, xmm1
minss xmm0, xmm4
movss xmm2, dword [0x1400b5368]
movss xmm3, dword [0x1400b5234]
movss xmm7, dword [r13 + 4]
comiss xmm6, xmm7
mulss xmm0, xmm2
addss xmm0, xmm3
cvttss2si r12d, xmm0
jbe 0x1400534fd
movaps xmm0, xmm6
jmp 0x140053504
movaps xmm0, xmm1
minss xmm0, xmm7
movss xmm5, dword [r13 + 8]
comiss xmm6, xmm5
mulss xmm0, xmm2
addss xmm0, xmm3
cvttss2si r15d, xmm0
jbe 0x140053521
movaps xmm0, xmm6
jmp 0x140053528
movaps xmm0, xmm1
minss xmm0, xmm5
and dword [rbp + 0x6f], 2
mulss xmm0, xmm2
addss xmm0, xmm3
cvttss2si r14d, xmm0
je 0x140053542
mov esi, 0xff
jmp 0x140053563
movss xmm0, dword [r13 + 0xc]
comiss xmm6, xmm0
ja 0x140053554
minss xmm1, xmm0
movaps xmm6, xmm1
mulss xmm6, xmm2
movaps xmm1, xmm0
addss xmm6, xmm3
cvttss2si esi, xmm6
cvtps2pd xmm0, xmm1
lea r8, str.__.3ff___.3ff___.3ff___.3ff_
mov edx, 0x40
lea rcx, [rbp - 0x39]
cvtps2pd xmm1, xmm5
movsd qword [rsp + 0x30], xmm0
cvtps2pd xmm3, xmm4
cvtps2pd xmm2, xmm7
movsd qword [rsp + 0x28], xmm1
movq r9, xmm3
movsd qword [rsp + 0x20], xmm2
call fcn.140019f30
lea r9, [rbp + 0x77]
mov qword [rbp + 0x77], rdi
xor edx, edx
lea rcx, [rbp - 0x39]
call fcn.140053cf0
movaps xmm7, xmmword [rsp + 0xb0]
test al, al
je 0x1400535da
mov rcx, qword [0x14024ad10]
mov rax, qword [rcx + 0xb0]
test rax, rax
je 0x1400535da
mov rcx, qword [rcx + 0xb8]
lea rdx, [rbp - 0x39]
call rax
mov dword [rbp - 0x5e], 0xc08fcfc1
mov edx, edi
mov dword [rbp - 0x5a], 0xd5c38ac8
mov dword [rbp - 0x56], 0x90d6de95
mov word [rbp - 0x52], 0xdc
nop word [rax + rax]
movsxd rcx, edx
lea eax, [rdx - 0x17]
inc edx
xor byte [rbp + rcx - 0x5e], al
cmp edx, 0xd
jb 0x140053600
mov dword [rsp + 0x30], esi
lea r8, [rbp - 0x5e]
mov dword [rsp + 0x28], r14d
lea rcx, [rbp - 0x39]
mov r9d, r12d
mov dword [rsp + 0x20], r15d
mov edx, 0x40
mov byte [rbp - 0x51], dil
call fcn.140019f30
lea r9, [rbp + 0x77]
mov qword [rbp + 0x77], rdi
xor edx, edx
lea rcx, [rbp - 0x39]
call fcn.140053cf0
test al, al
je 0x14005366f
mov rcx, qword [0x14024ad10]
mov rax, qword [rcx + 0xb0]
test rax, rax
je 0x14005366f
mov rcx, qword [rcx + 0xb8]
lea rdx, [rbp - 0x39]
call rax
mov dword [rbp - 0x5e], 0xdedbcfca
mov edx, edi
mov dword [rbp - 0x5a], 0xc2dfcbb5
mov dword [rbp - 0x56], 0xc6c3d7a9
mov word [rbp - 0x52], 0xad
nop dword [rax]
movsxd rcx, edx
lea eax, [rdx - 0x17]
inc edx
xor byte [rbp + rcx - 0x5e], al
cmp edx, 0xd
jb 0x140053690
mov dword [rsp + 0x28], r14d
lea r8, [rbp - 0x5e]
mov r9d, r12d
mov dword [rsp + 0x20], r15d
mov edx, 0x40
mov byte [rbp - 0x51], dil
lea rcx, [rbp - 0x39]
call fcn.140019f30
lea r9, [rbp + 0x77]
mov qword [rbp + 0x77], rdi
xor edx, edx
lea rcx, [rbp - 0x39]
call fcn.140053cf0
test al, al
je 0x1400536fb
mov rcx, qword [0x14024ad10]
mov rax, qword [rcx + 0xb0]
test rax, rax
je 0x1400536fb
mov rcx, qword [rcx + 0xb8]
lea rdx, [rbp - 0x39]
call rax
cmp dword [rbp + 0x6f], edi
jne 0x140053793
movdqa xmm0, xmmword [0x1400b6560]
movdqu xmmword [rbp - 0x5e], xmm0
mov word [rbp - 0x4e], 0xa1
nop word [rax + rax]
movsxd rcx, edi
lea eax, [rdi - 0x17]
inc edi
xor byte [rbp + rcx - 0x5e], al
cmp edi, 0x11
jb 0x140053720
mov dword [rsp + 0x30], esi
lea r8, [rbp - 0x5e]
mov dword [rsp + 0x28], r14d
lea rcx, [rbp - 0x39]
mov r9d, r12d
mov dword [rsp + 0x20], r15d
mov edx, 0x40
mov byte [rbp - 0x4d], 0
call fcn.140019f30
lea r9, [rbp + 0x77]
mov qword [rbp + 0x77], 0
xor edx, edx
lea rcx, [rbp - 0x39]
call fcn.140053cf0
test al, al
je 0x140053793
mov rcx, qword [0x14024ad10]
mov rax, qword [rcx + 0xb0]
test rax, rax
je 0x140053793
mov rcx, qword [rcx + 0xb8]
lea rdx, [rbp - 0x39]
call rax
mov rdi, qword [0x14024ad10]
mov r15, qword [rsp + 0xd0]
mov r12, qword [rsp + 0xd8]
mov rax, qword [rdi + 0x3ea8]
cmp qword [rdi + 0x40b8], rax
jne 0x1400537d3
cmp byte [rdi + 0x4115], 0
je 0x1400537d3
cmp dword [rdi + 0x40f4], 0
jne 0x1400537d3
or dword [rdi + 0x4118], 2
test dword [rax + 0xc], 0x1000000
je 0x1400537e3
mov byte [rdi + 0x3e36], 1
call fcn.140025f10
mov byte [rdi + 0x3e36], 0
mov rax, qword [rbp - 0x49]
movaps xmm6, xmmword [rsp + 0xc0]
mov dword [rax + 0x52c4], ebx
mov rbx, qword [0x14024ad10]
mov rax, qword [rbx + 0x3ea8]
cmp qword [rbx + 0x40b8], rax
jne 0x140053831
cmp byte [rbx + 0x4115], 0
je 0x140053831
cmp dword [rbx + 0x40f4], 0
jne 0x140053831
or dword [rbx + 0x4118], 2
test dword [rax + 0xc], 0x1000000
je 0x140053841
mov byte [rbx + 0x3e36], 1
call fcn.140025f10
mov byte [rbx + 0x3e36], 0
mov rbx, qword [rsp + 0x110]
mov rdi, qword [rsp + 0xe0]
add rsp, 0xe8
pop r14
pop r13
pop rsi
pop rbp
ret