Function at 0x14002ff44
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x47]
sub rsp, 0x1979abee
add rsp, 0x1979aafe
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 0x14002ffb2
cmp rsi, qword [rcx + 0x6a0]
je 0x140030102
mov rcx, qword [rcx + 0x6a8]
xor r8d, r8d
xor edx, edx
call fcn.14004e940
mov qword [rbx + 0x6a0], rsi
mov dword [rbx + 0x6b4], 0x137432bd
xor dword [rbx + 0x6b4], 0x1f29d5b9
xor dword [rbx + 0x6b4], 0xc5de705
mov rcx, qword [rbx + 0x510]
mov rax, qword [rcx]
call qword [rax + 8]
lea r12, [rbx + 0x598]
mov qword [rbp - 0x39], rax
mov rcx, r12
lea rdx, [rbp - 0x39]
mov rsi, rax
call fcn.14002ee0c
mov edx, dword [rbp + 0x6f]
mov rcx, rsi
call fcn.140043000
mov rdx, r14
mov rcx, rsi
call fcn.140042d90
mov eax, dword [rbx + 0x518]
xor r13d, r13d
mov qword [rbp - 0x71], r13
mov r14d, r13d
movabs rdx, 0x5def00206535b466
sub rdx, 0x22e31162
sub rdx, 0x24cf4f8
sub rdx, 0x5d730ca
cmp eax, 1
jne 0x14003036a
cmp edi, eax
jne 0x14003010d
mov rax, qword [0x1400dbb98]
movabs r12, 0x78d009cd752ebd80
add r12, 0x59634e1
sub r12, 0xdb5318a
not rax
movabs r14, 0xa96eed46383a2e83
add r14, 0x391bf6ec
sub r14, 0xe9f2201
add r14, 0x769b5ce5
add rax, r12
movabs rdi, 0x66a403ed78bd8c62
xor rdi, 0x11284b08
xor rdi, 0x42c44445
add rdi, 0x7fffffff
add rdi, 0x543e8c25
rol rax, 0x26
xor ecx, ecx
add rax, r14
xor rax, rdi
call rax
sub eax, dword [r15]
lea ecx, [r13 + 1]
cdq
sub eax, edx
sar eax, 1
mov dword [rbp - 0x71], eax
mov rax, qword [0x1400dbb98]
not rax
add rax, r12
rol rax, 0x26
add rax, r14
xor rax, rdi
call rax
sub eax, dword [r15 + 4]
cdq
sub eax, edx
sar eax, 1
jmp 0x14003012c
inc dword [rcx + 0x6b4]
jmp 0x14002ffd7
test edi, edi
jne 0x14003012f
mov eax, 0x1ebe47c3
add eax, 0x5ccba001
sub eax, 0x22f1d12c
xor eax, 0xd8981698
mov dword [rbp - 0x71], eax
mov dword [rbp - 0x6d], eax
mov al, byte [rbp + 0x77]
mov rcx, qword [rbp + 0x7f]
neg al
mov qword [rbp - 0x61], r13
sbb r14d, r14d
and r14d, 0x3ff80
test rcx, rcx
je 0x14003016d
call fcn.140033c10
mov rcx, rax
test rax, rax
je 0x14003016d
mov rax, qword [rax]
call qword [rax + 0xb0]
mov qword [rbp - 0x61], rax
mov rax, qword [rbx + 0x538]
xorps xmm0, xmm0
mov r13, qword [rbx + 0x578]
movabs rcx, 0x5def002058f20c15
xor rcx, 0xe6347ea
xor rcx, 0x2c43c58f
xor rcx, 0x40fcf332
mov r12, qword [rbx + 0x540]
xor rax, rcx
mov qword [rbp - 0x31], rax
lea rcx, [rbp - 0x29]
mov eax, dword [r15 + 4]
mov dword [rbp + 0x4f], eax
lea rdx, [r13 + 1]
mov eax, dword [r15]
mov dword [rbp - 0x69], eax
lea rax, [rbp - 0x21]
mov qword [rbp - 0x29], rax
movups xmmword [rbp - 0x21], xmm0
movups xmmword [rbp - 0x11], xmm0
movups xmmword [rbp - 1], xmm0
call fcn.1400166e8
xor r9d, r9d
mov edx, 0x4917b37a
xor edx, 0x342417e7
sub edx, 0x330a55c1
test r13, r13
je 0x14003023a
mov rdi, rax
sub r12, rax
mov r8, r13
mov r10d, 0x33e16692
add r10d, 0x4adf3044
xor r10d, 0x422c77b4
sub r10d, 0x3cece063
movzx ecx, dx
ror edx, 8
and cx, r10w
xor cx, word [r12 + rdi]
mov word [rdi], cx
lea rdi, [rdi + 2]
sub r8, 1
jne 0x14003021a
mov word [rax + r13*2], r9w
movabs rcx, 0xb49c8c4465aae231
sub rcx, 0x1b118b31
add rcx, 0x767eda10
mov rdi, qword [0x1400dbb88]
movabs rax, 0x36af1f402d39682b
sub rax, 0xbbf48b5
add rax, 0x313787a5
sub rax, 0x2c51f20a
mov rdx, qword [rbp - 0x29]
add rdi, rcx
xor rdi, rax
lea ecx, [r14 + 0x80080]
movabs rax, 0x1e9d097f6d915367
xor rax, 0x3735c356
sub rax, 0x39359079
xor rax, 0x42290709
xor r13d, r13d
add rdi, rax
mov qword [rsp + 0x58], r13
movabs rax, 0x7fa690e12b8f7676
add rax, 0x301d10e8
add rax, 0x12c545ac
sub rax, 0x358135f4
rol rdi, 6
xor rdi, rax
mov r9d, 0x2473dd48
sub r9d, 0xe07be5d
xor r9d, 0x4c6b1a4
add r9d, 0x6d5750b1
mov rax, qword [rbp - 0x31]
xor r8d, r8d
mov qword [rsp + 0x50], rax
mov rax, qword [rbp - 0x61]
mov qword [rsp + 0x48], r13
mov qword [rsp + 0x40], rax
mov eax, dword [rbp + 0x4f]
mov dword [rsp + 0x38], eax
mov eax, dword [rbp - 0x69]
mov dword [rsp + 0x30], eax
mov eax, dword [rbp - 0x6d]
mov dword [rsp + 0x28], eax
mov eax, dword [rbp - 0x71]
mov dword [rsp + 0x20], eax
call rdi
mov rcx, qword [rbp - 0x29]
mov r14, rax
lea rax, [rbp - 0x21]
cmp rcx, rax
jne 0x14003034c
xor eax, eax
lea rdi, [rbp - 0x21]
lea ecx, [rax + 0x30]
rep stosb byte [rdi], al
jmp 0x140030351
call fcn.140083f00
test r14, r14
je 0x140030540
mov rdx, rsi
mov rcx, rbx
call fcn.14002fae0
jmp 0x1400304c9
cmp eax, 2
jne 0x1400304c9
mov rcx, qword [rbx + 0x530]
mov rax, qword [0x1400dbc00]
xor rcx, rdx
ror rax, 7
movabs rdx, 0x6916b24a3623bc9a
add rdx, 0x4542779a
xor rdx, 0x7a04fc21
add rdx, 0x61b2783f
sub rax, rdx
movabs rdx, 0x9f89d27a7123219a
sub rdx, 0x3668304f
xor rdx, 0xbce4d9c
add rdx, 0x7fffffff
add rdx, 0x44cdce0c
ror rax, 0x25
add rax, rdx
lea rdx, [rbp - 0x59]
call rax
cmp edi, 1
jne 0x14003040e
mov eax, dword [rbp - 0x51]
sub eax, dword [r15]
sub eax, dword [rbp - 0x59]
cdq
sub eax, edx
sar eax, 1
mov dword [rbp - 0x71], eax
mov eax, dword [rbp - 0x4d]
sub eax, dword [r15 + 4]
sub eax, dword [rbp - 0x55]
cdq
sub eax, edx
sar eax, 1
mov dword [rbp - 0x6d], eax
jmp 0x140030495
mov rcx, qword [rbx + 0x5a0]
mov rax, qword [r12]
mov rdi, qword [rax + rcx*8 - 0x10]
cmp rdi, qword [rbx + 0x688]
je 0x14003045d
lea rdx, [rbp + 0xf]
mov rcx, rdi
call fcn.14003a040
mov rcx, rdi
mov edx, dword [rax]
neg edx
add edx, 0xffffffb0
neg edx
mov dword [rbp - 0x71], edx
lea rdx, [rbp + 0x17]
call fcn.14003a040
mov ecx, dword [rax + 4]
sub ecx, 0xffffffd8
mov dword [rbp - 0x6d], ecx
jmp 0x140030495
mov dword [rbp - 0x71], 0x36c35684
sub dword [rbp - 0x71], 0x3735019
xor dword [rbp - 0x71], 0x1479a57e
sub dword [rbp - 0x71], 0x2729a301
mov dword [rbp - 0x6d], 0x5f6f38c9
sub dword [rbp - 0x6d], 0xaacba65
xor dword [rbp - 0x6d], 0xd41e9ff
xor dword [rbp - 0x6d], 0x598397b3
mov edx, 0x693ce585
sub edx, 0x4a305837
sub edx, 0x1a0f8e19
sub edx, 0x4fcf995
mov rax, rbx
mov rcx, rsi
mov rdx, qword [rbx + rdx]
dec rdx
call fcn.140041230
mov rdx, rsi
mov rcx, rbx
call fcn.140030b00
mov rax, qword [rsi]
lea rdx, [rbp - 0x71]
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 0x1400306fd
mov r8, r14
mov rdx, rsi
mov rcx, rbx
call fcn.1400307ac
test al, al
jne 0x140030553
mov rax, qword [0x1400dbb90]
movabs rcx, 0x33050dbb00c48011
add rcx, 0x1993df2c
add rcx, 0xa7f6cd9
add rcx, 0x77b1c56
not rax
ror rax, 0x10
sub rax, rcx
mov rcx, r14
rol rax, 3
call rax
mov rdx, rsi
mov rcx, rbx
call fcn.140030894
mov rsi, r13
jmp 0x140030741
mov rax, qword [0x1400dbc20]
movabs rcx, 0x4131b1a23c905a52
add rcx, 0x13039e3a
sub rcx, 0xa23b65c
add rcx, 0x7fffffff
xor rcx, 0xed73a9d
xor rax, rcx
xor edx, edx
not rax
movabs rcx, 0x179b554435354b5c
sub rcx, 0x5293d0b
xor rcx, 0x178db187
rol rax, 0x17
mov r8d, 0xd9d08f3
add r8d, 0x433d3e7e
sub r8d, 0x456bfef2
sub r8d, 0xb6e4780
sub rax, rcx
mov rcx, r14
ror rax, 0x32
lea r9d, [rdx + 2]
not rax
call rax
movabs rax, 0x5def002068d46dd9
sub rax, 0x3e9f7b44
add rax, 0xff98aad
cmp qword [rbx + 0x760], rax
je 0x140030662
mov eax, dword [r15]
lea rdx, [rbp - 0x49]
and qword [rbp - 0x49], 0
movabs rcx, 0x26c94c3a47fefc17
sub rcx, 0x408a1136
xor rcx, 0x6fa8e146
add rcx, 0x31865c0f
mov dword [rbp - 0x41], eax
mov eax, dword [r15 + 4]
mov dword [rbp - 0x3d], eax
mov rax, qword [rbx + 0x770]
sub rax, rcx
movabs rcx, 0x19c4a3903d6cc108
sub rcx, 0x95468bf
add rcx, 0x7fffffff
xor rcx, 0x273617ad
not rax
sub rax, rcx
mov rcx, r14
rol rax, 0x2c
call rax
mov rdx, qword [0x1400dbc28]
movabs rcx, 0xa6f7b473182f767a
xor rcx, 0x500b04ce
sub rcx, 0x2d2ef36f
ror rdx, 0xc
add rdx, rcx
mov rcx, r14
not rdx
ror rdx, 0x33
call rdx
mov rax, qword [0x1400dbc30]
movabs rcx, 0x7c809313348f8ca
add rcx, 0x22a982c9
xor rcx, 0x19825054
add rcx, 0x7fffffff
xor rcx, 0x746d7ef0
not rax
mov edx, 0x7134b261
xor edx, 0xc08056b
xor edx, 0x7d3cb70f
add rax, rcx
movabs rcx, 0xa5ddcc9a5bc8d327
xor rcx, 0x3c2c6b9
xor rcx, 0x3c3eaeee
xor rax, rcx
mov rcx, r14
call rax
jmp 0x140030741
cmp eax, 2
jne 0x140030741
mov rdx, qword [rbx + 0x580]
test rdx, rdx
je 0x14003071f
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + 0x20]
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + 0x30]
cmp byte [rbp + 0x77], r13b
je 0x140030741
mov rcx, qword [rbx + 0x688]
mov rdx, rsi
call fcn.1400440a0
or ecx, 0xffffffff
add dword [rbx + 0x6b4], ecx
jne 0x14003077e
mov qword [rbx + 0x6a0], r13
mov eax, ecx
lock xadd dword [rbx + 0x6b0], eax
add eax, ecx
cmp eax, ecx
je 0x140030785
mov rcx, qword [rbx + 0x6a8]
xor edx, edx
call fcn.14004e900
jmp 0x140030785
lock add dword [rbx + 0x6b0], ecx
lea r11, [rsp + 0xf0]
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