Function at 0x14002f6b0
Capabilities:
Hash data using sha1

Disassembly:
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x90]
sub rsp, 0x190
mov qword [rsp + 0x28], 0xfffffffffffffffe
mov qword [rsp + 0x1e0], rbx
mov rax, qword [0x1400e9088]
xor rax, rsp
mov qword [rbp + 0x80], rax
mov r13, rdx
mov rdi, rcx
mov qword [rsp + 0x30], rdx
mov dword [rsp + 0x20], 0
mov rsi, qword [rcx + 0x38]
shl rsi, 6
add rsi, qword [rcx + 0x28]
shl rsi, 3
mov r8b, 0x80
mov edx, 1
add rcx, 0x18
call fcn.140011b10
mov r12, qword [rdi + 0x28]
cmp r12, 0x40
jae 0x14002f747
nop dword [rax + rax]
xor r8d, r8d
lea edx, [r8 + 1]
lea rcx, [rdi + 0x18]
call fcn.140011b10
cmp qword [rdi + 0x28], 0x40
jb 0x14002f730
xor eax, eax
mov qword [rbp + 0x40], rax
mov qword [rbp + 0x48], rax
mov qword [rbp + 0x50], rax
mov qword [rbp + 0x58], rax
mov qword [rbp + 0x60], rax
mov qword [rbp + 0x68], rax
mov qword [rbp + 0x70], rax
mov qword [rbp + 0x78], rax
mov r8, qword [rdi + 0x30]
lea r14, [rbp + 0x40]
lea r11d, [rax + 2]
lea r15d, [rax + 0x10]
nop dword [rax]
cmp r8, 0x10
jb 0x14002f78c
mov r10, qword [rdi + 0x18]
jmp 0x14002f790
lea r10, [rdi + 0x18]
cmp r8, 0x10
jb 0x14002f79c
mov r9, qword [rdi + 0x18]
jmp 0x14002f7a0
lea r9, [rdi + 0x18]
cmp r8, 0x10
jb 0x14002f7ac
mov rax, qword [rdi + 0x18]
jmp 0x14002f7b0
lea rax, [rdi + 0x18]
cmp r8, 0x10
jb 0x14002f7bc
mov rcx, qword [rdi + 0x18]
jmp 0x14002f7c0
lea rcx, [rdi + 0x18]
movzx edx, byte [r11 + rax - 1]
shl edx, 8
movzx eax, byte [r11 + r9]
or edx, eax
shl edx, 8
movsx eax, byte [r11 + rcx - 2]
shl eax, 0x18
and eax, 0xff000000
or edx, eax
movsx eax, byte [r11 + r10 + 1]
movzx ecx, al
or edx, ecx
mov dword [r14], edx
add r11, 4
add r14, 4
sub r15, 1
jne 0x14002f780
cmp r12d, 0x38
jbe 0x14002f82f
lea rdx, [rbp + 0x40]
mov rcx, rdi
call fcn.14002fa30
mov qword [rbp + 0x40], r15
mov qword [rbp + 0x48], r15
mov qword [rbp + 0x50], r15
mov qword [rbp + 0x58], r15
mov qword [rbp + 0x60], r15
mov qword [rbp + 0x68], r15
mov qword [rbp + 0x70], r15
jmp 0x14002f832
xor r15d, r15d
mov dword [rbp + 0x7c], esi
shr rsi, 0x20
mov dword [rbp + 0x78], esi
lea rdx, [rbp + 0x40]
mov rcx, rdi
call fcn.14002fa30
xor edx, edx
mov r8d, 0xe8
lea rcx, [rsp + 0x50]
call fcn.140077610
lea rcx, [rsp + 0x50]
call fcn.140030fd0
nop
mov rsi, rdi
mov r14d, 5
nop
mov rax, qword [rsp + 0x50]
movsxd rcx, dword [rax + 4]
and dword [rsp + rcx + 0x68], 0xfffff9ff
or dword [rsp + rcx + 0x68], 0x800
mov rax, qword [rsp + 0x50]
movsxd rcx, dword [rax + 4]
mov byte [rbp + rcx - 0x58], 0x30
mov edx, 8
lea rcx, [rsp + 0x38]
call fcn.14003a420
mov r8, rax
mov rax, qword [rsp + 0x50]
movsxd rcx, dword [rax + 4]
lea rax, [rsp + 0x50]
add rcx, rax
mov rdx, qword [r8 + 8]
call qword [r8]
mov edx, dword [rsi]
lea rcx, [rsp + 0x50]
call fcn.1400318a0
lea rsi, [rsi + 4]
sub r14, 1
jne 0x14002f870
mov dword [rdi], 0x67452301
mov dword [rdi + 4], 0xefcdab89
mov dword [rdi + 8], 0x98badcfe
mov dword [rdi + 0xc], 0x10325476
mov dword [rdi + 0x10], 0xc3d2e1f0
mov qword [rdi + 0x38], r15
xor r8d, r8d
lea rdx, [0x1400be6c2]
lea rcx, [rdi + 0x18]
call fcn.140003800
mov rdx, r13
lea rcx, [rsp + 0x50]
call fcn.140030f00
mov dword [rsp + 0x20], 1
lea rcx, [rbp - 0x28]
call fcn.140030f40
lea rax, [rbp - 0x28]
mov qword [rsp + 0x38], rax
lea rax, vtable.std::basic_ios_char__struct_std::char_traits_char__.0
mov qword [rbp - 0x28], rax
lea rax, vtable.std::ios_base.0
mov qword [rbp - 0x28], rax
lea rcx, [rbp - 0x28]
call fcn.14003a34c
mov rax, r13
mov rcx, qword [rbp + 0x80]
xor rcx, rsp
call fcn.140056080
mov rbx, qword [rsp + 0x1e0]
add rsp, 0x190
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret