Function at 0x180009de0
Capabilities:
Hash data using sha1

Disassembly:
mov r11, rsp
push rdi
sub rsp, 0x90
xor eax, eax
mov rdi, rdx
mov qword [r11 - 0x18], rax
mov dword [rsp + 0x6c], 0x67452301
mov dword [rsp + 0x70], 0xefcdab89
mov dword [rsp + 0x74], 0x98badcfe
mov dword [rsp + 0x78], 0x10325476
mov dword [rsp + 0x7c], 0xc3d2e1f0
mov qword [r11 - 0x78], rax
mov dword [rsp + 0x28], eax
test ecx, ecx
jle 0x180009e50
mov qword [r11 + 8], rbx
mov ebx, ecx
nop
lea rcx, [rsp + 0x20]
mov r8d, 0x40
mov rdx, rdi
call fcn.1800270e0
dec rbx
jne 0x180009e30
mov rbx, qword [rsp + 0xa0]
add rsp, 0x90
pop rdi
ret
mov r11, rsp
push rdi
sub rsp, 0xa0
xor eax, eax
mov rdi, rdx
xor edx, edx
mov qword [r11 - 0x18], rdx
mov qword [rsp + 0x20], rax
mov qword [r11 - 0x80], rax
mov qword [r11 - 0x78], rax
mov qword [r11 - 0x70], rax
mov dword [rsp + 0x20], 0x6a09e667
mov dword [rsp + 0x24], 0xbb67ae85
mov dword [rsp + 0x28], 0x3c6ef372
mov dword [rsp + 0x2c], 0xa54ff53a
mov dword [rsp + 0x30], 0x510e527f
mov dword [rsp + 0x34], 0x9b05688c
mov dword [rsp + 0x38], 0x1f83d9ab
mov dword [rsp + 0x3c], 0x5be0cd19
mov qword [r11 - 0x28], rdx
mov dword [r11 - 0x20], edx
test ecx, ecx
jle 0x180009f00
mov qword [r11 + 8], rbx
mov ebx, ecx
nop dword [rax]
lea rcx, [rsp + 0x20]
mov r8d, 0x40
mov rdx, rdi
call fcn.180025a40
dec rbx
jne 0x180009ee0
mov rbx, qword [rsp + 0xb0]
add rsp, 0xa0
pop rdi
ret
mov r11, rsp
push r15
sub rsp, 0x90
xor eax, eax
mov dword [rsp + 0x2c], 0x67452301
mov dword [rsp + 0x30], 0xefcdab89
mov dword [rsp + 0x34], 0x98badcfe
mov dword [rsp + 0x38], 0x10325476
mov dword [rsp + 0x3c], 0xc3d2e1f0
mov qword [r11 - 0x78], rax
mov r15, rdx
mov dword [rsp + 0x28], eax
test ecx, ecx
jle 0x18000a00b
mov qword [r11 + 8], rbx
mov qword [r11 + 0x10], rbp
mov qword [r11 + 0x18], rsi
mov qword [r11 - 0x10], rdi
mov qword [r11 - 0x18], r14
mov r14d, ecx
mov ebx, 0x40
mov rbp, r15
test r15, r15
je 0x180009fde
nop dword [rax]
mov esi, 0x40
lea rcx, [rsp + 0x40]
mov rdx, rbp
sub esi, eax
cmp ebx, esi
cmovb esi, ebx
add rcx, rax
mov r8d, esi
mov edi, esi
call fcn.18002efa0
mov eax, dword [rsp + 0x20]
add rbp, rdi
add eax, esi
sub ebx, esi
mov dword [rsp + 0x20], eax
cmp eax, 0x40
jne 0x180009fda
lea rcx, [rsp + 0x20]
call fcn.180028c80
mov ecx, dword [rsp + 0x24]
mov eax, ecx
add ecx, 0x40
mov dword [rsp + 0x24], ecx
cmp ecx, eax
jae 0x180009fd4
inc dword [rsp + 0x28]
xor eax, eax
mov dword [rsp + 0x20], eax
test ebx, ebx
jne 0x180009f80
dec r14
jne 0x180009f70
mov r14, qword [rsp + 0x80]
mov rdi, qword [rsp + 0x88]
mov rsi, qword [rsp + 0xb0]
mov rbp, qword [rsp + 0xa8]
mov rbx, qword [rsp + 0xa0]
add rsp, 0x90
pop r15
ret
push rbx
sub rsp, 0x100
mov rbx, r8
mov r8d, edx
dec ecx
je 0x18000a0e4
dec ecx
je 0x18000a0d1
sub ecx, 2
je 0x18000a0be
sub ecx, 2
je 0x18000a064
dec ecx
jne 0x18000a0ef
mov rdx, rbx
mov ecx, r8d
add rsp, 0x100
pop rbx
jmp 0x180009f10
lea rcx, [rsp + 0x20]
mov qword [rsp + 0xf8], 0
call fcn.18001eba0
test r8d, r8d
jle 0x18000a0ef
mov qword [rsp + 0x110], rdi
mov rdi, r8
nop word [rax + rax]
test rbx, rbx
je 0x18000a0a8
lea rcx, [rsp + 0x20]
mov r8d, 0x40
mov rdx, rbx
call fcn.18001fa40
dec rdi
jne 0x18000a090
mov rdi, qword [rsp + 0x110]
add rsp, 0x100
pop rbx
ret
mov rdx, rbx
mov ecx, r8d
add rsp, 0x100
pop rbx
jmp 0x180009e60
mov rdx, rbx
mov ecx, r8d
add rsp, 0x100
pop rbx
jmp 0x180009de0
mov rdx, rbx
mov ecx, r8d
call fcn.180009cc0
add rsp, 0x100
pop rbx
ret