Function at 0x1400047b0
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 [0x1400ee020]
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 0x14000482e
lea rax, [rcx + 1]
mov qword [rdi + 0x28], rax
lea rax, [rdi + 0x18]
cmp rdx, 0x10
jb 0x140004826
mov rax, qword [rdi + 0x18]
mov word [rax + rcx], 0x80
jmp 0x140004841
mov r9b, 0x80
xor r8d, r8d
lea edx, [r8 + 1]
lea rcx, [rdi + 0x18]
call fcn.140009aa0
mov r15, qword [rdi + 0x28]
cmp r15, 0x40
jae 0x140004894
nop dword [rax + rax]
mov rcx, qword [rdi + 0x28]
mov rdx, qword [rdi + 0x30]
cmp rcx, rdx
jae 0x14000487a
lea rax, [rcx + 1]
mov qword [rdi + 0x28], rax
lea rax, [rdi + 0x18]
cmp rdx, 0x10
jb 0x140004873
mov rax, qword [rdi + 0x18]
mov word [rax + rcx], r13w
jmp 0x14000488d
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 1]
lea rcx, [rdi + 0x18]
call fcn.140009aa0
cmp qword [rdi + 0x28], 0x40
jb 0x140004850
lea rdx, [rbp + 0x40]
lea rcx, [rdi + 0x18]
call fcn.140004170
cmp r15, 0x38
jbe 0x1400048cc
lea r8, [rdi + 0x38]
lea rdx, [rbp + 0x40]
mov rcx, rdi
call fcn.140002a60
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.140002a60
xor edx, edx
mov r8d, 0xe8
lea rcx, [rsp + 0x50]
call fcn.140042350
lea rcx, [rsp + 0x50]
call fcn.140004e90
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.14001a7d0
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.140004f80
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.14001a7d0
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.140004f80
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.14001a7d0
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.140004f80
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.14001a7d0
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.140004f80
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.14001a7d0
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.140004f80
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, [0x14007591e]
lea rcx, [rdi + 0x18]
call fcn.140008950
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 0x140004b68
mov rax, qword [rbp - 0x68]
mov r8, qword [rax]
test r8, r8
je 0x140004b68
mov rax, qword [rsp + 0x78]
mov rdx, qword [rax]
cmp r8, qword [rbp - 0x40]
cmovb r8, qword [rbp - 0x40]
sub r8, rdx
jmp 0x140004b9a
test cl, 4
jne 0x140004b90
mov rax, qword [rbp - 0x70]
mov rcx, qword [rax]
test rcx, rcx
je 0x140004b90
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 0x140004b9a
mov r8, qword [rsp + 0x30]
mov rdx, qword [rsp + 0x28]
test rdx, rdx
je 0x140004ba8
mov rcx, r14
call fcn.140008950
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.140005760
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.14001a6d8
nop
mov rax, r14
mov rcx, qword [rbp + 0x80]
xor rcx, rsp
call fcn.14003f9c0
mov rbx, qword [rsp + 0x1e0]
add rsp, 0x190
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret