Function at 0x140068960
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 [0x140396de8]
xor rax, rsp
mov qword [rsp + 0x1b0], rax
mov rax, qword [r8 + 0x28]
test rax, rax
je 0x1400689c1
cmp qword [rax + 0x28], 0
je 0x1400689c1
mov dword [rsp + 0x20], 0x136
lea r9, str..._.._third_party_boringssl_src_crypto_fipsmodule_ecdsa_ecdsa.c
xor r15d, r15d
mov ecx, 0x1a
xor edx, edx
mov r8d, 0x67
jmp 0x140068b32
mov rbx, qword [r8]
test rbx, rbx
je 0x140068b13
mov r14, qword [r8 + 0x10]
test r14, r14
je 0x140068b13
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 + 0x18]
shl r8, 3
lea r15, [rsp + 0xd8]
mov rcx, r15
mov rdx, r14
call fcn.140068e30
mov rcx, r15
mov rdx, rdi
mov r8, qword [rsp + 0x38]
call fcn.140068e30
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 0x140068b5e
cmp eax, 0x7f
je 0x140068af9
mov r8d, 0x7f
sub r8, rax
add rcx, r15
xor edx, edx
call fcn.140260830
lea rcx, [rsp + 0xd8]
mov r8d, 1
mov rdx, r15
call fcn.14007f520
xor ecx, ecx
jmp 0x140068b64
mov dword [rsp + 0x20], 0x13c
lea r9, str..._.._third_party_boringssl_src_crypto_fipsmodule_ecdsa_ecdsa.c
xor r15d, r15d
mov ecx, 0x1a
xor edx, edx
mov r8d, 0x43
call fcn.14004a6a0
mov rcx, qword [rsp + 0x1b0]
xor rcx, rsp
call fcn.14025dfe0
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 0x140068b77
mov r8d, reloc.WS2_32.dll_WSASetLastError
sub r8, rcx
add rcx, r15
xor edx, edx
call fcn.140260830
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.14007f520
cmp r12d, 8
jb 0x140068cc3
mov eax, r12d
shr r12, 3
cmp eax, 0x20
jae 0x140068bd8
lea rax, [rsp + 0x90]
xor ecx, ecx
jmp 0x140068c96
mov ecx, r12d
and ecx, 0xfffffffc
lea rdx, [rcx*8]
lea rax, [rsp + rcx*8]
add rax, 0x90
xor r8d, r8d
pxor xmm0, xmm0
nop word [rax + rax]
movdqu xmm1, xmmword [rsp + r8 + 0xd8]
movdqu xmm2, xmmword [rsp + r8 + 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 + r8 + 0x90], xmm1
movdqa xmmword [rsp + r8 + 0xa0], xmm2
add r8, 0x20
cmp rdx, r8
jne 0x140068c00
cmp rcx, r12
je 0x140068cc3
sub r12, rcx
lea rcx, [rsp + rcx*8]
add rcx, 0xd8
xor edx, edx
nop word cs:[rax + rax]
mov r8, qword [rcx + rdx*8]
bswap r8
mov qword [rax + rdx*8], r8
inc rdx
cmp r12, rdx
jne 0x140068cb0
movsxd r9, dword [rbx + 0x18]
mov r8, qword [rbx + 0x10]
lea rbp, [rsp + 0x90]
mov qword [rsp + 0x20], rbp
lea rcx, [rsp + 0x48]
mov edx, 1
call fcn.1400638c0
test eax, eax
je 0x140068d59
mov esi, 0x21
lea r12, [rsp + 0x44]
lea r13, [rsp + 0x48]
nop word [rax + rax]
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.140068380
mov r15, rax
test rax, rax
jne 0x140068b37
cmp dword [rsp + 0x44], 0
je 0x140068b37
dec esi
je 0x140068d61
movsxd r9, dword [rbx + 0x18]
mov r8, qword [rbx + 0x10]
mov qword [rsp + 0x20], rbp
mov edx, 1
mov rcx, r13
call fcn.1400638c0
test eax, eax
jne 0x140068d00
xor r15d, r15d
jmp 0x140068b37
mov dword [rsp + 0x20], 0x166
lea r9, str..._.._third_party_boringssl_src_crypto_fipsmodule_ecdsa_ecdsa.c
mov ecx, 0x1a
xor edx, edx
mov r8d, WSAGetLastError
jmp 0x140068b32