Function at 0x1800ef570
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, 0xc8
mov r13, r8
mov rbp, rdx
mov r12, rcx
movzx eax, byte [0x1801f9018]
cmp al, 1
je 0x1800ee1c0
movzx eax, al
cmp eax, 0xff
jne 0x1800ee1e8
lea rcx, [rsp + 0xa8]
call fcn.1800ef500
lea rcx, [rsp + 0xb8]
call fcn.1800ef530
mov esi, dword [rsp + 0xb0]
mov eax, esi
not eax
test eax, 0xc000000
jne 0x1800ee1e1
mov edi, dword [rsp + 0xb4]
mov ebx, dword [rsp + 0xbc]
call fcn.1800ef560
mov r15, rax
shr ebx, 0x1d
call fcn.1800ef560
mov r14, rax
shr edi, 0x1a
and r14d, r15d
shr r14d, 1
and r14d, ebx
and r14d, edi
call fcn.1800ef560
shr eax, 1
mov ebx, esi
shr ebx, 9
and ebx, eax
call fcn.1800ef560
and eax, 2
shr eax, 1
shr esi, 0x13
and esi, eax
and esi, ebx
and esi, r14d
mov byte [0x1801f9018], sil
je 0x1800ee1e8
mov rcx, r12
mov rdx, rbp
mov r8, r13
add rsp, 0xc8
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
jmp 0x1800ef570
mov byte [0x1801f9018], 0
mov esi, dword [r12]
mov eax, dword [r12 + 0x10]
mov qword [rsp + 0x88], r12
movdqu xmm0, xmmword [r12]
pshufd xmm1, xmm0, 0xff
movd edx, xmm1
pshufd xmm1, xmm0, 0xee
movd r11d, xmm1
pshufd xmm0, xmm0, 0x55
movd r10d, xmm0
shl r13, 6
add r13, rbp
mov qword [rsp + 0x90], r13
nop dword [rax + rax]
mov qword [rsp + 0xa0], r10
mov qword [rsp + 0x70], rbp
mov dword [rsp + 0x84], eax
mov r9d, dword [rbp]
mov r12d, dword [rbp + 4]
mov r8d, dword [rbp + 8]
mov ebx, dword [rbp + 0xc]
mov ecx, esi
rol ecx, 5
bswap r9d
mov r14d, dword [rbp + 0x10]
mov edi, edx
xor edx, r11d
bswap r12d
and edx, r10d
xor edx, edi
mov dword [rsp + 0x80], edi
add ecx, eax
bswap r8d
mov eax, r10d
rol eax, 0x1e
bswap ebx
mov r15d, ebx
add ecx, r9d
mov ebx, esi
mov esi, eax
xor esi, r11d
mov r10, r11
lea r11d, [rdx + rcx]
add r11d, 0x5a827999
mov edx, ebx
mov dword [rsp + 0x7c], ebx
and esi, ebx
xor esi, r10d
mov rbx, r10
mov qword [rsp + 0x98], r10
add esi, edi
mov ecx, r11d
add esi, r12d
mov r10d, edx
rol ecx, 5
rol r10d, 0x1e
mov edx, eax
add ecx, esi
add ecx, 0x5a827999
xor edx, r10d
and edx, r11d
xor edx, eax
add edx, ebx
add edx, r8d
mov esi, ecx
rol esi, 5
add edx, esi
add edx, 0x5a827999
rol r11d, 0x1e
mov esi, r11d
xor esi, r10d
and esi, ecx
add eax, r15d
xor esi, r10d
add eax, esi
mov esi, edx
rol esi, 5
bswap r14d
mov dword [rsp + 0x34], r14d
rol ecx, 0x1e
add eax, esi
add eax, 0x5a827999
mov esi, ecx
xor esi, r11d
and esi, edx
xor esi, r11d
add r10d, r14d
add r10d, esi
mov esi, dword [rbp + 0x14]
bswap esi
mov edi, esi
mov dword [rsp + 0x28], esi
rol edx, 0x1e
mov esi, edx
xor esi, ecx
and esi, eax
xor esi, ecx
add r11d, edi
add r11d, esi
mov esi, eax
rol esi, 5
add r10d, esi
add r10d, 0x5a827999
mov esi, r10d
rol esi, 5
add esi, r11d
add esi, 0x5a827999
mov r11d, dword [rbp + 0x18]
bswap r11d
mov edi, r11d
mov dword [rsp + 0x44], r11d
rol eax, 0x1e
mov r11d, eax
xor r11d, edx
and r11d, r10d
xor r11d, edx
add ecx, edi
add ecx, r11d
mov r11d, dword [rbp + 0x1c]
bswap r11d
mov edi, r11d
mov dword [rsp + 0x48], r11d
rol r10d, 0x1e
mov r11d, r10d
xor r11d, eax
and r11d, esi
xor r11d, eax
add edx, edi
add edx, r11d
mov r11d, esi
rol r11d, 5
add ecx, r11d
add ecx, 0x5a827999
mov r11d, ecx
rol r11d, 5
add edx, r11d
add edx, 0x5a827999
mov r11d, dword [rbp + 0x20]
bswap r11d
mov rdi, r11
rol esi, 0x1e
mov r11d, esi
xor r11d, r10d
and r11d, ecx
xor r11d, r10d
add eax, edi
mov rbx, rdi
mov qword [rsp + 0x68], rdi
add eax, r11d
mov r11d, dword [rbp + 0x24]
bswap r11d
mov edi, r11d
rol ecx, 0x1e
mov r11d, ecx
xor r11d, esi
and r11d, edx
xor r11d, esi
add r10d, edi
mov r13d, edi
mov dword [rsp + 0x38], edi
add r10d, r11d
mov r11d, edx
rol r11d, 5
add eax, r11d
add eax, 0x5a827999
mov r11d, dword [rbp + 0x34]
bswap r11d
xor r9d, r8d
mov edi, ebx
mov rbx, r11
mov qword [rsp + 0x60], r11
xor edi, ebx
xor edi, r9d
mov dword [rsp + 0x50], edi
mov r9, qword [rsp + 0x70]
mov r11d, dword [r9 + 0x28]
bswap r11d
rol edx, 0x1e
mov r9d, edx
xor r9d, ecx
and r9d, eax
xor r9d, ecx
add esi, r11d
mov edi, r11d
mov dword [rsp + 0x2c], r11d
add esi, r9d
mov r9d, eax
rol r9d, 5
add r10d, r9d
add r10d, 0x5a827999
mov r9, qword [rsp + 0x70]
mov ebp, dword [r9 + 0x38]
bswap ebp
mov r14d, r15d
mov r11d, r12d
xor r11d, r15d
mov r12d, r13d
xor r12d, ebp
mov dword [rsp + 0x3c], ebp
xor r12d, r11d
mov r9, qword [rsp + 0x70]
mov r15d, dword [r9 + 0x2c]
bswap r15d
rol eax, 0x1e
mov r9d, eax
xor r9d, edx
and r9d, r10d
xor r9d, edx
add ecx, r15d
mov dword [rsp + 0x40], r15d
add ecx, r9d
mov r9d, r10d
rol r9d, 5
lea r11d, [r9 + rsi]
add r11d, 0x5a827999
mov r9, qword [rsp + 0x70]
mov esi, dword [r9 + 0x3c]
bswap esi
mov r13d, dword [rsp + 0x34]
xor r8d, r13d
mov r9d, edi
xor r9d, esi
mov edi, esi
mov dword [rsp + 0x30], esi
xor r9d, r8d
mov esi, r9d
mov r8, qword [rsp + 0x70]
mov r9d, dword [r8 + 0x30]
bswap r9d
mov qword [rsp + 0x58], r9
rol r10d, 0x1e
mov r8d, r10d
xor r8d, eax
and r8d, r11d
xor r8d, eax
add edx, r9d
add edx, r8d
mov r8d, r11d
rol r8d, 5
add r8d, ecx
add r8d, 0x5a827999
rol r11d, 0x1e
mov ecx, r11d
xor ecx, r10d
and ecx, r8d
xor ecx, r10d
add eax, ebx
add eax, ecx
mov ecx, r8d
rol ecx, 5
lea r9d, [rcx + rdx]
add r9d, 0x5a827999
rol r8d, 0x1e
mov ecx, r8d
xor ecx, r11d
and ecx, r9d
xor ecx, r11d
add r10d, ebp
add r10d, ecx
mov ecx, r9d
rol ecx, 5
add eax, ecx
add eax, 0x5a827999
mov ecx, eax
rol ecx, 5
add ecx, r10d
add ecx, 0x5a827999
rol r9d, 0x1e
mov r10d, r14d
mov ebp, dword [rsp + 0x28]
xor r10d, ebp
add r11d, edi
mov r14d, dword [rsp + 0x50]
rol r14d, 1
mov edx, r9d
xor edx, r8d
xor r10d, r15d
rol r12d, 1
and edx, eax
mov ebx, esi
rol ebx, 1
rol eax, 0x1e
xor r10d, r14d
mov dword [rsp + 0x50], r14d
rol r10d, 1
mov r15d, r10d
xor edx, r8d
add r11d, edx
mov edx, ecx
rol edx, 5
add edx, r11d
add edx, 0x5a827999
mov r10d, eax
xor r10d, r9d
and r10d, ecx
add r8d, r14d
rol ecx, 0x1e
xor r10d, r9d
add r8d, r10d
mov r10d, edx
rol r10d, 5
add r8d, r10d
add r8d, 0x5a827999
mov r10d, ecx
xor r10d, eax
and r10d, edx
add r9d, r12d
rol edx, 0x1e
xor r10d, eax
add r9d, r10d
mov r10d, r8d
rol r10d, 5
add r9d, r10d
add r9d, 0x5a827999
mov r10d, edx
xor r10d, ecx
and r10d, r8d
add eax, ebx
mov dword [rsp + 0x54], ebx
rol r8d, 0x1e
xor r10d, ecx
add eax, r10d
mov r10d, r9d
rol r10d, 5
add eax, r10d
add eax, 0x5a827999
mov r10d, r8d
xor r10d, edx
and r10d, r9d
xor r10d, edx
add ecx, r15d
add ecx, r10d
mov r10d, eax
rol r10d, 5
add ecx, r10d
add ecx, 0x5a827999
mov edi, r13d
mov r13d, dword [rsp + 0x44]
xor edi, r13d
xor edi, dword [rsp + 0x58]
xor edi, r12d
rol r9d, 0x1e
rol edi, 1
mov r10d, r9d
xor r10d, r8d
xor r10d, eax
add edx, edi
mov dword [rsp + 0x34], edi
add edx, r10d
mov r10d, ecx
rol r10d, 5
add edx, r10d
add edx, 0x6ed9eba1
mov esi, dword [rsp + 0x48]
xor ebp, esi
xor ebp, dword [rsp + 0x60]
xor ebp, ebx
rol ebp, 1
rol eax, 0x1e
mov r10d, eax
xor r10d, r9d
xor r10d, ecx
add r8d, ebp
mov ebx, ebp
mov dword [rsp + 0x28], ebp
add r8d, r10d
mov r10d, edx
rol r10d, 5
add r8d, r10d
add r8d, 0x6ed9eba1
mov rbp, qword [rsp + 0x68]
xor r13d, ebp
xor r13d, dword [rsp + 0x3c]
xor r13d, r15d
mov dword [rsp + 0x4c], r15d
rol r13d, 1
rol ecx, 0x1e
mov r10d, ecx
xor r10d, eax
xor r10d, edx
add r9d, r13d
mov dword [rsp + 0x44], r13d
add r9d, r10d
mov r10d, r8d
rol r10d, 5
add r9d, r10d
add r9d, 0x6ed9eba1
mov r14d, dword [rsp + 0x38]
xor esi, r14d
xor esi, dword [rsp + 0x30]
xor esi, edi
rol esi, 1
mov dword [rsp + 0x48], esi
rol edx, 0x1e
mov r10d, edx
xor r10d, ecx
xor r10d, r8d
add eax, esi
add eax, r10d
mov r10d, r9d
rol r10d, 5
add eax, r10d
add eax, 0x6ed9eba1
mov r10, rbp
mov ebp, dword [rsp + 0x2c]
xor r10d, ebp
xor r10d, dword [rsp + 0x50]
xor r10d, ebx
rol r8d, 0x1e
rol r10d, 1
mov r11, r10
mov r10d, r8d
xor r10d, edx
xor r10d, r9d
add ecx, r11d
mov rsi, r11
mov qword [rsp + 0x68], r11
add ecx, r10d
mov r10d, eax
rol r10d, 5
add r10d, ecx
add r10d, 0x6ed9eba1
mov edi, dword [rsp + 0x40]
xor r14d, edi
xor r14d, r12d
xor r14d, r13d
rol r14d, 1
rol r9d, 0x1e
mov ecx, r9d
xor ecx, r8d
xor ecx, eax
add edx, r14d
mov r11d, r14d
mov dword [rsp + 0x38], r14d
add edx, ecx
mov ecx, r10d
rol ecx, 5
add edx, ecx
add edx, 0x6ed9eba1
mov r13d, ebp
mov rbp, qword [rsp + 0x58]
xor r13d, ebp
xor r13d, dword [rsp + 0x54]
mov r14d, dword [rsp + 0x48]
xor r13d, r14d
rol r13d, 1
rol eax, 0x1e
mov ecx, eax
xor ecx, r9d
xor ecx, r10d
add r8d, r13d
mov dword [rsp + 0x2c], r13d
add r8d, ecx
mov ecx, edx
rol ecx, 5
add r8d, ecx
add r8d, 0x6ed9eba1
mov rbx, qword [rsp + 0x60]
xor edi, ebx
xor edi, r15d
xor edi, esi
rol edi, 1
rol r10d, 0x1e
mov ecx, r10d
xor ecx, eax
xor ecx, edx
add r9d, edi
mov dword [rsp + 0x40], edi
add r9d, ecx
mov ecx, r8d
rol ecx, 5
add ecx, r9d
add ecx, 0x6ed9eba1
mov esi, dword [rsp + 0x3c]
mov r15, rbp
xor r15d, esi
xor r15d, dword [rsp + 0x34]
xor r15d, r11d
rol edx, 0x1e
rol r15d, 1
mov r9d, edx
xor r9d, r10d
xor r9d, r8d
add eax, r15d
add eax, r9d
mov r9d, ecx
rol r9d, 5
add r9d, eax
add r9d, 0x6ed9eba1
mov ebp, dword [rsp + 0x30]
xor ebx, ebp
xor ebx, dword [rsp + 0x28]
xor ebx, r13d
rol ebx, 1
rol r8d, 0x1e
mov eax, r8d
xor eax, edx
xor eax, ecx
add r10d, ebx
mov qword [rsp + 0x60], rbx
add r10d, eax
mov eax, r9d
rol eax, 5
add r10d, eax
add r10d, 0x6ed9eba1
mov eax, esi
mov r13d, dword [rsp + 0x50]
xor eax, r13d
xor eax, dword [rsp + 0x44]
xor eax, edi
rol eax, 1
mov r11d, eax
rol ecx, 0x1e
mov eax, ecx
xor eax, r8d
xor eax, r9d
add edx, r11d
mov esi, r11d
mov dword [rsp + 0x3c], r11d
add edx, eax
mov eax, r10d
rol eax, 5
add edx, eax
add edx, 0x6ed9eba1
mov eax, ebp
xor eax, r12d
xor eax, r14d
xor eax, r15d
mov qword [rsp + 0x58], r15
rol eax, 1
mov r11d, eax
mov dword [rsp + 0x30], eax
rol r9d, 0x1e
mov eax, r9d
xor eax, ecx
xor eax, r10d
add r8d, r11d
add r8d, eax
mov eax, edx
rol eax, 5
add r8d, eax
add r8d, 0x6ed9eba1
mov ebp, r13d
mov r14d, dword [rsp + 0x54]
xor ebp, r14d
xor ebp, dword [rsp + 0x68]
xor ebp, ebx
rol r10d, 0x1e
rol ebp, 1
mov eax, r10d
xor eax, r9d
xor eax, edx
add ecx, ebp
mov dword [rsp + 0x50], ebp
add ecx, eax
mov eax, r8d
rol eax, 5
lea r11d, [rax + rcx]
add r11d, 0x6ed9eba1
mov edi, dword [rsp + 0x4c]
xor r12d, edi
xor r12d, dword [rsp + 0x38]
xor r12d, esi
rol r12d, 1
rol edx, 0x1e
mov eax, edx
xor eax, r10d
xor eax, r8d
add r9d, r12d
add r9d, eax
mov eax, r11d
rol eax, 5
add eax, r9d
add eax, 0x6ed9eba1
mov esi, r14d
mov r14d, dword [rsp + 0x34]
xor esi, r14d
xor esi, dword [rsp + 0x2c]
mov r13d, dword [rsp + 0x30]
xor esi, r13d
rol esi, 1
rol r8d, 0x1e
mov ecx, r8d
xor ecx, edx
xor ecx, r11d
add r10d, esi
mov ebx, esi
mov dword [rsp + 0x54], esi
add r10d, ecx
mov ecx, eax
rol ecx, 5
lea r9d, [rcx + r10]
add r9d, 0x6ed9eba1
mov ecx, edi
mov esi, dword [rsp + 0x28]
xor ecx, esi
xor ecx, dword [rsp + 0x40]
xor ecx, ebp
rol ecx, 1
mov ebp, ecx
rol r11d, 0x1e
mov ecx, r11d
xor ecx, r8d
xor ecx, eax
add edx, ebp
mov dword [rsp + 0x4c], ebp
add edx, ecx
mov ecx, r9d
rol ecx, 5
add ecx, edx
add ecx, 0x6ed9eba1
mov edi, r14d
mov r14d, dword [rsp + 0x44]
xor edi, r14d
xor edi, r15d
xor edi, r12d
rol eax, 0x1e
rol edi, 1
mov edx, eax
xor edx, r11d
xor edx, r9d
add r8d, edi
mov dword [rsp + 0x34], edi
add r8d, edx
mov edx, ecx
rol edx, 5
add r8d, edx
add r8d, 0x6ed9eba1
mov r15d, esi
mov esi, dword [rsp + 0x48]
xor r15d, esi
xor r15d, dword [rsp + 0x60]
xor r15d, ebx
rol r15d, 1
rol r9d, 0x1e
mov edx, r9d
xor edx, eax
xor edx, ecx
add r11d, r15d
mov dword [rsp + 0x28], r15d
add r11d, edx
mov edx, r8d
rol edx, 5
add edx, r11d
add edx, 0x6ed9eba1
mov r10d, r14d
mov r14, qword [rsp + 0x68]
xor r10d, r14d
xor r10d, dword [rsp + 0x3c]
xor r10d, ebp
rol r10d, 1
mov ebp, r10d
rol ecx, 0x1e
mov r10d, ecx
xor r10d, r9d
xor r10d, r8d
add eax, ebp
mov dword [rsp + 0x44], ebp
add eax, r10d
mov r10d, edx
rol r10d, 5
add r10d, eax
add r10d, 0x6ed9eba1
mov eax, esi
mov esi, dword [rsp + 0x38]
xor eax, esi
xor eax, r13d
xor eax, edi
rol eax, 1
mov r11d, eax
mov dword [rsp + 0x48], eax
rol r8d, 0x1e
mov eax, r8d
xor eax, ecx
xor eax, edx
add r9d, r11d
rol edx, 0x1e
add r9d, eax
mov eax, r10d
rol eax, 5
add eax, r9d
add eax, 0x6ed9eba1
mov r9d, edx
xor r9d, r8d
and r9d, r10d
mov r11d, edx
and r11d, r8d
xor r11d, r9d
mov r13d, dword [rsp + 0x2c]
xor r14d, r13d
xor r14d, dword [rsp + 0x50]
xor r14d, r15d
rol r14d, 1
add ecx, r14d
mov qword [rsp + 0x68], r14
mov r9d, eax
rol r9d, 5
add ecx, r11d
add r9d, ecx
add r9d, 0x8f1bbcdc
rol r10d, 0x1e
mov ecx, r10d
xor ecx, edx
and ecx, eax
mov r11d, r10d
and r11d, edx
xor r11d, ecx
mov ecx, esi
mov ebx, dword [rsp + 0x40]
xor ecx, ebx
xor ecx, r12d
xor ecx, ebp
rol ecx, 1
mov dword [rsp + 0x38], ecx
add r8d, ecx
add r8d, r11d
mov ecx, r9d
rol ecx, 5
lea esi, [rcx + r8]
add esi, 0x8f1bbcdc
rol eax, 0x1e
mov ecx, eax
xor ecx, r10d
mov r11d, eax
and r11d, r10d
and ecx, r9d
xor r11d, ecx
mov ebp, r13d
mov r15, qword [rsp + 0x58]
xor ebp, r15d
xor ebp, dword [rsp + 0x54]
mov edi, ebx
xor edi, dword [rsp + 0x60]
mov ebx, dword [rsp + 0x48]
xor ebp, ebx
rol ebp, 1
xor edi, dword [rsp + 0x4c]
xor edi, r14d
rol edi, 1
mov dword [rsp + 0x40], edi
add edx, ebp
mov dword [rsp + 0x2c], ebp
add edx, r11d
mov ecx, esi
rol ecx, 5
add edx, ecx
add edx, 0x8f1bbcdc
rol r9d, 0x1e
mov ecx, r9d
xor ecx, eax
mov r11d, r9d
and r11d, eax
and ecx, esi
xor r11d, ecx
add r10d, edi
rol esi, 0x1e
add r10d, r11d
mov ecx, edx
rol ecx, 5
add ecx, r10d
add ecx, 0x8f1bbcdc
mov r10d, esi
xor r10d, r9d
and r10d, edx
mov r11d, esi
and r11d, r9d
xor r11d, r10d
mov edi, dword [rsp + 0x3c]
xor r15d, edi
xor r15d, dword [rsp + 0x34]
xor r15d, dword [rsp + 0x38]
rol r15d, 1
add eax, r15d
mov qword [rsp + 0x58], r15
mov r10d, ecx
rol r10d, 5
add eax, r11d
lea r8d, [r10 + rax]
add r8d, 0x8f1bbcdc
rol edx, 0x1e
mov r10d, edx
xor r10d, esi
and r10d, ecx
mov r11d, edx
and r11d, esi
xor r11d, r10d
mov r14, qword [rsp + 0x60]
mov eax, dword [rsp + 0x30]
xor r14d, eax
xor r14d, dword [rsp + 0x28]
xor r14d, ebp
rol r14d, 1
add r9d, r14d
mov r13, r14
add r9d, r11d
mov r10d, r8d
rol r10d, 5
add r9d, r10d
add r9d, 0x8f1bbcdc
rol ecx, 0x1e
mov r10d, ecx
xor r10d, edx
mov r11d, ecx
and r11d, edx
and r10d, r8d
xor r11d, r10d
mov r10d, edi
mov ebp, dword [rsp + 0x50]
xor r10d, ebp
xor r10d, dword [rsp + 0x44]
xor eax, r12d
mov r14d, dword [rsp + 0x40]
xor r10d, r14d
rol r10d, 1
mov dword [rsp + 0x3c], r10d
xor eax, ebx
xor eax, r15d
rol eax, 1
mov dword [rsp + 0x30], eax
add esi, r10d
add esi, r11d
mov r10d, r9d
rol r10d, 5
add esi, r10d
add esi, 0x8f1bbcdc
rol r8d, 0x1e
mov r10d, r8d
xor r10d, ecx
mov r11d, r8d
and r11d, ecx
and r10d, r9d
xor r11d, r10d
add edx, eax
rol r9d, 0x1e
add edx, r11d
mov r10d, esi
rol r10d, 5
add r10d, edx
add r10d, 0x8f1bbcdc
mov edx, r9d
xor edx, r8d
and edx, esi
mov r11d, r9d
and r11d, r8d
xor r11d, edx
mov eax, dword [rsp + 0x54]
xor ebp, eax
xor ebp, dword [rsp + 0x68]
xor ebp, r13d
mov r15, r13
mov qword [rsp + 0x60], r13
rol ebp, 1
add ecx, ebp
mov dword [rsp + 0x50], ebp
mov edx, r10d
rol edx, 5
add ecx, r11d
add ecx, edx
add ecx, 0x8f1bbcdc
rol esi, 0x1e
mov edx, esi
xor edx, r9d
and edx, r10d
mov r11d, esi
and r11d, r9d
xor r11d, edx
mov ebx, dword [rsp + 0x4c]
xor r12d, ebx
xor r12d, dword [rsp + 0x38]
xor r12d, dword [rsp + 0x3c]
rol r12d, 1
add r8d, r12d
add r8d, r11d
mov edx, ecx
rol edx, 5
lea edi, [rdx + r8]
add edi, 0x8f1bbcdc
rol r10d, 0x1e
mov edx, r10d
xor edx, esi
mov r11d, r10d
and r11d, esi
and edx, ecx
xor r11d, edx
mov r8d, eax
mov eax, dword [rsp + 0x34]
xor r8d, eax
xor r8d, dword [rsp + 0x2c]
mov edx, ebx
xor edx, dword [rsp + 0x28]
xor r8d, dword [rsp + 0x30]
rol r8d, 1
xor edx, r14d
xor edx, ebp
rol edx, 1
mov ebx, edx
mov dword [rsp + 0x4c], edx
add r9d, r8d
mov r14d, r8d
mov dword [rsp + 0x54], r8d
add r9d, r11d
mov edx, edi
rol edx, 5
add edx, r9d
add edx, 0x8f1bbcdc
rol ecx, 0x1e
mov r9d, ecx
xor r9d, r10d
mov r11d, ecx
and r11d, r10d
and r9d, edi
xor r11d, r9d
add esi, ebx
rol edi, 0x1e
add esi, r11d
mov r9d, edx
rol r9d, 5
lea r11d, [r9 + rsi]
add r11d, 0x8f1bbcdc
mov r8d, edi
xor r8d, ecx
and r8d, edx
mov r9d, edi
and r9d, ecx
xor r9d, r8d
mov ebp, eax
mov ebx, dword [rsp + 0x44]
xor ebp, ebx
xor ebp, dword [rsp + 0x58]
xor ebp, r12d
mov dword [rsp + 0x78], r12d
rol ebp, 1
add r10d, ebp
mov dword [rsp + 0x34], ebp
mov r8d, r11d
rol r8d, 5
add r10d, r9d
add r10d, r8d
add r10d, 0x8f1bbcdc
rol edx, 0x1e
mov r8d, edx
xor r8d, edi
and r8d, r11d
mov r9d, edx
and r9d, edi
xor r9d, r8d
mov r8d, dword [rsp + 0x28]
mov esi, dword [rsp + 0x48]
xor r8d, esi
xor r8d, r15d
xor r8d, r14d
rol r8d, 1
add ecx, r8d
mov r14d, r8d
mov dword [rsp + 0x28], r8d
add ecx, r9d
mov r8d, r10d
rol r8d, 5
lea r9d, [r8 + rcx]
add r9d, 0x8f1bbcdc
rol r11d, 0x1e
mov ecx, r11d
xor ecx, edx
mov r8d, r11d
and r8d, edx
and ecx, r10d
xor r8d, ecx
mov ecx, ebx
mov r13, qword [rsp + 0x68]
xor ecx, r13d
xor ecx, dword [rsp + 0x3c]
xor esi, dword [rsp + 0x38]
xor ecx, dword [rsp + 0x4c]
rol ecx, 1
mov dword [rsp + 0x44], ecx
xor esi, dword [rsp + 0x30]
xor esi, ebp
rol esi, 1
add edi, ecx
add edi, r8d
mov ecx, r9d
rol ecx, 5
lea r8d, [rcx + rdi]
add r8d, 0x8f1bbcdc
rol r10d, 0x1e
mov eax, r10d
xor eax, r11d
mov ecx, r10d
and ecx, r11d
and eax, r9d
xor ecx, eax
rol r9d, 0x1e
add edx, esi
mov r15d, esi
add edx, ecx
mov eax, r8d
rol eax, 5
add eax, edx
add eax, 0x8f1bbcdc
mov ecx, r9d
xor ecx, r10d
and ecx, r8d
mov edx, r9d
and edx, r10d
xor edx, ecx
mov esi, dword [rsp + 0x2c]
xor r13d, esi
mov ebp, dword [rsp + 0x50]
xor r13d, ebp
xor r13d, r14d
rol r13d, 1
add r11d, r13d
mov ecx, eax
rol ecx, 5
add r11d, edx
lea edx, [rcx + r11]
add edx, 0x8f1bbcdc
rol r8d, 0x1e
mov ecx, r8d
xor ecx, r9d
and ecx, eax
mov r11d, r8d
and r11d, r9d
xor r11d, ecx
mov ebx, dword [rsp + 0x38]
mov edi, dword [rsp + 0x40]
xor ebx, edi
xor ebx, r12d
xor ebx, dword [rsp + 0x44]
rol ebx, 1
add r10d, ebx
mov dword [rsp + 0x38], ebx
add r10d, r11d
mov ecx, edx
rol ecx, 5
add r10d, ecx
add r10d, 0x8f1bbcdc
rol eax, 0x1e
mov ecx, eax
xor ecx, r8d
mov r11d, eax
and r11d, r8d
and ecx, edx
xor r11d, ecx
mov r12, qword [rsp + 0x58]
xor esi, r12d
xor esi, dword [rsp + 0x54]
mov ecx, edi
mov r14, qword [rsp + 0x60]
xor ecx, r14d
mov edi, r15d
mov dword [rsp + 0x48], r15d
xor esi, r15d
rol esi, 1
mov dword [rsp + 0x2c], esi
xor ecx, dword [rsp + 0x4c]
xor ecx, r13d
rol ecx, 1
mov edi, ecx
mov dword [rsp + 0x40], ecx
add r9d, esi
add r9d, r11d
mov ecx, r10d
rol ecx, 5
add r9d, ecx
add r9d, 0x8f1bbcdc
rol edx, 0x1e
mov ecx, edx
xor ecx, eax
mov r11d, edx
and r11d, eax
and ecx, r10d
xor r11d, ecx
rol r10d, 0x1e
add r8d, edi
add r8d, r11d
mov ecx, r9d
rol ecx, 5
add ecx, r8d
add ecx, 0x8f1bbcdc
mov esi, dword [rsp + 0x3c]
mov r8, r12
xor r8d, esi
xor r8d, dword [rsp + 0x34]
xor r8d, ebx
mov r11, r8
mov r8d, r10d
xor r8d, edx
rol r11d, 1
xor r8d, r9d
add eax, r11d
mov r12, r11
mov qword [rsp + 0x58], r11
add eax, r8d
mov r8d, ecx
rol r8d, 5
add r8d, eax
add r8d, 0xca62c1d6
mov edi, dword [rsp + 0x30]
xor r14d, edi
xor r14d, dword [rsp + 0x28]
rol r9d, 0x1e
xor r14d, dword [rsp + 0x2c]
mov eax, r9d
xor eax, r10d
rol r14d, 1
xor eax, ecx
add edx, r14d
mov r15, r14
add edx, eax
mov eax, r8d
rol eax, 5
lea r11d, [rax + rdx]
add r11d, 0xca62c1d6
xor esi, ebp
xor esi, dword [rsp + 0x44]
rol ecx, 0x1e
xor esi, dword [rsp + 0x40]
mov eax, ecx
xor eax, r9d
rol esi, 1
xor eax, r8d
add r10d, esi
mov ebx, esi
mov dword [rsp + 0x3c], esi
add r10d, eax
mov eax, r11d
rol eax, 5
lea edx, [rax + r10]
add edx, 0xca62c1d6
mov r10d, edi
mov r14d, dword [rsp + 0x78]
xor r10d, r14d
xor r10d, dword [rsp + 0x48]
rol r8d, 0x1e
xor r10d, r12d
mov eax, r8d
xor eax, ecx
rol r10d, 1
xor eax, r11d
rol r11d, 0x1e
add r9d, r10d
mov dword [rsp + 0x30], r10d
add r9d, eax
mov eax, edx
rol eax, 5
add eax, r9d
add eax, 0xca62c1d6
mov r12d, dword [rsp + 0x54]
xor ebp, r12d
xor ebp, r13d
xor ebp, r15d
mov qword [rsp + 0x60], r15
mov r9d, r11d
xor r9d, r8d
rol ebp, 1
xor r9d, edx
add ecx, ebp
add ecx, r9d
mov r9d, eax
rol r9d, 5
add ecx, r9d
add ecx, 0xca62c1d6
mov esi, dword [rsp + 0x4c]
xor r14d, esi
xor r14d, dword [rsp + 0x38]
rol edx, 0x1e
xor r14d, ebx
mov r9d, edx
xor r9d, r11d
rol r14d, 1
xor r9d, eax
add r8d, r14d
add r8d, r9d
mov r9d, ecx
rol r9d, 5
add r9d, r8d
add r9d, 0xca62c1d6
mov edi, dword [rsp + 0x34]
xor r12d, edi
xor r12d, dword [rsp + 0x2c]
rol eax, 0x1e
xor r12d, r10d
mov r8d, eax
xor r8d, edx
rol r12d, 1
xor r8d, ecx
add r11d, r12d
add r11d, r8d
mov r8d, r9d
rol r8d, 5
lea r10d, [r8 + r11]
add r10d, 0xca62c1d6
mov r11d, esi
xor r11d, dword [rsp + 0x28]
xor r11d, dword [rsp + 0x40]
rol ecx, 0x1e
xor r11d, ebp
mov r8d, ecx
xor r8d, eax
rol r11d, 1
mov dword [rsp + 0x4c], r11d
xor r8d, r9d
rol r9d, 0x1e
add edx, r11d
add edx, r8d
mov r8d, r10d
rol r8d, 5
add r8d, edx
add r8d, 0xca62c1d6
mov r11d, dword [rsp + 0x44]
xor edi, r11d
xor edi, dword [rsp + 0x58]
xor edi, r14d
mov edx, r9d
xor edx, ecx
rol edi, 1
xor edx, r10d
add eax, edi
mov dword [rsp + 0x34], edi
add eax, edx
mov edx, r8d
rol edx, 5
lea ebx, [rdx + rax]
add ebx, 0xca62c1d6
mov esi, dword [rsp + 0x28]
mov eax, dword [rsp + 0x48]
xor esi, eax
xor esi, r15d
rol r10d, 0x1e
xor esi, r12d
mov edx, r10d
xor edx, r9d
rol esi, 1
mov dword [rsp + 0x28], esi
xor edx, r8d
add ecx, esi
add ecx, edx
mov edx, ebx
rol edx, 5
add ecx, edx
add ecx, 0xca62c1d6
mov esi, r11d
xor esi, r13d
xor esi, dword [rsp + 0x3c]
rol r8d, 0x1e
mov r15d, dword [rsp + 0x4c]
xor esi, r15d
mov edx, r8d
xor edx, r10d
rol esi, 1
xor edx, ebx
add r9d, esi
add r9d, edx
mov edx, ecx
rol edx, 5
add edx, r9d
add edx, 0xca62c1d6
mov r11d, eax
mov eax, dword [rsp + 0x38]
xor r11d, eax
xor r11d, dword [rsp + 0x30]
rol ebx, 0x1e
xor r11d, edi
mov r9d, ebx
xor r9d, r8d
rol r11d, 1
xor r9d, ecx
add r10d, r11d
add r10d, r9d
mov r9d, edx
rol r9d, 5
add r9d, r10d
add r9d, 0xca62c1d6
mov r10d, dword [rsp + 0x2c]
xor r13d, r10d
xor r10d, dword [rsp + 0x58]
xor r10d, r12d
mov dword [rsp + 0x2c], r10d
mov edi, dword [rsp + 0x40]
xor eax, edi
mov r10d, eax
xor edi, dword [rsp + 0x60]
xor edi, r15d
rol ecx, 0x1e
xor r13d, ebp
xor r13d, dword [rsp + 0x28]
rol r13d, 1
xor edi, r13d
add r13d, r8d
mov r8d, ecx
xor r8d, ebx
xor r8d, edx
add r13d, r8d
mov eax, dword [rsp + 0x3c]
mov r12, qword [rsp + 0x58]
xor r12d, eax
xor ebp, eax
mov r8d, r10d
xor r8d, r14d
xor r8d, esi
rol r8d, 1
mov r10d, r8d
mov eax, dword [rsp + 0x30]
mov r15, qword [rsp + 0x60]
xor r15d, eax
xor r14d, eax
rol edx, 0x1e
mov r8d, edx
xor r8d, ecx
xor r8d, r9d
add ebx, r10d
add ebx, r8d
xor r12d, dword [rsp + 0x34]
xor r15d, dword [rsp + 0x28]
xor ebp, esi
mov eax, dword [rsp + 0x2c]
xor eax, r11d
xor r14d, r11d
xor r12d, r10d
rol eax, 1
add ecx, eax
mov r8d, r9d
rol r8d, 5
xor r15d, eax
mov r11, r15
rol r9d, 0x1e
lea r10d, [r8 + r13]
add r10d, 0xca62c1d6
mov r13, qword [rsp + 0x90]
mov r8d, r9d
xor r8d, edx
xor r8d, r10d
add ecx, r8d
mov r8d, r10d
rol r8d, 5
add r8d, ebx
add r8d, 0xca62c1d6
rol r10d, 0x1e
rol edi, 1
add edx, edi
xor ebp, edi
mov eax, r10d
xor eax, r9d
xor eax, r8d
rol r12d, 1
add edx, eax
mov eax, r8d
xor r14d, r12d
rol eax, 5
add r12d, r9d
rol r8d, 0x1e
add ecx, eax
add ecx, 0xca62c1d6
mov eax, r8d
xor eax, r10d
xor eax, ecx
add r12d, eax
mov eax, ecx
rol eax, 5
add eax, edx
add eax, 0xca62c1d6
rol ecx, 0x1e
rol r11d, 1
add r11d, r10d
mov r10, qword [rsp + 0xa0]
mov edx, ecx
rol ebp, 1
xor edx, r8d
add ebp, r8d
rol r14d, 1
add r14d, dword [rsp + 0x7c]
mov r8d, eax
rol r8d, 5
xor edx, eax
rol eax, 0x1e
add r8d, r12d
add r8d, 0xca62c1d6
mov r9d, eax
xor r9d, ecx
add r14d, ecx
add r11d, edx
xor r9d, r8d
movd xmm1, r8d
rol r8d, 5
lea ecx, [r8 + r11]
add ecx, 0xca62c1d6
movd xmm0, ecx
punpckldq xmm0, xmm1
add r9d, ebp
mov rbp, qword [rsp + 0x70]
movdqa xmm1, xmm0
psrld xmm1, 2
pslld xmm0, 0x1e
por xmm0, xmm1
pshufd xmm1, xmm0, 0x55
mov edx, eax
xor edx, ecx
movd r8d, xmm1
xor edx, r8d
rol ecx, 5
lea r8d, [r9 + rcx]
add ecx, r9d
add ecx, 0xca62c1d6
add r10d, r8d
add r10d, 0xca62c1d6
movd xmm1, dword [rsp + 0x98]
add edx, r14d
movd xmm2, dword [rsp + 0x80]
rol ecx, 5
lea esi, [rcx + rdx]
add esi, 0xca62c1d6
punpckldq xmm1, xmm2
paddd xmm1, xmm0
pshufd xmm0, xmm1, 0x55
movd r11d, xmm1
add eax, dword [rsp + 0x84]
movd edx, xmm0
add rbp, 0x40
cmp rbp, r13
jne 0x1800ee230
mov rcx, qword [rsp + 0x88]
mov dword [rcx + 0x10], eax
movd xmm0, esi
movd xmm1, r10d
punpckldq xmm0, xmm1
movd xmm1, r11d
movd xmm2, edx
punpckldq xmm1, xmm2
punpcklqdq xmm0, xmm1
movdqu xmmword [rcx], xmm0
add rsp, 0xc8
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 [0x180171f80]
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 0x1800ef5d0
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