Function at 0x14002caf0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x1f]
add rsp, 0xffffffffffffff00
mov rax, qword gs:[0x30]
mov edi, r9d
mov r15, r8
mov r14, rdx
mov rbx, rcx
mov rsi, qword [rax + 0x48]
lock inc dword [rcx + 0x6b0]
je 0x14002cb58
cmp rsi, qword [rcx + 0x6a0]
je 0x14002ccea
mov rcx, qword [rcx + 0x6a8]
xor r8d, r8d
xor edx, edx
call fcn.140090f80
mov qword [rbx + 0x6a0], rsi
mov dword [rbx + 0x6b4], 0x324db125
add dword [rbx + 0x6b4], 0x3e6f1c27
sub dword [rbx + 0x6b4], 0x70bccd4b
mov rcx, qword [rbx + 0x510]
mov rax, qword [rcx]
call qword [rax + 8]
lea rdx, [rbp - 0x49]
mov qword [rbp - 0x49], rax
lea rcx, [rbx + 0x598]
mov rsi, rax
call fcn.14002b4e0
mov edx, dword [rbp + 0x6f]
mov rcx, rsi
call fcn.140040510
mov rdx, r14
mov rcx, rsi
call fcn.1400401c0
movzx r13d, byte [rbp + 0x77]
xor eax, eax
mov r14d, eax
mov qword [rsp + 0x60], rax
mov eax, dword [rbx + 0x518]
movabs rdx, 0x2c9e3f0c2a453bb6
xor rdx, 0x3d022fdb
sub rdx, 0xf5d67a7
add rdx, 0x6befc15f
cmp eax, 1
jne 0x14002cf67
cmp edi, eax
jne 0x14002ccf5
mov rax, qword [0x1404e2148]
movabs rcx, 0x5695a7396855327d
add rcx, 0x6252fbb
sub rcx, 0x667a9e52
add rax, rcx
movabs r12, 0x165928171a05bad6
add r12, 0x10943ba6
sub r12, 0x13387295
xor rax, r12
movabs r14, 0xf1499d455ec35a6
sub r14, 0x3c93dcf1
add r14, 0x1551f72d
ror rax, 5
movabs rdi, 0x5ee2cd364430aae4
xor rdi, 0x4d1dbacd
add rdi, 0x73d08b99
sub rdi, 0x186c3870
add rax, r14
xor ecx, ecx
xor rax, rdi
call rax
sub eax, dword [r15]
mov ecx, 0x4b678664
sub ecx, 0x1b389e67
sub ecx, 0x29e90309
sub ecx, 0x645e4f3
cdq
sub eax, edx
movabs rdx, 0x5695a7393e6af1e6
sub rdx, 0x51e7988
xor rdx, 0x630f56e9
xor rdx, 0x5dbced51
sar eax, 1
mov dword [rsp + 0x60], eax
mov rax, qword [0x1404e2148]
add rax, rdx
xor rax, r12
ror rax, 5
add rax, r14
xor rax, rdi
call rax
sub eax, dword [r15 + 4]
cdq
sub eax, edx
sar eax, 1
mov dword [rbp - 0x7d], eax
jmp 0x14002cd2a
inc dword [rcx + 0x6b4]
jmp 0x14002cb7d
test edi, edi
jne 0x14002cd2a
mov dword [rsp + 0x60], 0x2e6c1233
xor dword [rsp + 0x60], 0x6dd513d2
add dword [rsp + 0x60], 0x3c46fe1f
mov dword [rbp - 0x7d], 0x5fedd8a5
sub dword [rbp - 0x7d], 0x42687d33
xor dword [rbp - 0x7d], 0x9d855b72
mov rcx, qword [rbp + 0x7f]
test r13b, r13b
pushf
mov eax, 0x69d6d2d8
sub eax, 0x50686003
sub eax, 0xf1f5e04
sub eax, 0xa471451
popf
pushf
mov r12d, 0x4486f433
sub r12d, 0x36b562a5
xor r12d, 0x62ea1367
sub r12d, 0x6f2f82e9
popf
cmove r12d, eax
xor edi, edi
mov qword [rbp - 0x71], rdi
test rcx, rcx
je 0x14002cd94
call fcn.140039ff0
test rax, rax
je 0x14002cd94
mov rax, qword [rax + 0x98]
mov qword [rbp - 0x71], rax
mov rax, qword [rbx + 0x538]
xorps xmm0, xmm0
mov r13, qword [rbx + 0x578]
movabs rcx, 0x2c9e3f0c55a9f4c6
add rcx, 0x5922a89
xor rcx, 0x28e5716a
mov r14, qword [rbx + 0x540]
xor rax, rcx
mov qword [rbp - 0x41], rax
lea rcx, [rbp - 0x31]
mov eax, dword [r15 + 4]
mov dword [rbp + 0x4f], eax
lea rdx, [r13 + 1]
mov eax, dword [r15]
mov dword [rbp - 0x79], eax
lea rax, [rbp - 0x29]
mov qword [rbp - 0x31], rax
movups xmmword [rbp - 0x29], xmm0
movups xmmword [rbp - 0x19], xmm0
movups xmmword [rbp - 9], xmm0
call fcn.1400110e0
mov edx, 0x51101c22
sub edx, 0x24157e6c
xor edx, 0x25fe8c62
test r13, r13
je 0x14002ce5a
mov rdi, rax
sub r14, rax
mov r8, r13
mov r9d, 0x5555a03b
add r9d, 0x239333b4
xor r9d, 0x78e8d310
nop dword [rax + rax]
movzx ecx, dx
lea rdi, [rdi + 2]
and cx, r9w
ror edx, 8
xor cx, word [rdi + r14 - 2]
mov word [rdi - 2], cx
sub r8, 1
jne 0x14002ce38
xor ecx, ecx
mov r9d, 0x465883d7
xor r9d, 0xa42abfa
add r9d, 0x33e7d7d3
mov word [rax + r13*2], cx
xor r8d, r8d
mov rdi, qword [0x1404e2138]
movabs rax, 0x3b2c845733e4bd45
add rax, 0x14b3e615
add rax, 0x7fffffff
sub rax, 0x2c219f26
mov rdx, qword [rbp - 0x31]
xor rdi, rax
mov rax, qword [rbp - 0x41]
not rdi
mov qword [rsp + 0x58], rcx
mov qword [rsp + 0x50], rax
mov rax, qword [rbp - 0x71]
mov qword [rsp + 0x48], rcx
mov ecx, r12d
mov qword [rsp + 0x40], rax
mov eax, dword [rbp + 0x4f]
mov dword [rsp + 0x38], eax
mov eax, dword [rbp - 0x79]
mov dword [rsp + 0x30], eax
mov eax, dword [rbp - 0x7d]
mov dword [rsp + 0x28], eax
mov eax, dword [rsp + 0x60]
rol rdi, 0x19
not rdi
mov dword [rsp + 0x20], eax
call rdi
mov rcx, qword [rbp - 0x31]
mov r14, rax
lea rax, [rbp - 0x29]
cmp rcx, rax
jne 0x14002cf22
lea rdi, [rbp - 0x29]
xor eax, eax
mov ecx, 0x206ebee6
add ecx, 0x2f1fa535
add ecx, 0x5e034f9
sub ecx, 0x556e98e4
rep stosb byte [rdi], al
jmp 0x14002cf27
call fcn.1400bb8f0
test r14, r14
je 0x14002d1e6
mov rcx, qword [rbx + 0x510]
mov rdx, rsi
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, rax
mov qword [rbp - 0x39], rax
mov rdx, qword [rax]
call qword [rdx + 0x10]
lea rcx, [rbx + 0x658]
lea rdx, [rbp - 0x39]
call fcn.14002b5d0
movzx r13d, byte [rbp + 0x77]
jmp 0x14002d112
cmp eax, 2
jne 0x14002d112
mov rcx, qword [rbx + 0x530]
mov rax, qword [0x1404e21b8]
xor rcx, rdx
movabs rdx, 0x7a1e232a13337fc6
xor rdx, 0x34471ef9
add rdx, 0x7fffffff
sub rdx, 0x5ad460c
xor rax, rdx
movabs rdx, 0x556f58162cda5355
xor rdx, 0x653bbdee
sub rdx, 0x3d15bd8e
add rdx, 0x3a8b7e23
sub rax, rdx
movabs rdx, 0x1958a0440c550fd7
xor rdx, 0x192a2c5e
add rdx, 0x4f312cf5
sub rdx, 0xbb0f3ca
ror rax, 0x38
add rax, rdx
movabs rdx, 0xa55340900466aed
xor rdx, 0x30a2a40f
add rdx, 0x2a2c3e2b
add rdx, 0x531c3508
ror rax, 2
add rax, rdx
lea rdx, [rbp - 0x69]
ror rax, 6
call rax
cmp edi, 1
jne 0x14002d04d
mov eax, dword [rbp - 0x61]
sub eax, dword [r15]
sub eax, dword [rbp - 0x69]
cdq
sub eax, edx
sar eax, 1
mov dword [rsp + 0x60], eax
mov eax, dword [rbp - 0x5d]
sub eax, dword [r15 + 4]
sub eax, dword [rbp - 0x65]
cdq
sub eax, edx
sar eax, 1
mov dword [rbp - 0x7d], eax
jmp 0x14002d0e4
mov rcx, qword [rbx + 0x5a0]
mov rax, qword [rbx + 0x598]
mov rdi, qword [rax + rcx*8 - 0x10]
cmp rdi, qword [rbx + 0x688]
je 0x14002d0b0
lea rdx, [rbp + 7]
mov rcx, rdi
call fcn.140045db0
mov rcx, rdi
mov edx, dword [rax]
nop
sub edx, 0x114c8509
add edx, 0x114c8559
mov dword [rsp + 0x60], edx
lea rdx, [rbp + 0xf]
call fcn.140045db0
mov ecx, dword [rax + 4]
nop
add ecx, 0x77ddda2e
sub ecx, 0x77ddda06
mov dword [rbp - 0x7d], ecx
jmp 0x14002d0e4
mov dword [rsp + 0x60], 0x673450f
add dword [rsp + 0x60], 0x4d74885
sub dword [rsp + 0x60], 0xb4a8d80
mov dword [rbp - 0x7d], 0x77299955
sub dword [rbp - 0x7d], 0x219bfb87
sub dword [rbp - 0x7d], 0x2a5eb492
sub dword [rbp - 0x7d], 0x2b2ee914
mov edx, 0xd585625
add edx, 0x6b0a72d0
sub edx, 0x7862c355
mov rax, rbx
mov rcx, rsi
mov rdx, qword [rbx + rdx]
dec rdx
call fcn.140028870
mov rdx, rsi
mov rcx, rbx
call fcn.14002d850
mov rax, qword [rsi]
lea rdx, [rsp + 0x60]
mov rcx, rsi
call qword [rax + 0x38]
mov rax, qword [rsi]
mov rdx, r15
mov rcx, rsi
call qword [rax + 0x40]
mov eax, dword [rbx + 0x518]
cmp eax, 1
jne 0x14002d42e
mov r8, r14
mov rdx, rsi
mov rcx, rbx
call fcn.14002d4f0
test al, al
jne 0x14002d1fa
mov rax, qword [0x1404e2140]
movabs rcx, 0xeb61a9ba5a8d3019
add rcx, 0x1d9a80ba
add rcx, 0x5daa7e49
ror rax, 0x26
xor rax, rcx
movabs rcx, 0x1f11cc9661b7ab02
sub rcx, 0x4da7d3c
xor rcx, 0x671a5c91
add rcx, 0x6444ac5f
add rax, rcx
movabs rcx, 0x4e6f8ef4604f67a7
sub rcx, 0xbf197bd
xor rcx, 0x6c4902a1
add rcx, 0x3d810b7c
xor rax, rcx
movabs rcx, 0x5d4cd2d5363ec612
sub rcx, 0x2b9c499f
xor rcx, 0x68ace55a
xor rcx, 0x73332b1c
rol rax, 0x11
add rax, rcx
mov rcx, r14
call rax
mov rdx, rsi
mov rcx, rbx
call fcn.14002d5d0
xor edi, edi
mov esi, edi
jmp 0x14002d473
mov rax, qword [0x1404e21d8]
movabs rcx, 0x585238cf0dab35f3
add rcx, 0x14b4a11c
add rcx, 0x40eb548a
add rcx, 0x7fffffff
xor rcx, 0x16afdec0
xor rax, rcx
mov r9d, 0x41539402
xor r9d, 0x1f40db7c
add r9d, 0x917719
sub r9d, 0x5ea4c695
movabs rcx, 0x22bf2811454d9b23
sub rcx, 0x20309476
add rcx, 0xad25936
sub rcx, 0x182fbdcb
mov r8b, 0x3c
add r8b, 6
sub r8b, 0x20
add r8b, 0xdd
add rax, rcx
xor edx, edx
ror rax, 0x22
movabs rcx, 0xb949e15651f83e0
sub rcx, 0x56c007f0
xor rcx, 0x51f5a4d0
xor rax, rcx
movabs rcx, 0xdd084b0269fd147f
sub rcx, 0x55962a21
add rcx, 0x7fffffff
add rcx, 0x65615126
rol rax, 9
add rax, rcx
mov rcx, r14
call rax
movabs rax, 0x2c9e3f0c76c9d27c
sub rax, 0x6a67145
xor rax, 0x4cc159c8
add rax, 0x36f73526
xor edi, edi
cmp qword [rbx + 0x778], rax
je 0x14002d37b
mov eax, dword [r15]
lea rdx, [rbp - 0x59]
mov dword [rbp - 0x51], eax
movabs rcx, 0x6b0eb64a5bfdd8d9
xor rcx, 0x43636fd5
sub rcx, 0x16592c20
add rcx, 0x7fffffff
add rcx, 0x20ca4448
mov eax, dword [r15 + 4]
mov dword [rbp - 0x4d], eax
mov rax, qword [rbx + 0x788]
rol rax, 5
not rax
mov qword [rbp - 0x59], rdi
add rax, rcx
movabs rcx, 0x71ca37335b35662f
xor rcx, 0x20a39fd1
add rcx, 0x55c43655
xor rax, rcx
movabs rcx, 0x659d021e44a2a238
add rcx, 0x50595a4
add rcx, 0x5c0639c9
not rax
ror rax, 0x34
add rax, rcx
mov rcx, r14
call rax
mov rax, qword [0x1404e21e0]
movabs rcx, 0x6d8905fc53eb6edb
sub rcx, 0x4c39b94c
add rcx, 0x4df5bdce
ror rax, 0x10
xor rax, rcx
movabs rcx, 0x24fbc3615d2a9
xor rcx, 0x73904c44
add rcx, 0x7037f7f2
sub rax, rcx
mov rcx, r14
rol rax, 0x23
not rax
ror rax, 0xe
call rax
mov rax, qword [0x1404e21e8]
movabs rcx, 0x38125b974181901f
add rcx, 0x2a72fbd
sub rcx, 0x29f0a0c6
not rax
mov edx, 0x600e72e9
sub edx, 0x51bd174
xor edx, 0x5af2a170
sub rax, rcx
movabs rcx, 0x7d52ec2106a4b0f1
add rcx, 0x7fcc079
add rcx, 0x590456da
rol rax, 0xc
add rax, rcx
mov rcx, r14
not rax
call rax
jmp 0x14002d473
cmp eax, 2
jne 0x14002d471
mov rdx, qword [rbx + 0x580]
test rdx, rdx
je 0x14002d450
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + 0x20]
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + 0x30]
test r13b, r13b
je 0x14002d471
mov rcx, qword [rbx + 0x688]
mov rdx, rsi
call fcn.140046170
xor edi, edi
sub dword [rbx + 0x6b4], 1
jne 0x14002d4be
mov qword [rbx + 0x6a0], rdi
mov ecx, 0x7f4d813a
xor ecx, 0x2db8ee07
add ecx, 0xad0a90c2
lock xadd dword [rbx + 0x6b0], ecx
dec ecx
cmp ecx, 0xffffffff
je 0x14002d4c5
mov rcx, qword [rbx + 0x6a8]
xor edx, edx
call fcn.140090f20
jmp 0x14002d4c5
lock dec dword [rbx + 0x6b0]
lea r11, [rsp + 0x100]
mov rax, rsi
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret