Function at 0x140009740
Capabilities:
Encode data using xor

Disassembly:
push rbx
push rdi
push r12
push r13
push r14
push r15
push rbp
sub rsp, 0x170
mov r8, rcx
movzx r11d, byte [rdx]
movzx eax, byte [rdx + 1]
shl r11d, 0x18
shl eax, 0x10
movzx r9d, byte [rdx + 2]
or r11d, eax
movzx edi, byte [rdx + 4]
movzx eax, byte [rdx + 5]
shl r9d, 8
shl edi, 0x18
or r11d, r9d
shl eax, 0x10
movzx ecx, byte [rdx + 6]
or edi, eax
movzx r12d, byte [rdx + 8]
movzx r9d, byte [rdx + 9]
shl ecx, 8
shl r12d, 0x18
or edi, ecx
shl r9d, 0x10
movzx ecx, byte [rdx + 0x11]
or r12d, r9d
movzx r9d, byte [rdx + 0x10]
shl r9d, 0x18
shl ecx, 0x10
movzx r10d, byte [rdx + 3]
or r11d, r10d
movzx ebp, byte [rdx + 7]
or edi, ebp
movzx r10d, byte [rdx + 0xa]
or r9d, ecx
movzx eax, byte [rdx + 0xc]
movzx r13d, byte [rdx + 0xd]
movzx ebp, byte [rdx + 0x12]
shl r10d, 8
shl eax, 0x18
or r12d, r10d
shl r13d, 0x10
shl ebp, 8
or eax, r13d
movzx r13d, byte [rdx + 0x14]
or r9d, ebp
movzx r10d, byte [rdx + 0x15]
shl r13d, 0x18
shl r10d, 0x10
movzx r14d, byte [rdx + 0xe]
or r13d, r10d
mov dword [rsp + 0x28], r11d
mov dword [rsp + 0x2c], edi
movzx r11d, byte [rdx + 0xb]
or r12d, r11d
shl r14d, 8
movzx edi, byte [rdx + 0x13]
or r9d, edi
movzx r11d, byte [rdx + 0x16]
or eax, r14d
shl r11d, 8
mov dword [rsp + 0x38], r9d
or r13d, r11d
movzx r9d, byte [rdx + 0x1c]
movzx ebp, byte [rdx + 0x1d]
shl r9d, 0x18
shl ebp, 0x10
movzx ecx, byte [rdx + 0x18]
or r9d, ebp
movzx r14d, byte [rdx + 0x19]
shl ecx, 0x18
shl r14d, 0x10
movzx r15d, byte [rdx + 0xf]
or eax, r15d
movzx edi, byte [rdx + 0x1e]
or ecx, r14d
mov dword [rsp + 0x30], r12d
shl edi, 8
mov dword [rsp + 0x34], eax
or r9d, edi
movzx r12d, byte [rdx + 0x17]
or r13d, r12d
movzx eax, byte [rdx + 0x1a]
mov dword [rsp + 0x3c], r13d
shl eax, 8
movzx r13d, byte [rdx + 0x20]
or ecx, eax
movzx r10d, byte [rdx + 0x21]
shl r13d, 0x18
shl r10d, 0x10
movzx eax, byte [rdx + 0x1f]
or r9d, eax
movzx ebp, byte [rdx + 0x24]
or r13d, r10d
movzx eax, byte [rdx + 0x25]
movzx r10d, byte [rdx + 0x28]
movzx edi, byte [rdx + 0x29]
shl ebp, 0x18
shl eax, 0x10
shl r10d, 0x18
or ebp, eax
shl edi, 0x10
movzx r15d, byte [rdx + 0x1b]
or ecx, r15d
mov dword [rsp + 0x40], ecx
or r10d, edi
mov dword [rsp + 0x44], r9d
movzx ecx, byte [rdx + 0x26]
movzx r9d, byte [rdx + 0x2a]
shl ecx, 8
shl r9d, 8
or ebp, ecx
or r10d, r9d
movzx r11d, byte [rdx + 0x22]
shl r11d, 8
movzx r14d, byte [rdx + 0x27]
or ebp, r14d
movzx r15d, byte [rdx + 0x2b]
or r10d, r15d
mov dword [rsp + 0x4c], ebp
or r13d, r11d
mov dword [rsp + 0x50], r10d
movzx ecx, byte [rdx + 0x2c]
movzx r11d, byte [rdx + 0x2d]
movzx r10d, byte [rdx + 0x30]
movzx ebp, byte [rdx + 0x31]
shl ecx, 0x18
shl r11d, 0x10
shl r10d, 0x18
or ecx, r11d
shl ebp, 0x10
movzx r12d, byte [rdx + 0x23]
or r13d, r12d
movzx r12d, byte [rdx + 0x2e]
or r10d, ebp
movzx edi, byte [rdx + 0x32]
shl r12d, 8
shl edi, 8
or ecx, r12d
movzx r15d, byte [rdx + 0x34]
or r10d, edi
movzx r11d, byte [rdx + 0x35]
shl r15d, 0x18
shl r11d, 0x10
movzx eax, byte [rdx + 0x2f]
or ecx, eax
movzx r9d, byte [rdx + 0x33]
or r10d, r9d
movzx edi, byte [rdx + 0x38]
or r15d, r11d
movzx eax, byte [rdx + 0x39]
movzx r11d, byte [rdx + 0x3c]
movzx r9d, byte [rdx + 0x3d]
shl edi, 0x18
shl eax, 0x10
shl r11d, 0x18
or edi, eax
shl r9d, 0x10
mov dword [rsp + 0x54], ecx
or r11d, r9d
mov dword [rsp + 0x58], r10d
mov dword [rsp + 0x48], r13d
movzx ecx, byte [rdx + 0x3a]
movzx r10d, byte [rdx + 0x3e]
movzx r13d, byte [rdx + 0x36]
shl ecx, 8
shl r10d, 8
or edi, ecx
shl r13d, 8
or r11d, r10d
or r15d, r13d
movzx r14d, byte [rdx + 0x37]
or r15d, r14d
movzx ebp, byte [rdx + 0x3b]
or edi, ebp
movzx edx, byte [rdx + 0x3f]
or r11d, edx
mov dword [rsp + 0x60], edi
mov dl, 0x10
mov dword [rsp + 0x64], r11d
mov dword [rsp + 0x5c], r15d
mov edi, dword [r8 + 8]
mov r9d, dword [r8 + 0xc]
mov r10d, dword [r8 + 0x10]
mov r11d, dword [r8 + 0x14]
mov r12d, dword [r8 + 0x18]
nop word [rax + rax]
mov cl, dl
mov r13b, dl
add cl, 0xfd
add r13b, 0xf8
movzx ebp, cl
mov r15b, dl
movzx r14d, r13b
add r15b, 0xf2
movzx ecx, r15b
mov eax, dword [rsp + rbp*4 + 0x28]
mov bpl, dl
add bpl, 0xf0
movzx r13d, bpl
xor eax, dword [rsp + r14*4 + 0x28]
movzx r14d, dl
inc dl
xor eax, dword [rsp + rcx*4 + 0x28]
xor eax, dword [rsp + r13*4 + 0x28]
shld eax, eax, 1
mov dword [rsp + r14*4 + 0x28], eax
cmp dl, 0x50
jb 0x140009a10
mov r13d, r10d
mov ecx, edi
xor r13d, r11d
mov ebp, r9d
and r13d, r9d
mov r14d, r10d
xor r13d, r11d
add r13d, dword [rsp + 0x28]
shld ecx, edi, 5
shld ebp, r9d, 0x1e
add r13d, r12d
xor r14d, ebp
and r14d, edi
mov r15d, ebp
mov eax, dword [rsp + 0x2c]
xor r14d, r10d
add eax, r11d
add eax, r14d
lea edx, [r13 + rcx + 0x5a827999]
mov r13d, edx
shld r13d, edx, 5
lea r14d, [rax + r13 + 0x5a827999]
mov r13d, edi
shld r13d, edi, 0x1e
xor r15d, r13d
mov ecx, r14d
and r15d, edx
mov eax, dword [rsp + 0x30]
xor r15d, ebp
add eax, r10d
shld ecx, r14d, 5
shld edx, edx, 0x1e
add eax, r15d
mov r15d, dword [rsp + 0x34]
add r15d, ebp
mov ebp, r13d
xor ebp, edx
and ebp, r14d
lea ecx, [rax + rcx + 0x5a827999]
mov eax, ecx
xor ebp, r13d
shld eax, ecx, 5
shld r14d, r14d, 0x1e
add r15d, ebp
lea eax, [r15 + rax + 0x5a827999]
mov r15d, dword [rsp + 0x38]
add r15d, r13d
mov r13d, edx
xor r13d, r14d
mov ebp, eax
and r13d, ecx
xor r13d, edx
shld ebp, eax, 5
shld ecx, ecx, 0x1e
add r15d, r13d
lea ebp, [r15 + rbp + 0x5a827999]
mov r15d, ecx
mov r13d, ebp
xor r15d, r14d
shld r13d, ebp, 5
and r15d, eax
add r13d, dword [rsp + 0x3c]
xor r15d, r14d
add r13d, r15d
shld eax, eax, 0x1e
lea r13d, [r13 + rdx + 0x5a827999]
mov edx, ecx
xor edx, eax
mov r15d, r13d
and edx, ebp
xor edx, ecx
add edx, dword [rsp + 0x40]
shld r15d, r13d, 5
shld ebp, ebp, 0x1e
add edx, r14d
lea r14d, [rdx + r15 + 0x5a827999]
mov edx, dword [rsp + 0x44]
add edx, ecx
mov ecx, eax
xor ecx, ebp
mov r15d, r14d
and ecx, r13d
xor ecx, eax
shld r15d, r14d, 5
shld r13d, r13d, 0x1e
add edx, ecx
mov ecx, dword [rsp + 0x48]
add ecx, eax
mov eax, ebp
xor eax, r13d
and eax, r14d
lea r15d, [rdx + r15 + 0x5a827999]
mov edx, r15d
xor eax, ebp
shld edx, r15d, 5
shld r14d, r14d, 0x1e
add ecx, eax
mov eax, dword [rsp + 0x4c]
add eax, ebp
mov ebp, r13d
xor ebp, r14d
and ebp, r15d
lea edx, [rcx + rdx + 0x5a827999]
mov ecx, edx
xor ebp, r13d
shld ecx, edx, 5
shld r15d, r15d, 0x1e
add eax, ebp
lea ebp, [rax + rcx + 0x5a827999]
mov ecx, r15d
mov eax, ebp
xor ecx, r14d
shld eax, ebp, 5
and ecx, edx
add eax, dword [rsp + 0x50]
xor ecx, r14d
add eax, ecx
shld edx, edx, 0x1e
lea ecx, [rax + r13 + 0x5a827999]
mov r13d, r15d
xor r13d, edx
mov eax, ecx
and r13d, ebp
xor r13d, r15d
add r13d, dword [rsp + 0x54]
shld eax, ecx, 5
shld ebp, ebp, 0x1e
add r13d, r14d
lea eax, [r13 + rax + 0x5a827999]
mov r13d, dword [rsp + 0x58]
add r13d, r15d
mov r15d, edx
xor r15d, ebp
mov r14d, eax
and r15d, ecx
xor r15d, edx
shld r14d, eax, 5
shld ecx, ecx, 0x1e
add r13d, r15d
mov r15d, dword [rsp + 0x5c]
add r15d, edx
mov edx, ebp
xor edx, ecx
and edx, eax
lea r14d, [r13 + r14 + 0x5a827999]
mov r13d, r14d
xor edx, ebp
shld r13d, r14d, 5
shld eax, eax, 0x1e
add r15d, edx
lea edx, [r15 + r13 + 0x5a827999]
mov r15d, dword [rsp + 0x60]
add r15d, ebp
mov ebp, ecx
xor ebp, eax
mov r13d, edx
and ebp, r14d
xor ebp, ecx
shld r13d, edx, 5
shld r14d, r14d, 0x1e
add r15d, ebp
lea ebp, [r15 + r13 + 0x5a827999]
mov r13d, r14d
mov r15d, ebp
xor r13d, eax
shld r15d, ebp, 5
and r13d, edx
add r15d, dword [rsp + 0x64]
xor r13d, eax
add r15d, r13d
shld edx, edx, 0x1e
lea r13d, [r15 + rcx + 0x5a827999]
mov ecx, r14d
xor ecx, edx
mov r15d, r13d
and ecx, ebp
xor ecx, r14d
add ecx, dword [rsp + 0x68]
shld r15d, r13d, 5
shld ebp, ebp, 0x1e
add ecx, eax
lea ecx, [rcx + r15 + 0x5a827999]
mov r15d, dword [rsp + 0x6c]
add r15d, r14d
mov r14d, edx
xor r14d, ebp
mov eax, ecx
and r14d, r13d
xor r14d, edx
shld eax, ecx, 5
shld r13d, r13d, 0x1e
add r15d, r14d
lea eax, [r15 + rax + 0x5a827999]
mov r15d, dword [rsp + 0x70]
add r15d, edx
mov edx, ebp
xor edx, r13d
mov r14d, eax
and edx, ecx
xor edx, ebp
shld r14d, eax, 5
shld ecx, ecx, 0x1e
add r15d, edx
mov edx, dword [rsp + 0x74]
add edx, ebp
mov ebp, r13d
xor ebp, ecx
and ebp, eax
lea r14d, [r15 + r14 + 0x5a827999]
mov r15d, r14d
xor ebp, r13d
shld r15d, r14d, 5
shld eax, eax, 0x1e
add edx, ebp
lea ebp, [rdx + r15 + 0x5a827999]
mov edx, 0x14
mov ebx, eax
mov r15d, ebp
xor ebx, r14d
shld r15d, ebp, 5
shld r14d, r14d, 0x1e
xor ebx, ecx
add r15d, ebx
mov ebx, ebp
add r15d, r13d
xor ebx, r14d
xor ebx, eax
mov r13d, dword [rsp + rdx*4 + 0x28]
add ebx, ecx
shld ebp, ebp, 0x1e
lea r13d, [r15 + r13 + 0x6ed9eba1]
mov r15d, r13d
lea ecx, [rdx + 1]
shld r15d, r13d, 5
add ebx, dword [rsp + rcx*4 + 0x28]
lea ecx, [rbx + r15 + 0x6ed9eba1]
mov ebx, ecx
lea r15d, [rdx + 2]
shld ebx, ecx, 5
mov r15d, dword [rsp + r15*4 + 0x28]
add eax, r15d
mov r15d, r13d
xor r15d, ebp
xor r15d, r14d
add eax, r15d
shld r13d, r13d, 0x1e
lea eax, [rax + rbx + 0x6ed9eba1]
mov r15d, eax
lea ebx, [rdx + 3]
shld r15d, eax, 5
mov ebx, dword [rsp + rbx*4 + 0x28]
add r14d, ebx
mov ebx, ecx
xor ebx, r13d
xor ebx, ebp
add r14d, ebx
shld ecx, ecx, 0x1e
lea r14d, [r14 + r15 + 0x6ed9eba1]
mov ebx, r14d
lea r15d, [rdx + 4]
shld ebx, r14d, 5
mov r15d, dword [rsp + r15*4 + 0x28]
add ebp, r15d
mov r15d, eax
add edx, 5
xor r15d, ecx
xor r15d, r13d
add ebp, r15d
shld eax, eax, 0x1e
lea ebp, [rbp + rbx + 0x6ed9eba1]
cmp edx, 0x28
jb 0x140009d7c
mov qword [rsp + 0x20], rsi
mov r15d, eax
mov esi, eax
or r15d, r14d
mov ebx, ebp
and esi, r14d
and r15d, ecx
shld ebx, ebp, 5
shld r14d, r14d, 0x1e
or esi, r15d
add ebx, esi
mov r15d, ebp
add ebx, r13d
mov esi, ebp
or r15d, r14d
and esi, r14d
mov r13d, dword [rsp + rdx*4 + 0x28]
and r15d, eax
or esi, r15d
add esi, ecx
lea ecx, [rdx + 1]
add esi, dword [rsp + rcx*4 + 0x28]
lea r13d, [rbx + r13 - 0x70e44324]
mov ebx, r13d
shld ebx, r13d, 5
shld ebp, ebp, 0x1e
lea ecx, [rsi + rbx - 0x70e44324]
mov r15d, ecx
lea ebx, [rdx + 2]
mov esi, dword [rsp + rbx*4 + 0x28]
add eax, esi
mov ebx, r13d
mov esi, r13d
or ebx, ebp
and esi, ebp
and ebx, r14d
or esi, ebx
shld r15d, ecx, 5
shld r13d, r13d, 0x1e
add eax, esi
lea eax, [rax + r15 - 0x70e44324]
mov esi, eax
lea r15d, [rdx + 3]
mov ebx, dword [rsp + r15*4 + 0x28]
add r14d, ebx
mov r15d, ecx
mov ebx, ecx
or r15d, r13d
and ebx, r13d
and r15d, ebp
or ebx, r15d
shld esi, eax, 5
shld ecx, ecx, 0x1e
add r14d, ebx
lea r14d, [r14 + rsi - 0x70e44324]
mov ebx, r14d
lea esi, [rdx + 4]
mov r15d, dword [rsp + rsi*4 + 0x28]
add ebp, r15d
mov esi, eax
mov r15d, eax
or esi, ecx
and r15d, ecx
and esi, r13d
add edx, 5
or r15d, esi
shld ebx, r14d, 5
shld eax, eax, 0x1e
add ebp, r15d
lea ebp, [rbp + rbx - 0x70e44324]
cmp edx, 0x3c
jb 0x140009e55
mov rsi, qword [rsp + 0x20]
cmp edx, 0x50
jae 0x14000a02e
mov r15d, eax
mov ebx, ebp
xor r15d, r14d
shld ebx, ebp, 5
shld r14d, r14d, 0x1e
xor r15d, ecx
add ebx, r15d
mov r15d, ebp
add ebx, r13d
xor r15d, r14d
xor r15d, eax
mov r13d, dword [rsp + rdx*4 + 0x28]
add r15d, ecx
shld ebp, ebp, 0x1e
lea r13d, [rbx + r13 - 0x359d3e2a]
mov ebx, r13d
lea ecx, [rdx + 1]
shld ebx, r13d, 5
add r15d, ebx
mov ebx, dword [rsp + rcx*4 + 0x28]
lea ecx, [r15 + rbx - 0x359d3e2a]
mov r15d, ecx
lea ebx, [rdx + 2]
shld r15d, ecx, 5
add eax, r15d
mov r15d, r13d
xor r15d, ebp
xor r15d, r14d
add eax, dword [rsp + rbx*4 + 0x28]
shld r13d, r13d, 0x1e
lea eax, [rax + r15 - 0x359d3e2a]
mov ebx, eax
lea r15d, [rdx + 3]
shld ebx, eax, 5
add r14d, ebx
mov ebx, ecx
xor ebx, r13d
xor ebx, ebp
add r14d, dword [rsp + r15*4 + 0x28]
lea r15d, [rdx + 4]
shld ecx, ecx, 0x1e
mov r15d, dword [rsp + r15*4 + 0x28]
lea r14d, [r14 + rbx - 0x359d3e2a]
mov ebx, r14d
add ebp, r15d
shld ebx, r14d, 5
add ebp, ebx
mov ebx, eax
xor ebx, ecx
add edx, 5
xor ebx, r13d
shld eax, eax, 0x1e
lea ebp, [rbp + rbx - 0x359d3e2a]
cmp edx, 0x50
jb 0x140009f5c
add ebp, edi
add r14d, r9d
add eax, r10d
add ecx, r11d
add r12d, r13d
mov dword [r8 + 8], ebp
mov dword [r8 + 0xc], r14d
mov dword [r8 + 0x10], eax
xor eax, eax
mov dword [r8 + 0x14], ecx
mov dword [r8 + 0x18], r12d
add rsp, 0x170
pop rbp
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rbx
ret