Function at 0x14005f0ac
Capabilities:
Hash data using sha512

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x458
movaps xmmword [rsp + 0x440], xmm10
movaps xmmword [rsp + 0x430], xmm9
movaps xmmword [rsp + 0x420], xmm8
movaps xmmword [rsp + 0x410], xmm7
movaps xmmword [rsp + 0x400], xmm6
mov rdi, r8
mov r15, rdx
mov rbx, rcx
mov rax, qword [0x140102388]
xor rax, rsp
mov qword [rsp + 0x3f8], rax
mov rax, qword [r8 + 0x30]
test rax, rax
je 0x14005f138
cmp qword [rax + 0x28], 0
je 0x14005f138
mov dword [rsp + 0x20], 0xfb
lea r9, str..._.._third_party_boringssl_src_crypto_fipsmodule_ecdsa_ecdsa.c
xor esi, esi
mov ecx, 0x1a
xor edx, edx
mov r8d, 0x67
jmp 0x14005f4a9
mov rbp, qword [rdi]
test rbp, rbp
je 0x14005f48b
mov rax, qword [rdi + 0x10]
mov qword [rsp + 0x38], rax
test rax, rax
je 0x14005f48b
call fcn.14005eceb
test rax, rax
je 0x14005f57a
mov rsi, rax
add qword [rsp + 0x38], 0x18
lea rdx, [rsp + 0xa0]
mov qword [rsp + 0x40], rbp
mov rcx, rbp
mov r8, rbx
mov r9, r15
call fcn.14005efd3
movaps xmm8, xmmword [0x1400dfd20]
movaps xmm9, xmmword [0x1400dfd30]
movaps xmm10, xmmword [0x1400dfd40]
movaps xmm7, xmmword [0x1400dfd50]
xorps xmm6, xmm6
lea r13, [rsp + 0x3b0]
lea r14, [rsp + 0x178]
lea rbp, [rsp + 0x130]
mov qword [rsp + 0x50], r15
mov qword [rsp + 0x30], rsi
mov r15, qword [rdi]
lea rcx, [r15 + 0x10]
call fcn.140056160
cmp eax, 0x9f
jbe 0x14005f59d
mov r8, qword [rdi + 0x18]
test r8, r8
je 0x14005f1fc
mov rcx, r15
mov rdx, r13
call fcn.14005ef6d
jmp 0x14005f29a
movaps xmmword [rsp + 0x200], xmm8
movaps xmmword [rsp + 0x210], xmm9
movaps xmmword [rsp + 0x220], xmm10
movaps xmmword [rsp + 0x230], xmm7
mov dword [rsp + 0x2d0], 0
lea rax, [rsp + 0x240]
movaps xmmword [rax], xmm6
mov dword [rsp + 0x2d4], 0x40
movsxd r8, dword [r15 + 0x18]
shl r8, 3
lea r12, [rsp + 0x200]
mov rcx, r12
mov rdx, qword [rsp + 0x38]
call fcn.1400685f7
mov rcx, r12
mov rdx, rbx
mov r8, qword [rsp + 0x50]
call fcn.1400685f7
lea rsi, [rsp + 0x1c0]
mov rcx, rsi
mov rdx, r12
call fcn.1400686f5
movsxd r9, dword [r15 + 0x18]
mov r8, qword [r15 + 0x10]
mov qword [rsp + 0x20], rsi
mov edx, 1
mov rcx, r13
call fcn.14005d6ea
test eax, eax
je 0x14005f500
mov rax, qword [r15]
mov rcx, r15
mov rdx, r14
mov r8, r13
call qword [rax + 0x68]
mov r9, qword [r15 + 0x30]
movsxd r8, dword [r15 + 0x18]
mov rcx, r14
mov rdx, r14
call fcn.1400586b8
mov rax, qword [r15]
mov rcx, r15
lea rsi, [rsp + 0x2d8]
mov rdx, rsi
mov r8, r13
call qword [rax + 0x38]
mov rcx, r15
mov rdx, rbp
mov r8, rsi
call fcn.14006081e
test eax, eax
je 0x14005f500
movsxd rax, dword [r15 + 0x18]
test rax, rax
jle 0x14005f318
xor edx, edx
xor ecx, ecx
or rcx, qword [rsp + rdx*8 + 0x130]
inc rdx
cmp rax, rdx
jne 0x14005f2fe
xor eax, eax
test rcx, rcx
sete al
jmp 0x14005f31d
mov eax, 1
test eax, eax
jne 0x14005f1e3
mov qword [rsp + 0x48], rbx
mov edx, 0x48
mov rcx, r13
call fcn.14006c9ca
mov rax, qword [rsp + 0x40]
mov r15d, dword [rax + 0x18]
movsxd rsi, r15d
mov rax, qword [rsp + 0x30]
mov rbx, qword [rax]
mov rcx, rbx
mov rdx, rsi
call fcn.140054be5
test eax, eax
je 0x14005f512
test r15d, r15d
je 0x14005f375
shl rsi, 3
mov rcx, qword [rbx]
mov rdx, rbp
mov r8, rsi
call fcn.1400ad770
mov dword [rbx + 8], r15d
mov dword [rbx + 0x10], 0
mov rsi, qword [rsp + 0x40]
mov rax, qword [rsi + 0x30]
movsxd r9, dword [rsi + 0x18]
mov r8, qword [rax]
mov qword [rsp + 0x20], rax
mov rcx, rbp
mov rdx, rbp
call fcn.140058770
mov rax, qword [rsi + 0x30]
movsxd r9, dword [rsi + 0x18]
mov qword [rsp + 0x20], rax
lea rbx, [rsp + 0xe8]
mov rcx, rbx
mov rdx, qword [rsp + 0x38]
mov r8, rbp
call fcn.140058770
mov rcx, rsi
lea r15, [rsp + 0x58]
mov rdx, r15
lea r8, [rsp + 0xa0]
mov r9, rbx
call fcn.14005f5d0
mov rax, qword [rsi + 0x30]
movsxd r9, dword [rsi + 0x18]
mov qword [rsp + 0x20], rax
mov rcx, rbx
mov rdx, r15
mov r8, r14
call fcn.140058770
mov r15d, dword [rsi + 0x18]
movsxd rsi, r15d
mov rax, qword [rsp + 0x30]
mov rbx, qword [rax + 8]
mov rcx, rbx
mov rdx, rsi
call fcn.140054be5
test eax, eax
je 0x14005f512
test r15d, r15d
je 0x14005f43a
shl rsi, 3
mov rcx, qword [rbx]
lea rdx, [rsp + 0xe8]
mov r8, rsi
call fcn.1400ad770
mov dword [rbx + 8], r15d
mov dword [rbx + 0x10], 0
mov rsi, qword [rsp + 0x30]
mov rcx, qword [rsi + 8]
movsxd rax, dword [rcx + 8]
test rax, rax
je 0x14005f474
mov rcx, qword [rcx]
xor ebx, ebx
xor edx, edx
or rdx, qword [rcx + rbx*8]
inc rbx
cmp rbx, rax
jb 0x14005f45e
xor eax, eax
test rdx, rdx
sete al
jmp 0x14005f479
mov eax, 1
test eax, eax
mov rbx, qword [rsp + 0x48]
jne 0x14005f1cc
jmp 0x14005f51e
mov dword [rsp + 0x20], 0x101
lea r9, str..._.._third_party_boringssl_src_crypto_fipsmodule_ecdsa_ecdsa.c
xor esi, esi
mov ecx, 0x1a
xor edx, edx
mov r8d, 0x43
call fcn.140081e26
mov rcx, qword [rsp + 0x3f8]
xor rcx, rsp
call fcn.1400aaed0
mov rax, rsi
movaps xmm6, xmmword [rsp + 0x400]
movaps xmm7, xmmword [rsp + 0x410]
movaps xmm8, xmmword [rsp + 0x420]
movaps xmm9, xmmword [rsp + 0x430]
movaps xmm10, xmmword [rsp + 0x440]
add rsp, 0x458
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
lea rcx, [rsp + 0x3b0]
mov edx, 0x48
call fcn.14006c9ca
mov rcx, qword [rsp + 0x30]
call fcn.14005ed31
xor esi, esi
lea rcx, [rsp + 0x178]
mov edx, 0x48
call fcn.14006c9ca
lea rcx, [rsp + 0x130]
mov edx, 0x48
call fcn.14006c9ca
lea rcx, [rsp + 0xe8]
mov edx, 0x48
call fcn.14006c9ca
lea rcx, [rsp + 0x58]
mov edx, 0x48
call fcn.14006c9ca
lea rcx, [rsp + 0xa0]
mov edx, 0x48
call fcn.14006c9ca
jmp 0x14005f4ae
mov dword [rsp + 0x20], 0x10b
lea r9, str..._.._third_party_boringssl_src_crypto_fipsmodule_ecdsa_ecdsa.c
xor esi, esi
mov ecx, 0x1a
xor edx, edx
mov r8d, 0x41
jmp 0x14005f4a9
mov dword [rsp + 0x20], 0xc6
lea r9, str..._.._third_party_boringssl_src_crypto_fipsmodule_ecdsa_ecdsa.c
mov ecx, 0x1a
xor edx, edx
mov r8d, 0x70
call fcn.140081e26
jmp 0x14005f512