Function at 0x1401b48d0
Capabilities:
Hash data using sha512

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r14
lea rbp, [rsp - 0x230]
sub rsp, 0x330
mov rax, qword [0x140345140]
xor rax, rsp
mov qword [rbp + 0x220], rax
mov rbx, r8
mov rdi, rdx
mov qword [rsp + 0x48], rdx
mov qword [rsp + 0x48], rbx
xor esi, esi
xor edx, edx
mov r8d, 0x110
lea rcx, [rsp + 0x70]
call fcn.1402f89a0
mov rdx, rbx
cmp qword [rbx + 0x18], 7
jbe 0x1401b492f
mov rdx, qword [rbx]
mov r8d, reloc.WLDAP32.dll_Ordinal_32
lea rcx, [rsp + 0x70]
call fcn.1400ef5c0
mov rax, qword [rsp + 0x70]
movsxd rcx, dword [rax + 4]
lea r14, vtable.std::basic_ifstream_char__struct_std::char_traits_char__.0
mov qword [rsp + rcx + 0x70], r14
mov rax, qword [rsp + 0x70]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xb0]
mov dword [rsp + rcx + 0x6c], edx
cmp qword [rbp], 0
je 0x1401b4bca
lea rax, vtable.sw::templates::basic_sha512_char_.0
mov qword [rbp + 0x80], rax
movabs rax, 0x6a09e667f3bcc908
mov qword [rbp + 0x90], rax
movabs rax, 0xbb67ae8584caa73b
mov qword [rbp + 0x98], rax
movabs rax, 0x3c6ef372fe94f82b
mov qword [rbp + 0xa0], rax
movabs rax, 0xa54ff53a5f1d36f1
mov qword [rbp + 0xa8], rax
movabs rax, 0x510e527fade682d1
mov qword [rbp + 0xb0], rax
movabs rax, 0x9b05688c2b3e6c1f
mov qword [rbp + 0xb8], rax
movabs rax, 0x1f83d9abfb41bd6b
mov qword [rbp + 0xc0], rax
movabs rax, 0x5be0cd19137e2179
mov qword [rbp + 0xc8], rax
mov dword [rbp + 0xd0], esi
mov qword [rbp + 0x88], rsi
xor edx, edx
mov r8d, 0x100
lea rcx, [rbp + 0xd4]
call fcn.1402f89a0
nop
mov rcx, qword [rsp + 0x70]
movsxd rax, dword [rcx + 4]
cmp dword [rbp + rax - 0x80], 0
jne 0x1401b4a98
nop word [rax + rax]
mov r8d, 0x40
lea rdx, [rbp + 0x1e0]
lea rcx, [rsp + 0x70]
call fcn.1400ebf30
mov rdx, rax
mov rax, qword [rax]
movsxd rcx, dword [rax + 4]
cmp dword [rcx + rdx + 0x10], 0
jne 0x1401b4a93
mov r8d, 0x40
lea rdx, [rbp + 0x1e0]
lea rcx, [rbp + 0x80]
call fcn.14008c4c0
mov rcx, qword [rsp + 0x70]
movsxd rax, dword [rcx + 4]
cmp dword [rbp + rax - 0x80], 0
je 0x1401b4a40
jmp 0x1401b4a98
mov rcx, qword [rsp + 0x70]
movsxd rax, dword [rcx + 4]
test byte [rbp + rax - 0x80], 1
jne 0x1401b4ac0
xorps xmm0, xmm0
movups xmmword [rsp + 0x50], xmm0
movdqa xmm1, xmmword [0x1403270c0]
movdqu xmmword [rsp + 0x60], xmm1
mov byte [rsp + 0x50], 0
jmp 0x1401b4aef
mov r8, qword [rsp + 0x78]
test r8, r8
je 0x1401b4add
lea rdx, [rbp + 0x1e0]
lea rcx, [rbp + 0x80]
call fcn.14008c4c0
lea rdx, [rsp + 0x50]
lea rcx, [rbp + 0x80]
call fcn.14008bf90
nop
lea rcx, [rbp - 0x80]
call fcn.14007f090
test rax, rax
jne 0x1401b4b30
mov rax, qword [rsp + 0x70]
movsxd rcx, dword [rax + 4]
mov eax, 6
mov edx, 2
cmp qword [rbp + rcx - 0x48], 0
cmovne eax, edx
or eax, dword [rbp + rcx - 0x80]
and eax, 0x17
mov dword [rbp + rcx - 0x80], eax
mov edx, dword [rbp + rcx - 0x7c]
and edx, eax
jne 0x1401b4c81
movups xmm0, xmmword [rsp + 0x50]
movups xmmword [rdi], xmm0
movups xmm1, xmmword [rsp + 0x60]
movups xmmword [rdi + 0x10], xmm1
movdqa xmm0, xmmword [0x1403270c0]
movdqu xmmword [rsp + 0x60], xmm0
mov byte [rsp + 0x50], 0
lea rcx, [rsp + 0x50]
call fcn.14008b180
nop
mov rax, qword [rsp + 0x70]
movsxd rcx, dword [rax + 4]
mov qword [rsp + rcx + 0x70], r14
mov rax, qword [rsp + 0x70]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xb0]
mov dword [rsp + rcx + 0x6c], edx
lea rcx, [rbp - 0x80]
call fcn.14007e440
mov rax, qword [rsp + 0x70]
movsxd rdx, dword [rax + 4]
lea rax, vtable.std::basic_istream_char__struct_std::char_traits_char__.0
mov qword [rsp + rdx + 0x70], rax
mov rdx, qword [rsp + 0x70]
movsxd r8, dword [rdx + 4]
lea r9d, [r8 - 0x18]
mov dword [rsp + r8 + 0x6c], r9d
lea rax, vtable.std::ios_base.0
mov qword [rbp + 0x20], rax
lea rcx, [rbp + 0x20]
call fcn.1402700d4
nop
jmp 0x1401b4c4f
xorps xmm0, xmm0
movups xmmword [rdi], xmm0
mov qword [rdi + 0x10], rsi
mov qword [rdi + 0x18], rsi
xor r8d, r8d
lea rdx, [0x140325e6e]
mov rcx, rdi
call fcn.14008b1f0
nop
mov rax, qword [rsp + 0x70]
movsxd rcx, dword [rax + 4]
mov qword [rsp + rcx + 0x70], r14
mov rax, qword [rsp + 0x70]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xb0]
mov dword [rsp + rcx + 0x6c], edx
lea rcx, [rbp - 0x80]
call fcn.14007e440
mov rax, qword [rsp + 0x70]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_istream_char__struct_std::char_traits_char__.0
mov qword [rsp + rcx + 0x70], rax
mov rax, qword [rsp + 0x70]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x18]
mov dword [rsp + rcx + 0x6c], edx
lea rax, vtable.std::ios_base.0
mov qword [rbp + 0x20], rax
lea rcx, [rbp + 0x20]
call fcn.1402700d4
nop
mov rcx, rbx
call fcn.14008bb60
mov rax, rdi
mov rcx, qword [rbp + 0x220]
xor rcx, rsp
call fcn.1402c69a0
lea r11, [rsp + 0x330]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
test dl, 4
je 0x1401b4c8f
lea rbx, str.ios_base::badbit_set
jmp 0x1401b4ca4
test dl, 2
lea rbx, str.ios_base::failbit_set
lea rax, str.ios_base::eofbit_set
cmove rbx, rax
mov edx, 1
lea rcx, [rsp + 0x38]
call fcn.14008a510
mov r8, rax
mov rdx, rbx
lea rcx, [rbp + 0x1e0]
call fcn.14008a360
lea rdx, [0x140342770]
lea rcx, [rbp + 0x1e0]
call fcn.1402c8ca8
int3