Function at 0x14013c630
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
sub rsp, 0x18
mov eax, dword [rcx]
mov r13, rdx
mov edi, dword [rcx + 4]
mov r10d, eax
mov ebp, dword [rcx + 0xc]
xor r9d, r9d
mov r14d, dword [rcx + 0x10]
mov dword [rsp + 0x70], eax
mov eax, dword [rcx + 8]
nop word [rax + rax]
mov ecx, eax
lea esi, [r14 + 0x5a827999]
and ecx, edi
mov edx, edi
not edx
mov r8d, r10d
and edx, ebp
rol r8d, 5
or edx, ecx
mov r14d, ebp
add r8d, edx
mov ebp, 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 0x14013c670
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, ebp
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 r14d, r8d
and ecx, edi
mov r8d, esi
mov edx, r14d
not r8d
rol edx, 5
and r8d, eax
ror esi, 2
or r8d, ecx
mov r15d, r14d
lea ecx, [r9 + 0x5a827999]
not r15d
mov r9d, dword [r13 + 0x3c]
add ecx, edx
xor r9d, dword [r13 + 0x28]
add r8d, ecx
xor r9d, dword [r13 + 0x10]
add ebp, r8d
xor r9d, dword [r13 + 8]
and r15d, edi
rol r9d, 1
mov edx, ebp
mov dword [r13 + 0x48], r9d
mov r12d, ebp
mov r8d, dword [r13 + 0x2c]
not r12d
xor r8d, dword [r13 + 0x14]
and r12d, esi
xor r8d, dword [r13 + 0xc]
mov ecx, esi
and ecx, r14d
rol edx, 5
or r15d, ecx
ror r14d, 2
xor r8d, ebx
lea ecx, [r9 + 0x5a827999]
add ecx, edx
rol r8d, 1
add r15d, ecx
mov dword [r13 + 0x4c], r8d
add r15d, eax
mov eax, r14d
and eax, ebp
mov ecx, r15d
or r12d, eax
rol ecx, 5
lea eax, [rcx + 0x5a827999]
add eax, r8d
add r12d, eax
mov eax, 4
add r12d, edi
mov qword [rsp], rax
lea rdi, [r13 + 0x18]
ror ebp, 2
mov r13d, eax
nop dword [rax + rax]
mov ebx, dword [rdi + 0x2c]
mov eax, r12d
xor ebx, dword [rdi + 0x18]
mov ecx, r14d
xor ebx, dword [rdi - 8]
xor ecx, ebp
xor ebx, dword [rdi]
lea rdi, [rdi + 0x14]
xor ecx, r15d
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, ebp
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 r15d, 2
xor ecx, r15d
xor ecx, r12d
ror r12d, 2
add ecx, eax
add r14d, ecx
mov ecx, r15d
xor ecx, r12d
mov eax, r14d
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 ebp, ecx
xor edx, ebx
mov eax, ebp
xor edx, dword [rdi - 0x10]
mov ecx, r12d
rol edx, 1
xor ecx, esi
xor ecx, r14d
mov dword [rdi + 0x30], edx
add edx, 0x6ed9eba1
rol eax, 5
add eax, edx
ror r14d, 2
mov edx, dword [rdi + 0x14]
add ecx, eax
xor edx, dword [rdi - 4]
add r15d, ecx
xor edx, r11d
mov ecx, esi
xor edx, dword [rdi - 0xc]
xor ecx, r14d
rol edx, 1
xor ecx, ebp
add ecx, 0x6ed9eba1
mov dword [rdi + 0x34], edx
mov eax, r15d
rol eax, 5
add eax, edx
add ecx, eax
add r12d, ecx
ror ebp, 2
sub r13, 1
jne 0x14013c7c0
mov rax, qword [rsp + 0x68]
add rax, 0x68
mov qword [rsp + 0x78], 4
mov r13, rax
nop
mov edi, dword [r13 + 0x2c]
mov ecx, ebp
xor edi, dword [r13 + 0x18]
or ecx, r15d
xor edi, dword [r13 - 8]
and ecx, r14d
xor edi, dword [r13]
mov eax, ebp
and eax, r15d
rol edi, 1
or ecx, eax
mov dword [r13 + 0x38], edi
mov ebx, dword [r13 + 0x30]
add ecx, 0x8f1bbcdc
xor ebx, dword [r13 + 0x1c]
add ecx, edi
xor ebx, dword [r13 - 4]
mov edx, r12d
xor ebx, dword [r13 + 4]
rol edx, 5
add esi, edx
ror r15d, 2
add esi, ecx
rol ebx, 1
mov dword [r13 + 0x3c], ebx
mov ecx, r15d
mov r8d, dword [r13 + 0x34]
or ecx, r12d
xor r8d, dword [r13 + 0x20]
and ecx, ebp
xor r8d, dword [r13 + 8]
mov eax, r15d
xor r8d, dword [r13]
and eax, r12d
or ecx, eax
rol r8d, 1
add ecx, 0x8f1bbcdc
mov dword [r13 + 0x40], r8d
add ecx, ebx
ror r12d, 2
add r8d, 0x8f1bbcdc
mov edx, esi
rol edx, 5
mov eax, r12d
add r14d, edx
and eax, esi
add r14d, ecx
mov ecx, r12d
or ecx, esi
mov edx, r14d
and ecx, r15d
rol edx, 5
or ecx, eax
ror esi, 2
add ecx, r8d
add ebp, edx
mov r8d, dword [r13 + 0x24]
add ebp, ecx
xor r8d, dword [r13 + 0xc]
mov ecx, esi
xor r8d, edi
or ecx, r14d
xor r8d, dword [r13 + 4]
and ecx, r12d
rol r8d, 1
mov eax, esi
mov dword [r13 + 0x44], r8d
and eax, r14d
add r8d, 0x8f1bbcdc
ror r14d, 2
or ecx, eax
mov edx, ebp
add ecx, r8d
rol edx, 5
mov r8d, dword [r13 + 0x28]
add r15d, edx
xor r8d, dword [r13 + 0x10]
add r15d, ecx
xor r8d, ebx
xor r8d, dword [r13 + 8]
rol r8d, 1
mov ecx, r14d
mov dword [r13 + 0x48], r8d
or ecx, ebp
lea r13, [r13 + 0x14]
and ecx, esi
mov eax, r14d
and eax, ebp
mov edx, r15d
or ecx, eax
rol edx, 5
add ecx, 0x8f1bbcdc
ror ebp, 2
add ecx, r8d
add r12d, edx
add r12d, ecx
sub qword [rsp + 0x78], 1
jne 0x14013c8d0
mov rdi, qword [rsp + 0x68]
add rdi, 0xb8
nop dword [rax + rax]
mov ebx, dword [rdi + 0x2c]
mov eax, r14d
xor ebx, dword [rdi + 0x18]
xor eax, ebp
xor ebx, dword [rdi - 8]
xor eax, r15d
xor ebx, dword [rdi]
lea rdi, [rdi + 0x14]
add eax, 0xca62c1d6
ror r15d, 2
rol ebx, 1
mov ecx, r12d
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, ebp
xor edx, dword [rdi + 0xc]
xor eax, r15d
xor edx, dword [rdi - 0xc]
xor eax, r12d
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 r14d, ecx
ror r12d, 2
add r14d, eax
mov eax, r15d
xor eax, r12d
mov ecx, r14d
xor eax, esi
rol ecx, 5
add eax, edx
ror esi, 2
mov edx, dword [rdi + 0x10]
add ebp, ecx
xor edx, dword [rdi - 8]
add ebp, eax
xor edx, ebx
mov eax, r12d
xor edx, dword [rdi - 0x10]
xor eax, esi
rol edx, 1
xor eax, r14d
mov dword [rdi + 0x30], edx
mov ecx, ebp
add edx, 0xca62c1d6
rol ecx, 5
add eax, edx
ror r14d, 2
mov edx, dword [rdi + 0x14]
add r15d, ecx
xor edx, dword [rdi - 4]
add r15d, eax
xor edx, r11d
mov eax, esi
xor edx, dword [rdi - 0xc]
xor eax, r14d
xor eax, ebp
rol edx, 1
add eax, 0xca62c1d6
mov dword [rdi + 0x34], edx
add eax, edx
mov ecx, r15d
rol ecx, 5
add r12d, ecx
add r12d, eax
ror ebp, 2
sub qword [rsp], 1
jne 0x14013ca20
mov rcx, qword [rsp + 0x60]
mov eax, dword [rsp + 0x70]
add eax, r12d
add dword [rcx + 4], r15d
add dword [rcx + 8], ebp
add dword [rcx + 0xc], r14d
add dword [rcx + 0x10], esi
mov dword [rcx], eax
add rsp, 0x18
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret