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

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov r10d, dword [rcx]
mov r13, rdx
mov edi, dword [rcx + 4]
xor r9d, r9d
mov eax, dword [rcx + 8]
mov r15d, dword [rcx + 0xc]
mov ebp, dword [rcx + 0x10]
nop dword [rax]
mov ecx, eax
lea esi, [rbp + 0x5a827999]
and ecx, edi
mov edx, edi
not edx
mov r8d, r10d
and edx, r15d
rol r8d, 5
or edx, ecx
mov ebp, r15d
add r8d, edx
mov r15d, eax
add r8d, dword [r13 + r9*4]
mov eax, edi
add esi, r8d
ror eax, 2
inc r9
mov edi, r10d
mov r10d, esi
cmp r9, 0x10
jl 0x140361dd0
mov ebx, dword [r13 + 0x34]
mov ecx, eax
xor ebx, dword [r13 + 0x20]
and ecx, edi
xor ebx, dword [r13 + 8]
mov r8d, edi
xor ebx, dword [r13]
not r8d
and r8d, r15d
ror edi, 2
or r8d, ecx
rol ebx, 1
mov dword [r13 + 0x40], ebx
mov edx, esi
mov r9d, dword [r13 + 0x38]
xor r9d, dword [r13 + 0x24]
xor r9d, dword [r13 + 4]
lea ecx, [rbx + 0x5a827999]
xor r9d, dword [r13 + 0xc]
rol r9d, 1
mov dword [r13 + 0x44], r9d
rol edx, 5
add ecx, edx
add r8d, ecx
mov ecx, esi
add ebp, r8d
and ecx, edi
mov r8d, esi
mov edx, ebp
not r8d
rol edx, 5
and r8d, eax
ror esi, 2
or r8d, ecx
mov r12d, ebp
lea ecx, [r9 + 0x5a827999]
not r12d
mov r9d, dword [r13 + 0x3c]
add ecx, edx
xor r9d, dword [r13 + 0x28]
add r8d, ecx
xor r9d, dword [r13 + 0x10]
add r15d, r8d
xor r9d, dword [r13 + 8]
and r12d, edi
rol r9d, 1
mov edx, r15d
mov dword [r13 + 0x48], r9d
mov ecx, esi
mov r8d, dword [r13 + 0x2c]
and ecx, ebp
xor r8d, dword [r13 + 0x14]
or r12d, ecx
xor r8d, dword [r13 + 0xc]
lea ecx, [r9 + 0x5a827999]
rol edx, 5
xor r8d, ebx
add ecx, edx
rol r8d, 1
mov dword [r13 + 0x4c], r8d
add r12d, ecx
add r12d, eax
ror ebp, 2
mov r13d, r15d
mov eax, ebp
and eax, r15d
not r13d
and r13d, esi
ror r15d, 2
or r13d, eax
mov ecx, r12d
rol ecx, 5
lea eax, [rcx + 0x5a827999]
add eax, r8d
add r13d, eax
mov eax, 4
add r13d, edi
mov qword [rsp + 0x60], rax
mov rdi, qword [rsp + 0x50]
add rdi, 0x18
mov qword [rsp + 0x58], rax
mov ebx, dword [rdi + 0x2c]
mov eax, r13d
xor ebx, dword [rdi + 0x18]
mov ecx, ebp
xor ebx, dword [rdi - 8]
xor ecx, r15d
xor ebx, dword [rdi]
lea rdi, [rdi + 0x14]
xor ecx, r12d
rol eax, 5
add eax, 0x6ed9eba1
rol ebx, 1
add eax, ebx
mov dword [rdi + 0x24], ebx
mov r11d, dword [rdi + 0x1c]
add ecx, eax
xor r11d, dword [rdi + 8]
add esi, ecx
xor r11d, dword [rdi - 0x18]
mov ecx, r15d
xor r11d, dword [rdi - 0x10]
mov eax, esi
rol eax, 5
add eax, 0x6ed9eba1
rol r11d, 1
add eax, r11d
mov dword [rdi + 0x28], r11d
mov edx, dword [rdi + 0x20]
xor edx, dword [rdi + 0xc]
xor edx, dword [rdi - 0xc]
xor edx, dword [rdi - 0x14]
rol edx, 1
mov dword [rdi + 0x2c], edx
add edx, 0x6ed9eba1
ror r12d, 2
xor ecx, r12d
xor ecx, r13d
ror r13d, 2
add ecx, eax
add ebp, ecx
mov ecx, r12d
xor ecx, r13d
mov eax, ebp
xor ecx, esi
rol eax, 5
add eax, edx
ror esi, 2
mov edx, dword [rdi + 0x10]
add ecx, eax
xor edx, dword [rdi - 8]
add r15d, ecx
xor edx, ebx
mov eax, r15d
xor edx, dword [rdi - 0x10]
mov ecx, r13d
rol edx, 1
xor ecx, esi
xor ecx, ebp
mov dword [rdi + 0x30], edx
add edx, 0x6ed9eba1
rol eax, 5
add eax, edx
ror ebp, 2
mov edx, dword [rdi + 0x14]
add ecx, eax
xor edx, dword [rdi - 4]
add r12d, ecx
xor edx, r11d
mov ecx, esi
xor edx, dword [rdi - 0xc]
xor ecx, ebp
rol edx, 1
xor ecx, r15d
add ecx, 0x6ed9eba1
mov dword [rdi + 0x34], edx
mov eax, r12d
rol eax, 5
add eax, edx
add ecx, eax
add r13d, ecx
ror r15d, 2
sub qword [rsp + 0x58], 1
jne 0x140361f20
mov r14, qword [rsp + 0x50]
add r14, 0x68
mov qword [rsp + 0x58], 4
nop
mov edi, dword [r14 + 0x2c]
mov ecx, r15d
xor edi, dword [r14 + 0x18]
or ecx, r12d
xor edi, dword [r14 - 8]
and ecx, ebp
xor edi, dword [r14]
mov eax, r15d
and eax, r12d
rol edi, 1
or ecx, eax
mov dword [r14 + 0x38], edi
mov ebx, dword [r14 + 0x30]
add ecx, 0x8f1bbcdc
xor ebx, dword [r14 + 0x1c]
add ecx, edi
xor ebx, dword [r14 - 4]
mov edx, r13d
xor ebx, dword [r14 + 4]
rol edx, 5
add esi, edx
ror r12d, 2
add esi, ecx
rol ebx, 1
mov dword [r14 + 0x3c], ebx
mov ecx, r12d
mov r8d, dword [r14 + 0x34]
or ecx, r13d
xor r8d, dword [r14 + 0x20]
and ecx, r15d
xor r8d, dword [r14 + 8]
mov eax, r12d
xor r8d, dword [r14]
and eax, r13d
or ecx, eax
rol r8d, 1
add ecx, 0x8f1bbcdc
mov dword [r14 + 0x40], r8d
add ecx, ebx
ror r13d, 2
add r8d, 0x8f1bbcdc
mov edx, esi
rol edx, 5
mov eax, r13d
add ebp, edx
and eax, esi
add ebp, ecx
mov ecx, r13d
or ecx, esi
mov edx, ebp
and ecx, r12d
rol edx, 5
or ecx, eax
ror esi, 2
add ecx, r8d
add r15d, edx
mov r8d, dword [r14 + 0x24]
add r15d, ecx
xor r8d, dword [r14 + 0xc]
mov ecx, esi
xor r8d, edi
or ecx, ebp
xor r8d, dword [r14 + 4]
and ecx, r13d
rol r8d, 1
mov eax, esi
mov dword [r14 + 0x44], r8d
and eax, ebp
add r8d, 0x8f1bbcdc
ror ebp, 2
or ecx, eax
mov edx, r15d
add ecx, r8d
rol edx, 5
mov r8d, dword [r14 + 0x28]
add r12d, edx
xor r8d, dword [r14 + 0x10]
add r12d, ecx
xor r8d, ebx
xor r8d, dword [r14 + 8]
rol r8d, 1
mov ecx, ebp
mov dword [r14 + 0x48], r8d
or ecx, r15d
lea r14, [r14 + 0x14]
and ecx, esi
mov eax, ebp
and eax, r15d
mov edx, r12d
or ecx, eax
rol edx, 5
add ecx, 0x8f1bbcdc
ror r15d, 2
add ecx, r8d
add r13d, edx
add r13d, ecx
sub qword [rsp + 0x58], 1
jne 0x140362030
mov rdi, qword [rsp + 0x50]
mov r14, qword [rsp + 0x48]
add rdi, 0xb8
nop
mov ebx, dword [rdi + 0x2c]
mov eax, ebp
xor ebx, dword [rdi + 0x18]
xor eax, r15d
xor ebx, dword [rdi - 8]
xor eax, r12d
xor ebx, dword [rdi]
lea rdi, [rdi + 0x14]
add eax, 0xca62c1d6
ror r12d, 2
rol ebx, 1
mov ecx, r13d
add eax, ebx
mov dword [rdi + 0x24], ebx
mov r11d, dword [rdi + 0x1c]
xor r11d, dword [rdi + 8]
xor r11d, dword [rdi - 0x18]
xor r11d, dword [rdi - 0x10]
rol ecx, 5
add esi, ecx
rol r11d, 1
add esi, eax
mov dword [rdi + 0x28], r11d
mov edx, dword [rdi + 0x20]
mov eax, r15d
xor edx, dword [rdi + 0xc]
xor eax, r12d
xor edx, dword [rdi - 0xc]
xor eax, r13d
xor edx, dword [rdi - 0x14]
add eax, 0xca62c1d6
add eax, r11d
rol edx, 1
mov dword [rdi + 0x2c], edx
mov ecx, esi
add edx, 0xca62c1d6
rol ecx, 5
add ebp, ecx
ror r13d, 2
add ebp, eax
mov eax, r12d
xor eax, r13d
mov ecx, ebp
xor eax, esi
rol ecx, 5
add eax, edx
ror esi, 2
mov edx, dword [rdi + 0x10]
add r15d, ecx
xor edx, dword [rdi - 8]
add r15d, eax
xor edx, ebx
mov eax, r13d
xor edx, dword [rdi - 0x10]
xor eax, esi
rol edx, 1
xor eax, ebp
mov dword [rdi + 0x30], edx
mov ecx, r15d
add edx, 0xca62c1d6
rol ecx, 5
add eax, edx
ror ebp, 2
mov edx, dword [rdi + 0x14]
add r12d, ecx
xor edx, dword [rdi - 4]
add r12d, eax
xor edx, r11d
mov eax, esi
xor edx, dword [rdi - 0xc]
xor eax, ebp
xor eax, r15d
rol edx, 1
add eax, 0xca62c1d6
mov dword [rdi + 0x34], edx
add eax, edx
mov ecx, r12d
rol ecx, 5
add r13d, ecx
add r13d, eax
ror r15d, 2
sub qword [rsp + 0x60], 1
jne 0x140362180
add dword [r14], r13d
add dword [r14 + 4], r12d
add dword [r14 + 8], r15d
add dword [r14 + 0xc], ebp
add dword [r14 + 0x10], esi
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret