Function at 0x14007d7c8
Capabilities:
Encode data using xor

Disassembly:
xchg rbx, rdi
mov qword [rsp + 8], rdi
xchg rdi, rbx
mov qword [rsp + 0x10], rbp
xchg r12, rsi
mov qword [rsp + 0x18], r12
xchg r12, rsi
push rdi
push r13
mov dword [rsp - 0x38], edi
nop
mov qword [rsp - 8], r14
sub rsp, 8
sub rsp, 0x50
mov r8, r8
mov ebx, dword [rcx + 0x2c]
xchg r12, rcx
mov rsi, r12
xchg rcx, r12
mov ecx, ebx
xchg rdx, r14
mov rdx, r14
xchg r14, rdx
call fcn.140097620
xor ebx, 0x7a8c338e
mov dword [rsp - 0x24], esp
mov rdi, rax
movabs r13, 0x6eb140cb143de6d2
add r13, 0x3ffc3098
add r13, 0x1fc37430
xor r13, 0x5a77dbf
sub r13, 0x13758866
mov dword [r14 + 8], ebx
mov r10, r10
xor rdi, r13
mov qword [r14], rdi
cmp byte [rsi + 0x34], 0
mov dword [rsp - 0x30], 0x66c3f527
jne 0x14007db3c
mov eax, dword [rsi + 8]
xor edx, edx
mov rdx, rdx
cmp eax, 0x48bc60cc
je 0x14007d96c
cmp eax, 0x49bc60cc
je 0x14007d8fb
mov dword [rsp - 0x18], 0x77ac560f
cmp eax, 0x4bbc7bdc
je 0x14007d8ad
cmp eax, 0x5bca60cc
jne 0x14007d9b9
mov dword [rsp - 0x14], 0x1ed6c6d9
xor r8d, r8d
lea rdi, [0x140000000]
lea edx, [r8 + 0x10]
mov ecx, r8d
mov rdx, rdx
mov eax, 0x1a4a2b5e
add eax, 0x50db195e
sub eax, 0x3acf9c09
sub eax, 0x8ad47b0
rol eax, cl
xchg r15, r15
xor al, byte [r8 + rdi + 0x1910]
mov byte [rsp + r8 + 0x30], al
inc r8
mov r15, r15
cmp r8, rdx
jb 0x14007d8bb
jmp 0x14007d9b9
lea rdi, [0x140000000]
mov ecx, edx
mov dword [rsp - 0x10], 0x2a1c47d6
mov eax, 0x63c5712d
sub eax, 0x3213d85c
xor eax, 0x48d820ca
add eax, 0x5a4559d
sub eax, 0x5765acb5
rol eax, cl
xor al, byte [rdx + rdi + 0x1930]
mov dword [rsp - 0x3c], 0x7c3acd2d
mov byte [rsp + rdx + 0x30], al
inc rdx
cmp rdx, 0x20
jb 0x14007d902
mov r14, r14
mov edx, 0x4adf2419
xor edx, 0x4b3a0983
xor edx, 0xc0acafd
add edx, 0x41429798
xor edx, 0x4f327edf
jmp 0x14007d9b9
xor r8d, r8d
mov dword [rsp - 0x1c], ebx
lea rdi, [0x140000000]
lea edx, [r8 + 0x10]
mov ecx, r8d
mov rdx, rdx
mov eax, 0x2b63010d
add eax, 0x25edc597
sub eax, 0x1d6c0d7a
xor eax, 0x144cd829
rol eax, cl
xchg r15, r15
xor al, byte [r8 + rdi + 0x1920]
mov byte [rsp + r8 + 0x30], al
inc r8
xchg r9, r9
cmp r8, rdx
jb 0x14007d97e
shr edx, 2
shr edx, 1
lea rcx, [rsp + 0x20]
call fcn.1400924ac
lea rdx, [rsp + 0x30]
mov dword [rsp - 0xc], ebp
lea rcx, [rsp + 0x20]
call fcn.140092b70
mov rbp, qword [r14]
mov edi, dword [rsi + 0x3c]
mov dword [rsp - 0x40], 0xbeea0e2
xor rbp, r13
test edi, edi
je 0x14007da03
add edi, 7
mov dword [rsp - 0xc], ecx
and edi, 0xfffffff8
jmp 0x14007da0a
mov edi, dword [rsi + 0x2c]
mov dword [rsp - 0x44], ecx
xor ebx, ebx
test edi, edi
je 0x14007da62
mov dword [rsp - 0x24], 0x1daceb6
mov edx, dword [rsi + 0xc]
lea rcx, [rsp + 0x20]
xor edx, 0x7a8c338e
mov dword [rsp - 0x1c], 0x63bb117
mov r8d, ebx
add edx, ebx
add r8, rbp
add rdx, qword [rsi]
mov dword [rsp - 0x40], 0x7cedb1d7
call fcn.140092660
nop
sub ebx, 0x5ac27784
add ebx, 0x5ac2778c
cmp ebx, edi
xchg r10, r10
jb 0x14007da1c
lea rcx, [rsp + 0x20]
call fcn.1400925f8
xchg r8, r8
xor eax, eax
lea rdi, [rsp + 0x30]
cmp dword [rsi + 0x38], 1
lea ecx, [rax + 0x20]
mov dword [rsp - 0x24], 0x58e783f5
rep stosb byte [rdi], al
jne 0x14007db14
mov rdi, qword [r14]
xchg r12, r12
mov ecx, dword [rsi + 0x3c]
xor rdi, r13
call fcn.140097620
mov r8d, dword [rsi + 0x3c]
mov dword [rsp - 0x44], 0x6a4f5913
xchg rdi, r10
mov rdx, r10
xchg r10, rdi
mov rcx, rax
mov rsi, rsi
xchg rsi, rax
mov rbx, rsi
xchg rsi, rax
call fcn.140097c10
mov r9, r9
mov r9d, dword [rsi + 0x2c]
xchg rdi, r10
mov rdx, r10
xchg rdi, r10
mov r8d, dword [rsi + 0x3c]
xchg rbx, rbx
xchg rcx, rbx
mov rbx, rcx
xchg rbx, rcx
call fcn.140095c90
mov dword [rsp - 0x44], edi
xchg rbx, rdi
mov rcx, rdi
xchg rbx, rdi
cmp eax, dword [rsi + 0x2c]
je 0x14007db0f
call fcn.140097630
xchg rbp, rbp
xor al, al
jmp 0x14007db69
call fcn.140097630
xchg r14, rdx
mov r14, rdx
xchg rdx, r14
xchg rsi, rcx
mov rsi, rcx
xchg rcx, rsi
call fcn.14007ecd8
test al, al
jne 0x14007db61
mov dword [rsp - 0x40], ebp
jmp 0x14007db08
mov edx, dword [rsi + 0xc]
mov rcx, rax
mov dword [rsp - 0x18], edi
mov r8d, dword [rsi + 0x2c]
xor rdx, 0x7a8c338e
add rdx, qword [rsi]
mov dword [rsp - 0x3c], 0x6148832
call fcn.140097c10
mov al, 0xf
add al, 0xf
add al, 6
sub al, 0x23
lea r11, [rsp + 0x50]
mov rbx, qword [r11 + 0x20]
mov dword [rsp - 0x10], 0x72009776
mov rbp, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r14
xchg r13, r13
nop
mov r13, qword [rsp]
add rsp, 8
nop
add rsp, 8
mov rdi, qword [rsp - 8]
ret