Function at 0x14008a380
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov dword [rsp - 0x28], edi
nop
push 0x957ffb9
mov qword [rsp], rsi
nop
sub rsp, 8
mov qword [rsp], rdi
nop
mov qword [rsp - 8], r14
sub rsp, 8
nop
sub rsp, 0x4a8465d8
add rsp, 0x4a846578
movsxd rax, dword [rcx + 0x3c]
mov r9, r9
mov r14, rdx
xchg r15, r8
mov rsi, r15
xchg r8, r15
mov rbx, rcx
mov dword [rsp - 0xc], edx
mov edx, dword [rax + rcx + 0x98]
test edx, edx
je 0x14008a469
cmp dword [rax + rcx + 0x9c], 0
mov dword [rsp - 0x30], 0x2ed34c83
je 0x14008a469
call fcn.140085770
xchg rbx, rax
mov rdi, rbx
xchg rbx, rax
test rax, rax
je 0x14008a469
movzx r8d, word [rax + 0xe]
mov rcx, rcx
xor ebp, ebp
movzx ecx, word [rax + 0xc]
mov edx, ebp
add r8d, ecx
mov dword [rsp - 0x14], 0x2a36c84
je 0x14008a469
lea rcx, [rax + 0x10]
mov eax, dword [rcx]
test eax, eax
mov dword [rsp - 0x10], 0x9ebd69f
js 0x14008a452
cmp ax, 0x10
je 0x14008a4a5
xchg rbp, rbp
inc edx
add rcx, 8
cmp edx, r8d
mov dword [rsp - 0x2c], 0x655be2a2
jb 0x14008a433
xor al, al
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x28]
mov dword [rsp - 0x30], esp
xchg r8, rbp
mov r8, qword [r11 + 0x30]
xchg rbp, r8
xchg rsp, r11
mov r11, rsp
xchg rsp, r11
nop
add rsp, 8
mov r14, qword [rsp - 8]
nop
add rsp, 8
mov rdi, qword [rsp - 8]
pop rsi
mov dword [rsp - 0x3c], edx
ret
mov edx, dword [rcx + 4]
test edx, edx
jns 0x14008a469
mov r14, r14
btr edx, 0x1f
add rdx, rdi
je 0x14008a469
mov r8d, 0x47fc2ff9
add r8d, 0x24f0e0c2
sub r8d, 0x41b62288
xor r8d, 0x2b36ee32
xchg rbp, rcx
mov rbp, rdi
xchg rcx, rbp
call fcn.14008a940
test rax, rax
mov r15, r15
je 0x14008a469
mov r8d, 0x53de5c56
sub r8d, 0x4b8aa816
xor r8d, 0x418bd49e
sub r8d, 0x49d85cd5
xchg rdx, rax
mov rax, rdx
xchg rdx, rax
mov rcx, rdi
call fcn.14008a8d0
mov dword [rsp - 0x24], 0x27c03b24
test rax, rax
je 0x14008a469
mov edx, dword [rax]
mov dword [rsp - 0x18], 0xf9a1148
mov rcx, rbx
call fcn.140085770
xchg rdi, rax
mov r8, rdi
xchg rdi, rax
test rax, rax
je 0x14008a469
mov dword [rsp - 0x10], 0x567e3f8a
mov eax, 0x19156133
sub eax, 0x14de8a19
add eax, 0x52f76e9d
sub eax, 0x572e45a0
mov dword [rsp + 0x20], 0x4f6ed256
sub dword [rsp + 0x20], 0x2884ffbc
xor dword [rsp + 0x20], 0x20c737eb
sub dword [rsp + 0x20], 0x60fe4d1
mov word [rsp + 0x3c], ax
mov dword [rsp + 0x24], 0x129a3886
xor dword [rsp + 0x24], 0x7a330701
sub dword [rsp + 0x24], 0x1f89142
sub dword [rsp + 0x24], 0x664cae3e
mov dword [rsp + 0x28], 0xeb8dc22
add dword [rsp + 0x28], 0x11eceeaa
xor dword [rsp + 0x28], 0x4a3520af
xor dword [rsp + 0x28], 0x67120a66
sub dword [rsp + 0x28], 0xd64df52
mov dword [rsp + 0x2c], 0x6c6b28b2
xor dword [rsp + 0x2c], 0x2da62a09
sub dword [rsp + 0x2c], 0x7040798
xor dword [rsp + 0x2c], 0x501749c1
sub dword [rsp + 0x2c], 0x6a64b2d7
mov dword [rsp + 0x30], 0x48db5d4a
sub dword [rsp + 0x30], 0x2c35b3b
sub dword [rsp + 0x30], 0x41b77d3a
add dword [rsp + 0x30], 0x1f931df2
xor dword [rsp + 0x30], 0x23f1a27e
mov dword [rsp + 0x34], 0x6b06702c
sub dword [rsp + 0x34], 0x20dd2fab
add dword [rsp + 0x34], 0x2538bdeb
xor dword [rsp + 0x34], 0x6f1afe6b
mov dword [rsp + 0x38], 0x757dfaf7
sub dword [rsp + 0x38], 0x458b22b9
add dword [rsp + 0x38], 0x1fa131cd
add dword [rsp + 0x38], 0x2adef6fa
sub dword [rsp + 0x38], 0x7a69004d
xchg rdx, rbp
mov qword [rsp + 0x80], rdx
xchg rbp, rdx
xchg r14, rax
mov r14, qword [rsp + 0x80]
xchg r14, rax
nop dword [rax]
nop word [rax + rax]
xchg rcx, r9
mov r9, qword [rsp + 0x80]
xchg r9, rcx
mov rax, qword [rsp + 0x80]
and cl, 3
xchg r13, r13
shl cl, 1
shl cl, 2
movzx edx, word [rsp + rax*2 + 0x20]
mov eax, 0x5aa7f8ad
add eax, 0x22613198
xor eax, 0xe136cae
sub eax, 0x647b64bd
add eax, 0x23b96ac8
shr eax, cl
mov r8, r8
movzx ecx, al
mov rax, qword [rsp + 0x80]
xor cx, dx
mov word [rsp + rax*2 + 0x3e], cx
mov dword [rsp - 0x3c], esp
mov rax, qword [rsp + 0x80]
inc rax
xchg r10, rax
mov qword [rsp + 0x80], r10
xchg r10, rax
mov rax, qword [rsp + 0x80]
xchg r8, r8
cmp rax, 0xf
jb 0x14008a69b
lea rax, [r8 + 6]
mov dword [rsp - 0x44], 0x6765d50a
mov word [rsp + 0x5c], bp
lea rdi, [rsp + 0x3e]
sub rdi, rax
nop word [rax + rax]
mov dword [rsp - 0x18], esp
movzx edx, word [rax]
movzx ecx, word [rax + rdi]
sub edx, ecx
mov rbp, rbp
jne 0x14008a76a
add rax, 2
test ecx, ecx
mov dword [rsp - 0x34], ecx
jne 0x14008a748
xor eax, eax
lea rdi, [rsp + 0x3e]
mov dword [rsp - 0x28], ebx
mov ecx, 0x55656df0
xor ecx, 0x120e92e
add ecx, 0xe389297
sub ecx, 0x24b04f6a
xor ecx, 0x3dcdc804
rep stosb byte [rdi], al
test edx, edx
mov dword [rsp - 0x1c], 0x6dc08cdd
jne 0x14008a469
mov eax, dword [r8 + 0x28]
xor eax, 0x4dcc1598
cmp eax, 0xb3231125
mov dword [rsp - 0x34], 0x38e961a5
jne 0x14008a469
cmp dword [r8 + 0x2c], 0x10000
jne 0x14008a469
mov eax, dword [r8 + 0x30]
xchg r15, r15
mov dword [r14], eax
mov eax, dword [r8 + 0x34]
mov dword [rsi], eax
mov al, 0x46
add al, 0x26
sub al, 0x5d
add al, 0x2f
sub al, 0x3d
jmp 0x14008a46b