Function at 0x1400050f0
Capabilities:
Hash data using sha1

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x90]
sub rsp, 0x190
mov rax, qword [0x140108020]
xor rax, rsp
mov qword [rbp + 0x80], rax
mov r14, rdx
mov rdi, rcx
mov qword [rsp + 0x40], rdx
xor r13d, r13d
mov dword [rsp + 0x20], r13d
mov rsi, qword [rcx + 0x38]
shl rsi, 6
add rsi, qword [rcx + 0x28]
shl rsi, 3
mov rcx, qword [rcx + 0x28]
mov rdx, qword [rdi + 0x30]
cmp rcx, rdx
jae 0x14000516e
lea rax, [rcx + 1]
mov qword [rdi + 0x28], rax
lea rax, [rdi + 0x18]
cmp rdx, 0x10
jb 0x140005166
mov rax, qword [rdi + 0x18]
mov word [rax + rcx], 0x80
jmp 0x140005181
mov r9b, 0x80
xor r8d, r8d
lea edx, [r8 + 1]
lea rcx, [rdi + 0x18]
call fcn.140010350
mov r15, qword [rdi + 0x28]
cmp r15, 0x40
jae 0x1400051d4
nop dword [rax + rax]
mov rcx, qword [rdi + 0x28]
mov rdx, qword [rdi + 0x30]
cmp rcx, rdx
jae 0x1400051ba
lea rax, [rcx + 1]
mov qword [rdi + 0x28], rax
lea rax, [rdi + 0x18]
cmp rdx, 0x10
jb 0x1400051b3
mov rax, qword [rdi + 0x18]
mov word [rax + rcx], r13w
jmp 0x1400051cd
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 1]
lea rcx, [rdi + 0x18]
call fcn.140010350
cmp qword [rdi + 0x28], 0x40
jb 0x140005190
lea rdx, [rbp + 0x40]
lea rcx, [rdi + 0x18]
call fcn.140004ab0
cmp r15, 0x38
jbe 0x14000520c
lea r8, [rdi + 0x38]
lea rdx, [rbp + 0x40]
mov rcx, rdi
call fcn.1400033a0
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp + 0x40], xmm0
movups xmmword [rbp + 0x50], xmm0
movups xmmword [rbp + 0x60], xmm0
mov qword [rbp + 0x70], rax
mov dword [rbp + 0x7c], esi
shr rsi, 0x20
mov dword [rbp + 0x78], esi
lea r8, [rdi + 0x38]
lea rdx, [rbp + 0x40]
mov rcx, rdi
call fcn.1400033a0
xor edx, edx
mov r8d, 0xe8
lea rcx, [rsp + 0x50]
call fcn.1400580e0
lea rcx, [rsp + 0x50]
call fcn.14000b560
nop
mov rax, qword [rsp + 0x50]
movsxd rcx, dword [rax + 4]
mov eax, dword [rsp + rcx + 0x68]
and eax, 0xfffff9ff
bts eax, 0xb
mov dword [rsp + rcx + 0x68], eax
mov rax, qword [rsp + 0x50]
movsxd rcx, dword [rax + 4]
mov byte [rbp + rcx - 0x58], 0x30
mov edx, 8
lea rcx, [rsp + 0x28]
call fcn.140030350
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 [rdi]
lea rcx, [rsp + 0x50]
call fcn.14000b650
mov rax, qword [rsp + 0x50]
movsxd rcx, dword [rax + 4]
mov eax, dword [rsp + rcx + 0x68]
and eax, 0xfffff9ff
bts eax, 0xb
mov dword [rsp + rcx + 0x68], eax
mov rax, qword [rsp + 0x50]
movsxd rcx, dword [rax + 4]
mov byte [rbp + rcx - 0x58], 0x30
mov edx, 8
lea rcx, [rsp + 0x28]
call fcn.140030350
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 [rdi + 4]
lea rcx, [rsp + 0x50]
call fcn.14000b650
mov rax, qword [rsp + 0x50]
movsxd rcx, dword [rax + 4]
mov eax, dword [rsp + rcx + 0x68]
and eax, 0xfffff9ff
bts eax, 0xb
mov dword [rsp + rcx + 0x68], eax
mov rax, qword [rsp + 0x50]
movsxd rcx, dword [rax + 4]
mov byte [rbp + rcx - 0x58], 0x30
mov edx, 8
lea rcx, [rsp + 0x28]
call fcn.140030350
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 [rdi + 8]
lea rcx, [rsp + 0x50]
call fcn.14000b650
mov rax, qword [rsp + 0x50]
movsxd rcx, dword [rax + 4]
mov eax, dword [rsp + rcx + 0x68]
and eax, 0xfffff9ff
bts eax, 0xb
mov dword [rsp + rcx + 0x68], eax
mov rax, qword [rsp + 0x50]
movsxd rcx, dword [rax + 4]
mov byte [rbp + rcx - 0x58], 0x30
mov edx, 8
lea rcx, [rsp + 0x28]
call fcn.140030350
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 [rdi + 0xc]
lea rcx, [rsp + 0x50]
call fcn.14000b650
mov rax, qword [rsp + 0x50]
movsxd rcx, dword [rax + 4]
mov eax, dword [rsp + rcx + 0x68]
and eax, 0xfffff9ff
bts eax, 0xb
mov dword [rsp + rcx + 0x68], eax
mov rax, qword [rsp + 0x50]
movsxd rcx, dword [rax + 4]
mov byte [rbp + rcx - 0x58], 0x30
mov edx, 8
lea rcx, [rsp + 0x28]
call fcn.140030350
mov rdx, qword [rax + 8]
mov r8, qword [rax]
mov rax, qword [rsp + 0x50]
movsxd rcx, dword [rax + 4]
lea rax, [rsp + 0x50]
add rcx, rax
call r8
mov edx, dword [rdi + 0x10]
lea rcx, [rsp + 0x50]
call fcn.14000b650
mov dword [rdi], 0x67452301
mov dword [rdi + 4], 0xefcdab89
mov dword [rdi + 8], 0x98badcfe
mov dword [rdi + 0xc], 0x10325476
mov dword [rdi + 0x10], 0xc3d2e1f0
xor r8d, r8d
lea rdx, [0x14008cabe]
lea rcx, [rdi + 0x18]
call fcn.14000f110
mov qword [rdi + 0x38], r13
xorps xmm0, xmm0
movups xmmword [r14], xmm0
mov qword [r14 + 0x10], r13
mov qword [r14 + 0x18], 0xf
mov byte [r14], 0
mov dword [rsp + 0x20], 4
movups xmmword [rsp + 0x28], xmm0
mov rcx, qword [rbp - 0x38]
mov eax, ecx
and al, 0x22
cmp al, 2
je 0x1400054a8
mov rax, qword [rbp - 0x68]
mov r8, qword [rax]
test r8, r8
je 0x1400054a8
mov rax, qword [rsp + 0x78]
mov rdx, qword [rax]
cmp r8, qword [rbp - 0x40]
cmovb r8, qword [rbp - 0x40]
sub r8, rdx
jmp 0x1400054da
test cl, 4
jne 0x1400054d0
mov rax, qword [rbp - 0x70]
mov rcx, qword [rax]
test rcx, rcx
je 0x1400054d0
mov rax, qword [rsp + 0x70]
mov rdx, qword [rax]
mov rax, qword [rbp - 0x58]
movsxd r8, dword [rax]
add r8, rcx
sub r8, rdx
jmp 0x1400054da
mov r8, qword [rsp + 0x30]
mov rdx, qword [rsp + 0x28]
test rdx, rdx
je 0x1400054e8
mov rcx, r14
call fcn.14000f110
nop
mov rax, qword [rsp + 0x50]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_ostringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov qword [rsp + rcx + 0x50], rax
mov rax, qword [rsp + 0x50]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x88]
mov dword [rsp + rcx + 0x4c], edx
lea rcx, [rsp + 0x58]
call fcn.14000be30
mov rax, qword [rsp + 0x50]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_ostream_char__struct_std::char_traits_char__.0
mov qword [rsp + rcx + 0x50], rax
mov rcx, qword [rsp + 0x50]
movsxd rdx, dword [rcx + 4]
lea r8d, [rdx - 0x10]
mov dword [rsp + rdx + 0x4c], r8d
lea rax, vtable.std::ios_base.0
mov qword [rbp - 0x28], rax
lea rcx, [rbp - 0x28]
call fcn.140030258
nop
mov rax, r14
mov rcx, qword [rbp + 0x80]
xor rcx, rsp
call fcn.140055540
mov rbx, qword [rsp + 0x1e0]
add rsp, 0x190
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret