Function at 0x1400736d4
Capabilities:
Encode data using xor

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x78
lea rbp, [rsp + 0x30]
mov rax, qword [0x1402deed0]
xor rax, rbp
mov qword [rbp + 0x38], rax
mov eax, dword [rcx + 8]
xor r12d, r12d
mov dword [rbp + 8], eax
mov r13, r8
neg eax
movsxd r14, r9d
mov qword [rbp], r8
mov rdi, rcx
sbb bx, bx
mov dword [rbp + 0xc], edx
and qword [rbp + 0x10], r12
xor eax, eax
not bx
mov qword [rbp + 0x20], rax
and bx, 0x80
call fcn.14009a6f8
test eax, eax
jne 0x14007373b
lea eax, [r12 - 4]
jmp 0x140073b97
mov esi, 1
mov r15d, 0xffffffff
cmp dword [rdi + 0x10], r12d
jne 0x140073875
cmp dword [rdi + 0x48], r12d
je 0x14007385a
cmp dword [rdi + 0x4c], r14d
jge 0x14007385a
cmp dword [rdi + 0x58], r12d
jne 0x140073837
lea r9, [rbp + 0x10]
xor r8d, r8d
mov rdx, r14
mov rcx, r13
call fcn.14005165c
test eax, eax
jne 0x14007385a
mov r13, qword [rbp + 0x10]
cmp r13, r14
jae 0x140073823
cmp r13, r15
jae 0x1400737b4
cmp r15, r13
je 0x1400737b4
mov eax, 0xffffffe7
cmp r13, rax
jae 0x1400737b4
lea rcx, [r13 + 0x18]
call fcn.1401d5c94
jmp 0x1400737b6
xor eax, eax
movsxd rdx, r13d
xor r9d, r9d
xor r8d, r8d
mov rcx, rax
call fcn.14009a4c8
mov r13, qword [rbp]
lea r9, [rbp + 0x10]
mov rcx, r13
mov qword [rbp + 0x20], rax
mov r8, rax
mov rdx, r14
mov r12, r14
call fcn.14005165c
test eax, eax
jne 0x14007385a
and dword [rdi + 0x5c], eax
lea rcx, [rbp + 0x28]
and dword [rdi + 0x58], eax
movzx edx, bx
mov rax, qword [rbp + 0x20]
add qword [rdi + 0x68], r14
mov r14, qword [rbp + 0x10]
movzx r8d, word [rbp + 0xc]
mov r9d, r14d
mov qword [rbp], rax
mov eax, 0xc000
or dx, ax
call fcn.1400b5840
movsxd r12, eax
add qword [rdi + 0x68], r12
jmp 0x140073849
add dword [rdi + 0x5c], esi
mov eax, dword [rdi + 0x5c]
cmp eax, dword [rdi + 0x54]
jle 0x140073854
mov eax, dword [rdi + 0x50]
and dword [rdi + 0x5c], r12d
jmp 0x140073846
cmp dword [rdi + 0x4c], r14d
jge 0x14007385a
mov eax, dword [rdi + 0x58]
test eax, eax
jle 0x14007385a
dec eax
mov dword [rdi + 0x58], eax
mov r13, qword [rbp]
test r12d, r12d
jne 0x140073893
jmp 0x14007385a
mov r13, qword [rbp]
jmp 0x14007385a
movzx r8d, word [rbp + 0xc]
lea rcx, [rbp + 0x28]
mov edx, 0x8000
mov r9d, r14d
or dx, bx
call fcn.1400b5840
jmp 0x140073890
and dword [rdi + 0x10], r12d
lea rcx, [rbp + 0x28]
mov edx, 0x8000
xor r8d, r8d
or dx, bx
mov r9d, r14d
call fcn.1400b5840
mov r12d, eax
cmp dword [rbp + 8], 0
jne 0x140073a24
lea eax, [r12 + 4]
add eax, r14d
movsxd rbx, eax
cmp eax, 0xffff
jge 0x140073905
mov eax, 0xffffffc7
cmp rbx, rax
jae 0x1400738e6
lea rax, [rbx + 0x38]
lea rcx, [rax + 0xf]
cmp rcx, rax
ja 0x1400738d0
movabs rcx, 0xffffffffffffff0
and rcx, 0xfffffffffffffff0
mov rax, rcx
call fcn.1401cc3c0
sub rsp, rcx
lea rcx, [rsp + 0x30]
jmp 0x1400738e8
xor ecx, ecx
mov r9d, esi
mov r8d, 8
mov rdx, rbx
call fcn.14009a4c8
mov r15, rax
add rax, 8
mov qword [r15], rax
jmp 0x14007393a
cmp rbx, r15
jae 0x140073924
cmp r15, rbx
je 0x140073924
mov eax, 0xffffffe7
cmp rbx, rax
jae 0x140073924
lea rcx, [rbx + 0x18]
call fcn.1401d5c94
jmp 0x140073926
xor eax, eax
xor r9d, r9d
xor r8d, r8d
mov rdx, rbx
mov rcx, rax
call fcn.14009a4c8
mov r15, rax
movsxd r13, r12d
lea r8, [rbp + 0x28]
mov r9, r13
mov rdx, r13
mov rcx, r15
call section..text
mov edx, 4
lea rcx, [r15 + r13]
call fcn.1400da9e0
lea r11, [r15 + r13]
mov eax, dword [r11]
mov dword [rbp + 8], eax
test r14d, r14d
jle 0x1400739f5
movsxd r8, r14d
xor edx, edx
mov rcx, r8
sar rcx, 2
test rcx, rcx
jle 0x1400739aa
mov r10, qword [rbp]
mov rax, r13
sub rax, r10
mov edx, ecx
add rax, 4
add rax, r15
mov r9, rax
mov eax, dword [r10]
xor eax, dword [rbp + 8]
mov dword [r9 + r10], eax
lea r10, [r10 + 4]
sub rcx, rsi
jne 0x140073997
mov r9, qword [rbp]
shl edx, 2
movsxd rcx, edx
cmp rcx, r8
jge 0x1400739f5
sub r9, r13
lea rax, [rcx + r13]
lea r10, [r15 + 4]
sub r9, r15
add r10, rax
sub r8, rcx
mov eax, edx
and eax, 0x80000003
jge 0x1400739dd
sub eax, esi
or eax, 0xfffffffc
add eax, esi
cdqe
add edx, esi
mov cl, byte [rax + r11]
xor cl, byte [r9 + r10 - 4]
mov byte [r10], cl
add r10, rsi
sub r8, rsi
jne 0x1400739cd
mov rcx, qword [rdi + 0x88]
call fcn.14009a6f8
test eax, eax
je 0x140073b5e
mov rax, qword [rdi + 0x88]
test rax, rax
je 0x140073a1a
mov rcx, qword [rax]
jmp 0x140073a1c
xor ecx, ecx
mov r9, rbx
jmp 0x140073b52
mov rcx, qword [rdi]
call fcn.1400a365c
test eax, eax
je 0x140073ac8
mov rcx, qword [rdi + 0x88]
call fcn.14009a6f8
test r14d, r14d
jle 0x140073a95
test eax, eax
je 0x140073a6a
mov rax, qword [rdi + 0x88]
test rax, rax
je 0x140073a5a
mov rcx, qword [rax]
jmp 0x140073a5c
xor ecx, ecx
movsxd r9, r12d
lea r8, [rbp + 0x28]
xor edx, edx
call fcn.140088020
mov rcx, qword [rdi + 0x88]
call fcn.14009a6f8
test eax, eax
je 0x140073abc
mov rax, qword [rdi + 0x88]
test rax, rax
je 0x140073a8b
mov rcx, qword [rax]
jmp 0x140073a8d
xor ecx, ecx
movsxd r9, r14d
mov r8, r13
jmp 0x140073ab3
test eax, eax
je 0x140073abc
mov rax, qword [rdi + 0x88]
test rax, rax
je 0x140073aaa
mov rcx, qword [rax]
jmp 0x140073aac
xor ecx, ecx
movsxd r9, r12d
lea r8, [rbp + 0x28]
xor edx, edx
call fcn.140088020
mov esi, eax
xor ebx, ebx
test esi, esi
sete bl
jmp 0x140073b6d
lea eax, [r14 + r12]
movsxd r13, eax
cmp r13, r15
jae 0x140073aee
cmp r15, r13
je 0x140073aee
mov eax, 0xffffffe7
cmp r13, rax
jae 0x140073aee
lea rcx, [r13 + 0x18]
call fcn.1401d5c94
jmp 0x140073af0
xor eax, eax
xor r9d, r9d
xor r8d, r8d
mov rdx, r13
mov rcx, rax
call fcn.14009a4c8
movsxd rbx, r12d
lea r8, [rbp + 0x28]
mov r9, rbx
mov rdx, rbx
mov rcx, rax
mov r15, rax
call section..text
mov r8, qword [rbp]
lea rcx, [rbx + r15]
movsxd rdx, r14d
mov r9, rdx
call section..text
mov rcx, qword [rdi + 0x88]
call fcn.14009a6f8
test eax, eax
je 0x140073b5e
mov rax, qword [rdi + 0x88]
test rax, rax
je 0x140073b4d
mov rcx, qword [rax]
jmp 0x140073b4f
xor ecx, ecx
mov r9, r13
mov r8, r15
xor edx, edx
call fcn.140088020
mov esi, eax
xor ebx, ebx
mov rcx, r15
test esi, esi
sete bl
call fcn.14009a5b0
movsxd rcx, r14d
movsxd rdx, r12d
lea rax, [rdx + rcx]
add qword [rdi + 0x78], rax
mov rax, qword [rbp + 0x20]
test rax, rax
je 0x140073b8e
mov rcx, rax
call fcn.14009a5b0
jmp 0x140073b95
add rcx, rdx
add qword [rdi + 0x68], rcx
mov eax, ebx
mov rcx, qword [rbp + 0x38]
xor rcx, rbp
call fcn.1401cbe50
lea rsp, [rbp + 0x48]
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret