Function at 0x180041740
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 8], rcx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x27]
sub rsp, 0xb0
xor r10d, r10d
lea r11, [rbp - 0x19]
nop dword [rax + rax]
lea eax, [r10*4]
inc r10d
movzx r9d, byte [rax + rdx]
lea r11, [r11 + 4]
shl r9d, 8
mov r8d, eax
movzx eax, byte [rdx + rax + 1]
or r9d, eax
shl r9d, 8
movzx eax, byte [r8 + rdx + 2]
or r9d, eax
movzx eax, byte [r8 + rdx + 3]
shl r9d, 8
or r9d, eax
mov dword [r11 - 4], r9d
cmp r10d, 0x10
jb 0x180041770
mov esi, dword [rcx + 0x20]
mov ebx, 0x299f31d0
mov r14d, dword [rcx + 0x24]
xor esi, 0x243f6a88
mov r15d, dword [rcx + 0x28]
xor r14d, 0x85a308d3
mov r12d, dword [rcx + 0x2c]
xor r15d, 0x13198a2e
movups xmm0, xmmword [rcx]
xor r12d, 0x3707344
mov r10d, 0xa4093822
cmp dword [rcx + 0x3c], 0
mov r13d, 0x82efa98
movups xmm1, xmmword [rcx + 0x10]
mov r11d, 0xec4e6c89
movups xmmword [rbp - 0x69], xmm0
movups xmmword [rbp - 0x59], xmm1
jne 0x18004181c
xor r10d, dword [rcx + 0x30]
xor ebx, dword [rcx + 0x30]
xor r13d, dword [rcx + 0x34]
xor r11d, dword [rcx + 0x34]
mov eax, dword [rbp - 0x51]
lea r8, [0x18005e070]
mov edx, dword [rbp - 0x55]
mov r9d, dword [rbp - 0x5d]
mov ecx, dword [rbp - 0x4d]
mov edi, dword [rbp - 0x69]
mov dword [rsp + 4], eax
mov eax, dword [rbp - 0x61]
mov dword [rbp - 0x79], edx
mov edx, dword [rbp - 0x59]
mov dword [rbp + 0x77], r9d
mov r9d, dword [rbp - 0x65]
mov dword [rsp + 8], edx
mov dword [rbp + 0x7f], eax
mov dword [rsp], r9d
mov qword [rbp - 0x71], r8
mov qword [rbp - 0x29], select
nop
movzx eax, byte [r8]
lea r9, [rax*4]
movzx eax, byte [r8 + 1]
lea r8, [rax*4]
lea rax, [0x18005e150]
mov eax, dword [r8 + rax]
xor eax, dword [rbp + r9 - 0x19]
add eax, edx
add edi, eax
mov eax, dword [rbp + r8 - 0x19]
mov edx, edi
lea r8, [0x18005e150]
xor eax, dword [r9 + r8]
xor edx, r10d
mov r10d, dword [rsp + 8]
rol edx, 0x10
add esi, edx
xor r10d, esi
ror r10d, 0xc
add eax, r10d
add edi, eax
mov dword [rbp - 0x7d], edi
xor edi, edx
mov rdx, qword [rbp - 0x71]
ror edi, 8
add esi, edi
xor r10d, esi
movzx eax, byte [rdx + 2]
ror r10d, 7
mov dword [rsp + 8], r10d
mov r10d, dword [rbp - 0x79]
lea r9, [rax*4]
movzx eax, byte [rdx + 3]
mov edx, dword [rsp]
lea r8, [rax*4]
lea rax, [0x18005e150]
mov eax, dword [r8 + rax]
xor eax, dword [rbp + r9 - 0x19]
add eax, r10d
add edx, eax
mov eax, dword [rbp + r8 - 0x19]
mov dword [rsp], edx
lea r8, [0x18005e150]
xor eax, dword [r9 + r8]
xor edx, ebx
mov r9d, dword [rsp]
rol edx, 0x10
add r14d, edx
xor r10d, r14d
ror r10d, 0xc
add eax, r10d
add r9d, eax
mov ebx, r9d
mov dword [rsp], r9d
xor ebx, edx
mov rdx, qword [rbp - 0x71]
ror ebx, 8
add r14d, ebx
xor r10d, r14d
movzx eax, byte [rdx + 4]
ror r10d, 7
mov dword [rbp - 0x79], r10d
mov r10d, dword [rbp + 0x7f]
lea r9, [rax*4]
movzx eax, byte [rdx + 5]
lea r8, [rax*4]
lea rax, [0x18005e150]
mov eax, dword [r8 + rax]
xor eax, dword [rbp + r9 - 0x19]
add eax, dword [rsp + 4]
add r10d, eax
mov eax, dword [rbp + r8 - 0x19]
mov edx, r10d
lea r8, [0x18005e150]
xor edx, r13d
mov r13d, dword [rsp + 4]
rol edx, 0x10
add r15d, edx
xor r13d, r15d
ror r13d, 0xc
xor eax, dword [r9 + r8]
add eax, r13d
add r10d, eax
mov dword [rbp + 0x7f], r10d
xor r10d, edx
ror r10d, 8
lea rdx, [0x18005e150]
add r15d, r10d
xor r13d, r15d
ror r13d, 7
mov dword [rsp + 4], r13d
mov r13, qword [rbp - 0x71]
movzx eax, byte [r13 + 7]
lea r9, [rax*4]
movzx eax, byte [r13 + 6]
lea r8, [rax*4]
mov eax, dword [rbp + r8 - 0x19]
xor eax, dword [r9 + rdx]
mov edx, dword [rbp + 0x77]
add eax, ecx
add edx, eax
lea rax, [0x18005e150]
mov eax, dword [r8 + rax]
xor eax, dword [rbp + r9 - 0x19]
mov dword [rbp + 0x77], edx
xor edx, r11d
mov r9d, dword [rbp + 0x77]
rol edx, 0x10
add r12d, edx
xor ecx, r12d
ror ecx, 0xc
add eax, ecx
add r9d, eax
movzx eax, byte [r13 + 0xe]
mov dword [rbp + 0x77], r9d
mov r11d, r9d
xor r11d, edx
ror r11d, 8
lea r9, [rax*4]
add r12d, r11d
movzx eax, byte [r13 + 0xf]
xor ecx, r12d
mov r13d, dword [rbp + 0x77]
ror ecx, 7
lea r8, [rax*4]
lea rax, [0x18005e150]
mov eax, dword [r8 + rax]
xor eax, dword [rbp + r9 - 0x19]
add eax, dword [rsp + 8]
add r13d, eax
mov eax, dword [rbp + r8 - 0x19]
mov edx, r13d
lea r8, [0x18005e150]
xor eax, dword [r9 + r8]
xor edx, r10d
mov r10d, dword [rsp + 8]
rol edx, 0x10
add r14d, edx
xor r10d, r14d
ror r10d, 0xc
add eax, r10d
add r13d, eax
mov dword [rbp + 0x77], r13d
mov dword [rbp - 0x5d], r13d
xor r13d, edx
ror r13d, 8
lea rdx, [0x18005e150]
add r14d, r13d
xor r10d, r14d
ror r10d, 7
mov dword [rsp + 8], r10d
mov dword [rbp - 0x59], r10d
mov r10, qword [rbp - 0x71]
movzx eax, byte [r10 + 0xd]
lea r9, [rax*4]
movzx eax, byte [r10 + 0xc]
lea r8, [rax*4]
mov eax, dword [rbp + r8 - 0x19]
xor eax, dword [r9 + rdx]
mov edx, dword [rbp + 0x7f]
add eax, ecx
add edx, eax
mov dword [rbp + 0x7f], edx
lea rax, [0x18005e150]
mov eax, dword [r8 + rax]
xor edx, ebx
xor eax, dword [rbp + r9 - 0x19]
mov r8d, dword [rbp + 0x7f]
rol edx, 0x10
add esi, edx
xor ecx, esi
ror ecx, 0xc
add eax, ecx
add r8d, eax
movzx eax, byte [r10 + 9]
mov ebx, r8d
mov dword [rbp + 0x7f], r8d
xor ebx, edx
mov dword [rbp - 0x61], r8d
lea rdx, [0x18005e150]
ror ebx, 8
lea r9, [rax*4]
add esi, ebx
movzx eax, byte [r10 + 8]
xor ecx, esi
mov r10d, dword [rbp - 0x79]
ror ecx, 7
lea r8, [rax*4]
mov eax, dword [rbp + r8 - 0x19]
xor eax, dword [r9 + rdx]
mov edx, dword [rbp - 0x7d]
add eax, r10d
add edx, eax
lea rax, [0x18005e150]
mov eax, dword [r8 + rax]
xor eax, dword [rbp + r9 - 0x19]
mov dword [rbp - 0x7d], edx
xor edx, r11d
mov r8d, dword [rbp - 0x7d]
rol edx, 0x10
add r15d, edx
xor r10d, r15d
ror r10d, 0xc
add eax, r10d
add r8d, eax
mov r11d, r8d
mov dword [rbp - 0x7d], r8d
xor r11d, edx
mov dword [rbp - 0x69], r8d
mov rdx, qword [rbp - 0x71]
ror r11d, 8
add r15d, r11d
xor r10d, r15d
movzx eax, byte [rdx + 0xb]
ror r10d, 7
mov dword [rbp - 0x79], r10d
mov dword [rbp - 0x55], r10d
mov r10d, dword [rsp]
lea r9, [rax*4]
movzx eax, byte [rdx + 0xa]
lea rdx, [0x18005e150]
lea r8, [rax*4]
mov eax, dword [rbp + r8 - 0x19]
xor eax, dword [r9 + rdx]
add eax, dword [rsp + 4]
add r10d, eax
lea rax, [0x18005e150]
mov eax, dword [r8 + rax]
mov edx, r10d
xor eax, dword [rbp + r9 - 0x19]
xor edx, edi
mov edi, dword [rsp + 4]
rol edx, 0x10
add r12d, edx
xor edi, r12d
ror edi, 0xc
add eax, edi
add r10d, eax
mov dword [rsp], r10d
mov dword [rbp - 0x65], r10d
xor r10d, edx
ror r10d, 8
add r12d, r10d
mov r8, qword [rbp - 0x71]
xor edi, r12d
mov edx, dword [rsp + 8]
add r8, 0x10
ror edi, 7
sub qword [rbp - 0x29], 1
mov dword [rsp + 4], edi
mov dword [rbp - 0x51], edi
mov edi, dword [rbp - 0x7d]
mov qword [rbp - 0x71], r8
jne 0x180041860
mov r8d, 2
mov dword [rbp - 0x39], r10d
mov dword [rbp - 0x4d], ecx
lea r9, [rbp - 0x65]
mov rcx, qword [rbp + 0x67]
mov dword [rbp - 0x49], esi
lea r10d, [r8 + 2]
mov dword [rbp - 0x45], r14d
mov dword [rbp - 0x41], r15d
mov dword [rbp - 0x3d], r12d
mov dword [rbp - 0x35], ebx
mov dword [rbp - 0x31], r13d
mov dword [rbp - 0x2d], r11d
nop dword [rax]
nop word [rax + rax]
lea rax, [r8 - 2]
and eax, 7
lea r9, [r9 + 0x10]
lea rdx, [rcx + rax*4]
mov eax, dword [r9 - 0x14]
xor dword [rdx], eax
lea rax, [r8 - 1]
and eax, 7
lea rdx, [rcx + rax*4]
mov eax, dword [r9 - 0x10]
xor dword [rdx], eax
mov rax, r8
and eax, 7
lea rdx, [rcx + rax*4]
mov eax, dword [r9 - 0xc]
xor dword [rdx], eax
lea rax, [r8 + 1]
and eax, 7
add r8, 4
lea rdx, [rcx + rax*4]
mov eax, dword [r9 - 8]
xor dword [rdx], eax
sub r10, 1
jne 0x180041ca0
mov eax, dword [rcx + 0x20]
xor dword [rcx], eax
mov eax, dword [rcx + 0x24]
xor dword [rcx + 4], eax
mov eax, dword [rcx + 0x28]
xor dword [rcx + 8], eax
mov eax, dword [rcx + 0x2c]
xor dword [rcx + 0xc], eax
mov eax, dword [rcx + 0x20]
xor dword [rcx + 0x10], eax
mov eax, dword [rcx + 0x24]
xor dword [rcx + 0x14], eax
mov eax, dword [rcx + 0x28]
xor dword [rcx + 0x18], eax
mov eax, dword [rcx + 0x2c]
xor dword [rcx + 0x1c], eax
mov rbx, qword [rsp + 0xf8]
add rsp, 0xb0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret