Function at 0x1400b9530
Capabilities:
Hash data using sha1
Hash data using sha256

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x30
mov rdi, rdx
mov r8d, 0x1a30
xor edx, edx
mov rbx, rcx
call fcn.14016ad60
mov r8, qword [rdi + 0xa8]
lea rax, [rbx + 0xf0]
mov qword [rbx + 0xf8], rax
lea rcx, [rbx + 0x460]
lea rax, [rbx + 0x110]
mov qword [rbx + 0x48], r8
mov qword [rbx + 0x118], rax
mov dword [rbx + 0x108], 5
mov dword [rbx + 0x128], 5
call fcn.1400b82a0
lea rdx, [rbx + 0x29c]
mov dword [rdx], 0xffffffff
lea rcx, [rbx + 0x2a0]
mov dword [rcx], 0xffffffff
mov eax, dword [rdi + 0x178]
mov dword [rbx + 0x1a24], eax
lea rax, [0x1400c1850]
mov qword [rbx + 0x98], rax
mov qword [rbx + 0x28], rcx
mov ecx, 0x4000
or cx, word [rbx + 0x398]
mov word [rbx + 0x398], cx
mov qword [rbx + 0x20], rdx
mov word [rbx + 0x39d], 0
mov dword [rbx + 0x3a2], 0
mov byte [rbx + 0x39f], 0
mov byte [rbx + 0x39a], 0
mov byte [rbx + 0xc0], 0
mov byte [rbx + 0xe8], 0
mov qword [rbx + 0x90], rbx
movzx eax, byte [rdi + 0xb5]
shr al, 1
and al, 1
movzx r8d, al
mov eax, 0xefff
and cx, ax
shl r8w, 0xc
or r8w, cx
mov word [rbx + 0x398], r8w
movzx eax, byte [rdi + 0xb5]
shr al, 2
and al, 1
movzx edx, al
mov eax, 0xdfff
and r8w, ax
shl dx, 0xd
or dx, r8w
mov word [rbx + 0x398], dx
movzx eax, byte [rdi + 0x188]
and al, 1
mov qword [rbx + 0x288], 0xffffffffffffffff
movzx ecx, al
mov eax, 0xfbff
and dx, ax
shl cx, 0xa
or cx, dx
mov qword [rbx + 0x290], 0xffffffffffffffff
mov word [rbx + 0x398], cx
lea rdx, [rdi + 0xc4]
movzx eax, byte [rdi + 0xf4]
lea rcx, [rbx + 0x3d8]
mov byte [rbx + 0x405], al
movzx r8d, byte [rdi + 0xf4]
call fcn.14016a6b0
movzx eax, byte [rdi + 0xf5]
xor esi, esi
mov byte [rbx + 0x50], al
xorps xmm0, xmm0
mov qword [rbx + 0xa0], rsi
mov qword [rbx + 0xc8], rsi
mov qword [rbx + 0xa8], rsi
mov qword [rbx + 0xd0], rsi
mov qword [rbx + 0xb0], rsi
mov qword [rbx + 0xd8], rsi
mov byte [rbx + 0xc1], sil
mov byte [rbx + 0xe9], sil
mov rax, qword [0x140a04578]
mov ecx, 0xb0
movups xmmword [rbx + 0x2c4], xmm0
mov dword [rbx + 0x2cc], 0xffffffff
mov byte [rbx + 0x2d0], 0xff
test rax, rax
je 0x1400b9741
call rax
jmp 0x1400b9746
call fcn.140182c38
mov qword [rbx + 0x10], rax
test rax, rax
jne 0x1400b97a0
cmp dword [0x140a04560], esi
je 0x1400b9aad
mov rax, qword [0x140a04558]
test rax, rax
je 0x1400b978a
lea rdx, str.Arrays_Memory_error
mov ecx, 1
call rax
mov eax, 0xffffff83
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
mov ecx, 2
call fcn.14017cf98
lea r8, str.Arrays_Memory_error
jmp 0x1400b995d
xor edx, edx
mov r8d, 0xb0
mov rcx, rax
call fcn.14016ad60
mov rax, qword [0x140a04578]
mov ecx, 0x140
test rax, rax
je 0x1400b97c5
call rax
jmp 0x1400b97ca
call fcn.140182c38
mov qword [rbx + 0x3f8], rax
test rax, rax
jne 0x1400b9827
cmp dword [0x140a04560], esi
je 0x1400b9aad
mov rax, qword [0x140a04558]
test rax, rax
je 0x1400b9811
lea rdx, str.ssl__param_memory_error
mov ecx, 1
call rax
mov eax, 0xffffff83
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
mov ecx, 2
call fcn.14017cf98
lea r8, str.ssl__param_memory_error
jmp 0x1400b995d
xor edx, edx
mov r8d, 0x140
mov rcx, rax
call fcn.14016ad60
mov rax, qword [0x140a04578]
mov ecx, 0x154
test rax, rax
je 0x1400b984c
call rax
jmp 0x1400b9851
call fcn.140182c38
mov qword [rbx + 8], rax
test rax, rax
jne 0x1400b98ab
cmp dword [0x140a04560], esi
je 0x1400b9aad
mov rax, qword [0x140a04558]
test rax, rax
je 0x1400b9895
lea rdx, str.Suites_Memory_error
mov ecx, 1
call rax
mov eax, 0xffffff83
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
mov ecx, 2
call fcn.14017cf98
lea r8, str.Suites_Memory_error
jmp 0x1400b995d
mov rdx, rdi
mov rcx, rbx
call fcn.1400b8f50
cmp eax, 1
jne 0x1400b9bc3
cmp byte [rbx + 0x2c0], 0xfe
mov ecx, esi
movzx eax, word [rbx + 0x396]
mov edx, 0xfffe
sete cl
and ax, dx
or cx, ax
mov word [rbx + 0x396], cx
cmp qword [rbx + 0x30], rsi
jne 0x1400b9a11
mov rax, qword [0x140a04578]
mov ecx, reloc.WLDAP32.dll_Ordinal_32
test rax, rax
je 0x1400b9903
call rax
jmp 0x1400b9908
call fcn.140182c38
mov qword [rbx + 0x30], rax
test rax, rax
jne 0x1400b9981
cmp dword [0x140a04560], esi
je 0x1400b9aad
mov rax, qword [0x140a04558]
test rax, rax
je 0x1400b994c
lea rdx, str.RNG_Memory_error
mov ecx, 1
call rax
mov eax, 0xffffff83
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
mov ecx, 2
call fcn.14017cf98
lea r8, str.RNG_Memory_error
lea rdx, [0x140998764]
mov rcx, rax
call fcn.1400af550
mov eax, 0xffffff83
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
xorps xmm0, xmm0
movups xmmword [rax], xmm0
movups xmmword [rax + 0x10], xmm0
mov r9, qword [rbx + 0x48]
mov eax, 0x100
mov rcx, qword [rbx + 0x30]
or word [rbx + 0x398], ax
call fcn.1400f8cd0
mov edi, eax
test eax, eax
je 0x1400b9a11
cmp dword [0x140a04560], esi
je 0x1400b99ff
mov r8, qword [0x140a04558]
test r8, r8
je 0x1400b99df
lea rdx, str.RNG_Init_error
mov ecx, 1
call r8
mov eax, edi
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
mov ecx, 2
call fcn.14017cf98
mov rcx, rax
lea r8, str.RNG_Init_error
lea rdx, [0x140998764]
call fcn.1400af550
mov eax, edi
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
mov rcx, qword [rbx + 0x18]
test rcx, rcx
je 0x1400b9a33
mov rax, qword [0x140a04568]
test rax, rax
je 0x1400b9a2a
call rax
jmp 0x1400b9a2f
call fcn.14017d748
mov qword [rbx + 0x18], rsi
mov rax, qword [0x140a04578]
mov ecx, 0x1d0
test rax, rax
je 0x1400b9a48
call rax
jmp 0x1400b9a4d
call fcn.140182c38
mov qword [rbx + 0x18], rax
test rax, rax
jne 0x1400b9ac2
cmp dword [0x140a04560], esi
je 0x1400b9aad
mov rax, qword [0x140a04558]
test rax, rax
je 0x1400b9a8d
lea rdx, str.HS_Hashes_Memory_error
mov ecx, 1
call rax
mov eax, 0xffffff83
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
mov ecx, 2
call fcn.14017cf98
mov rcx, rax
lea r8, str.HS_Hashes_Memory_error
lea rdx, [0x140998764]
call fcn.1400af550
mov eax, 0xffffff83
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
xor edx, edx
mov r8d, 0x1d0
mov rcx, rax
call fcn.14016ad60
mov rcx, qword [rbx + 0x18]
add rcx, 0xf0
je 0x1400b9bbe
mov rax, qword [rbx + 0x48]
mov qword [rcx + 0x60], rax
mov dword [rcx + 0x4c], 0x67452301
mov dword [rcx + 0x50], 0xefcdab89
mov dword [rcx + 0x54], 0x98badcfe
mov dword [rcx + 0x58], 0x10325476
mov qword [rcx], rsi
mov dword [rcx + 8], esi
mov rcx, qword [rbx + 0x18]
add rcx, 0x88
je 0x1400b9bbe
mov rax, qword [rbx + 0x48]
mov qword [rcx + 0x60], rax
mov dword [rcx + 0x4c], 0x67452301
mov dword [rcx + 0x50], 0xefcdab89
mov dword [rcx + 0x54], 0x98badcfe
mov dword [rcx + 0x58], 0x10325476
mov dword [rcx + 0x5c], 0xc3d2e1f0
mov qword [rcx], rsi
mov dword [rcx + 8], esi
mov rcx, qword [rbx + 0x18]
add rcx, 0x158
je 0x1400b9bbe
mov rax, qword [rbx + 0x48]
xorps xmm0, xmm0
mov qword [rcx + 0x70], rax
xor eax, eax
movups xmmword [rcx], xmm0
movups xmmword [rcx + 0x10], xmm0
mov dword [rcx], 0x6a09e667
mov dword [rcx + 4], 0xbb67ae85
mov dword [rcx + 8], 0x3c6ef372
mov dword [rcx + 0xc], 0xa54ff53a
mov dword [rcx + 0x10], 0x510e527f
mov dword [rcx + 0x14], 0x9b05688c
mov dword [rcx + 0x18], 0x1f83d9ab
mov dword [rcx + 0x1c], 0x5be0cd19
mov qword [rcx + 0x60], rsi
mov dword [rcx + 0x68], esi
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
mov eax, 0xffffff53
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret