Function at 0x1400997e0
Capabilities:
Hash data using sha1

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x1d8
mov rax, qword [0x1402ddc80]
xor rax, rsp
mov qword [rsp + 0x1c0], rax
mov dword [rsp + 0x60], 0x67452301
mov dword [rsp + 0x64], 0xefcdab89
mov dword [rsp + 0x68], 0x98badcfe
mov dword [rsp + 0x6c], 0x10325476
mov dword [rsp + 0x70], 0xc3d2e1f0
mov rax, qword [rsp + 0x1e0]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x28], 0
cmp qword [rsp + 0x1e8], 0x40
jb 0x140099938
mov rax, qword [rsp + 0x1e8]
sub rax, 0x40
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x58]
cmp qword [rsp + 0x28], rax
ja 0x140099938
mov rax, qword [rsp + 0x28]
add rax, 0x40
mov qword [rsp + 0x48], rax
mov dword [rsp + 0x38], 0
jmp 0x14009989c
mov rax, qword [rsp + 0x28]
add rax, 4
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x48]
cmp qword [rsp + 0x28], rax
jae 0x140099921
mov rax, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x40]
add rcx, rax
mov rax, rcx
movzx eax, byte [rax + 3]
mov rcx, qword [rsp + 0x28]
mov rdx, qword [rsp + 0x40]
add rdx, rcx
mov rcx, rdx
movzx ecx, byte [rcx + 2]
shl ecx, 8
or eax, ecx
mov rcx, qword [rsp + 0x28]
mov rdx, qword [rsp + 0x40]
add rdx, rcx
mov rcx, rdx
movzx ecx, byte [rcx + 1]
shl ecx, 0x10
or eax, ecx
mov rcx, qword [rsp + 0x28]
mov rdx, qword [rsp + 0x40]
add rdx, rcx
mov rcx, rdx
movzx ecx, byte [rcx]
shl ecx, 0x18
or eax, ecx
movsxd rcx, dword [rsp + 0x38]
mov dword [rsp + rcx*4 + 0x80], eax
mov eax, dword [rsp + 0x38]
inc eax
mov dword [rsp + 0x38], eax
jmp 0x14009988e
lea rdx, [rsp + 0x80]
lea rcx, [rsp + 0x60]
call fcn.1400b7900
jmp 0x140099866
mov rax, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x1e8]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x48], rax
lea rcx, [rsp + 0x80]
call fcn.14009b940
mov qword [rsp + 0x30], 0
jmp 0x140099975
mov rax, qword [rsp + 0x30]
inc rax
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x48]
cmp qword [rsp + 0x30], rax
jae 0x1400999da
mov rax, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x30]
add rcx, rax
mov rax, rcx
mov rcx, qword [rsp + 0x40]
movzx eax, byte [rcx + rax]
mov rcx, qword [rsp + 0x30]
and rcx, 3
mov edx, 3
sub rdx, rcx
mov rcx, rdx
shl rcx, 3
shl eax, cl
mov rcx, qword [rsp + 0x30]
shr rcx, 2
mov ecx, dword [rsp + rcx*4 + 0x80]
or ecx, eax
mov eax, ecx
mov rcx, qword [rsp + 0x30]
shr rcx, 2
mov dword [rsp + rcx*4 + 0x80], eax
jmp 0x140099968
mov rax, qword [rsp + 0x30]
and rax, 3
mov ecx, 3
sub rcx, rax
mov rax, rcx
shl rax, 3
mov ecx, 0x80
mov dword [rsp + 0x50], ecx
movzx ecx, al
mov eax, dword [rsp + 0x50]
shl eax, cl
mov rcx, qword [rsp + 0x30]
shr rcx, 2
mov ecx, dword [rsp + rcx*4 + 0x80]
or ecx, eax
mov eax, ecx
mov rcx, qword [rsp + 0x30]
shr rcx, 2
mov dword [rsp + rcx*4 + 0x80], eax
cmp qword [rsp + 0x48], 0x38
jb 0x140099a4f
lea rdx, [rsp + 0x80]
lea rcx, [rsp + 0x60]
call fcn.1400b7900
lea rcx, [rsp + 0x80]
call fcn.14009b940
mov rax, qword [rsp + 0x1e8]
shl rax, 3
mov ecx, 4
imul rcx, rcx, 0xf
mov dword [rsp + rcx + 0x80], eax
lea rdx, [rsp + 0x80]
lea rcx, [rsp + 0x60]
call fcn.1400b7900
mov dword [rsp + 0x20], reloc.SecureEngineSDK64.dll_Ordinal_20
mov eax, dword [rsp + 0x20]
dec eax
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0
jl 0x140099acb
mov eax, dword [rsp + 0x20]
sar eax, 2
cdqe
mov ecx, 3
sub ecx, dword [rsp + 0x20]
and ecx, 3
shl ecx, 3
mov eax, dword [rsp + rax*4 + 0x60]
shr eax, cl
and eax, 0xff
movsxd rcx, dword [rsp + 0x20]
mov rdx, qword [rsp + 0x1f0]
mov byte [rdx + rcx], al
jmp 0x140099a85
mov rcx, qword [rsp + 0x1c0]
xor rcx, rsp
call fcn.1401f5200
add rsp, 0x1d8
ret