Function at 0x140078a70
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov word [rsp + 0x18], r8w
xchg rsp, rsp
push rbp
push rsi
push rdi
push r12
mov dword [rsp - 0x10], ecx
push r13
push r14
push r15
xchg rbx, rbx
lea rbp, [rsp - 0x27]
sub rsp, 0xb0
mov rsi, rcx
mov r15, r15
movzx r12d, r8w
lea rcx, [0x1400a4ac0]
mov r15, rdx
call fcn.1400699f0
mov dword [rsp - 0x44], edx
test al, al
je 0x140079003
movzx eax, word [rsi + 0x20]
test ax, ax
xchg r14, r14
je 0x140078ada
cmp ax, r12w
jne 0x140079003
xchg rbx, rbx
mov rdx, r15
lea rcx, [rbp - 9]
call fcn.140005a90
lea rcx, [rbp - 0x49]
xchg r10, r10
xor r13b, r13b
mov r14, qword [rax]
call fcn.1400630e0
movdqa xmm0, xmmword [0x1400029d0]
mov dword [rsp - 0x28], ebx
mov ecx, 0x16686b64
xor ecx, 0x3d311660
add ecx, 0x267862ed
add ecx, 0x33e1ab4
mov dword [rsp - 0x40], ebp
xor ecx, 0x550ffa81
movdqa xmmword [rbp + 7], xmm0
mov word [rbp + 0x17], 0x1873
mov dword [rsp - 0x10], 0x1a8fe7cf
xor word [rbp + 0x17], 0x4071
xor word [rbp + 0x17], 0x1fe8
xor word [rbp + 0x17], 0x4b52
xchg rsp, rsp
xor word [rbp + 0x17], 0x9a3
add word [rbp + 0x17], 0x8b0
add word [rbp + 0x17], 0x2026
mov qword [rbp - 0x31], 0x20f0608d
mov dword [rsp - 0x40], 0x746a73a9
xor qword [rbp - 0x31], 0x502651e7
sub qword [rbp - 0x31], 0x214807a8
xor qword [rbp - 0x31], 0x1c7716ad
sub qword [rbp - 0x31], 0x36f96f76
mov dword [rsp - 0x34], 0x6057d15c
sub qword [rbp - 0x31], 0x1cffcfe7
call fcn.140073cf0
xor ecx, ecx
mov dword [rsp - 0xc], 0x79878a59
mov qword [rbp - 0x39], rax
mov edx, ecx
cmp qword [rbp - 0x31], rcx
mov rdi, rdi
jbe 0x140078be4
nop dword [rax]
nop word [rax + rax]
movsx ecx, byte [rbp + rdx + 7]
xchg r11, r11
mov word [rax + rdx*2], cx
inc rdx
cmp rdx, qword [rbp - 0x31]
mov r11, r11
jb 0x140078bcc
lea rcx, [rbp - 0x19]
call fcn.14006cb70
mov rdx, rax
xchg r14, r14
lea r8, [rbp - 0x39]
lea rcx, [rbp - 0x29]
call fcn.14006a200
mov dword [rsp - 0x44], 0x3da5ec2e
mov dword [rsp + 0x30], 0x62dff105
sub dword [rsp + 0x30], 0x3f2cdc7d
sub dword [rsp + 0x30], 0x8b830d2
mov rbp, rbp
xor dword [rsp + 0x30], 0x69dbd6f5
sub dword [rsp + 0x30], 0x732134e3
lea rcx, [rbp - 0x49]
mov dword [rsp - 0x10], edx
mov rdx, rax
mov dword [rsp + 0x28], 0x667128f7
add dword [rsp + 0x28], 0x17498371
sub dword [rsp + 0x28], 0x5e5c3b5b
xchg rdi, rdi
sub dword [rsp + 0x28], 0x15ea6916
xor dword [rsp + 0x28], 0x97407f6
mov r9d, 0xa691c77
xor r9d, 0xd7dd1d9
mov dword [rsp - 0x34], 0x35c424fe
add r9d, 0x46e3d047
xor r9d, 0x1c6f971d
sub r9d, 0x13e22ee2
sub r9d, 0x3db4db86
xchg rsi, rsi
mov dword [rsp + 0x20], 0x524aea21
add dword [rsp + 0x20], 0x2de65bb
sub dword [rsp + 0x20], 0xc80bd6c
mov dword [rsp - 0x10], esi
xor dword [rsp + 0x20], 0x187500f5
sub dword [rsp + 0x20], 0x24c09704
add dword [rsp + 0x20], 0x3117b73f
mov dword [rsp - 0x10], ebx
sub dword [rsp + 0x20], 0x5d34b2bf
mov r8d, 0x3823d0c6
xor r8d, 0x62311dcd
xor r8d, 0x6b90488c
mov dword [rsp - 0x28], 0x4c535ef7
add r8d, 0x1e94954
add r8d, 0x320cf9d6
sub r8d, 0x6566c828
mov dword [rsp - 0x1c], 0x7bdf6295
call fcn.140063150
cmp qword [rbp - 0x21], 4
movzx ebx, al
mov r13, r13
jbe 0x140078d31
mov rcx, qword [rbp - 0x29]
call fcn.140073d00
cmp qword [rbp - 0x11], 4
mov dword [rsp - 0x38], ebx
jbe 0x140078d4d
mov rcx, qword [rbp - 0x19]
call fcn.140073d00
mov dword [rsp - 0x14], 0x4029eb36
cmp qword [rbp - 0x31], 4
jbe 0x140078d60
mov rcx, qword [rbp - 0x39]
call fcn.140073d00
xchg rbp, rbp
nop
movabs rdi, 0xffffffff1dc6220e
add rdi, 0x2b9db6bf
mov dword [rsp - 0x2c], esi
sub rdi, 0x13f77f90
add rdi, 0x3eea2e94
sub rdi, 0x2f3718f7
xor rdi, 0x1172cba4
mov r13, r13
add rdi, 0x7fffffff
add rdi, 0x2b925a82
test bl, bl
je 0x140078e5e
mov rcx, rcx
lea r8, [rbp + 0x7f]
lea rdx, [rbp - 0x41]
lea rcx, [rbp - 0x49]
call fcn.140063900
mov dword [rsp - 0x34], edi
test al, al
je 0x140078e5e
mov rax, rdi
inc rax
mov r11, r11
cmp byte [r14 + rax], r13b
jne 0x140078dce
mov edi, dword [rbp + 0x7f]
xchg r14, r14
cmp edi, eax
jbe 0x140078e51
xor ebx, ebx
mov r12d, eax
mov dword [rsp - 0x20], 0x6c6a70e4
sub edi, eax
nop dword [rax + rax]
mov ecx, ebx
mov dword [rsp - 0x38], 0x11faa159
mov r8, r12
add rcx, qword [rbp - 0x41]
mov rdx, r14
mov dword [rsp - 0x38], ebx
call fcn.140074840
test eax, eax
je 0x140078e2a
xchg r11, r11
inc ebx
cmp ebx, edi
jbe 0x140078dfb
xchg rsp, rsp
jmp 0x140078e4c
mov r13b, 6
add r13b, 0x39
add r13b, 0x27
mov dword [rsp - 0x28], esp
add r13b, 4
sub r13b, 0x68
xor r13b, 0x27
sub r13b, 0x24
xchg r8, r8
movzx r12d, word [rbp + 0x77]
mov rcx, qword [rbp - 0x41]
call fcn.140073d00
mov dword [rsp - 0xc], ebx
lea rcx, [rbp - 0x49]
call fcn.140063130
cmp byte [rbp - 1], 0
je 0x140078e7e
mov dword [rsp - 0x14], 0x5cb2c06a
mov rcx, qword [rbp - 9]
call fcn.140073d00
test r13b, r13b
mov r10, r10
jne 0x140079003
cmp qword [rsi + 0x10], 0
jne 0x14007902f
mov r14, qword [rsi + 8]
xchg rbp, rbp
mov rdi, rsi
cmp r14, 4
jbe 0x140078eb0
mov dword [rsp - 0x20], 0x4661dd13
mov rdi, qword [rsi]
lea rcx, [r14 + 1]
mov eax, 0x4729bb5
mov dword [rsp - 0x3c], esp
add eax, 0x293d6b31
xor eax, 0x27fed49a
add eax, 0x51ba2d47
mov rdx, rdx
sub eax, 0x2a6ee7e0
xor eax, 0x4d55aafb
xor eax, 0x7ccfbd1a
mov dword [rsp - 0x18], 0x9d1e042
mul rcx
pushf
movabs r13, 0xffffffff0bca4806
mov rbp, rbp
add r13, 0x28014ca
add r13, 0x57b7c1ad
sub r13, 0x641b3175
xchg r15, r15
add r13, 0x4337fedb
sub r13, 0x1d291736
add r13, 0x7fffffff
xor r13, 0x580a2b53
xchg r14, r14
popf
cmovo rax, r13
mov rcx, rax
call fcn.140073cf0
mov r12, r12
xor r10d, r10d
mov rbx, rax
mov r9d, r10d
mov dword [rsp - 0x10], 0x37394e54
test r14, r14
je 0x140078fb1
mov r8, rax
sub rdi, rax
xchg r12, r12
nop dword [rax]
movzx ecx, r9b
lea r8, [r8 + 2]
and cl, 3
mov r10, r10
mov edx, 0x728f2847
sub edx, 0x5dcac247
add edx, 0x4b42ade7
xor edx, 0x5a42f99b
mov r13, r13
xor edx, 0x2216b4f9
shl cl, 3
inc r9
mov r10, r10
sar edx, cl
movsx eax, dl
xor ax, word [rdi + r8 - 2]
mov word [r8 - 2], ax
xchg r13, r13
cmp r9, r14
jb 0x140078f62
mov word [rbx + r14*2], r10w
xor r9d, r9d
mov dword [rsp - 0x38], edi
mov rax, qword [0x1400a5640]
xor r8d, r8d
xor rax, qword [0x1400a4ab0]
mov rcx, rbx
mov dword [rsp - 0x24], 0x5da575
mov dword [rsp + 0x20], r10d
lea edx, [r9 + 1]
call rax
mov rcx, rbx
mov dword [rsp - 0x20], esp
mov qword [rsi + 0x10], rax
call fcn.140073d00
cmp qword [rsi + 0x10], 0
mov dword [rsp - 0x20], 0x5be51581
jne 0x14007906b
xor al, al
mov rbx, qword [rsp + 0xf0]
add rsp, 0xb0
mov dword [rsp - 0x40], ecx
pop r15
pop r14
pop r13
pop r12
mov rbx, rbx
pop rdi
pop rsi
pop rbp
mov dword [rsp - 0x24], 0x509456ee
ret
nop
movabs r13, 0xffffffff5b11d798
sub r13, 0x597bbad9
add r13, 0x5f35ce72
xchg r9, r9
add r13, 0x42d9f76
add r13, 0x16fe63ec
add r13, 0x7fffffff
mov dword [rsp - 0x18], esi
add r13, 0x408116d
cmp qword [rsi + 0x18], 0
jne 0x14007919d
mov rsp, rsp
mov rdi, qword [r15 + 8]
cmp rdi, 4
jbe 0x14007908a
mov dword [rsp - 0x28], ebp
mov r15, qword [r15]
lea rcx, [rdi + 1]
mov eax, 0x35896641
mov r13, r13
xor eax, 0xfa7431b
xor eax, 0x1556e397
xor eax, 0xb9c2073
mov dword [rsp - 0x44], ebp
sub eax, 0x24e4e6bc
mul rcx
cmovo rax, r13
mov dword [rsp - 0x3c], 0x360544d
mov rcx, rax
call fcn.140073cf0
xor r10d, r10d
mov rbx, rax
mov dword [rsp - 0x10], 0x2cbfa838
mov r9d, r10d
test rdi, rdi
je 0x140079150
mov r8, rax
mov dword [rsp - 0x40], 0x6a9a2405
sub r15, rax
nop dword [rax]
movzx ecx, r9b
xchg r9, r9
lea r8, [r8 + 2]
and cl, 3
mov edx, 0x19bf201
xchg rbp, rbp
xor edx, 0x29a93a52
sub edx, 0x3b6e3e5
sub edx, 0x2045853f
xor edx, 0x5b3abef
mov dword [rsp - 0x30], esp
xor edx, 0x145cd78c
xor edx, 0xd8a7dc9
shl cl, 3
inc r9
mov dword [rsp - 0x1c], edi
sar edx, cl
movsx eax, dl
xor ax, word [r8 + r15 - 2]
mov rsp, rsp
mov word [r8 - 2], ax
cmp r9, rdi
jb 0x1400790ec
mov dword [rsp - 0x1c], edx
mov word [rbx + rdi*2], r10w
xor r9d, r9d
mov rax, qword [0x1400a5660]
movzx r8d, r12w
mov dword [rsp - 0x28], 0x209a1399
xor rax, qword [0x1400a4ab0]
mov rdx, rbx
mov rcx, qword [rsi + 0x10]
call rax
mov rsp, rsp
mov rcx, rbx
mov qword [rsi + 0x18], rax
call fcn.140073d00
cmp qword [rsi + 0x18], 0
mov dword [rsp - 0xc], 0x26e21aed
je 0x140079003
mov word [rsi + 0x20], r12w
mov al, 0x75
sub al, 0x6c
mov rcx, rcx
sub al, 3
add al, 0x55
sub al, 0x14
mov dword [rsp - 0x2c], 0x283543cb
add al, 0x28
xor al, 0x6e
jmp 0x140079005