Function at 0x140034d80
Capabilities:
Encode data using xor

Disassembly:
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x1250]
mov eax, 0x1350
call fcn.1400578b0
sub rsp, rax
mov qword [rsp + 0x78], 0xfffffffffffffffe
mov qword [rsp + 0x13a0], rbx
mov rax, qword [0x140084ee0]
xor rax, rsp
mov qword [rbp + 0x1240], rax
mov ebx, edx
mov rdi, rcx
xor r13d, r13d
mov qword [rbp + 0x30], r13
mov dword [rbp + 0x38], 0x88
lea rcx, [rbp - 0x30]
call fcn.1400497c4
mov rax, qword [rdi + 0x22b8]
mov qword [rsp + 0x40], rax
mov byte [rdi + 0x7f53], 1
mov rax, qword [rdi]
mov edx, dword [rdi + 0x3478]
add rdx, qword [rdi + 0x7f58]
xor r8d, r8d
mov rcx, rdi
call qword [rax + 0x20]
mov byte [rsp + 0x20], r13b
xor r9d, r9d
xor r8d, r8d
lea edx, [r13 + 1]
mov rcx, rdi
call fcn.14000aee0
mov rax, qword [rdi]
lea r14d, [r13 + 2]
mov r8d, r14d
xor edx, edx
mov rcx, rdi
call qword [rax + 0x20]
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + 0x28]
mov rsi, rax
mov qword [rsp + 0x38], rax
mov rdx, rax
mov ecx, ebx
call fcn.1400352f8
mov r12d, eax
mov dword [rsp + 0x30], eax
mov r15d, r13d
lea rcx, [rdi + 0x5858]
lea edx, [r13 + 0x14]
call fcn.140025108
mov byte [rdi + 0x5868], 1
lea rcx, [rdi + 0x68d0]
mov edx, r14d
call fcn.140024eb0
mov dword [rsp + 0x28], r13d
lea rax, [0x140071974]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, rdi
call fcn.140007638
mov rax, qword [rdi]
xor r8d, r8d
xor edx, edx
mov rcx, rdi
call qword [rax + 0x20]
mov r14d, r13d
mov ebx, r13d
mov eax, r12d
shl eax, 9
cdqe
mov qword [rsp + 0x48], rax
mov rdx, rax
lea rcx, [rsp + 0x50]
call fcn.140006eb0
nop
mov r8, qword [rsp + 0x58]
xor edx, edx
mov rcx, qword [rsp + 0x50]
call fcn.140059a40
mov r13d, 0xfffffff
jmp 0x140035030
call fcn.140048980
mov ecx, 0x200
cmp rsi, rcx
jae 0x140034f18
mov r12d, esi
movsxd rax, esi
mov r8d, ecx
sub r8, rax
lea rcx, [rbp + 0x40]
add rcx, rax
xor edx, edx
call fcn.140059a40
xor esi, esi
jmp 0x140034f1e
mov r12d, ecx
sub rsi, rcx
mov rax, qword [rdi]
movsxd r8, r12d
lea rdx, [rbp + 0x40]
mov rcx, rdi
call qword [rax + 0x18]
mov ecx, r14d
shl ecx, 9
add rcx, qword [rsp + 0x50]
lea rdx, [rbp + 0x40]
sub rdx, rcx
mov r8d, 0x200
mov al, byte [rdx + rcx]
xor byte [rcx], al
inc rcx
sub r8, 1
jne 0x140034f46
mov r8d, 0x200
lea rdx, [rbp + 0x40]
or ecx, 0xffffffff
call fcn.140017898
mov byte [rbp + rbx + 0x240], al
inc ebx
shr eax, 8
mov byte [rbp + rbx + 0x240], al
inc ebx
cmp ebx, 0x1000
jne 0x140034ff2
mov qword [rbp - 0x80], rdi
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + 0x28]
mov r12, rax
mov qword [rbp - 0x78], rax
mov r9, qword [rdi]
xor edx, edx
lea r8d, [rdx + 2]
mov rcx, rdi
call qword [r9 + 0x20]
mov ebx, 0x1000
mov r8d, ebx
lea rdx, [rbp + 0x240]
mov rcx, rdi
call fcn.140021604
mov r8d, ebx
lea rdx, [rbp + 0x240]
mov ecx, r13d
call fcn.140017898
mov r13d, eax
xor ebx, ebx
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + 0x30]
test al, al
je 0x140034ff2
mov rax, qword [rdi]
xor r8d, r8d
mov rdx, r12
mov rcx, rdi
call qword [rax + 0x20]
nop
test r15b, r15b
jne 0x14003501d
mov rax, qword [rsp + 0x40]
cmp byte [rax + 0x6150], r15b
jne 0x14003501d
mov rdx, r15
shl rdx, 9
mov r8, qword [rsp + 0x38]
lea rcx, [0x14007197c]
call fcn.14004a68c
inc r15
inc r14d
mov r12d, dword [rsp + 0x30]
cmp r14d, r12d
sbb eax, eax
and r14d, eax
test rsi, rsi
jg 0x140034eeb
mov rax, qword [rdi]
mov r14d, 2
mov r8d, r14d
xor edx, edx
mov rcx, rdi
call qword [rax + 0x20]
mov r8, rbx
lea rdx, [rbp + 0x240]
mov rcx, rdi
call fcn.140021604
mov r8, rbx
lea rdx, [rbp + 0x240]
mov ecx, r13d
call fcn.140017898
mov ebx, eax
mov rsi, qword [rsp + 0x48]
mov r8, rsi
mov rdx, qword [rsp + 0x50]
mov rcx, rdi
call fcn.140021604
mov r8, rsi
mov rdx, qword [rsp + 0x50]
mov ecx, ebx
call fcn.140017898
mov dword [rdi + 0x68d0], r14d
not eax
mov dword [rdi + 0x68d4], eax
mov rax, qword [rdi]
xor r8d, r8d
mov rdx, qword [rsp + 0x38]
mov rcx, rdi
call qword [rax + 0x20]
lea rcx, [rbp - 0x70]
call fcn.140037244
nop
lea r8d, [r14 + 6]
lea rdx, [0x140071980]
lea rcx, [rbp - 0x70]
call fcn.140037464
movsxd rdx, r12d
lea rcx, [rbp - 0x70]
call fcn.1400373b0
mov rdx, r15
lea rcx, [rbp - 0x70]
call fcn.140037434
lea rdx, [rdi + 0x6878]
lea rcx, [rbp - 0x70]
call fcn.140037280
lea r8, [rsi + r15*2]
xor ebx, ebx
mov dword [rsp + 0x28], ebx
lea rax, [0x14007198c]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor edx, edx
mov rcx, rdi
call fcn.140007638
mov rax, qword [rdi]
mov r8d, r14d
xor edx, edx
mov rcx, rdi
call qword [rax + 0x20]
mov rax, qword [rsp + 0x40]
cmp byte [rax + 0x6150], bl
jne 0x140035147
lea rcx, [0x140071998]
call fcn.140017744
mov qword [rbp + 0x30], rbx
mov dword [rbp + 0x38], 0x89
lea rcx, [rbp - 0x30]
call fcn.1400497c4
nop
lea rcx, [rbp - 0x70]
call fcn.1400013a8
nop
lea rcx, [rsp + 0x50]
call fcn.140007114
mov rcx, qword [rbp + 0x1240]
xor rcx, rsp
call fcn.140057920
mov rbx, qword [rsp + 0x13a0]
add rsp, 0x1350
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret