Function at 0x18001bcb0
Capabilities:
Encode data using xor
Hash data using sha1 via x86 extensions

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0xf8
mov r13, r8
mov rbp, rdx
mov r12, rcx
movzx eax, byte [0x18366e048]
cmp al, 1
je 0x18001a8f0
movzx eax, al
cmp eax, 0xff
jne 0x18001a918
lea rcx, [rsp + 0xd8]
call fcn.18001bc40
lea rcx, [rsp + 0xe8]
call fcn.18001bc70
mov esi, dword [rsp + 0xe0]
mov eax, esi
not eax
test eax, 0xc000000
jne 0x18001a911
mov edi, dword [rsp + 0xe4]
mov ebx, dword [rsp + 0xec]
call fcn.18001bca0
mov r15, rax
shr ebx, 0x1d
call fcn.18001bca0
mov r14, rax
shr edi, 0x1a
and r14d, r15d
shr r14d, 1
and r14d, ebx
and r14d, edi
call fcn.18001bca0
shr eax, 1
mov edi, esi
shr edi, 9
and edi, eax
call fcn.18001bca0
and eax, 2
shr eax, 1
shr esi, 0x13
and esi, eax
and esi, edi
and esi, r14d
mov byte [0x18366e048], sil
je 0x18001a918
mov rcx, r12
mov rdx, rbp
mov r8, r13
add rsp, 0xf8
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
jmp 0x18001bcb0
mov byte [0x18366e048], 0
shl r13, 6
add r13, rbp
mov eax, dword [r12 + 0x10]
mov r8d, dword [r12 + 0xc]
mov edx, dword [r12 + 8]
mov r11d, dword [r12]
mov qword [rsp + 0xb8], r12
mov r10d, dword [r12 + 4]
mov qword [rsp + 0xc0], r13
nop word [rax + rax]
mov dword [rsp + 0xac], r11d
mov qword [rsp + 0xa0], r10
mov qword [rsp + 0xd0], rbp
mov esi, eax
mov dword [rsp + 0xb4], eax
mov ecx, edx
mov r9d, dword [rbp]
mov eax, dword [rbp + 4]
bswap r9d
bswap eax
mov r15d, eax
mov dword [rsp + 0x68], eax
mov eax, dword [rbp + 8]
bswap eax
mov r13, rax
mov r14d, dword [rbp + 0xc]
mov eax, r11d
rol eax, 5
mov rdi, rcx
xor ecx, r8d
and ecx, r10d
xor ecx, r8d
mov ebx, r8d
mov dword [rsp + 0xb0], r8d
add eax, esi
add eax, ecx
mov ecx, r10d
rol ecx, 0x1e
add eax, r9d
add eax, 0x5a827999
mov edx, eax
rol edx, 5
bswap r14d
mov qword [rsp + 0x50], r14
mov r8d, ecx
xor r8d, edi
and r8d, r11d
xor r8d, edi
mov qword [rsp + 0xc8], rdi
add r8d, ebx
add r8d, r15d
add r8d, edx
add r8d, 0x5a827999
mov r10d, r11d
rol r10d, 0x1e
mov edx, r8d
rol edx, 5
mov r11d, r10d
xor r11d, ecx
and r11d, eax
xor r11d, ecx
add r11d, edi
add r11d, r13d
add edx, r11d
add edx, 0x5a827999
rol eax, 0x1e
mov r11d, eax
xor r11d, r10d
and r11d, r8d
xor r11d, r10d
add ecx, r14d
add ecx, r11d
rol r8d, 0x1e
mov esi, edx
mov r11d, r8d
xor r11d, eax
and r11d, edx
rol edx, 5
add edx, ecx
add edx, 0x5a827999
mov ecx, dword [rbp + 0x10]
bswap ecx
mov dword [rsp + 0x34], ecx
xor r11d, eax
add r10d, ecx
add r10d, r11d
mov ecx, edx
rol ecx, 5
add ecx, r10d
add ecx, 0x5a827999
mov edi, dword [rbp + 0x14]
bswap edi
mov dword [rsp + 0x30], edi
rol esi, 0x1e
mov r10d, ecx
rol r10d, 5
mov r11d, esi
xor r11d, r8d
and r11d, edx
xor r11d, r8d
add eax, edi
add eax, r11d
lea r11d, [r10 + rax]
add r11d, 0x5a827999
mov eax, dword [rbp + 0x18]
bswap eax
mov qword [rsp + 0x40], rax
add eax, r8d
rol edx, 0x1e
mov r8d, edx
xor r8d, esi
and r8d, ecx
xor r8d, esi
add r8d, eax
mov eax, r11d
rol eax, 5
lea r10d, [rax + r8]
add r10d, 0x5a827999
mov eax, dword [rbp + 0x1c]
bswap eax
mov qword [rsp + 0x48], rax
rol ecx, 0x1e
add eax, esi
mov r8d, r10d
rol r8d, 5
mov esi, ecx
xor esi, edx
and esi, r11d
xor esi, edx
add esi, eax
lea eax, [r8 + rsi]
add eax, 0x5a827999
rol r11d, 0x1e
mov r8d, r11d
xor r8d, ecx
and r8d, r10d
mov r14d, dword [rbp + 0x20]
bswap r14d
xor r8d, ecx
add edx, r14d
add edx, r8d
mov r8d, eax
rol r8d, 5
add r8d, edx
add r8d, 0x5a827999
mov edx, r10d
rol edx, 0x1e
mov r15d, dword [rbp + 0x24]
bswap r15d
mov r10d, edx
xor r10d, r11d
and r10d, eax
xor r10d, r11d
add ecx, r15d
mov dword [rsp + 0x2c], r15d
add ecx, r10d
mov r10d, r8d
rol r10d, 5
add r10d, ecx
add r10d, 0x5a827999
mov ecx, dword [rbp + 0x28]
bswap ecx
mov qword [rsp + 0x38], rcx
add ecx, r11d
rol eax, 0x1e
mov r11d, eax
xor r11d, edx
and r11d, r8d
xor r11d, edx
add r11d, ecx
mov ecx, r10d
rol ecx, 5
add r11d, ecx
add r11d, 0x5a827999
mov ecx, dword [rbp + 0x2c]
bswap ecx
mov qword [rsp + 0x60], rcx
add ecx, edx
rol r8d, 0x1e
mov edx, r8d
xor edx, eax
and edx, r10d
xor edx, eax
add edx, ecx
mov ecx, r11d
rol ecx, 5
rol r10d, 0x1e
add ecx, edx
add ecx, 0x5a827999
mov edx, r10d
xor edx, r8d
and edx, r11d
mov esi, dword [rbp + 0x30]
bswap esi
mov qword [rsp + 0x88], rsi
xor edx, r8d
add eax, esi
add eax, edx
mov edx, ecx
rol edx, 5
add edx, eax
add edx, 0x5a827999
mov eax, r11d
mov esi, dword [rbp + 0x34]
bswap esi
rol eax, 0x1e
mov r11d, eax
xor r11d, r10d
and r11d, ecx
xor r11d, r10d
add r8d, esi
mov rbx, rsi
mov qword [rsp + 0x70], rsi
add r8d, r11d
mov r11d, edx
rol r11d, 5
add r8d, r11d
add r8d, 0x5a827999
mov edi, dword [rbp + 0x38]
bswap edi
rol ecx, 0x1e
add r10d, edi
mov r11d, r8d
rol r11d, 5
mov esi, ecx
xor esi, eax
and esi, edx
xor esi, eax
add esi, r10d
lea r10d, [r11 + rsi]
add r10d, 0x5a827999
mov r11d, dword [rbp + 0x3c]
bswap r11d
add eax, r11d
mov rsi, r11
mov qword [rsp + 0x58], r11
rol edx, 0x1e
mov r11d, edx
xor r11d, ecx
and r11d, r8d
xor r11d, ecx
add r11d, eax
mov eax, r10d
rol eax, 5
add r11d, eax
add r11d, 0x5a827999
mov rax, r13
xor r9d, eax
mov r13d, r14d
mov qword [rsp + 0x90], r14
xor r13d, ebx
xor r13d, r9d
mov r9d, dword [rsp + 0x68]
mov rbx, qword [rsp + 0x50]
xor r9d, ebx
mov r12d, r15d
xor r12d, edi
mov r15, rdi
mov qword [rsp + 0x78], rdi
xor r12d, r9d
mov edi, dword [rsp + 0x34]
xor eax, edi
mov r9, rax
mov rax, qword [rsp + 0x38]
xor eax, esi
xor eax, r9d
rol r8d, 0x1e
mov r9d, r8d
xor r9d, edx
and r9d, r10d
rol r13d, 1
mov ebp, r11d
rol ebp, 5
xor r9d, edx
add ecx, r13d
add ecx, r9d
add ecx, ebp
add ecx, 0x5a827999
rol r12d, 1
rol r10d, 0x1e
mov r9d, r10d
xor r9d, r8d
and r9d, r11d
xor r9d, r8d
add edx, r12d
add edx, r9d
mov r9d, ecx
rol r9d, 5
add r9d, edx
add r9d, 0x5a827999
rol eax, 1
mov qword [rsp + 0x68], rax
lea edx, [rax + r8]
rol r11d, 0x1e
mov r8d, r11d
xor r8d, r10d
and r8d, ecx
xor r8d, r10d
add r8d, edx
mov edx, r9d
rol edx, 5
add edx, r8d
add edx, 0x5a827999
mov rax, rbx
mov ebx, dword [rsp + 0x30]
xor eax, ebx
xor eax, dword [rsp + 0x60]
xor eax, r13d
rol eax, 1
add r10d, eax
mov rsi, rax
mov qword [rsp + 0x50], rax
rol ecx, 0x1e
mov r8d, ecx
xor r8d, r11d
and r8d, r9d
xor r8d, r11d
add r8d, r10d
rol r9d, 0x1e
mov rax, qword [rsp + 0x40]
xor edi, eax
xor eax, r14d
xor eax, r15d
xor eax, esi
rol eax, 1
mov rsi, rax
mov qword [rsp + 0x40], rax
mov r10d, edx
rol r10d, 0x1e
mov eax, r10d
xor eax, r9d
lea ebp, [rsi + r9]
xor r9d, ecx
xor r9d, edx
rol edx, 5
add edx, r8d
add edx, 0x5a827999
mov r8d, edi
mov r14, qword [rsp + 0x88]
xor r8d, r14d
xor r8d, r12d
rol r8d, 1
mov esi, r8d
mov r8d, edx
rol r8d, 5
add r11d, esi
mov dword [rsp + 0x34], esi
add r11d, r9d
add r11d, r8d
add r11d, 0x6ed9eba1
mov r8d, ebx
mov rbx, qword [rsp + 0x48]
xor r8d, ebx
mov r15, qword [rsp + 0x70]
xor r8d, r15d
mov rdi, qword [rsp + 0x68]
xor r8d, edi
rol r8d, 1
mov dword [rsp + 0x30], r8d
xor eax, edx
add ecx, r8d
add ecx, eax
xor ebx, dword [rsp + 0x2c]
xor ebx, dword [rsp + 0x58]
xor ebx, esi
rol ebx, 1
mov eax, r11d
rol eax, 5
rol edx, 0x1e
add ecx, eax
add ecx, 0x6ed9eba1
mov eax, ecx
rol eax, 5
lea r8d, [rbx + r10]
mov qword [rsp + 0x48], rbx
xor r10d, edx
xor r10d, r11d
add r10d, ebp
lea ebp, [rax + r10]
add ebp, 0x6ed9eba1
rol r11d, 0x1e
mov r9d, r11d
xor r9d, edx
xor r9d, ecx
add r9d, r8d
rol ecx, 0x1e
mov rax, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x90]
xor esi, eax
xor eax, r14d
xor eax, edi
xor eax, ebx
rol eax, 1
mov r8, rax
mov qword [rsp + 0x38], rax
mov r10d, ebp
rol r10d, 0x1e
mov eax, r10d
xor eax, ecx
lea r14d, [r8 + rcx]
xor ecx, r11d
xor ecx, ebp
mov r8d, ebp
rol r8d, 5
add r8d, r9d
add r8d, 0x6ed9eba1
xor esi, r13d
xor esi, dword [rsp + 0x30]
rol esi, 1
mov r9d, r8d
rol r9d, 5
add edx, esi
mov rdi, rsi
add edx, ecx
lea ecx, [r9 + rdx]
add ecx, 0x6ed9eba1
mov edx, dword [rsp + 0x2c]
mov r9, qword [rsp + 0x60]
xor edx, r9d
xor edx, r12d
mov rsi, qword [rsp + 0x40]
xor edx, esi
rol edx, 1
mov dword [rsp + 0x2c], edx
xor eax, r8d
add r11d, edx
add r11d, eax
mov rax, r9
xor eax, r15d
mov rbx, r15
xor eax, dword [rsp + 0x50]
xor eax, edi
mov r15, rdi
rol eax, 1
mov rdi, rax
mov eax, ecx
rol eax, 5
rol r8d, 0x1e
lea edx, [rax + r11]
add edx, 0x6ed9eba1
mov eax, edx
rol eax, 5
lea r11d, [rdi + r10]
mov qword [rsp + 0x60], rdi
xor r10d, r8d
xor r10d, ecx
add r10d, r14d
add eax, r10d
add eax, 0x6ed9eba1
rol ecx, 0x1e
mov r9d, ecx
xor r9d, r8d
xor r9d, edx
add r9d, r11d
rol edx, 0x1e
mov r10, qword [rsp + 0x78]
mov r14, qword [rsp + 0x88]
xor r14d, r10d
xor r10d, r13d
xor r10d, esi
xor r10d, edi
rol r10d, 1
mov rsi, r10
mov qword [rsp + 0x78], r10
mov r10d, eax
rol r10d, 0x1e
mov r11d, r10d
xor r11d, edx
lea ebp, [rsi + rdx]
xor edx, ecx
xor edx, eax
rol eax, 5
add eax, r9d
add eax, 0x6ed9eba1
mov esi, dword [rsp + 0x34]
xor r14d, esi
xor r14d, dword [rsp + 0x2c]
rol r14d, 1
mov r9d, eax
rol r9d, 5
add r8d, r14d
mov rdi, r14
mov qword [rsp + 0x88], r14
add r8d, edx
lea edx, [r9 + r8]
add edx, 0x6ed9eba1
mov r8, qword [rsp + 0x58]
mov r9, rbx
xor r9d, r8d
mov r14d, dword [rsp + 0x30]
xor r9d, r14d
mov rbx, qword [rsp + 0x38]
xor r9d, ebx
rol r9d, 1
mov qword [rsp + 0x70], r9
xor r11d, eax
add ecx, r9d
add ecx, r11d
mov r11, r8
xor r11d, r12d
xor r11d, dword [rsp + 0x48]
xor r11d, edi
rol r11d, 1
mov r8d, edx
rol r8d, 5
rol eax, 0x1e
lea r9d, [r8 + rcx]
add r9d, 0x6ed9eba1
lea r8d, [r11 + r10]
mov qword [rsp + 0x58], r11
xor r10d, eax
xor r10d, edx
add r10d, ebp
mov ecx, r9d
rol ecx, 5
add ecx, r10d
add ecx, 0x6ed9eba1
rol edx, 0x1e
mov r10d, edx
xor r10d, eax
xor r10d, r9d
rol r9d, 0x1e
add r10d, r8d
mov rdi, qword [rsp + 0x68]
xor r13d, edi
xor edi, esi
xor edi, ebx
xor edi, r11d
rol edi, 1
mov qword [rsp + 0x68], rdi
mov r8d, ecx
rol r8d, 0x1e
mov r11d, r8d
xor r11d, r9d
lea ebp, [rdi + r9]
xor r9d, edx
xor r9d, ecx
rol ecx, 5
add ecx, r10d
add ecx, 0x6ed9eba1
xor r13d, r15d
mov rbx, qword [rsp + 0x70]
xor r13d, ebx
rol r13d, 1
add eax, r13d
mov dword [rsp + 0x84], r13d
add eax, r9d
mov r9d, ecx
rol r9d, 5
add eax, r9d
add eax, 0x6ed9eba1
mov rdi, qword [rsp + 0x50]
xor r12d, edi
xor r12d, dword [rsp + 0x2c]
mov rsi, qword [rsp + 0x78]
xor r12d, esi
rol r12d, 1
xor r11d, ecx
add edx, r12d
mov qword [rsp + 0x98], r12
add edx, r11d
mov r9d, eax
rol r9d, 5
add edx, r9d
add edx, 0x6ed9eba1
xor edi, r14d
xor edi, dword [rsp + 0x60]
xor edi, r13d
rol edi, 1
rol ecx, 0x1e
mov r9d, edx
rol r9d, 5
lea r11d, [rdi + r8]
mov dword [rsp + 0x90], r11d
mov qword [rsp + 0x50], rdi
xor r8d, ecx
xor r8d, eax
rol eax, 0x1e
add r8d, ebp
mov r10d, eax
xor r10d, ecx
xor r10d, edx
rol edx, 0x1e
mov r11, qword [rsp + 0x40]
mov r14d, dword [rsp + 0x34]
xor r14d, r11d
xor r11d, r15d
xor r11d, esi
xor r11d, edi
rol r11d, 1
mov rsi, r11
mov qword [rsp + 0x40], r11
add r8d, r9d
add r8d, 0x6ed9eba1
mov r9d, r8d
rol r9d, 0x1e
mov r11d, r9d
xor r11d, edx
lea ebp, [rsi + rdx]
xor edx, eax
xor edx, r8d
rol r8d, 5
add r10d, dword [rsp + 0x90]
add r8d, r10d
add r8d, 0x6ed9eba1
mov esi, r14d
xor esi, dword [rsp + 0x88]
xor esi, r12d
rol esi, 1
add ecx, esi
mov dword [rsp + 0x34], esi
add ecx, edx
mov edx, r8d
rol edx, 5
add edx, ecx
add edx, 0x6ed9eba1
mov rcx, qword [rsp + 0x48]
mov edi, dword [rsp + 0x30]
xor edi, ecx
xor ecx, dword [rsp + 0x2c]
xor edi, ebx
xor ecx, dword [rsp + 0x58]
mov r14, qword [rsp + 0x68]
xor edi, r14d
rol edi, 1
xor ecx, esi
rol ecx, 1
mov rbx, rcx
xor r11d, r8d
add eax, edi
mov dword [rsp + 0x30], edi
add eax, r11d
mov ecx, edx
rol ecx, 5
add eax, ecx
add eax, 0x6ed9eba1
rol r8d, 0x1e
lea ecx, [rbx + r9]
mov qword [rsp + 0x48], rbx
xor r9d, r8d
xor r9d, edx
add r9d, ebp
mov r10d, eax
rol r10d, 5
rol edx, 0x1e
add r9d, r10d
add r9d, 0x6ed9eba1
mov r10d, edx
xor r10d, r8d
xor r10d, eax
add r10d, ecx
mov ecx, r9d
rol ecx, 5
lea esi, [rcx + r10]
add esi, 0x6ed9eba1
rol eax, 0x1e
mov r10d, eax
xor r10d, edx
and r10d, r9d
mov r11d, eax
and r11d, edx
xor r11d, r10d
mov rbp, qword [rsp + 0x38]
mov r13, r15
xor r13d, ebp
mov r15d, dword [rsp + 0x84]
xor r13d, r15d
xor r13d, edi
rol r13d, 1
add r8d, r13d
mov qword [rsp + 0x90], r13
add r8d, r11d
mov r10d, esi
rol r10d, 5
add r8d, r10d
add r8d, 0x8f1bbcdc
mov r12, qword [rsp + 0x88]
xor ebp, r12d
xor ebp, r14d
xor ebp, ebx
rol ebp, 1
mov qword [rsp + 0x38], rbp
rol r9d, 0x1e
mov r10d, r9d
xor r10d, eax
and r10d, esi
lea r11d, [rax + rbp]
and eax, r9d
xor eax, r10d
mov ebp, dword [rsp + 0x2c]
mov rcx, qword [rsp + 0x60]
xor ebp, ecx
xor ebp, dword [rsp + 0x98]
mov rbx, qword [rsp + 0x40]
xor ebp, ebx
rol ebp, 1
add edx, ebp
add edx, eax
mov eax, r8d
rol eax, 5
add edx, eax
add edx, 0x8f1bbcdc
xor ecx, dword [rsp + 0x70]
xor ecx, dword [rsp + 0x50]
xor ecx, r13d
rol ecx, 1
mov qword [rsp + 0x60], rcx
rol esi, 0x1e
mov eax, esi
xor eax, r9d
and eax, r8d
lea r10d, [rcx + r9]
and r9d, esi
xor r9d, eax
add r9d, r11d
mov eax, edx
rol eax, 5
rol r8d, 0x1e
add eax, r9d
add eax, 0x8f1bbcdc
mov r9d, r8d
xor r9d, esi
and r9d, edx
mov r11d, r8d
and r11d, esi
xor r11d, r9d
add r11d, r10d
mov r9d, eax
rol r9d, 5
lea edi, [r9 + r11]
add edi, 0x8f1bbcdc
rol edx, 0x1e
mov r10d, edx
xor r10d, r8d
and r10d, eax
mov r9, qword [rsp + 0x78]
xor r12d, r9d
xor r12d, dword [rsp + 0x34]
xor r12d, ebp
mov dword [rsp + 0x2c], ebp
rol r12d, 1
mov r11d, edx
and r11d, r8d
xor r11d, r10d
add esi, r12d
mov r14, r12
mov qword [rsp + 0x88], r12
add esi, r11d
mov r10d, edi
rol r10d, 5
lea ecx, [r10 + rsi]
add ecx, 0x8f1bbcdc
mov r10, r9
xor r10d, r15d
xor r10d, ebx
xor r10d, dword [rsp + 0x60]
rol r10d, 1
mov r9, r10
mov qword [rsp + 0x78], r10
mov r10d, eax
rol r10d, 0x1e
mov eax, r10d
xor eax, edx
and eax, edi
lea r11d, [r9 + rdx]
and edx, r10d
xor edx, eax
mov r9, qword [rsp + 0x58]
mov rbx, qword [rsp + 0x70]
xor ebx, r9d
mov r12, qword [rsp + 0x98]
xor r9d, r12d
mov r13d, dword [rsp + 0x30]
xor ebx, r13d
xor r9d, dword [rsp + 0x48]
mov rsi, qword [rsp + 0x38]
xor ebx, esi
rol ebx, 1
xor r9d, r14d
rol r9d, 1
mov qword [rsp + 0x58], r9
add r8d, ebx
mov qword [rsp + 0x70], rbx
add r8d, edx
mov eax, ecx
rol eax, 5
add eax, r8d
add eax, 0x8f1bbcdc
rol edi, 0x1e
mov edx, edi
xor edx, r10d
and edx, ecx
lea r8d, [r9 + r10]
and r10d, edi
xor r10d, edx
mov edx, eax
rol edx, 5
add r10d, r11d
add r10d, edx
add r10d, 0x8f1bbcdc
rol ecx, 0x1e
mov edx, ecx
xor edx, edi
and edx, eax
mov r11d, ecx
and r11d, edi
xor r11d, edx
add r11d, r8d
mov edx, r10d
rol edx, 5
rol eax, 0x1e
add edx, r11d
add edx, 0x8f1bbcdc
mov r8d, eax
xor r8d, ecx
and r8d, r10d
mov r11d, eax
and r11d, ecx
xor r11d, r8d
mov r9, qword [rsp + 0x68]
xor r15d, r9d
mov r14, qword [rsp + 0x90]
xor r15d, r14d
xor r15d, ebx
rol r15d, 1
mov r8d, edx
rol r8d, 5
add edi, r15d
mov dword [rsp + 0x84], r15d
add edi, r11d
add r8d, edi
add r8d, 0x8f1bbcdc
mov r11, qword [rsp + 0x50]
xor r12d, r11d
mov rbx, r9
xor ebx, dword [rsp + 0x34]
xor r12d, ebp
mov rbp, qword [rsp + 0x78]
xor r12d, ebp
rol r12d, 1
xor ebx, esi
xor ebx, dword [rsp + 0x58]
rol ebx, 1
mov r9d, r10d
rol r9d, 0x1e
mov r10d, r9d
xor r10d, eax
and r10d, edx
lea esi, [rbx + rax]
and eax, r9d
xor eax, r10d
add ecx, r12d
mov qword [rsp + 0x98], r12
add ecx, eax
mov eax, r8d
rol eax, 5
add eax, ecx
add eax, 0x8f1bbcdc
xor r11d, r13d
xor r11d, dword [rsp + 0x60]
xor r11d, r15d
rol r11d, 1
mov r15, r11
rol edx, 0x1e
mov ecx, edx
xor ecx, r9d
and ecx, r8d
lea r10d, [r11 + r9]
mov qword [rsp + 0x50], r11
and r9d, edx
xor r9d, ecx
add r9d, esi
mov ecx, eax
rol ecx, 5
add r9d, ecx
add r9d, 0x8f1bbcdc
rol r8d, 0x1e
mov ecx, r8d
xor ecx, edx
and ecx, eax
mov r11d, r8d
and r11d, edx
xor r11d, ecx
mov ecx, r9d
rol ecx, 5
add r11d, r10d
lea edi, [rcx + r11]
add edi, 0x8f1bbcdc
rol eax, 0x1e
mov r10d, eax
xor r10d, r8d
and r10d, r9d
mov r11d, eax
and r11d, r8d
xor r11d, r10d
mov ecx, dword [rsp + 0x34]
mov r10, qword [rsp + 0x40]
xor ecx, r10d
xor r10d, r14d
xor ecx, dword [rsp + 0x88]
xor ecx, r12d
rol ecx, 1
xor r10d, ebp
xor r10d, r15d
rol r10d, 1
mov r14, r10
mov qword [rsp + 0x40], r10
rol r9d, 0x1e
add edx, ecx
mov dword [rsp + 0x34], ecx
add edx, r11d
mov r10d, edi
rol r10d, 5
add edx, r10d
add edx, 0x8f1bbcdc
mov r10d, r9d
xor r10d, eax
and r10d, edi
lea r11d, [r14 + rax]
and eax, r9d
xor eax, r10d
mov r10, qword [rsp + 0x48]
xor r13d, r10d
mov rbp, qword [rsp + 0x70]
xor r13d, ebp
xor r13d, ebx
mov qword [rsp + 0x68], rbx
rol r13d, 1
add r8d, r13d
mov dword [rsp + 0x30], r13d
add r8d, eax
mov rax, r10
xor eax, dword [rsp + 0x2c]
xor eax, dword [rsp + 0x58]
xor eax, ecx
rol eax, 1
mov rcx, rax
mov qword [rsp + 0x48], rax
mov eax, edx
rol eax, 5
rol edi, 0x1e
add r8d, eax
add r8d, 0x8f1bbcdc
mov eax, edi
xor eax, r9d
and eax, edx
lea r10d, [rcx + r9]
and r9d, edi
xor r9d, eax
add r9d, r11d
mov eax, r8d
rol eax, 5
add r9d, eax
add r9d, 0x8f1bbcdc
rol edx, 0x1e
mov eax, edx
xor eax, edi
and eax, r8d
mov r11d, edx
and r11d, edi
xor r11d, eax
add r11d, r10d
mov eax, r9d
rol eax, 5
add eax, r11d
add eax, 0x8f1bbcdc
rol r8d, 0x1e
mov r10d, r8d
xor r10d, edx
and r10d, r9d
mov r11d, r8d
and r11d, edx
xor r11d, r10d
mov rsi, qword [rsp + 0x38]
mov r15, qword [rsp + 0x90]
xor r15d, esi
mov r14d, dword [rsp + 0x84]
xor r15d, r14d
xor r15d, r13d
rol r15d, 1
add edi, r15d
mov r13, r15
add edi, r11d
mov r10d, eax
rol r10d, 5
lea ecx, [r10 + rdi]
add ecx, 0x8f1bbcdc
mov r15, qword [rsp + 0x88]
xor esi, r15d
xor esi, ebx
mov rdi, qword [rsp + 0x48]
xor esi, edi
rol esi, 1
mov qword [rsp + 0x38], rsi
rol r9d, 0x1e
mov r10d, r9d
xor r10d, r8d
and r10d, eax
lea r11d, [rsi + r8]
and r8d, r9d
xor r8d, r10d
mov rsi, qword [rsp + 0x60]
mov r10d, dword [rsp + 0x2c]
xor r10d, esi
mov r12, qword [rsp + 0x98]
xor r10d, r12d
mov rbx, qword [rsp + 0x40]
xor r10d, ebx
rol r10d, 1
mov dword [rsp + 0x2c], r10d
add edx, r10d
add edx, r8d
mov r8d, ecx
rol r8d, 5
add r8d, edx
add r8d, 0x8f1bbcdc
xor esi, ebp
xor esi, dword [rsp + 0x50]
xor esi, r13d
rol esi, 1
rol eax, 0x1e
mov edx, eax
xor edx, r9d
and edx, ecx
lea r10d, [rsi + r9]
mov qword [rsp + 0x60], rsi
and r9d, eax
xor r9d, edx
add r9d, r11d
mov edx, r8d
rol edx, 5
rol ecx, 0x1e
add edx, r9d
add edx, 0x8f1bbcdc
mov r11d, ecx
xor r11d, eax
and r11d, r8d
mov r9d, ecx
and r9d, eax
xor r9d, r11d
add r9d, r10d
rol r8d, 0x1e
mov r10, qword [rsp + 0x78]
xor r15d, r10d
xor r10d, r14d
xor r10d, ebx
xor r10d, esi
rol r10d, 1
mov rsi, r10
mov qword [rsp + 0x78], r10
mov r10d, edx
rol r10d, 0x1e
mov r11d, r10d
xor r11d, r8d
lea ebp, [rsi + r8]
xor r8d, ecx
xor r8d, edx
rol edx, 5
add edx, r9d
add edx, 0x8f1bbcdc
mov esi, dword [rsp + 0x34]
xor r15d, esi
xor r15d, dword [rsp + 0x2c]
rol r15d, 1
mov r9d, edx
rol r9d, 5
add eax, r15d
add eax, r8d
add eax, r9d
add eax, 0xca62c1d6
mov r8, qword [rsp + 0x58]
mov rbx, qword [rsp + 0x70]
xor ebx, r8d
xor ebx, dword [rsp + 0x30]
mov r14, qword [rsp + 0x38]
xor ebx, r14d
rol ebx, 1
xor r11d, edx
add ecx, ebx
mov qword [rsp + 0x70], rbx
add ecx, r11d
xor r8d, r12d
xor r8d, edi
xor r8d, r15d
rol r8d, 1
mov r12, r8
mov r8d, eax
rol r8d, 5
rol edx, 0x1e
add ecx, r8d
add ecx, 0xca62c1d6
mov r8d, ecx
rol r8d, 5
lea r11d, [r12 + r10]
mov qword [rsp + 0x58], r12
xor r10d, edx
xor r10d, eax
add r10d, ebp
add r8d, r10d
add r8d, 0xca62c1d6
rol eax, 0x1e
mov r9d, eax
xor r9d, edx
xor r9d, ecx
add r9d, r11d
rol ecx, 0x1e
mov rdi, qword [rsp + 0x68]
mov ebp, dword [rsp + 0x84]
xor ebp, edi
xor edi, esi
xor edi, r14d
xor edi, r12d
rol edi, 1
mov qword [rsp + 0x68], rdi
mov r10d, r8d
rol r10d, 0x1e
mov r11d, r10d
xor r11d, ecx
lea esi, [rdi + rcx]
xor ecx, eax
xor ecx, r8d
rol r8d, 5
add r8d, r9d
add r8d, 0xca62c1d6
mov edi, ebp
xor edi, r13d
xor edi, ebx
rol edi, 1
mov r9d, r8d
rol r9d, 5
add edx, edi
mov ebx, edi
add edx, ecx
lea ecx, [r9 + rdx]
add ecx, 0xca62c1d6
mov r14, qword [rsp + 0x50]
mov r12, qword [rsp + 0x98]
xor r12d, r14d
xor r12d, dword [rsp + 0x2c]
mov rbp, qword [rsp + 0x78]
xor r12d, ebp
rol r12d, 1
xor r11d, r8d
add eax, r12d
add eax, r11d
xor r14d, dword [rsp + 0x30]
xor r14d, dword [rsp + 0x60]
xor r14d, edi
rol r14d, 1
mov edx, ecx
rol edx, 5
rol r8d, 0x1e
add eax, edx
add eax, 0xca62c1d6
mov edx, eax
rol edx, 5
lea r11d, [r14 + r10]
mov qword [rsp + 0x50], r14
xor r10d, r8d
xor r10d, ecx
add r10d, esi
lea edi, [rdx + r10]
add edi, 0xca62c1d6
rol ecx, 0x1e
mov r9d, ecx
xor r9d, r8d
xor r9d, eax
add r9d, r11d
rol eax, 0x1e
mov rdx, qword [rsp + 0x40]
mov esi, dword [rsp + 0x34]
xor esi, edx
xor edx, r13d
xor edx, ebp
xor edx, r14d
rol edx, 1
mov qword [rsp + 0x40], rdx
mov r10d, edi
rol r10d, 0x1e
mov r11d, r10d
xor r11d, eax
lea ebp, [rdx + rax]
xor eax, ecx
xor eax, edi
mov edx, edi
rol edx, 5
add edx, r9d
add edx, 0xca62c1d6
xor esi, r15d
xor esi, r12d
rol esi, 1
mov r9d, edx
rol r9d, 5
add r8d, esi
mov dword [rsp + 0x34], esi
add r8d, eax
lea eax, [r9 + r8]
add eax, 0xca62c1d6
mov r8d, dword [rsp + 0x30]
mov r9, qword [rsp + 0x48]
xor r8d, r9d
mov r14, qword [rsp + 0x70]
xor r8d, r14d
mov rdi, qword [rsp + 0x68]
xor r8d, edi
rol r8d, 1
mov dword [rsp + 0x30], r8d
xor r11d, edx
add ecx, r8d
add ecx, r11d
mov r8, r9
xor r8d, dword [rsp + 0x2c]
xor r8d, dword [rsp + 0x58]
xor r8d, esi
rol r8d, 1
mov r9, r8
mov r8d, eax
rol r8d, 5
rol edx, 0x1e
add ecx, r8d
add ecx, 0xca62c1d6
mov r8d, ecx
rol r8d, 5
lea r11d, [r9 + r10]
mov rsi, r9
mov qword [rsp + 0x48], r9
xor r10d, edx
xor r10d, eax
add r10d, ebp
add r8d, r10d
add r8d, 0xca62c1d6
rol eax, 0x1e
mov r9d, eax
xor r9d, edx
xor r9d, ecx
add r9d, r11d
rol ecx, 0x1e
mov r10, qword [rsp + 0x38]
xor r13d, r10d
xor r10d, r15d
xor r10d, edi
xor r10d, esi
rol r10d, 1
mov rsi, r10
mov qword [rsp + 0x38], r10
mov r10d, r8d
rol r10d, 0x1e
mov r11d, r10d
xor r11d, ecx
lea ebp, [rsi + rcx]
xor ecx, eax
xor ecx, r8d
rol r8d, 5
add r8d, r9d
add r8d, 0xca62c1d6
mov rsi, qword [rsp + 0x60]
mov r9d, dword [rsp + 0x2c]
xor r9d, esi
xor esi, r14d
xor esi, dword [rsp + 0x50]
xor r13d, ebx
mov edi, dword [rsp + 0x30]
xor r13d, edi
rol r13d, 1
xor esi, r13d
add r13d, edx
mov edx, r8d
rol edx, 5
add r13d, ecx
add edx, r13d
add edx, 0xca62c1d6
mov r14d, r9d
xor r14d, r12d
mov r13, qword [rsp + 0x40]
xor r14d, r13d
rol r14d, 1
xor r11d, r8d
add eax, r14d
add eax, r11d
rol esi, 1
mov ecx, edx
rol ecx, 5
rol r8d, 0x1e
lea r9d, [rcx + rax]
add r9d, 0xca62c1d6
lea eax, [rsi + r10]
xor r10d, r8d
xor r10d, edx
add r10d, ebp
mov rbp, qword [rsp + 0xd0]
mov ecx, r9d
rol ecx, 5
add ecx, r10d
add ecx, 0xca62c1d6
rol edx, 0x1e
mov r10d, edx
xor r10d, r8d
xor r10d, r9d
add r10d, eax
mov eax, ecx
rol eax, 5
add eax, r10d
add eax, 0xca62c1d6
mov r10, qword [rsp + 0x78]
xor r15d, r10d
xor ebx, r10d
mov r10, qword [rsp + 0x58]
mov r11, qword [rsp + 0x70]
xor r11d, r10d
xor r12d, r10d
xor r15d, dword [rsp + 0x34]
xor r11d, edi
mov r10, r11
xor ebx, r13d
xor r12d, dword [rsp + 0x48]
xor r15d, r14d
xor r10d, dword [rsp + 0x38]
xor ebx, esi
rol r9d, 0x1e
rol r15d, 1
xor r12d, r15d
add r15d, r8d
mov r8d, r9d
xor r8d, edx
xor r8d, ecx
add r15d, r8d
mov r8d, eax
rol r8d, 5
add r8d, r15d
add r8d, 0xca62c1d6
rol r10d, 1
rol ebx, 1
rol r12d, 1
rol ecx, 0x1e
add r10d, edx
mov edx, r8d
rol edx, 5
add ebx, r9d
xor r9d, ecx
xor r9d, eax
add r10d, r9d
add edx, r10d
add edx, 0xca62c1d6
rol eax, 0x1e
mov r9d, edx
rol r9d, 5
mov r10d, eax
xor r10d, ecx
xor r10d, r8d
add r10d, ebx
lea r11d, [r9 + r10]
add r11d, 0xca62c1d6
add r10d, r9d
add r12d, dword [rsp + 0xac]
rol r8d, 0x1e
add r12d, ecx
mov ecx, r8d
xor ecx, eax
xor ecx, edx
add r12d, ecx
rol r11d, 5
add r11d, r12d
add r11d, 0xca62c1d6
mov rcx, qword [rsp + 0xa0]
add ecx, r10d
add ecx, 0xca62c1d6
mov qword [rsp + 0xa0], rcx
mov r10, qword [rsp + 0xa0]
rol edx, 0x1e
add edx, dword [rsp + 0xc8]
add r8d, dword [rsp + 0xb0]
add eax, dword [rsp + 0xb4]
add rbp, 0x40
mov r9, qword [rsp + 0xc0]
cmp rbp, r9
jne 0x18001a950
mov rcx, qword [rsp + 0xb8]
mov dword [rcx], r11d
mov dword [rcx + 4], r10d
mov dword [rcx + 8], edx
mov dword [rcx + 0xc], r8d
mov dword [rcx + 0x10], eax
add rsp, 0xf8
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
sub rsp, 0x58
movaps xmmword [rsp + 0x40], xmm10
movaps xmmword [rsp + 0x30], xmm9
movaps xmmword [rsp + 0x20], xmm8
movaps xmmword [rsp + 0x10], xmm7
movaps xmmword [rsp], xmm6
movdqu xmm0, xmmword [rcx]
pshufd xmm3, xmm0, 0xff
pinsrd xmm3, dword [rcx + 8], 1
pinsrd xmm3, dword [rcx + 4], 2
pinsrd xmm3, dword [rcx], 3
movd xmm7, dword [rcx + 0x10]
pslldq xmm7, 0xc
shl r8, 6
add r8, rdx
movdqa xmm0, xmmword [0x18005b4b0]
nop word cs:[rax + rax]
movdqa xmm1, xmm7
movdqa xmm2, xmm3
movdqu xmm6, xmmword [rdx]
movdqu xmm5, xmmword [rdx + 0x10]
movdqu xmm4, xmmword [rdx + 0x20]
movdqu xmm3, xmmword [rdx + 0x30]
pshufb xmm6, xmm0
pshufb xmm5, xmm0
pshufb xmm4, xmm0
pshufb xmm3, xmm0
paddd xmm7, xmm6
movdqa xmm8, xmm2
sha1rnds4 xmm8, xmm7, 0
movdqa xmm7, xmm2
sha1nexte xmm7, xmm5
movaps xmm9, xmm8
sha1rnds4 xmm9, xmm7, 0
sha1nexte xmm8, xmm4
movaps xmm7, xmm9
sha1rnds4 xmm7, xmm8, 0
sha1nexte xmm9, xmm3
movaps xmm8, xmm7
sha1rnds4 xmm8, xmm9, 0
sha1msg1 xmm6, xmm5
pxor xmm6, xmm4
sha1msg2 xmm6, xmm3
sha1nexte xmm7, xmm6
movaps xmm9, xmm8
sha1rnds4 xmm9, xmm7, 0
sha1msg1 xmm5, xmm4
pxor xmm5, xmm3
sha1msg2 xmm5, xmm6
sha1nexte xmm8, xmm5
movaps xmm7, xmm9
sha1rnds4 xmm7, xmm8, 1
sha1msg1 xmm4, xmm3
xorps xmm4, xmm6
sha1msg2 xmm4, xmm5
sha1nexte xmm9, xmm4
movaps xmm8, xmm7
sha1rnds4 xmm8, xmm9, 1
sha1msg1 xmm3, xmm6
xorps xmm3, xmm5
sha1msg2 xmm3, xmm4
sha1nexte xmm7, xmm3
movaps xmm9, xmm8
sha1rnds4 xmm9, xmm7, 1
sha1msg1 xmm6, xmm5
xorps xmm6, xmm4
sha1msg2 xmm6, xmm3
sha1nexte xmm8, xmm6
movaps xmm7, xmm9
sha1rnds4 xmm7, xmm8, 1
sha1msg1 xmm5, xmm4
xorps xmm5, xmm3
sha1msg2 xmm5, xmm6
sha1nexte xmm9, xmm5
movaps xmm8, xmm7
sha1rnds4 xmm8, xmm9, 1
sha1msg1 xmm4, xmm3
xorps xmm4, xmm6
sha1msg2 xmm4, xmm5
sha1nexte xmm7, xmm4
movaps xmm9, xmm8
sha1rnds4 xmm9, xmm7, 2
sha1msg1 xmm3, xmm6
xorps xmm3, xmm5
sha1msg2 xmm3, xmm4
sha1nexte xmm8, xmm3
movaps xmm7, xmm9
sha1rnds4 xmm7, xmm8, 2
sha1msg1 xmm6, xmm5
xorps xmm6, xmm4
sha1msg2 xmm6, xmm3
sha1nexte xmm9, xmm6
movaps xmm8, xmm7
sha1rnds4 xmm8, xmm9, 2
sha1msg1 xmm5, xmm4
xorps xmm5, xmm3
sha1msg2 xmm5, xmm6
sha1nexte xmm7, xmm5
movaps xmm9, xmm8
sha1rnds4 xmm9, xmm7, 2
sha1msg1 xmm4, xmm3
xorps xmm4, xmm6
sha1msg2 xmm4, xmm5
sha1nexte xmm8, xmm4
movaps xmm7, xmm9
sha1rnds4 xmm7, xmm8, 2
sha1msg1 xmm3, xmm6
xorps xmm3, xmm5
sha1msg2 xmm3, xmm4
sha1nexte xmm9, xmm3
movaps xmm8, xmm7
sha1rnds4 xmm8, xmm9, 3
sha1msg1 xmm6, xmm5
xorps xmm6, xmm4
sha1msg2 xmm6, xmm3
sha1nexte xmm7, xmm6
movaps xmm9, xmm8
sha1rnds4 xmm9, xmm7, 3
sha1msg1 xmm5, xmm4
xorps xmm5, xmm3
sha1msg2 xmm5, xmm6
sha1nexte xmm8, xmm5
movaps xmm10, xmm9
sha1rnds4 xmm10, xmm8, 3
sha1msg1 xmm4, xmm3
xorps xmm4, xmm6
sha1msg2 xmm4, xmm5
sha1nexte xmm9, xmm4
movaps xmm7, xmm10
sha1rnds4 xmm7, xmm9, 3
sha1msg1 xmm3, xmm6
xorps xmm3, xmm5
sha1msg2 xmm3, xmm4
sha1nexte xmm10, xmm3
movaps xmm3, xmm7
sha1rnds4 xmm3, xmm10, 3
paddd xmm3, xmm2
sha1nexte xmm7, xmm1
add rdx, 0x40
cmp rdx, r8
jne 0x18001bd10
pshufd xmm0, xmm3, 0x1b
movdqu xmmword [rcx], xmm0
pextrd dword [rcx + 0x10], xmm7, 3
movaps xmm6, xmmword [rsp]
movaps xmm7, xmmword [rsp + 0x10]
movaps xmm8, xmmword [rsp + 0x20]
movaps xmm9, xmmword [rsp + 0x30]
movaps xmm10, xmmword [rsp + 0x40]
add rsp, 0x58
ret