Function at 0x140004094
Capabilities:
Encode data using xor

Disassembly:
test r8, r8
je 0x140004c92
mov qword [rsp + 8], rcx
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x58
mov r14d, dword [rcx + 4]
mov r13, rdx
mov edx, dword [rcx]
mov rax, r8
mov r15d, dword [rcx + 8]
mov r12d, 1
mov ebp, dword [rcx + 0xc]
movzx ecx, byte [r13]
sub rax, r12
mov qword [rsp + 0xb0], rax
add r13, r12
movzx eax, byte [r13]
add r13, r12
shl eax, 8
or ecx, eax
movzx eax, byte [r13]
add r13, r12
shl eax, 0x10
or ecx, eax
movzx eax, byte [r13]
add r13, r12
shl eax, 0x18
or ecx, eax
mov dword [rsp + 0xb8], ecx
movzx edi, byte [r13]
add r13, r12
movzx eax, byte [r13]
add r13, r12
shl eax, 8
or edi, eax
movzx eax, byte [r13]
add r13, r12
shl eax, 0x10
or edi, eax
movzx eax, byte [r13]
add r13, r12
shl eax, 0x18
or edi, eax
mov eax, ebp
xor eax, r15d
mov dword [rsp + 0x30], edi
and eax, r14d
xor eax, ebp
add eax, ecx
lea ecx, [rdx - 0x28955b88]
add ecx, eax
mov edx, 7
call fcn.1400bc858
movzx esi, byte [r13]
mov edx, 0xc
add r13, r12
lea ebx, [r14 + rax]
mov eax, r15d
xor eax, r14d
movzx ecx, byte [r13]
and eax, ebx
shl ecx, 8
add r13, r12
or esi, ecx
xor eax, r15d
add eax, edi
movzx ecx, byte [r13]
add r13, r12
shl ecx, 0x10
or esi, ecx
movzx ecx, byte [r13]
add r13, r12
shl ecx, 0x18
or esi, ecx
lea ecx, [rbp - 0x173848aa]
add ecx, eax
mov dword [rsp + 0x48], esi
call fcn.1400bc858
movzx ebp, byte [r13]
add r13, r12
lea edi, [rbx + rax]
movzx ecx, byte [r13]
add r13, r12
shl ecx, 8
or ebp, ecx
movzx ecx, byte [r13]
add r13, r12
shl ecx, 0x10
or ebp, ecx
movzx ecx, byte [r13]
shl ecx, 0x18
or ebp, ecx
mov dword [rsp + 0x28], ebp
mov eax, r14d
lea ecx, [r15 + 0x242070db]
xor eax, ebx
mov edx, 0x11
and eax, edi
add r13, r12
xor eax, r14d
add eax, esi
add ecx, eax
call fcn.1400bc858
movzx r15d, byte [r13]
add ebp, 0xc1bdceee
add r13, r12
mov edx, 0x16
lea esi, [rdi + rax]
movzx ecx, byte [r13]
add r13, r12
shl ecx, 8
or r15d, ecx
movzx ecx, byte [r13]
add r13, r12
shl ecx, 0x10
or r15d, ecx
movzx ecx, byte [r13]
add r13, r12
shl ecx, 0x18
or r15d, ecx
mov ecx, edi
xor ecx, ebx
mov dword [rsp + 0x40], r15d
and ecx, esi
xor ecx, ebx
add ecx, ebp
add ecx, r14d
call fcn.1400bc858
movzx r14d, byte [r13]
mov edx, 7
add r13, r12
lea ebp, [rsi + rax]
mov eax, edi
xor eax, esi
movzx ecx, byte [r13]
and eax, ebp
shl ecx, 8
add r13, r12
or r14d, ecx
xor eax, edi
add eax, r15d
movzx ecx, byte [r13]
add r13, r12
shl ecx, 0x10
or r14d, ecx
movzx ecx, byte [r13]
add r13, r12
shl ecx, 0x18
or r14d, ecx
lea ecx, [rbx - 0xa83f051]
add ecx, eax
mov dword [rsp + 0x24], r14d
call fcn.1400bc858
movzx r15d, byte [r13]
add r13, r12
lea ebx, [rax + rbp]
movzx ecx, byte [r13]
add r13, r12
shl ecx, 8
or r15d, ecx
movzx ecx, byte [r13]
add r13, r12
shl ecx, 0x10
or r15d, ecx
movzx ecx, byte [r13]
add r13, r12
shl ecx, 0x18
or r15d, ecx
mov ecx, esi
xor ecx, ebp
mov dword [rsp + 0x38], r15d
and ecx, ebx
xor ecx, esi
add r14d, 0x4787c62a
add ecx, r14d
mov edx, 0xc
add ecx, edi
call fcn.1400bc858
movzx r14d, byte [r13]
add r15d, 0xa8304613
add r13, r12
mov edx, 0x11
lea edi, [rbx + rax]
movzx ecx, byte [r13]
add r13, r12
shl ecx, 8
or r14d, ecx
movzx ecx, byte [r13]
add r13, r12
shl ecx, 0x10
or r14d, ecx
movzx ecx, byte [r13]
add r13, r12
shl ecx, 0x18
or r14d, ecx
mov ecx, ebp
xor ecx, ebx
mov dword [rsp + 0x20], r14d
and ecx, edi
xor ecx, ebp
add ecx, r15d
add ecx, esi
call fcn.1400bc858
movzx r15d, byte [r13]
add r14d, 0xfd469501
add r13, r12
mov edx, 0x16
lea esi, [rdi + rax]
movzx ecx, byte [r13]
add r13, r12
shl ecx, 8
or r15d, ecx
movzx ecx, byte [r13]
add r13, r12
shl ecx, 0x10
or r15d, ecx
movzx ecx, byte [r13]
add r13, r12
shl ecx, 0x18
or r15d, ecx
mov ecx, edi
xor ecx, ebx
mov dword [rsp + 0x34], r15d
and ecx, esi
xor ecx, ebx
add ecx, r14d
add ecx, ebp
call fcn.1400bc858
movzx ecx, byte [r13 + 1]
add r15d, 0x698098d8
movzx r12d, byte [r13]
mov edx, 7
shl ecx, 8
or r12d, ecx
lea ebp, [rsi + rax]
movzx ecx, byte [r13 + 2]
shl ecx, 0x10
or r12d, ecx
movzx ecx, byte [r13 + 3]
shl ecx, 0x18
or r12d, ecx
mov ecx, edi
xor ecx, esi
mov dword [rsp + 0x4c], r12d
and ecx, ebp
xor ecx, edi
add ecx, r15d
add ecx, ebx
call fcn.1400bc858
movzx ecx, byte [r13 + 5]
movzx ebx, byte [r13 + 4]
shl ecx, 8
or ebx, ecx
lea r14d, [rax + rbp]
movzx ecx, byte [r13 + 6]
shl ecx, 0x10
add r12d, 0x8b44f7af
or ebx, ecx
mov edx, 0xc
movzx ecx, byte [r13 + 7]
add r13, 8
shl ecx, 0x18
or ebx, ecx
mov ecx, esi
xor ecx, ebp
mov dword [rsp + 0x2c], ebx
and ecx, r14d
xor ecx, esi
add ecx, r12d
add ecx, edi
call fcn.1400bc858
movzx edi, byte [r13]
mov r12d, 1
add r13, r12
add ebx, 0xffff5bb1
lea r15d, [r14 + rax]
lea edx, [r12 + 0x10]
movzx ecx, byte [r13]
add r13, r12
shl ecx, 8
or edi, ecx
movzx ecx, byte [r13]
add r13, r12
shl ecx, 0x10
or edi, ecx
movzx ecx, byte [r13]
add r13, r12
shl ecx, 0x18
or edi, ecx
mov qword [rsp + 0xa8], r13
mov ecx, ebp
mov dword [rsp + 0x44], edi
xor ecx, r14d
and ecx, r15d
xor ecx, ebp
add ecx, ebx
add ecx, esi
call fcn.1400bc858
movzx r13d, byte [r13]
lea edx, [r12 + 0x15]
mov rsi, qword [rsp + 0xa8]
add rsi, r12
lea ebx, [r15 + rax]
mov eax, r15d
xor eax, r14d
and eax, ebx
movzx ecx, byte [rsi]
xor eax, r14d
shl ecx, 8
add rsi, r12
or r13d, ecx
add eax, edi
movzx ecx, byte [rsi]
add rsi, r12
shl ecx, 0x10
or r13d, ecx
movzx ecx, byte [rsi]
add rsi, r12
shl ecx, 0x18
or r13d, ecx
lea ecx, [rbp - 0x76a32842]
add ecx, eax
call fcn.1400bc858
movzx ebp, byte [rsi]
add rsi, r12
lea edi, [rbx + rax]
movzx ecx, byte [rsi]
add rsi, r12
shl ecx, 8
or ebp, ecx
movzx ecx, byte [rsi]
add rsi, r12
shl ecx, 0x10
or ebp, ecx
movzx ecx, byte [rsi]
shl ecx, 0x18
or ebp, ecx
lea edx, [r12 + 6]
mov eax, r15d
mov dword [rsp + 0x3c], ebp
xor eax, ebx
lea ecx, [r14 + 0x6b901122]
and eax, edi
add rsi, r12
xor eax, r15d
mov qword [rsp + 0xa8], rsi
add eax, r13d
add ecx, eax
call fcn.1400bc858
mov r14, qword [rsp + 0xa8]
mov edx, 0xc
lea esi, [rdi + rax]
mov eax, ebx
movzx ecx, byte [r14 + 1]
xor eax, edi
movzx r12d, byte [r14]
and eax, esi
shl ecx, 8
xor eax, ebx
or r12d, ecx
add eax, ebp
movzx ecx, byte [r14 + 2]
shl ecx, 0x10
or r12d, ecx
movzx ecx, byte [r14 + 3]
shl ecx, 0x18
or r12d, ecx
lea ecx, [r15 - 0x2678e6d]
add ecx, eax
call fcn.1400bc858
movzx ecx, byte [r14 + 5]
mov edx, 0x11
movzx r15d, byte [r14 + 4]
shl ecx, 8
or r15d, ecx
lea ebp, [rsi + rax]
movzx ecx, byte [r14 + 6]
mov eax, edi
shl ecx, 0x10
xor eax, esi
or r15d, ecx
and eax, ebp
movzx ecx, byte [r14 + 7]
xor eax, edi
shl ecx, 0x18
add eax, r12d
or r15d, ecx
add r14, 8
lea ecx, [rbx - 0x5986bc72]
mov qword [rsp + 0xa8], r14
add ecx, eax
call fcn.1400bc858
mov ecx, ebp
add edi, 0x49b40821
xor ecx, esi
mov edx, 0x16
lea ebx, [rax + rbp]
and ecx, ebx
xor ecx, esi
add ecx, r15d
add ecx, edi
call fcn.1400bc858
mov ecx, ebx
add esi, 0xf61e2562
mov r14d, 5
mov edx, r14d
lea edi, [rbx + rax]
xor ecx, edi
and ecx, ebp
xor ecx, ebx
add ecx, dword [rsp + 0x30]
add ecx, esi
call fcn.1400bc858
mov ecx, edi
lea esi, [rdi + rax]
xor ecx, esi
and ecx, ebx
xor ecx, edi
lea edx, [r14 + 4]
add ecx, dword [rsp + 0x38]
add ebp, 0xc040b340
add ecx, ebp
call fcn.1400bc858
add ebx, 0x265e5a51
lea edx, [r14 + 9]
lea ebp, [rsi + rax]
mov ecx, ebp
xor ecx, esi
and ecx, edi
xor ecx, esi
add ecx, dword [rsp + 0x44]
add ecx, ebx
call fcn.1400bc858
mov ecx, ebp
lea edx, [r14 + 0xf]
add edi, 0xe9b6c7aa
lea ebx, [rax + rbp]
xor ecx, ebx
and ecx, esi
xor ecx, ebp
add ecx, dword [rsp + 0xb8]
add ecx, edi
call fcn.1400bc858
mov ecx, ebx
add esi, 0xd62f105d
mov edx, r14d
lea edi, [rbx + rax]
xor ecx, edi
and ecx, ebp
xor ecx, ebx
add ecx, dword [rsp + 0x24]
add ecx, esi
call fcn.1400bc858
mov ecx, edi
lea edx, [r14 + 4]
add ebp, 0x2441453
lea esi, [rdi + rax]
xor ecx, esi
and ecx, ebx
xor ecx, edi
add ecx, dword [rsp + 0x2c]
add ecx, ebp
call fcn.1400bc858
add ebx, 0xd8a1e681
lea edx, [r14 + 9]
lea ebp, [rsi + rax]
mov ecx, ebp
xor ecx, esi
and ecx, edi
xor ecx, esi
add ecx, r15d
add ecx, ebx
call fcn.1400bc858
mov ecx, ebp
lea edx, [r14 + 0xf]
add edi, 0xe7d3fbc8
lea ebx, [rax + rbp]
xor ecx, ebx
and ecx, esi
xor ecx, ebp
add ecx, dword [rsp + 0x40]
add ecx, edi
call fcn.1400bc858
mov ecx, ebx
add esi, 0x21e1cde6
mov edx, r14d
lea edi, [rbx + rax]
xor ecx, edi
and ecx, ebp
xor ecx, ebx
add ecx, dword [rsp + 0x4c]
add ecx, esi
call fcn.1400bc858
mov ecx, edi
lea esi, [rdi + rax]
xor ecx, esi
and ecx, ebx
xor ecx, edi
add ecx, r12d
lea edx, [r14 + 4]
add ebp, 0xc33707d6
add ecx, ebp
call fcn.1400bc858
add ebx, 0xf4d50d87
lea edx, [r14 + 9]
lea ebp, [rsi + rax]
mov ecx, ebp
xor ecx, esi
and ecx, edi
xor ecx, esi
add ecx, dword [rsp + 0x28]
add ecx, ebx
call fcn.1400bc858
mov ecx, ebp
lea edx, [r14 + 0xf]
add edi, 0x455a14ed
lea ebx, [rax + rbp]
xor ecx, ebx
and ecx, esi
xor ecx, ebp
add ecx, dword [rsp + 0x34]
add ecx, edi
call fcn.1400bc858
mov ecx, ebx
add esi, 0xa9e3e905
mov edx, r14d
lea edi, [rbx + rax]
xor ecx, edi
and ecx, ebp
xor ecx, ebx
add ecx, dword [rsp + 0x3c]
add ecx, esi
call fcn.1400bc858
mov ecx, edi
lea edx, [r14 + 4]
add ebp, 0xfcefa3f8
lea esi, [rdi + rax]
xor ecx, esi
and ecx, ebx
xor ecx, edi
add ecx, dword [rsp + 0x48]
add ecx, ebp
call fcn.1400bc858
add ebx, 0x676f02d9
lea edx, [r14 + 9]
lea ebp, [rsi + rax]
mov ecx, ebp
xor ecx, esi
and ecx, edi
xor ecx, esi
add ecx, dword [rsp + 0x20]
add ecx, ebx
call fcn.1400bc858
mov ebx, ebp
add edi, 0x8d2a4c8a
mov edx, 0x14
lea r14d, [rax + rbp]
xor ebx, r14d
mov ecx, ebx
and ecx, esi
xor ecx, ebp
add ecx, r13d
add ecx, edi
call fcn.1400bc858
lea ecx, [rsi - 0x5c6be]
mov edx, 4
lea edi, [r14 + rax]
xor ebx, edi
add ebx, dword [rsp + 0x24]
add ecx, ebx
call fcn.1400bc858
mov ecx, r14d
add ebp, 0x8771f681
xor ecx, edi
mov edx, 0xb
lea esi, [rdi + rax]
xor ecx, esi
add ecx, dword [rsp + 0x34]
add ecx, ebp
call fcn.1400bc858
add r14d, 0x6d9d6122
mov edx, 0x10
lea ebp, [rsi + rax]
mov ecx, ebp
xor ecx, edi
xor ecx, esi
add ecx, dword [rsp + 0x44]
add ecx, r14d
call fcn.1400bc858
mov ebx, ebp
add edi, 0xfde5380c
mov edx, 0x17
lea r14d, [rax + rbp]
xor ebx, r14d
mov ecx, ebx
xor ecx, esi
add ecx, r12d
add ecx, edi
call fcn.1400bc858
lea ecx, [rsi - 0x5b4115bc]
mov edx, 4
lea edi, [r14 + rax]
xor ebx, edi
add ebx, dword [rsp + 0x30]
add ecx, ebx
call fcn.1400bc858
mov ecx, r14d
add ebp, 0x4bdecfa9
xor ecx, edi
mov edx, 0xb
lea esi, [rdi + rax]
xor ecx, esi
add ecx, dword [rsp + 0x40]
add ecx, ebp
call fcn.1400bc858
add r14d, 0xf6bb4b60
mov edx, 0x10
lea ebp, [rsi + rax]
mov ecx, ebp
xor ecx, edi
xor ecx, esi
add ecx, dword [rsp + 0x20]
add ecx, r14d
call fcn.1400bc858
mov ebx, ebp
add edi, 0xbebfbc70
mov edx, 0x17
lea r14d, [rax + rbp]
xor ebx, r14d
mov ecx, ebx
xor ecx, esi
add ecx, dword [rsp + 0x2c]
add ecx, edi
call fcn.1400bc858
lea ecx, [rsi + 0x289b7ec6]
mov edx, 4
lea edi, [r14 + rax]
xor ebx, edi
add ebx, dword [rsp + 0x3c]
add ecx, ebx
call fcn.1400bc858
mov ecx, r14d
add ebp, 0xeaa127fa
xor ecx, edi
mov edx, 0xb
lea esi, [rdi + rax]
xor ecx, esi
add ecx, dword [rsp + 0xb8]
add ecx, ebp
call fcn.1400bc858
add r14d, 0xd4ef3085
mov edx, 0x10
lea ebp, [rsi + rax]
mov ecx, ebp
xor ecx, edi
xor ecx, esi
add ecx, dword [rsp + 0x28]
add ecx, r14d
call fcn.1400bc858
lea r14d, [rax + rbp]
mov ebx, ebp
add edi, 0x4881d05
xor ebx, r14d
mov edx, 0x17
mov ecx, ebx
xor ecx, esi
add ecx, dword [rsp + 0x38]
add ecx, edi
call fcn.1400bc858
lea ecx, [rsi - 0x262b2fc7]
mov edx, 4
lea edi, [r14 + rax]
xor ebx, edi
add ebx, dword [rsp + 0x4c]
add ecx, ebx
call fcn.1400bc858
mov ecx, r14d
add ebp, 0xe6db99e5
xor ecx, edi
mov edx, 0xb
lea ebx, [rdi + rax]
xor ecx, ebx
add ecx, r13d
add ecx, ebp
call fcn.1400bc858
add r14d, 0x1fa27cf8
mov edx, 0x10
lea esi, [rbx + rax]
mov ecx, esi
xor ecx, edi
xor ecx, ebx
add ecx, r15d
add ecx, r14d
call fcn.1400bc858
mov ecx, esi
add edi, 0xc4ac5665
mov edx, 0x17
lea ebp, [rsi + rax]
xor ecx, ebp
xor ecx, ebx
add ecx, dword [rsp + 0x48]
add ecx, edi
call fcn.1400bc858
mov ecx, esi
add ebx, 0xf4292244
not ecx
mov r14d, 6
mov edx, r14d
lea edi, [rax + rbp]
or ecx, edi
xor ecx, ebp
add ecx, dword [rsp + 0xb8]
add ecx, ebx
call fcn.1400bc858
mov ecx, ebp
lea edx, [r14 + 4]
not ecx
add esi, 0x432aff97
lea ebx, [rdi + rax]
or ecx, ebx
xor ecx, edi
add ecx, dword [rsp + 0x20]
add ecx, esi
call fcn.1400bc858
mov ecx, edi
lea edx, [r14 + 9]
not ecx
add ebp, 0xab9423a7
lea esi, [rbx + rax]
or ecx, esi
xor ecx, ebx
add ecx, r12d
add ecx, ebp
call fcn.1400bc858
mov ecx, ebx
not ecx
lea ebp, [rsi + rax]
or ecx, ebp
xor ecx, esi
add ecx, dword [rsp + 0x24]
add edi, 0xfc93a039
add ecx, edi
lea edx, [r14 + 0xf]
call fcn.1400bc858
mov ecx, esi
add ebx, 0x655b59c3
not ecx
mov edx, r14d
lea edi, [rax + rbp]
or ecx, edi
xor ecx, ebp
add ecx, r13d
add ecx, ebx
call fcn.1400bc858
mov ecx, ebp
lea r12d, [r14 + 4]
not ecx
add esi, 0x8f0ccc92
mov edx, r12d
lea ebx, [rdi + rax]
or ecx, ebx
xor ecx, edi
add ecx, dword [rsp + 0x28]
add ecx, esi
call fcn.1400bc858
mov ecx, edi
lea r13d, [r14 + 9]
not ecx
add ebp, 0xffeff47d
mov edx, r13d
lea esi, [rbx + rax]
or ecx, esi
xor ecx, ebx
add ecx, dword [rsp + 0x2c]
add ecx, ebp
call fcn.1400bc858
mov ecx, ebx
lea edx, [r14 + 0xf]
not ecx
add edi, 0x85845dd1
lea ebp, [rsi + rax]
or ecx, ebp
xor ecx, esi
add ecx, dword [rsp + 0x30]
add ecx, edi
call fcn.1400bc858
mov ecx, esi
add ebx, 0x6fa87e4f
not ecx
mov edx, r14d
lea edi, [rax + rbp]
or ecx, edi
xor ecx, ebp
add ecx, dword [rsp + 0x34]
add ecx, ebx
call fcn.1400bc858
mov ecx, ebp
add r15d, 0xfe2ce6e0
not ecx
mov edx, r12d
lea ebx, [rdi + rax]
or ecx, ebx
xor ecx, edi
add ecx, r15d
add ecx, esi
call fcn.1400bc858
mov ecx, edi
add ebp, 0xa3014314
not ecx
mov edx, r13d
lea r14d, [rbx + rax]
or ecx, r14d
xor ecx, ebx
add ecx, dword [rsp + 0x38]
add ecx, ebp
call fcn.1400bc858
mov ecx, ebx
not ecx
lea ebp, [r14 + rax]
or ecx, ebp
xor ecx, r14d
add ecx, dword [rsp + 0x3c]
add edi, 0x4e0811a1
lea edx, [r12 + 0xb]
add ecx, edi
call fcn.1400bc858
mov ecx, r14d
lea edx, [r12 - 4]
not ecx
add ebx, 0xf7537e82
lea r15d, [rax + rbp]
or ecx, r15d
xor ecx, ebp
add ecx, dword [rsp + 0x40]
add ecx, ebx
call fcn.1400bc858
mov ecx, ebp
add r14d, 0xbd3af235
not ecx
mov edx, r12d
lea esi, [r15 + rax]
or ecx, esi
xor ecx, r15d
add ecx, dword [rsp + 0x44]
add ecx, r14d
call fcn.1400bc858
mov ecx, r15d
add ebp, 0x2ad7d2bb
not ecx
mov edx, r13d
lea edi, [rsi + rax]
or ecx, edi
xor ecx, esi
add ecx, dword [rsp + 0x48]
add ecx, ebp
call fcn.1400bc858
mov ecx, esi
lea edx, [r12 + 0xb]
not ecx
add r15d, 0xeb86d391
lea ebx, [rdi + rax]
or ecx, ebx
xor ecx, edi
add ecx, dword [rsp + 0x4c]
add ecx, r15d
call fcn.1400bc858
mov rcx, qword [rsp + 0xa0]
add eax, ebx
mov r13, qword [rsp + 0xa8]
mov r12d, 1
add dword [rcx + 4], eax
add dword [rcx], esi
add dword [rcx + 8], ebx
add dword [rcx + 0xc], edi
mov rax, qword [rsp + 0xb0]
mov edx, dword [rcx]
mov r14d, dword [rcx + 4]
mov r15d, dword [rcx + 8]
mov ebp, dword [rcx + 0xc]
test rax, rax
jne 0x1400040cb
add rsp, 0x58
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret