Function at 0x180010a30
Capabilities:
Encode data using xor
Hash data using sha1

Disassembly:
mov r11, rsp
push rbp
push rbx
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x58]
sub rsp, 0x158
mov rax, qword [0x1800d73f8]
xor rax, rsp
mov qword [rbp + 0x40], rax
lea r12d, [rdx + 0x441]
mov r15, r9
mov rbx, r8
mov r13d, edx
mov r14, rcx
cmp edx, r12d
jae 0x180010e63
mov qword [r11 + 0x10], rsi
mov qword [r11 - 0x38], rdi
nop dword [rax + rax]
cmp r13d, 0x134
ja 0x180010da9
je 0x180010c36
mov eax, r13d
sub eax, 0x42
je 0x180010bf7
sub eax, 0x79
je 0x180010b1d
cmp eax, 0x5e
jne 0x180010e46
lea r9, [rsp + 0x40]
mov dword [rsp + 0x40], 0xfa
lea r8d, [rax + 0x58]
mov rdx, rbx
lea rcx, [rsp + 0x48]
call fcn.18001ee50
mov eax, dword [rsp + 0x48]
cmp eax, 1
jne 0x180010ae9
xor r8d, r8d
mov rdx, rbx
mov ecx, 0xb0
call fcn.18002bd60
jmp 0x180010e46
cmp eax, 2
jne 0x180010e46
xor eax, eax
xor r9d, r9d
mov qword [rsp + 0x38], rax
xor r8d, r8d
mov qword [rsp + 0x30], rbx
xor edx, edx
mov qword [rsp + 0x28], rax
lea ecx, [rax + 0x43]
mov qword [rsp + 0x20], rax
call fcn.180075820
jmp 0x180010e46
xor esi, esi
test dword [r15], 0xffffffc0
jbe 0x180010e46
nop dword [rax]
mov edi, 0x87
mov eax, edi
sub eax, 0x87
je 0x180010b6f
cmp eax, 1
jne 0x180010bd4
lea rax, [rsp + 0x68]
mov r9d, 0x39
mov qword [rsp + 0x28], rax
lea r8, [rbp]
xor edx, edx
mov qword [rsp + 0x20], 0
xor ecx, ecx
call fcn.1800977e0
jmp 0x180010bd4
lea rdx, [rbp]
mov r9d, 0x10
nop dword [rax]
mov r8d, 0x33
mov eax, r8d
sub eax, 0x31
je 0x180010bb6
sub eax, 1
je 0x180010b9f
cmp eax, 1
jne 0x180010bc1
movzx eax, byte [rbx]
mov dword [rdx], eax
jmp 0x180010bbe
movzx ecx, byte [rbx + 1]
movzx eax, byte [rbx]
shl ecx, 8
or ecx, eax
shl ecx, 8
or dword [rdx], ecx
add rbx, 2
jmp 0x180010bc1
movzx eax, byte [rbx]
shl eax, 0x18
or dword [rdx], eax
inc rbx
dec r8d
cmp r8d, 0x30
ja 0x180010b86
add rdx, 4
sub r9, 1
jne 0x180010b80
inc edi
cmp edi, 0x89
jb 0x180010b35
mov eax, dword [r15]
inc esi
shr eax, 6
cmp esi, eax
jb 0x180010b30
jmp 0x180010e46
mov dword [rsp + 0x50], 0x67452301
mov dword [rsp + 0x54], 0xefcdab89
mov dword [rsp + 0x58], 0x98badcfe
mov dword [rsp + 0x5c], 0x10325476
movups xmm0, xmmword [rsp + 0x50]
mov dword [rsp + 0x60], 0xc3d2e1f0
mov dword [rsp + 0x78], 0xc3d2e1f0
movups xmmword [rsp + 0x68], xmm0
jmp 0x180010e46
mov esi, 0x6e
nop dword [rax + rax]
cmp esi, 0x6e
je 0x180010d75
cmp esi, 0x70
je 0x180010d0b
cmp esi, 0x72
je 0x180010c92
cmp esi, 0x74
jne 0x180010d98
mov eax, dword [r15]
lea r9d, [rsi - 0x3b]
shr eax, 0x1d
lea r8, [rbp - 0x80]
mov dword [rbp - 0x44], eax
xor edx, edx
lea rax, [rsp + 0x68]
xor ecx, ecx
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], 0
call fcn.1800977e0
jmp 0x180010d98
mov ecx, dword [r15]
mov eax, ecx
and eax, 0x3f
cmp al, 0x37
jbe 0x180010cfc
mov edi, 0x78
cmp edi, 0x78
je 0x180010cc5
cmp edi, 0x124
jne 0x180010ceb
xorps xmm0, xmm0
movups xmmword [rbp - 0x80], xmm0
movups xmmword [rbp - 0x70], xmm0
movups xmmword [rbp - 0x60], xmm0
movups xmmword [rbp - 0x50], xmm0
jmp 0x180010ceb
lea rax, [rsp + 0x68]
mov r9d, 0x39
mov qword [rsp + 0x28], rax
lea r8, [rbp - 0x80]
xor edx, edx
mov qword [rsp + 0x20], 0
xor ecx, ecx
call fcn.1800977e0
add edi, 0xac
cmp edi, 0x1d0
jb 0x180010ca3
mov ecx, dword [r15]
lea eax, [rcx*8]
mov dword [rbp - 0x48], eax
jmp 0x180010d98
mov r11d, dword [r15]
mov r8d, 0
mov r10d, r11d
and r10d, 0x3f
jbe 0x180010d4d
xor r9d, r9d
mov rax, r9
lea rdx, [rbp - 0x80]
shr rax, 2
mov ecx, r8d
lea rdx, [rdx + rax*4]
and ecx, 3
movzx eax, byte [rbx]
inc r8d
shl ecx, 3
inc rbx
shl eax, cl
inc r9
xor dword [rdx], eax
cmp r8d, r10d
jb 0x180010d20
mov rax, r11
lea rdx, [rbp - 0x80]
shr rax, 2
and r11d, 3
and eax, 0xf
mov ecx, dword [rdx + rax*4]
lea rdx, [rdx + rax*4]
lea eax, [r11*8 + 7]
btc ecx, eax
mov dword [rdx], ecx
jmp 0x180010d98
xorps xmm0, xmm0
movaps xmmword [rbp - 0x40], xmm0
movaps xmmword [rbp - 0x30], xmm0
movaps xmmword [rbp - 0x20], xmm0
movaps xmmword [rbp - 0x10], xmm0
movaps xmmword [rbp - 0x80], xmm0
movaps xmmword [rbp - 0x70], xmm0
movaps xmmword [rbp - 0x60], xmm0
movaps xmmword [rbp - 0x50], xmm0
add esi, 2
cmp esi, 0x76
jb 0x180010c40
jmp 0x180010e46
mov eax, r13d
sub eax, 0x168
je 0x180010e3a
sub eax, 0x27
je 0x180010e1f
cmp eax, 0x1e
jne 0x180010e46
lea rcx, [rsp + 0x68]
lea r8d, [rax - 0x19]
nop
mov edx, 0xea
mov eax, edx
sub eax, 0xea
je 0x180010e00
sub eax, 1
je 0x180010df9
sub eax, 1
je 0x180010df3
cmp eax, 1
jne 0x180010e09
movzx eax, byte [rcx + 3]
jmp 0x180010e03
movzx eax, byte [rcx + 2]
jmp 0x180010e03
mov eax, dword [rcx]
shr eax, 8
jmp 0x180010e03
movzx eax, byte [rcx]
mov byte [r14], al
inc r14
inc edx
cmp edx, 0xee
jb 0x180010dd5
add rcx, 4
sub r8, 1
jne 0x180010dd0
jmp 0x180010e46
cmp dword [r15], 0
mov eax, dword [rbx + 8]
je 0x180010e31
bts eax, 0xf
mov dword [rbx + 8], eax
jmp 0x180010e46
btr eax, 0xf
mov dword [rbx + 8], eax
jmp 0x180010e46
movzx eax, word [rbx + 0xc]
or ax, 1
mov word [rbx + 0xc], ax
add r13d, 0x79
cmp r13d, r12d
jb 0x180010a80
mov rdi, qword [rsp + 0x150]
mov rsi, qword [rsp + 0x198]
mov rcx, qword [rbp + 0x40]
xor rcx, rsp
call fcn.1800aafa0
add rsp, 0x158
pop r15
pop r14
pop r13
pop r12
pop rbx
pop rbp
ret