Function at 0x140030450
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]
sub rsp, 0x100
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 0x1400304b8
cmp rsi, qword [rcx + 0x6a0]
je 0x140030623
mov rcx, qword [rcx + 0x6a8]
xor r8d, r8d
xor edx, edx
call fcn.140094c40
mov qword [rbx + 0x6a0], rsi
mov dword [rbx + 0x6b4], 0x55cf5e52
xor dword [rbx + 0x6b4], 0x376d5363
sub dword [rbx + 0x6b4], 0x1604c140
xor dword [rbx + 0x6b4], 0x4c9d4bf0
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.14002f170
mov edx, dword [rbp + 0x6f]
mov rcx, rsi
call fcn.140042660
mov rdx, r14
mov rcx, rsi
call fcn.1400423f0
movzx r13d, byte [rbp + 0x77]
xor eax, eax
mov r14d, eax
mov qword [rsp + 0x60], rax
mov eax, dword [rbx + 0x518]
movabs rdx, 0x42807508744cda69
xor rdx, 0x6d0480c9
add rdx, 0x63c71eb2
sub rdx, 0xddf43f6
cmp eax, 1
jne 0x14003092a
cmp edi, eax
jne 0x14003062e
mov rax, qword [0x1404df038]
movabs rdi, 0x26896117f62c838
xor rdi, 0x43b068e4
add rdi, 0x7fffffff
sub rdi, 0x1a915985
rol rax, 0x3e
movabs r14, 0x32dc97bc3873545e
xor r14, 0x2546cadf
xor r14, 0x5be7af02
add r14, 0x7fffffff
add r14, 0x1fef2686
add rax, rdi
xor ecx, ecx
ror rax, 0xe
not rax
add rax, r14
ror rax, 0x38
not rax
call rax
sub eax, dword [r15]
mov ecx, 0x79049f76
sub ecx, 0x4d7eadee
sub ecx, 0xd4d28fb
sub ecx, 0x1e38c88c
cdq
sub eax, edx
sar eax, 1
mov dword [rsp + 0x60], eax
mov rax, qword [0x1404df038]
rol rax, 0x3e
add rax, rdi
ror rax, 0xe
not rax
add rax, r14
ror rax, 0x38
not rax
call rax
sub eax, dword [r15 + 4]
cdq
sub eax, edx
sar eax, 1
mov dword [rbp - 0x7d], eax
jmp 0x140030672
inc dword [rcx + 0x6b4]
jmp 0x1400304e7
test edi, edi
jne 0x140030672
mov dword [rsp + 0x60], 0x550a32cc
add dword [rsp + 0x60], 0x1572164d
xor dword [rsp + 0x60], 0x4770a314
add dword [rsp + 0x60], 0x52f315f3
mov dword [rbp - 0x7d], 0x661192ce
add dword [rbp - 0x7d], 0xf3bbaa3
sub dword [rbp - 0x7d], 0x686bce60
add dword [rbp - 0x7d], 0x731e80ef
mov rcx, qword [rbp + 0x7f]
test r13b, r13b
pushf
mov eax, 0x14d4db40
add eax, 0x3f07fb70
add eax, 0x8fe651
xor eax, 0x5464bd81
popf
pushf
mov r12d, 0x38e9b67d
sub r12d, 0xed6aec3
xor r12d, 0x28b74536
sub r12d, 0x298428c
popf
cmove r12d, eax
xor edi, edi
mov qword [rbp - 0x71], rdi
test rcx, rcx
je 0x1400306e1
call fcn.14003d1a0
mov rcx, rax
test rax, rax
je 0x1400306e1
mov rax, qword [rax]
call qword [rax + 0xb8]
mov qword [rbp - 0x71], rax
mov rax, qword [rbx + 0x538]
xorps xmm0, xmm0
mov r13, qword [rbx + 0x578]
movabs rcx, 0x4280750877330528
xor rcx, 0x35b8abc8
xor rcx, 0x2087aab5
add rcx, 0xd243107
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.1400189f0
mov edx, 0x2ab18039
xor edx, 0x209360fb
xor edx, 0x70babc75
test r13, r13
je 0x1400307ae
mov rdi, rax
sub r14, rax
mov r8, r13
mov r9d, 0x32987d9d
xor r9d, 0x2b4a8380
add r9d, 0x12d64fa8
xor r9d, 0x2ca94d3a
nop
movzx ecx, dx
lea rdi, [rdi + 2]
and cx, r9w
ror edx, 8
xor cx, word [r14 + rdi - 2]
mov word [rdi - 2], cx
sub r8, 1
jne 0x14003078c
xor ecx, ecx
mov r9d, 0x52492c5f
add r9d, 0x31aa2d6
xor r9d, 0xfc5b850
add r9d, 0x255b889b
mov word [rax + r13*2], cx
xor r8d, r8d
mov rdi, qword [0x1404df028]
movabs rax, 0x336c07c828943a27
xor rax, 0x380258b
add rax, 0x7fffffff
add rax, 0x1e82376e
mov rdx, qword [rbp - 0x31]
mov qword [rsp + 0x58], rcx
rol rdi, 0x22
xor rdi, rax
movabs rax, 0x3891a19269cf7631
xor rax, 0x153b2a2b
sub rax, 0x3753e98e
add rax, 0x7fffffff
add rax, 0x369379f
add rdi, rax
movabs rax, 0x5837a1e8693cc73f
xor rax, 0x54cbf2
sub rax, 0x2436039c
xor rdi, rax
movabs rax, 0x279bfca75bb8fe2d
sub rax, 0x5ad92a3d
xor rax, 0x62dac143
add rdi, rax
movabs rax, 0x77c423f9500b08d3
xor rax, 0x4fd3867f
add rax, 0x4302731f
xor rdi, rax
mov rax, qword [rbp - 0x41]
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]
ror rdi, 0x14
mov dword [rsp + 0x20], eax
call rdi
mov rcx, qword [rbp - 0x31]
mov r14, rax
lea rax, [rbp - 0x29]
cmp rcx, rax
jne 0x1400308e5
lea rdi, [rbp - 0x29]
xor eax, eax
mov ecx, 0x30d9e899
xor ecx, 0x7558f2
sub ecx, 0x30acb03b
rep stosb byte [rdi], al
jmp 0x1400308ea
call fcn.1400bbca0
test r14, r14
je 0x140030b7a
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.14002f170
movzx r13d, byte [rbp + 0x77]
jmp 0x140030add
cmp eax, 2
jne 0x140030add
mov rcx, qword [rbx + 0x530]
mov rax, qword [0x1404df0a0]
xor rcx, rdx
movabs rdx, 0x689bc573046fc637
add rdx, 0x4adc0be4
xor rdx, 0x2f695358
xor rax, rdx
movabs rdx, 0x49218ba44a4a9bc0
add rdx, 0x358ac7
sub rdx, 0x1558edd5
xor rdx, 0x4df0c105
sub rax, rdx
movabs rdx, 0x39d587233dbc7a1b
sub rdx, 0x377c5158
add rdx, 0x6587ad08
sub rdx, 0xf04f65b
xor rax, rdx
movabs rdx, 0x114751c9224d599b
xor rdx, 0x31e8b030
add rdx, 0x1647c68e
add rdx, 0x1677c492
sub rax, rdx
movabs rdx, 0x6a7059a752947d14
sub rdx, 0x505d0a21
add rdx, 0x7fffffff
add rdx, 0xf72260e
xor rax, rdx
lea rdx, [rbp - 0x69]
call rax
cmp edi, 1
jne 0x140030a1f
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 0x140030aa9
mov rcx, qword [rbx + 0x5a0]
mov rax, qword [rbx + 0x598]
mov rdi, qword [rax + rcx*8 - 0x10]
cmp rdi, qword [rbx + 0x688]
je 0x140030a7c
lea rdx, [rbp + 7]
mov rcx, rdi
call fcn.140047e20
mov rcx, rdi
mov edx, dword [rax]
neg edx
add edx, 0xffffffb0
neg edx
mov dword [rsp + 0x60], edx
lea rdx, [rbp + 0xf]
call fcn.140047e20
mov ecx, dword [rax + 4]
nop
sub ecx, 0x7b96b18
add ecx, 0x7b96b40
mov dword [rbp - 0x7d], ecx
jmp 0x140030aa9
mov dword [rsp + 0x60], 0x2a0a42bb
add dword [rsp + 0x60], 0x1f126832
sub dword [rsp + 0x60], 0x491caad9
mov dword [rbp - 0x7d], 0x2e9a490c
add dword [rbp - 0x7d], 0x41fb858f
sub dword [rbp - 0x7d], 0x7095ce73
mov edx, 0x324e46d0
sub edx, 0x3141f4d2
xor edx, 0x5059c954
sub edx, 0x5155930a
mov rax, rbx
mov rcx, rsi
mov rdx, qword [rbx + rdx]
dec rdx
call fcn.14002c800
mov rdx, rsi
mov rcx, rbx
call fcn.140031260
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 0x140030e1c
mov r8, r14
mov rdx, rsi
mov rcx, rbx
call fcn.140030ee0
test al, al
jne 0x140030b8e
mov rdx, qword [0x1404df030]
movabs rcx, 0x55f1544b59452942
sub rcx, 0x113e8162
add rcx, 0x4111a854
add rdx, rcx
movabs rax, 0x27864e5c183ebcaf
add rax, 0x62d14690
sub rax, 0x2fbd6f9d
add rax, 0x7fffffff
sub rax, 0x33c1d3c
not rdx
mov rcx, r14
rol rdx, 0x33
not rdx
rol rdx, 7
add rdx, rax
rol rdx, 0x3b
call rdx
mov rdx, rsi
mov rcx, rbx
call fcn.140030fd0
xor edi, edi
mov esi, edi
jmp 0x140030e61
mov rax, qword [0x1404df0c0]
movabs rcx, 0x79c6aa6263c85c7b
sub rcx, 0x513c4734
add rcx, 0xdefe5f5
add rcx, 0x7fffffff
add rcx, 0x3115d687
not rax
mov r9d, 0x145adbf4
xor r9d, 0x1f530ba3
add r9d, 0x6a5054c1
xor r9d, 0x755a251a
xor rax, rcx
mov r8b, 0x6b
xor r8b, 0x78
sub r8b, 1
add r8b, 0xed
movabs rcx, 0x773137433c92596c
add rcx, 0x326c4ca6
sub rcx, 0x34ba159e
sub rcx, 0xefb9c5a
xor edx, edx
sub rax, rcx
movabs rcx, 0xafd661b8468f45a1
xor rcx, 0xfe5a962
add rcx, 0x2d848dc2
add rcx, 0x7555f529
rol rax, 0xe
add rax, rcx
mov rcx, r14
call rax
movabs rax, 0x4280750849cf4f0b
xor rax, 0x490b31aa
xor rax, 0x8aaa1b1
add rax, 0x66c1564c
xor edi, edi
cmp qword [rbx + 0x760], rax
je 0x140030d09
mov eax, dword [r15]
lea rdx, [rbp - 0x59]
mov dword [rbp - 0x51], eax
movabs rcx, 0x75d0071c0a73738f
xor rcx, 0x78f79868
sub rcx, 0x6ddef1d1
add rcx, 0x7fffffff
xor rcx, 0x704156cb
mov eax, dword [r15 + 4]
mov dword [rbp - 0x4d], eax
mov rax, qword [rbx + 0x770]
sub rax, rcx
mov qword [rbp - 0x59], rdi
rol rax, 0xd
movabs rcx, 0x54a3484e24e5aa81
add rcx, 0x1f94e034
sub rcx, 0x3688d407
add rcx, 0xc753dc
sub rax, rcx
movabs rcx, 0x66d520546c6cff72
sub rcx, 0x327afccf
add rcx, 0x37c11190
add rcx, 0x7fffffff
add rcx, 0x4ec2cff
rol rax, 0x24
not rax
add rax, rcx
mov rcx, r14
rol rax, 0x2f
call rax
mov rax, qword [0x1404df0c8]
movabs rcx, 0x1c7da51d6f859afb
add rcx, 0xd6aaa8f
sub rcx, 0x382b52dd
sub rcx, 0x1d5e980c
rol rax, 0x3b
add rax, rcx
movabs rcx, 0xba60281c32b7b6f6
sub rcx, 0xbcfb621
add rcx, 0x5c0301f0
rol rax, 0x2e
xor rax, rcx
movabs rcx, 0x77066aa543f4545a
add rcx, 0x42631af
sub rcx, 0x2aadd200
add rcx, 0x7fffffff
add rcx, 0x276509d
rol rax, 0x2b
xor rax, rcx
mov rcx, r14
call rax
mov rax, qword [0x1404df0d0]
movabs rcx, 0x3784fa95f44bc48
xor rcx, 0x472fd74b
add rcx, 0x7fffffff
add rcx, 0x2d9fd92
not rax
mov edx, 0x20e87e63
sub edx, 0xf0a0af2
sub edx, 0x11de736c
xor rax, rcx
movabs rcx, 0x3f342f6d7db2de91
xor rcx, 0x375796a9
add rcx, 0x7fffffff
xor rcx, 0x5c340df9
sub rax, rcx
movabs rcx, 0x149234c139b5487c
sub rcx, 0x26ab46ae
add rcx, 0x2a0a7946
sub rcx, 0x2cc1ab39
not rax
add rax, rcx
mov rcx, r14
not rax
ror rax, 0x26
call rax
jmp 0x140030e61
cmp eax, 2
jne 0x140030e5f
mov rdx, qword [rbx + 0x580]
test rdx, rdx
je 0x140030e3e
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 0x140030e5f
mov rcx, qword [rbx + 0x688]
mov rdx, rsi
call fcn.1400482b0
xor edi, edi
sub dword [rbx + 0x6b4], 1
jne 0x140030eb2
mov qword [rbx + 0x6a0], rdi
mov ecx, 0x35dfbbe4
add ecx, 0x7dcdb9
add ecx, 0xb0b914f
add ecx, 0xbe96e513
lock xadd dword [rbx + 0x6b0], ecx
dec ecx
cmp ecx, 0xffffffff
je 0x140030eb9
mov rcx, qword [rbx + 0x6a8]
xor edx, edx
call fcn.140094be0
jmp 0x140030eb9
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