Function at 0x140034270
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x30]
sub rsp, 0x130
mov rax, qword [0x1401567f8]
xor rax, rsp
mov qword [rbp + 0x28], rax
mov r14, rcx
xor r15d, r15d
mov byte [rbp - 0x28], r15b
xor edx, edx
lea rcx, [rbp - 0x20]
call fcn.140025c08
nop
lea rax, [rbp - 0x38]
mov qword [rsp + 0x70], rax
mov dword [rbp - 0x40], 0x38acec75
mov word [rbp - 0x3c], 0x573d
mov ecx, 4
mov rax, qword gs:[0x58]
mov rsi, qword [rax]
or rbx, 0xffffffffffffffff
mov eax, dword [rcx + rsi]
cmp dword [0x140160ed4], eax
jle 0x14001d5d3
lea rcx, [0x140160ed4]
call fcn.1400b77a0
cmp dword [0x140160ed4], ebx
jne 0x14001d5d3
mov byte [0x140160bd6], 1
mov eax, dword [rbp - 0x40]
mov dword [0x140160bd0], eax
movzx eax, word [rbp - 0x3c]
mov word [0x140160bd4], ax
lea rcx, [0x1400ff6dc]
call fcn.1400b7e90
lea rcx, [0x140160ed4]
call fcn.1400b7740
lea r9, [0x140160bd0]
movabs r12, 0x235f575351cb8319
cmp byte [0x140160bd6], r15b
je 0x14001d612
mov rdx, r15
mov cl, dl
and cl, 7
shl cl, 3
mov rax, r12
shr rax, cl
xor byte [rdx + r9], al
inc rdx
cmp rdx, 6
jb 0x14001d5f0
mov byte [0x140160bd6], r15b
xorps xmm0, xmm0
movups xmmword [rsp + 0x50], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x60], xmm1
mov r8, rbx
inc r8
cmp byte [r9 + r8], r15b
jne 0x14001d626
mov rdx, r9
lea rcx, [rsp + 0x50]
call fcn.14002aaf4
nop
lea rdx, [rsp + 0x50]
lea rcx, [rbp - 0x38]
call fcn.1400292cc
mov rdi, rax
mov dword [rbp - 0x40], 0x34afec7a
mov eax, 4
mov ecx, dword [rax + rsi]
cmp dword [0x1401603d4], ecx
jle 0x14001d6a3
lea rcx, [0x1401603d4]
call fcn.1400b77a0
cmp dword [0x1401603d4], ebx
jne 0x14001d6a3
mov word [0x140160cd0], 0x153
mov eax, dword [rbp - 0x40]
mov dword [0x140160ccc], eax
lea rcx, [0x1400ff6ec]
call fcn.1400b7e90
lea rcx, [0x1401603d4]
call fcn.1400b7740
lea r9, [0x140160ccc]
cmp byte [0x140160cd1], r15b
je 0x14001d6d8
mov rdx, r15
mov cl, dl
and cl, 7
shl cl, 3
mov rax, r12
shr rax, cl
xor byte [rdx + r9], al
inc rdx
cmp rdx, 5
jb 0x14001d6b6
mov byte [0x140160cd1], r15b
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x40], xmm1
mov r8, rbx
inc r8
cmp byte [r9 + r8], r15b
jne 0x14001d6ec
mov rdx, r9
lea rcx, [rsp + 0x30]
call fcn.14002aaf4
nop
lea rdx, [rsp + 0x30]
lea rcx, [rbp - 0x28]
call fcn.14002001c
nop
mov dl, byte [rax]
mov cl, byte [rdi]
mov byte [rax], cl
mov byte [rdi], dl
lea rcx, [rdi + 8]
mov rdx, qword [rax + 8]
mov r8, qword [rcx]
mov qword [rax + 8], r8
mov qword [rcx], rdx
mov dl, byte [rdi]
call fcn.140023fc4
nop
mov r12d, 0x1000
mov rdx, qword [rsp + 0x48]
cmp rdx, 0x10
jb 0x14001d773
inc rdx
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, r12
jb 0x14001d76e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001dede
call fcn.1400b7640
movdqa xmm0, xmmword [0x14013df30]
movdqu xmmword [rsp + 0x40], xmm0
mov byte [rsp + 0x30], r15b
mov rdx, qword [rsp + 0x68]
cmp rdx, 0x10
jb 0x14001d7c0
inc rdx
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, r12
jb 0x14001d7ba
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001dee4
call fcn.1400b7640
nop
mov byte [rbp - 0x38], r15b
xor edx, edx
lea rcx, [rbp - 0x30]
call fcn.140025c08
nop
lea rax, [rsp + 0x30]
mov qword [rsp + 0x70], rax
mov byte [rsp + 0x30], r15b
xor eax, eax
mov qword [rsp + 0x38], rax
mov dl, r15b
lea rcx, [rsp + 0x38]
call fcn.140023fc4
mov byte [rsp + 0x30], 3
lea rdx, [r14 + 0x70]
lea rcx, [rbp - 0x40]
call fcn.140024744
mov rax, qword [rbp - 0x40]
mov qword [rsp + 0x38], rax
mov dword [rbp - 0x40], 0x511d181c
mov edi, 4
mov eax, dword [rdi + rsi]
cmp dword [0x1401603f0], eax
jle 0x14001d861
lea rcx, [0x1401603f0]
call fcn.1400b77a0
cmp dword [0x1401603f0], ebx
jne 0x14001d861
mov byte [0x140160ecc], 1
mov eax, dword [rbp - 0x40]
mov dword [0x140160ec8], eax
lea rcx, [0x1400ff6d4]
call fcn.1400b7e90
lea rcx, [0x1401603f0]
call fcn.1400b7740
lea r9, [0x140160ec8]
cmp byte [0x140160ecc], r15b
je 0x14001d89d
mov rdx, r15
mov cl, dl
and cl, 7
shl cl, 3
movabs rax, 0x3d559f1b5179717b
shr rax, cl
xor byte [rdx + r9], al
inc rdx
cmp rdx, 4
jb 0x14001d874
mov byte [0x140160ecc], r15b
xorps xmm0, xmm0
movups xmmword [rsp + 0x50], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x60], xmm1
mov r8, rbx
inc r8
cmp byte [r9 + r8], r15b
jne 0x14001d8b1
mov rdx, r9
lea rcx, [rsp + 0x50]
call fcn.14002aaf4
nop
lea rdx, [rsp + 0x50]
lea rcx, [rbp - 0x38]
call fcn.14002001c
nop
mov dl, byte [rax]
mov cl, byte [rsp + 0x30]
mov byte [rax], cl
mov byte [rsp + 0x30], dl
mov rcx, qword [rax + 8]
mov rdx, qword [rsp + 0x38]
mov qword [rax + 8], rdx
mov qword [rsp + 0x38], rcx
mov dl, byte [rsp + 0x30]
lea rcx, [rsp + 0x38]
call fcn.140023fc4
nop
mov rdx, qword [rsp + 0x68]
cmp rdx, 0x10
jb 0x14001d93d
inc rdx
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, r12
jb 0x14001d938
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001deea
call fcn.1400b7640
lea rax, [rsp + 0x30]
mov qword [rsp + 0x70], rax
mov byte [rsp + 0x30], r15b
xor eax, eax
mov qword [rsp + 0x38], rax
mov dl, r15b
lea rcx, [rsp + 0x38]
call fcn.140023fc4
mov byte [rsp + 0x30], 3
lea rdx, [r14 + 0x90]
lea rcx, [rbp - 0x40]
call fcn.140024744
mov rax, qword [rbp - 0x40]
mov qword [rsp + 0x38], rax
mov dword [rbp - 0x40], 0xc57ebede
mov eax, dword [rdi + rsi]
cmp dword [0x140160bc4], eax
jle 0x14001d9cc
lea rcx, [0x140160bc4]
call fcn.1400b77a0
cmp dword [0x140160bc4], ebx
jne 0x14001d9cc
mov byte [0x140160bcc], 1
mov eax, dword [rbp - 0x40]
mov dword [0x140160bc8], eax
lea rcx, [0x1400ff6cc]
call fcn.1400b7e90
lea rcx, [0x140160bc4]
call fcn.1400b7740
lea r9, [0x140160bc8]
cmp byte [0x140160bcc], r15b
je 0x14001da08
mov rdx, r15
mov cl, dl
and cl, 7
shl cl, 3
movabs rax, 0x530d433bc51ddfb3
shr rax, cl
xor byte [rdx + r9], al
inc rdx
cmp rdx, 4
jb 0x14001d9df
mov byte [0x140160bcc], r15b
xorps xmm0, xmm0
movups xmmword [rsp + 0x50], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x60], xmm1
mov r8, rbx
inc r8
cmp byte [r9 + r8], r15b
jne 0x14001da1c
mov rdx, r9
lea rcx, [rsp + 0x50]
call fcn.14002aaf4
nop
lea rdx, [rsp + 0x50]
lea rcx, [rbp - 0x38]
call fcn.14002001c
nop
mov dl, byte [rax]
mov cl, byte [rsp + 0x30]
mov byte [rax], cl
mov byte [rsp + 0x30], dl
mov rcx, qword [rax + 8]
mov rdx, qword [rsp + 0x38]
mov qword [rax + 8], rdx
mov qword [rsp + 0x38], rcx
mov dl, byte [rsp + 0x30]
lea rcx, [rsp + 0x38]
call fcn.140023fc4
nop
mov rdx, qword [rsp + 0x68]
cmp rdx, 0x10
jb 0x14001daa8
inc rdx
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, r12
jb 0x14001daa3
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001def0
call fcn.1400b7640
lea rax, [rsp + 0x30]
mov qword [rsp + 0x70], rax
mov byte [rsp + 0x30], r15b
xor eax, eax
mov qword [rsp + 0x38], rax
mov dl, r15b
lea rcx, [rsp + 0x38]
call fcn.140023fc4
mov byte [rsp + 0x30], 3
lea rdx, [r14 + 0xb0]
lea rcx, [rbp - 0x40]
call fcn.140024744
mov rax, qword [rbp - 0x40]
mov qword [rsp + 0x38], rax
mov dword [rbp - 0x40], 0x7c9a8008
mov dword [rbp - 0x3c], 0x49031ceb
mov eax, dword [rdi + rsi]
cmp dword [0x14016068c], eax
jle 0x14001db40
lea rcx, [0x14016068c]
call fcn.1400b77a0
cmp dword [0x14016068c], ebx
jne 0x14001db40
mov byte [0x140160d58], 1
mov rax, qword [rbp - 0x40]
mov qword [0x140160d50], rax
lea rcx, [0x1400ff6c0]
call fcn.1400b7e90
lea rcx, [0x14016068c]
call fcn.1400b7740
lea r9, [0x140160d50]
cmp byte [0x140160d58], r15b
je 0x14001db7c
mov rdx, r15
mov cl, dl
and cl, 7
shl cl, 3
movabs rax, 0x4971799d23e9f97b
shr rax, cl
xor byte [rdx + r9], al
inc rdx
cmp rdx, 8
jb 0x14001db53
mov byte [0x140160d58], r15b
xorps xmm0, xmm0
movups xmmword [rsp + 0x50], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x60], xmm1
mov r8, rbx
inc r8
cmp byte [r9 + r8], r15b
jne 0x14001db90
mov rdx, r9
lea rcx, [rsp + 0x50]
call fcn.14002aaf4
nop
lea rdx, [rsp + 0x50]
lea rcx, [rbp - 0x38]
call fcn.14002001c
nop
mov dl, byte [rax]
mov cl, byte [rsp + 0x30]
mov byte [rax], cl
mov byte [rsp + 0x30], dl
mov rcx, qword [rax + 8]
mov rdx, qword [rsp + 0x38]
mov qword [rax + 8], rdx
mov qword [rsp + 0x38], rcx
mov dl, byte [rsp + 0x30]
lea rcx, [rsp + 0x38]
call fcn.140023fc4
nop
mov rdx, qword [rsp + 0x68]
cmp rdx, 0x10
jb 0x14001dc1c
inc rdx
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, r12
jb 0x14001dc17
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001def6
call fcn.1400b7640
lea rax, [rsp + 0x30]
mov qword [rsp + 0x70], rax
lea rdx, [rbp - 0x38]
lea rcx, [rsp + 0x30]
call fcn.14002037c
mov rdi, rax
mov dword [rbp - 0x40], 0x4b9c243
mov eax, 4
mov ecx, dword [rax + rsi]
cmp dword [0x1401608c0], ecx
jle 0x14001dc8c
lea rcx, [0x1401608c0]
call fcn.1400b77a0
cmp dword [0x1401608c0], ebx
jne 0x14001dc8c
mov word [0x140160c7c], 0x119
mov eax, dword [rbp - 0x40]
mov dword [0x140160c78], eax
lea rcx, [0x1400ff6b0]
call fcn.1400b7e90
lea rcx, [0x1401608c0]
call fcn.1400b7740
lea r9, [0x140160c78]
cmp byte [0x140160c7d], r15b
je 0x14001dcc8
mov rdx, r15
mov cl, dl
and cl, 7
shl cl, 3
movabs rax, 0x2b6d351965cda327
shr rax, cl
xor byte [rdx + r9], al
inc rdx
cmp rdx, 5
jb 0x14001dc9f
mov byte [0x140160c7d], r15b
xorps xmm0, xmm0
movups xmmword [rsp + 0x50], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x60], xmm1
inc rbx
cmp byte [r9 + rbx], r15b
jne 0x14001dcd9
mov r8, rbx
mov rdx, r9
lea rcx, [rsp + 0x50]
call fcn.14002aaf4
nop
lea rdx, [rsp + 0x50]
lea rcx, [rbp - 0x28]
call fcn.14002001c
nop
mov dl, byte [rax]
mov cl, byte [rdi]
mov byte [rax], cl
mov byte [rdi], dl
lea rcx, [rdi + 8]
mov rdx, qword [rax + 8]
mov r8, qword [rcx]
mov qword [rax + 8], r8
mov qword [rcx], rdx
mov dl, byte [rdi]
call fcn.140023fc4
nop
mov rdx, qword [rsp + 0x68]
cmp rdx, 0x10
jb 0x14001dd5d
inc rdx
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, r12
jb 0x14001dd58
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001defc
call fcn.1400b7640
lea rdx, [rbp - 0x18]
lea rcx, [rbp - 0x28]
call fcn.140020138
nop
xorps xmm0, xmm0
movups xmmword [rsp + 0x50], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x60], xmm1
xor r8d, r8d
lea rdx, [0x14013b692]
lea rcx, [rsp + 0x50]
call fcn.14002aaf4
nop
lea r8, [rsp + 0x50]
lea rdx, [rbp - 0x18]
lea rcx, [rbp + 8]
call fcn.14000c92c
nop
mov rdx, qword [rsp + 0x68]
cmp rdx, 0x10
jb 0x14001dddd
inc rdx
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, r12
jb 0x14001ddd8
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001df02
call fcn.1400b7640
mov qword [rbp - 0x48], r15
lea rax, [rbp - 0x80]
mov qword [rsp + 0x20], rax
xor r9d, r9d
lea r8, [rbp + 8]
lea rdx, [rsp + 0x30]
mov rcx, qword [r14 + 0x68]
call fcn.140055d70
nop
mov rcx, qword [rbp - 0x48]
test rcx, rcx
je 0x14001de1a
mov rax, qword [rcx]
lea rdx, [rbp - 0x80]
cmp rcx, rdx
setne dl
call qword [rax + 0x20]
nop
mov rdx, qword [rbp + 0x20]
cmp rdx, 0x10
jb 0x14001de52
inc rdx
mov rcx, qword [rbp + 8]
mov rax, rcx
cmp rdx, r12
jb 0x14001de4c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001df08
call fcn.1400b7640
nop
mov rdx, qword [rbp]
cmp rdx, 0x10
jb 0x14001de85
inc rdx
mov rcx, qword [rbp - 0x18]
mov rax, rcx
cmp rdx, r12
jb 0x14001de80
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001ded8
call fcn.1400b7640
movdqa xmm0, xmmword [0x14013df30]
movdqu xmmword [rbp - 8], xmm0
mov byte [rbp - 0x18], r15b
mov dl, byte [rbp - 0x38]
lea rcx, [rbp - 0x30]
call fcn.140023fc4
nop
mov dl, byte [rbp - 0x28]
lea rcx, [rbp - 0x20]
call fcn.140023fc4
nop
mov rcx, qword [rbp + 0x28]
xor rcx, rsp
call fcn.1400b7620
lea r11, [rsp + 0x130]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret
call fcn.1400c9b5c
nop
call fcn.1400c9b5c
nop
call fcn.1400c9b5c
nop
call fcn.1400c9b5c
int3
call fcn.1400c9b5c
int3
call fcn.1400c9b5c
int3
call fcn.1400c9b5c
nop
call fcn.1400c9b5c
nop
call fcn.1400c9b5c
int3
mov rax, qword [rdx]
xor r8d, r8d
mov r9d, dword [rax]
test r9d, r9d
jne 0x140034287
mov rcx, qword [rcx + 8]
jmp 0x14001d0a0
mov eax, 1
cmp r9d, eax
jne 0x14003429d
mov rcx, qword [rcx + 8]
xchg byte [rcx + 0x10], al
jmp 0x14001d514
cmp r9d, 3
jne 0x1400342b1
mov rcx, qword [rcx + 8]
mov eax, r8d
xchg byte [rcx + 0x10], al
xchg byte [rcx + 0x11], r8b
ret