Function at 0x14007f358
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
xchg r11, rsi
mov qword [rsp + 0x18], r11
xchg r11, rsi
nop
sub rsp, 8
mov qword [rsp], rdi
push r12
push r14
mov rbp, rbp
nop
sub rsp, 0x48e47f92
add rsp, 0x48e47f42
mov ebx, dword [rcx + 0x2c]
mov rdx, rdx
xchg rcx, r8
mov rsi, r8
xchg rcx, r8
mov ecx, ebx
xchg r10, r10
xchg rdx, rsi
mov r14, rsi
xchg rdx, rsi
call fcn.140099c50
xor ebx, 0x476b3605
mov dword [rsp - 0x20], 0x5d249528
xchg rdi, rax
mov rax, rdi
xchg rdi, rax
movabs r12, 0x28510a1f5d50ba3b
sub r12, 0x50e2fb40
add r12, 0x6a6cf079
sub r12, 0x360ab30f
xor r12, 0x185dea2e
mov dword [r14 + 8], ebx
mov dword [rsp - 0x10], esi
xor rdi, r12
mov qword [r14], rdi
cmp byte [rsi + 0x34], 0
jne 0x14007f6cc
mov dword [rsp - 0x10], 0x2469f06
mov eax, dword [rsi + 8]
cmp eax, 0x662d6547
je 0x14007f4f3
xchg rsp, rsp
cmp eax, 0x745b6547
je 0x14007f490
cmp eax, 0x755b6547
je 0x14007f448
mov r10, r10
cmp eax, 0x765b7e57
je 0x14007f4f3
xor edx, edx
mov r14, r14
jmp 0x14007f561
xor edx, edx
lea rdi, [0x140000000]
mov dword [rsp - 0x14], ebx
mov ecx, edx
mov eax, 0x5c05a7fe
add eax, 0x14e5482d
xor eax, 0x3a2f273f
sub eax, 0xa71b940
rol eax, cl
xchg rsp, rsp
xor al, byte [rdx + rdi + 0x1930]
mov byte [rsp + rdx + 0x30], al
inc rdx
xchg r12, r12
cmp rdx, 0x10
jb 0x14007f455
jmp 0x14007f544
xor edx, edx
lea rdi, [0x140000000]
mov rcx, rcx
mov ecx, edx
mov eax, 0x64afaad7
sub eax, 0xf5b3f2b
sub eax, 0x4c5898ac
xor eax, 0x25165943
xor eax, 0x6db99797
rol eax, cl
xchg r11, r11
xor al, byte [rdx + rdi + 0x1940]
mov byte [rsp + rdx + 0x30], al
inc rdx
cmp rdx, 0x20
mov r8, r8
jb 0x14007f49c
mov edx, 0x113a295c
add edx, 0x40347062
add edx, 0x1dadf904
sub edx, 0x6f1c92be
jmp 0x14007f561
xor edx, edx
lea rdi, [0x140000000]
mov ecx, edx
xchg r11, r11
mov eax, 0x493aab82
sub eax, 0x16b21372
sub eax, 0xb9eb9b3
xor eax, 0x3765455b
xor eax, 0x51d886d2
rol eax, cl
xor al, byte [rdx + rdi + 0x1920]
mov dword [rsp - 0x44], 0x86ff7bf
mov byte [rsp + rdx + 0x30], al
inc rdx
cmp rdx, 0x10
mov dword [rsp - 0xc], 0xe85365a
jb 0x14007f4fc
mov edx, 0x7628ca59
xor edx, 0x33f98dea
sub edx, 0x26151258
xor edx, 0x199cad1c
sub edx, 0x6209845
lea rcx, [rsp + 0x20]
mov dword [rsp - 0x44], ebx
call fcn.140094a4c
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x20]
mov rdi, rdi
call fcn.14009512c
xchg r12, rbp
mov r12, qword [r14]
xchg r12, rbp
mov edi, dword [rsi + 0x3c]
xor rbp, r12
mov dword [rsp - 0x34], ebx
test edi, edi
je 0x14007f5ab
add edi, 7
and edi, 0xfffffff8
mov dword [rsp - 0x3c], edi
jmp 0x14007f5ae
mov edi, dword [rsi + 0x2c]
xor ebx, ebx
test edi, edi
xchg rcx, rcx
je 0x14007f5f9
mov edx, dword [rsi + 0xc]
lea rcx, [rsp + 0x20]
mov r9, r9
xor edx, 0x476b3605
mov r8d, ebx
add edx, ebx
add r8, rbp
mov dword [rsp - 0x18], 0x75ebbe53
add rdx, qword [rsi]
call fcn.140094c04
nop
add ebx, 0x3dc133b8
sub ebx, 0x3dc133b0
cmp ebx, edi
jb 0x14007f5bb
lea rcx, [rsp + 0x20]
mov dword [rsp - 0x14], 0x653607f3
call fcn.140094b7c
xor eax, eax
lea rdi, [rsp + 0x30]
xchg rdx, rdx
cmp dword [rsi + 0x38], 1
lea ecx, [rax + 0x20]
rep stosb byte [rdi], al
mov r9, r9
jne 0x14007f6aa
mov rdi, qword [r14]
mov ecx, dword [rsi + 0x3c]
mov rdi, rdi
xor rdi, r12
call fcn.140099c50
mov r8d, dword [rsi + 0x3c]
mov rdx, rdi
mov dword [rsp - 0x38], esi
xchg r14, rax
mov rcx, r14
xchg r14, rax
xchg rbx, rax
mov rax, rbx
xchg rbx, rax
call fcn.14009a260
mov r9d, dword [rsi + 0x2c]
xchg rdi, rdx
mov rdi, rdx
xchg rdi, rdx
mov r8d, dword [rsi + 0x3c]
mov r15, r15
xchg r8, rbx
mov rcx, r8
xchg r8, rbx
call fcn.140098200
mov r11, r11
xchg rcx, r13
mov r13, rbx
xchg r13, rcx
cmp eax, dword [rsi + 0x2c]
mov dword [rsp - 0x34], 0xe454eb6
je 0x14007f6a5
call fcn.140099c60
xor al, al
mov dword [rsp - 0x24], esp
jmp 0x14007f6fd
call fcn.140099c60
mov rdx, r14
xchg rcx, rsi
mov rsi, rcx
xchg rcx, rsi
call fcn.14008083c
test al, al
mov dword [rsp - 0x44], esi
jne 0x14007f6f3
jmp 0x14007f69a
mov edx, dword [rsi + 0xc]
xchg r8, rcx
mov r8, rax
xchg rcx, r8
mov r8d, dword [rsi + 0x2c]
xor rdx, 0x476b3605
mov dword [rsp - 0x34], 0x63eb6d53
add rdx, qword [rsi]
call fcn.14009a260
mov al, 0x27
add al, 0x1d
add al, 9
xor al, 0x54
sub al, 0x18
lea r11, [rsp + 0x50]
mov rbx, qword [r11 + 0x20]
mov r15, r15
mov rbp, qword [r11 + 0x28]
xchg rsi, r10
mov r10, qword [r11 + 0x30]
xchg rsi, r10
xchg rsp, rdx
mov rdx, r11
xchg rsp, rdx
pop r14
mov dword [rsp - 0x28], edx
pop r12
pop rdi
ret