Function at 0x14006a190
Capabilities:
Hash data using sha512

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x1b8
mov qword [rsp + 0x38], rdx
mov rdi, rcx
mov rax, qword [0x14039de68]
xor rax, rsp
mov qword [rsp + 0x1b0], rax
mov rax, qword [r8 + 0x28]
test rax, rax
je 0x14006a1f1
cmp qword [rax + 0x28], 0
je 0x14006a1f1
mov dword [rsp + 0x20], 0x138
lea r9, str..._.._third_party_boringssl_src_crypto_fipsmoduleecdsa_ecdsa.c
xor r15d, r15d
mov ecx, 0x1a
xor edx, edx
mov r8d, 0x67
jmp 0x14006a365
mov rbx, qword [r8]
test rbx, rbx
je 0x14006a346
mov r14, qword [r8 + 0x10]
test r14, r14
je 0x14006a346
add r14, 0x18
movabs rax, 0x6a09e667f3bcc908
mov qword [rsp + 0xd8], rax
movabs rax, 0xbb67ae8584caa73b
mov qword [rsp + 0xe0], rax
movabs rax, 0x3c6ef372fe94f82b
mov qword [rsp + 0xe8], rax
movabs rax, 0xa54ff53a5f1d36f1
mov qword [rsp + 0xf0], rax
movabs rax, 0x510e527fade682d1
mov qword [rsp + 0xf8], rax
movabs rax, 0x9b05688c2b3e6c1f
mov qword [rsp + 0x100], rax
movabs rax, 0x1f83d9abfb41bd6b
mov qword [rsp + 0x108], rax
movabs rax, 0x5be0cd19137e2179
mov qword [rsp + 0x110], rax
movabs rax, 0x4000000000
mov qword [rsp + 0x1a8], rax
pxor xmm0, xmm0
movdqu xmmword [rsp + 0x118], xmm0
movsxd r8, dword [rbx + 0x108]
shl r8, 3
lea r15, [rsp + 0xd8]
mov rcx, r15
mov rdx, r14
call fcn.14006a660
mov rcx, r15
mov rdx, rdi
mov r8, qword [rsp + 0x38]
call fcn.14006a660
mov eax, dword [rsp + 0x1a8]
mov r12d, dword [rsp + 0x1ac]
lea r15, [rsp + 0x128]
lea rcx, [rax + 1]
mov byte [rsp + rax + 0x128], 0x80
cmp rax, 0x70
jb 0x14006a391
cmp eax, 0x7f
je 0x14006a32c
mov r8d, 0x7f
sub r8, rax
add rcx, r15
xor edx, edx
call fcn.14025d290
lea rcx, [rsp + 0xd8]
mov r8d, 1
mov rdx, r15
call fcn.14007ffd0
xor ecx, ecx
jmp 0x14006a397
mov dword [rsp + 0x20], 0x13e
lea r9, str..._.._third_party_boringssl_src_crypto_fipsmoduleecdsa_ecdsa.c
xor r15d, r15d
mov ecx, 0x1a
xor edx, edx
mov r8d, 0x43
call fcn.14004ba00
mov rcx, qword [rsp + 0x1b0]
xor rcx, rsp
call fcn.140259980
mov rax, r15
add rsp, 0x1b8
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
cmp rcx, 0x70
je 0x14006a3aa
mov r8d, reloc.WS2_32.dll_WSASetLastError
sub r8, rcx
add rcx, r15
xor edx, edx
call fcn.14025d290
mov rax, qword [rsp + 0x118]
mov rcx, qword [rsp + 0x120]
bswap rcx
mov qword [rsp + 0x198], rcx
bswap rax
mov qword [rsp + 0x1a0], rax
lea rcx, [rsp + 0xd8]
mov r8d, 1
mov rdx, r15
call fcn.14007ffd0
cmp r12d, 8
jb 0x14006a4f3
mov eax, r12d
shr eax, 3
cmp r12d, 0x20
jae 0x14006a40b
lea rcx, [rsp + 0x90]
xor edx, edx
jmp 0x14006a4c6
mov edx, eax
and edx, 0xfffffffc
mov r8d, edx
lea rcx, [rsp + r8*8]
add rcx, 0x90
shl r8, 3
xor r9d, r9d
pxor xmm0, xmm0
nop dword [rax]
movdqu xmm1, xmmword [rsp + r9 + 0xd8]
movdqu xmm2, xmmword [rsp + r9 + 0xe8]
movdqa xmm3, xmm1
punpckhbw xmm3, xmm0
pshufd xmm3, xmm3, 0x4e
pshuflw xmm3, xmm3, 0x1b
pshufhw xmm3, xmm3, 0x1b
punpcklbw xmm1, xmm0
pshufd xmm1, xmm1, 0x4e
pshuflw xmm1, xmm1, 0x1b
pshufhw xmm1, xmm1, 0x1b
packuswb xmm1, xmm3
movdqa xmm3, xmm2
punpckhbw xmm3, xmm0
pshufd xmm3, xmm3, 0x4e
pshuflw xmm3, xmm3, 0x1b
pshufhw xmm3, xmm3, 0x1b
punpcklbw xmm2, xmm0
pshufd xmm2, xmm2, 0x4e
pshuflw xmm2, xmm2, 0x1b
pshufhw xmm2, xmm2, 0x1b
packuswb xmm2, xmm3
movdqa xmmword [rsp + r9 + 0x90], xmm1
movdqa xmmword [rsp + r9 + 0xa0], xmm2
add r9, 0x20
cmp r8, r9
jne 0x14006a430
cmp rdx, rax
je 0x14006a4f3
sub rax, rdx
lea rdx, [rsp + rdx*8]
add rdx, 0xd8
xor r8d, r8d
nop word [rax + rax]
mov r9, qword [rdx + r8*8]
bswap r9
mov qword [rcx + r8*8], r9
inc r8
cmp rax, r8
jne 0x14006a4e0
movsxd r9, dword [rbx + 0x108]
mov r8, qword [rbx + 0x100]
lea rbp, [rsp + 0x90]
mov qword [rsp + 0x20], rbp
lea rcx, [rsp + 0x48]
mov edx, 1
call fcn.140064d20
test eax, eax
je 0x14006a58f
mov esi, 0x21
lea r12, [rsp + 0x44]
lea r13, [rsp + 0x48]
mov rax, qword [rsp + 0x38]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rdi
mov rcx, rbx
mov rdx, r12
mov r8, r14
mov r9, r13
call fcn.140069b80
mov r15, rax
test rax, rax
jne 0x14006a36a
cmp dword [rsp + 0x44], 0
je 0x14006a36a
dec esi
je 0x14006a597
movsxd r9, dword [rbx + 0x108]
mov r8, qword [rbx + 0x100]
mov qword [rsp + 0x20], rbp
mov edx, 1
mov rcx, r13
call fcn.140064d20
test eax, eax
jne 0x14006a530
xor r15d, r15d
jmp 0x14006a36a
mov dword [rsp + 0x20], 0x16c
lea r9, str..._.._third_party_boringssl_src_crypto_fipsmoduleecdsa_ecdsa.c
mov ecx, 0x1a
xor edx, edx
mov r8d, WSAGetLastError
jmp 0x14006a365