Function at 0x1400693d0
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 [0x1403a8f38]
xor rax, rsp
mov qword [rsp + 0x1b0], rax
mov rax, qword [r8 + 0x28]
test rax, rax
je 0x140069431
cmp qword [rax + 0x28], 0
je 0x140069431
mov dword [rsp + 0x20], 0x136
lea r9, str..._.._third_party_boringssl_src_crypto_fipsmoduleecdsa_ecdsa.c
xor r15d, r15d
mov ecx, 0x1a
xor edx, edx
mov r8d, 0x67
jmp 0x1400695a2
mov rbx, qword [r8]
test rbx, rbx
je 0x140069583
mov r14, qword [r8 + 0x10]
test r14, r14
je 0x140069583
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.1400698a0
mov rcx, r15
mov rdx, rdi
mov r8, qword [rsp + 0x38]
call fcn.1400698a0
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 0x1400695ce
cmp eax, 0x7f
je 0x140069569
mov r8d, 0x7f
sub r8, rax
add rcx, r15
xor edx, edx
call fcn.140269430
lea rcx, [rsp + 0xd8]
mov r8d, 1
mov rdx, r15
call fcn.14007ff60
xor ecx, ecx
jmp 0x1400695d4
mov dword [rsp + 0x20], 0x13c
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.14004adc0
mov rcx, qword [rsp + 0x1b0]
xor rcx, rsp
call fcn.140265f80
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 0x1400695e7
mov r8d, reloc.WS2_32.dll_WSASetLastError
sub r8, rcx
add rcx, r15
xor edx, edx
call fcn.140269430
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.14007ff60
cmp r12d, 8
jb 0x140069733
mov eax, r12d
shr eax, 3
cmp r12d, 0x20
jae 0x140069648
lea rcx, [rsp + 0x90]
xor edx, edx
jmp 0x140069706
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 word cs:[rax + 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 0x140069670
cmp rdx, rax
je 0x140069733
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 0x140069720
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.1400641f0
test eax, eax
je 0x1400697c9
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.140068db0
mov r15, rax
test rax, rax
jne 0x1400695a7
cmp dword [rsp + 0x44], 0
je 0x1400695a7
dec esi
je 0x1400697d1
movsxd r9, dword [rbx + 0x18]
mov r8, qword [rbx + 0x10]
mov qword [rsp + 0x20], rbp
mov edx, 1
mov rcx, r13
call fcn.1400641f0
test eax, eax
jne 0x140069770
xor r15d, r15d
jmp 0x1400695a7
mov dword [rsp + 0x20], 0x166
lea r9, str..._.._third_party_boringssl_src_crypto_fipsmoduleecdsa_ecdsa.c
mov ecx, 0x1a
xor edx, edx
mov r8d, WSAGetLastError
jmp 0x1400695a2