Function at 0x14003e338
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, 0x2a28066e
add rsp, 0x2a28057e
mov rax, qword gs:[0x30]
mov r12d, r9d
mov r15, r8
mov r14, rdx
mov rbx, rcx
mov rdi, qword [rax + 0x48]
lock inc dword [rcx + 0x6b0]
je 0x14003e3a6
cmp rdi, qword [rcx + 0x6a0]
je 0x14003e4ce
mov rcx, qword [rcx + 0x6a8]
xor r8d, r8d
xor edx, edx
call fcn.140095950
mov qword [rbx + 0x6a0], rdi
mov dword [rbx + 0x6b4], 0xc7a83bb
add dword [rbx + 0x6b4], 0x19478f41
add dword [rbx + 0x6b4], 0x4c5ec51c
sub dword [rbx + 0x6b4], 0x7220d817
mov rcx, qword [rbx + 0x510]
mov rax, qword [rcx]
call qword [rax + 8]
lea rdi, [rbx + 0x598]
mov qword [rbp - 0x39], rax
mov rcx, rdi
lea rdx, [rbp - 0x39]
mov rsi, rax
call fcn.14003d290
mov edx, dword [rbp + 0x6f]
mov rcx, rsi
call fcn.14003cfa0
mov rdx, r14
mov rcx, rsi
call fcn.14003cd20
mov eax, dword [rbx + 0x518]
xor r13d, r13d
mov qword [rbp - 0x71], r13
mov r14d, r13d
movabs rdx, 0x4ef446ac5124b188
xor rdx, 0x309097aa
xor rdx, 0x3f87590f
cmp eax, 1
jne 0x14003e710
cmp r12d, eax
jne 0x14003e4d9
mov rax, qword [0x140489038]
movabs r14, 0xbfba84b32b9a67e8
add r14, 0x220eae02
sub r14, 0x4b3e32dd
add r14, 0x7fffffff
add r14, 0x3267e0d3
xor rax, r14
movabs rdi, 0x180eccd0005b158b
add rdi, 0x63e04028
xor rdi, 0x629063c7
add rdi, 0x4f974d79
sub rax, rdi
xor ecx, ecx
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 [0x140489038]
xor rax, r14
sub rax, rdi
call rax
sub eax, dword [r15 + 4]
cdq
sub eax, edx
sar eax, 1
jmp 0x14003e4f4
inc dword [rcx + 0x6b4]
jmp 0x14003e3d5
test r12d, r12d
jne 0x14003e4f7
mov eax, 0x5d1d97e0
add eax, 0x20410a1
add eax, 0x20de577f
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 0x14003e535
call fcn.140038270
mov rcx, rax
test rax, rax
je 0x14003e535
mov rax, qword [rax]
call qword [rax + 0xb8]
mov qword [rbp - 0x61], rax
mov rax, qword [rbx + 0x538]
xorps xmm0, xmm0
mov r13, qword [rbx + 0x578]
movabs rcx, 0x4ef446ac52a3b4a2
xor rcx, 0x4c087c3b
add rcx, 0x371057f7
add rcx, 0x8775e9d
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.140016fb8
xor r9d, r9d
mov edx, 0x4cdc3aeb
sub edx, 0x418b3dad
add edx, 0x29959e73
add edx, 0xe7cc591
test r13, r13
je 0x14003e601
mov rdi, rax
sub r12, rax
mov r8, r13
mov r10d, 0x3e654b93
xor r10d, 0x6528526a
xor r10d, 0x5b4d1906
movzx ecx, dx
ror edx, 8
and cx, r10w
xor cx, word [rdi + r12]
mov word [rdi], cx
lea rdi, [rdi + 2]
sub r8, 1
jne 0x14003e5e1
mov word [rax + r13*2], r9w
movabs rcx, 0x3029d2765b8368b8
add rcx, 0x22d14669
sub rcx, 0x2086e79
add rcx, 0x3a61230e
mov rdi, qword [0x140489028]
movabs rax, 0x11a948767b4b3e82
sub rax, 0x5bb3fd25
add rax, 0x420b2179
mov rdx, qword [rbp - 0x29]
add rdi, rcx
xor rdi, rax
lea ecx, [r14 + 0x80080]
rol rdi, 4
movabs rax, 0x1015b4d90e6417c5
add rax, 0x69bbaafc
sub rax, 0x4bf196ea
add rax, 0x55fd0645
sub rdi, rax
xor r13d, r13d
mov rax, qword [rbp - 0x31]
mov r9d, 0x7800e74e
sub r9d, 0x5a66d6ad
add r9d, 0x6267ef5f
mov qword [rsp + 0x58], r13
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]
ror rdi, 0x32
mov dword [rsp + 0x20], eax
call rdi
mov rcx, qword [rbp - 0x29]
mov r14, rax
lea rax, [rbp - 0x21]
cmp rcx, rax
jne 0x14003e6f2
xor eax, eax
lea rdi, [rbp - 0x21]
lea ecx, [rax + 0x30]
rep stosb byte [rdi], al
jmp 0x14003e6f7
call fcn.1400bb730
test r14, r14
je 0x14003e919
mov rdx, rsi
mov rcx, rbx
call fcn.14003de7c
jmp 0x14003e892
cmp eax, 2
jne 0x14003e892
mov rcx, qword [rbx + 0x530]
mov rax, qword [0x1404890a0]
xor rcx, rdx
rol rax, 0x3a
movabs rdx, 0x3ad533bc51176238
sub rdx, 0x94b0cdb
xor rdx, 0x25eea515
add rdx, 0x7fffffff
sub rdx, 0x2d20bca5
xor rax, rdx
movabs rdx, 0x65d8908c0b7a1333
add rdx, 0x4472f9bb
xor rdx, 0xd3c328f
add rax, rdx
movabs rdx, 0x6690acb8630e9da3
sub rdx, 0x856b1b2
add rdx, 0x7fffffff
sub rdx, 0x2a00b50a
ror rax, 0x20
add rax, rdx
lea rdx, [rbp - 0x59]
ror rax, 0x2f
call rax
cmp r12d, 1
jne 0x14003e7d4
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 0x14003e864
mov rcx, qword [rbx + 0x5a0]
mov rax, qword [rdi]
mov rdi, qword [rax + rcx*8 - 0x10]
cmp rdi, qword [rbx + 0x688]
je 0x14003e82c
lea rdx, [rbp + 0xf]
mov rcx, rdi
call fcn.14004eab0
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.14004eab0
mov ecx, dword [rax + 4]
nop
add ecx, 0x127fa981
sub ecx, 0x127fa959
mov dword [rbp - 0x6d], ecx
jmp 0x14003e864
mov dword [rbp - 0x71], 0x3830d3d6
sub dword [rbp - 0x71], 0xa0dd3d8
add dword [rbp - 0x71], 0xfed25fa
sub dword [rbp - 0x71], 0x3e1025e4
mov dword [rbp - 0x6d], 0xc283559
add dword [rbp - 0x6d], 0x294f9659
sub dword [rbp - 0x6d], 0x2fd77b00
xor dword [rbp - 0x6d], 0x5a0509a
mov edx, 0x5a84d7fd
xor edx, 0x6454eef2
sub edx, 0x3ed0336f
mov rax, rbx
mov rcx, rsi
mov rdx, qword [rdx + rbx]
dec rdx
call fcn.1400448b0
mov rdx, rsi
mov rcx, rbx
call fcn.14003eee8
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 0x14003eaf8
mov r8, r14
mov rdx, rsi
mov rcx, rbx
call fcn.14003eba4
test al, al
jne 0x14003e92c
mov rax, qword [0x140489030]
movabs rcx, 0x6eb7401470f001b7
sub rcx, 0x2b1ca343
add rcx, 0x2782566
not rax
add rax, rcx
movabs rcx, 0xc282f52b7d52b66f
sub rcx, 0x18038eaf
sub rcx, 0x39d90d4d
ror rax, 0x33
add rax, rcx
mov rcx, r14
call rax
mov rdx, rsi
mov rcx, rbx
call fcn.14003ec7c
mov rsi, r13
jmp 0x14003eb3c
mov rax, qword [0x1404890c0]
xor edx, edx
not rax
movabs rcx, 0x1aacceaf55ef70e1
xor rcx, 0x5e4d7eaf
xor rcx, 0x3ef9df4
add rcx, 0x7fffffff
add rcx, 0x14cc1aab
rol rax, 0x3a
mov r8d, 0x5404f669
sub r8d, 0x3c3978cb
xor r8d, 0x17cb7d61
add rcx, rax
movabs rax, 0x1834918d221705c8
xor rax, 0x2a0a9eef
add rax, 0x306b9dfd
xor rcx, rax
lea r9d, [rdx + 2]
movabs rax, 0x138b233643253188
add rax, 0x26436f2f
xor rax, 0x79b6f7ee
add rax, 0x58df58fe
add rcx, rax
movabs rax, 0x9b294106f892062
sub rax, 0x501f8872
add rax, 0x6b5cba96
ror rcx, 0x3b
add rax, rcx
mov rcx, r14
call rax
movabs rax, 0x4ef446ac03822d64
xor rax, 0xcae3f18
add rax, 0x4f076cb1
cmp qword [rbx + 0x760], rax
je 0x14003ea45
mov eax, dword [r15]
lea rdx, [rbp - 0x49]
and qword [rbp - 0x49], 0
movabs rcx, 0x1db3bb497c620884
xor rcx, 0x794dfa2e
add rcx, 0x41faccb1
mov dword [rbp - 0x41], eax
mov eax, dword [r15 + 4]
mov dword [rbp - 0x3d], eax
mov rax, qword [rbx + 0x770]
not rax
rol rax, 0xf
not rax
sub rax, rcx
mov rcx, r14
ror rax, 0x29
call rax
mov rdx, qword [0x1404890c8]
movabs rcx, 0xb4efb6b36c86d029
add rcx, 0x9534f3d
add rcx, 0x4497eb38
ror rdx, 0x2c
add rdx, rcx
mov rcx, r14
not rdx
ror rdx, 0x18
call rdx
mov rax, qword [0x1404890d0]
movabs rcx, 0x11dea3ec1bc9f39e
add rcx, 0x371c9db9
add rcx, 0x3f27e33
add rax, rcx
mov edx, 0x1e94d864
xor edx, 0x666550ce
xor edx, 0x78f188af
movabs rcx, 0xbc165f5a33600276
add rcx, 0x39a695bc
add rcx, 0x6297f3cf
xor rax, rcx
movabs rcx, 0x4af1de4a6d328efe
sub rcx, 0x6ba12278
add rcx, 0x362304cb
sub rcx, 0x24eb9242
not rax
ror rax, 0x28
xor rax, rcx
mov rcx, r14
call rax
jmp 0x14003eb3c
cmp eax, 2
jne 0x14003eb3c
mov rdx, qword [rbx + 0x580]
test rdx, rdx
je 0x14003eb1a
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 0x14003eb3c
mov rcx, qword [rbx + 0x688]
mov rdx, rsi
call fcn.140055510
or ecx, 0xffffffff
add dword [rbx + 0x6b4], ecx
jne 0x14003eb79
mov qword [rbx + 0x6a0], r13
mov eax, ecx
lock xadd dword [rbx + 0x6b0], eax
add eax, ecx
cmp eax, ecx
je 0x14003eb80
mov rcx, qword [rbx + 0x6a8]
xor edx, edx
call fcn.1400958f0
jmp 0x14003eb80
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