Function at 0x14005b7e0
Capabilities:
Hash data using sha512

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x498
movaps xmmword [rsp + 0x480], xmm11
movaps xmmword [rsp + 0x470], xmm10
movaps xmmword [rsp + 0x460], xmm9
movaps xmmword [rsp + 0x450], xmm8
movaps xmmword [rsp + 0x440], xmm7
movaps xmmword [rsp + 0x430], xmm6
mov rdi, r8
mov r12, rdx
mov qword [rsp + 0x48], rcx
mov rax, qword [0x140163028]
xor rax, rsp
mov qword [rsp + 0x428], rax
mov rax, qword [r8 + 0x30]
test rax, rax
jne 0x14005c134
mov r15, qword [rdi]
test r15, r15
je 0x14005c107
mov r14, qword [rdi + 0x10]
test r14, r14
je 0x14005c107
call fcn.14005c960
movabs rcx, 0xaaaaaaaaaaaaaaaa
mov qword [rsp + 0x1d0], rcx
movaps xmm6, xmmword [0x140141df0]
movaps xmmword [rsp + 0x1c0], xmm6
movaps xmmword [rsp + 0x1b0], xmm6
movaps xmmword [rsp + 0x1a0], xmm6
movaps xmmword [rsp + 0x190], xmm6
mov qword [rsp + 0x180], rcx
movaps xmmword [rsp + 0x170], xmm6
movaps xmmword [rsp + 0x160], xmm6
movaps xmmword [rsp + 0x150], xmm6
movaps xmmword [rsp + 0x140], xmm6
mov qword [rsp + 0x130], rcx
movaps xmmword [rsp + 0x120], xmm6
movaps xmmword [rsp + 0x110], xmm6
movaps xmmword [rsp + 0x100], xmm6
movaps xmmword [rsp + 0xf0], xmm6
mov qword [rsp + 0xe0], rcx
movaps xmmword [rsp + 0xd0], xmm6
movaps xmmword [rsp + 0xc0], xmm6
movaps xmmword [rsp + 0xb0], xmm6
movaps xmmword [rsp + 0xa0], xmm6
mov qword [rsp + 0x90], rcx
movaps xmmword [rsp + 0x80], xmm6
movaps xmmword [rsp + 0x70], xmm6
movaps xmmword [rsp + 0x60], xmm6
movaps xmmword [rsp + 0x50], xmm6
mov rcx, rax
mov qword [rsp + 0x30], rax
test rax, rax
je 0x14005c164
add r14, 0x18
lea rdx, [rsp + 0xa0]
mov rcx, r15
mov r8, qword [rsp + 0x48]
mov r9, r12
call fcn.14005d160
movaps xmm8, xmmword [0x14014d6a0]
movaps xmm9, xmmword [0x14014d6b0]
movaps xmm10, xmmword [0x14014d6c0]
movaps xmm11, xmmword [0x14014d6d0]
xorps xmm7, xmm7
mov r13, qword [rdi]
lea rcx, [r13 + 0x10]
call fcn.140049270
cmp eax, 0x9f
jbe 0x14005c189
movabs rax, 0xaaaaaaaaaaaaaaaa
mov qword [rsp + 0x420], rax
movaps xmmword [rsp + 0x410], xmm6
movaps xmmword [rsp + 0x400], xmm6
movaps xmmword [rsp + 0x3f0], xmm6
movaps xmmword [rsp + 0x3e0], xmm6
mov r8d, 0xd8
lea rcx, [rsp + 0x300]
mov dl, 0xaa
call fcn.14010a410
mov r8, qword [rdi + 0x18]
test r8, r8
jne 0x14005c1aa
movaps xmmword [rsp + 0x2e0], xmm6
movaps xmmword [rsp + 0x2d0], xmm6
movaps xmmword [rsp + 0x2c0], xmm6
movaps xmmword [rsp + 0x2b0], xmm6
movaps xmmword [rsp + 0x2a0], xmm6
movaps xmmword [rsp + 0x290], xmm6
movaps xmmword [rsp + 0x280], xmm6
movaps xmmword [rsp + 0x270], xmm6
movaps xmmword [rsp + 0x210], xmm6
movaps xmmword [rsp + 0x200], xmm6
movaps xmmword [rsp + 0x1f0], xmm6
movaps xmmword [rsp + 0x1e0], xmm6
movaps xmmword [rsp + 0x220], xmm8
movaps xmmword [rsp + 0x230], xmm9
movaps xmmword [rsp + 0x240], xmm10
movaps xmmword [rsp + 0x250], xmm11
mov dword [rsp + 0x2f0], 0
movaps xmmword [rsp + 0x260], xmm7
mov dword [rsp + 0x2f4], 0x40
movsxd r8, dword [r13 + 0x18]
shl r8, 3
lea rbp, [rsp + 0x220]
mov rcx, rbp
mov rsi, r14
mov rdx, r14
call fcn.14005c520
mov rcx, rbp
mov rdx, qword [rsp + 0x48]
mov r8, r12
call fcn.14005c520
lea r14, [rsp + 0x1e0]
mov rcx, r14
mov rdx, rbp
call fcn.14005c870
movsxd r9, dword [r13 + 0x18]
mov r8, qword [r13 + 0x10]
mov qword [rsp + 0x20], r14
mov edx, 1
lea rbx, [rsp + 0x3e0]
mov rcx, rbx
call fcn.14005c620
test eax, eax
je 0x14005c2cb
mov rax, qword [r13]
mov rcx, r13
lea rbp, [rsp + 0x190]
mov rdx, rbp
mov r8, rbx
call qword [rax + 0xa0]
mov rax, qword [r13 + 0x30]
movsxd rdx, dword [r13 + 0x18]
mov qword [rsp + 0x20], rax
mov rcx, rbp
mov r8, rbp
mov r9, rdx
call fcn.140066f00
mov rcx, r13
lea rbp, [rsp + 0x300]
mov rdx, rbp
mov r8, rbx
call fcn.14005c4a0
test eax, eax
je 0x14005c2cb
mov rcx, r13
lea rdx, [rsp + 0x140]
mov r8, rbp
call fcn.14005d3d0
test eax, eax
je 0x14005c2cb
mov r14, rsi
mov ecx, dword [r13 + 0x18]
test ecx, ecx
jle 0x14005bbba
mov rax, qword [rsp + 0x140]
cmp ecx, 1
je 0x14005bbbc
or rax, qword [rsp + 0x148]
cmp ecx, 2
je 0x14005bbbc
or rax, qword [rsp + 0x150]
cmp ecx, 3
je 0x14005bbbc
or rax, qword [rsp + 0x158]
cmp ecx, 4
je 0x14005bbbc
jmp 0x14005c01f
xor eax, eax
test rax, rax
je 0x14005b9ed
mov qword [rsp + 0x38], r12
mov qword [rsp + 0x40], rdi
movaps xmmword [rsp + 0x410], xmm7
movaps xmmword [rsp + 0x400], xmm7
movaps xmmword [rsp + 0x3f0], xmm7
movaps xmmword [rsp + 0x3e0], xmm7
mov qword [rsp + 0x420], 0
mov r12d, dword [r15 + 0x18]
movsxd rbp, r12d
mov rax, qword [rsp + 0x30]
mov rbx, qword [rax]
cmp dword [rbx + 0xc], ebp
jb 0x14005bddb
test r12d, r12d
lea r13, [rsp + 0xf0]
je 0x14005bc3a
mov rdi, qword [rbx]
shl rbp, 3
mov rcx, rdi
lea rdx, [rsp + 0x140]
mov r8, rbp
call fcn.14010a000
mov dword [rbx + 8], r12d
mov dword [rbx + 0x10], 0
mov rax, qword [r15 + 0x30]
movsxd r9, dword [r15 + 0x18]
mov r8, qword [rax]
mov qword [rsp + 0x20], rax
lea rsi, [rsp + 0x140]
mov rcx, rsi
mov rdx, rsi
call fcn.140062b10
mov rax, qword [r15 + 0x30]
movsxd r9, dword [r15 + 0x18]
mov qword [rsp + 0x20], rax
mov rcx, r13
mov rdx, r14
mov r8, rsi
call fcn.140062b10
movabs rax, 0xaaaaaaaaaaaaaaaa
mov qword [rsp + 0x340], rax
movaps xmmword [rsp + 0x330], xmm6
movaps xmmword [rsp + 0x320], xmm6
movaps xmmword [rsp + 0x310], xmm6
movaps xmmword [rsp + 0x300], xmm6
movsxd rax, dword [r15 + 0x18]
mov r9, qword [r15 + 0x10]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x300]
mov qword [rsp + 0x20], rax
lea rsi, [rsp + 0x50]
mov rcx, rsi
lea rdx, [rsp + 0xa0]
mov r8, r13
call fcn.14005cf00
movaps xmmword [rsp + 0x330], xmm7
movaps xmmword [rsp + 0x320], xmm7
movaps xmmword [rsp + 0x310], xmm7
movaps xmmword [rsp + 0x300], xmm7
mov qword [rsp + 0x340], 0
mov rax, qword [r15 + 0x30]
movsxd r9, dword [r15 + 0x18]
mov qword [rsp + 0x20], rax
mov rcx, r13
mov rdx, rsi
lea r8, [rsp + 0x190]
call fcn.140062b10
mov ebx, dword [r15 + 0x18]
movsxd rbp, ebx
mov rsi, qword [rsp + 0x30]
mov rsi, qword [rsi + 8]
cmp dword [rsi + 0xc], ebp
jb 0x14005be62
test ebx, ebx
je 0x14005bd65
mov rdi, qword [rsi]
shl rbp, 3
mov rcx, rdi
mov rdx, r13
mov r8, rbp
call fcn.14010a000
mov dword [rsi + 8], ebx
mov dword [rsi + 0x10], 0
mov rax, qword [rsp + 0x30]
mov rax, qword [rax + 8]
movsxd rcx, dword [rax + 8]
test rcx, rcx
je 0x14005bee9
mov ebp, ecx
mov rdx, qword [rax]
test rcx, rcx
mov eax, 1
cmove rcx, rax
mov rax, qword [rdx]
cmp ebp, 2
mov rdi, qword [rsp + 0x40]
mov r12, qword [rsp + 0x38]
jb 0x14005bef5
or rax, qword [rdx + 8]
cmp rcx, 2
je 0x14005bef5
or rax, qword [rdx + 0x10]
cmp rcx, 3
je 0x14005bef5
or rax, qword [rdx + 0x18]
cmp rcx, 4
je 0x14005bef5
jmp 0x14005c04b
cmp r12d, 0x800000
jae 0x14005c1e9
test byte [rbx + 0x14], 2
jne 0x14005c20a
lea r13, [rbp*8 + 8]
shl rbp, 3
mov rsi, qword [0x140166328]
mov rcx, rsi
mov rdx, r13
xor r8d, r8d
call qword [rsi]
mov rdi, rax
test rax, rax
jne 0x14005be25
cmp byte [0x140169410], 0
jne 0x14005c2fc
test rdi, rdi
je 0x14005c31e
mov qword [rdi], rbp
add rdi, 8
movsxd r8, dword [rbx + 8]
test r8, r8
lea r13, [rsp + 0xf0]
jne 0x14005c070
mov rsi, qword [rbx]
test rsi, rsi
jne 0x14005c0b0
mov qword [rbx], rdi
mov dword [rbx + 0xc], r12d
jmp 0x14005bc27
cmp ebx, 0x800000
jae 0x14005c1e9
test byte [rsi + 0x14], 2
jne 0x14005c20a
lea r13, [rbp*8 + 8]
shl rbp, 3
mov r12, qword [0x140166328]
mov rcx, r12
mov rdx, r13
xor r8d, r8d
call qword [r12]
mov rdi, rax
test rax, rax
jne 0x14005bead
cmp byte [0x140169410], 0
jne 0x14005c30e
test rdi, rdi
je 0x14005c31e
mov qword [rdi], rbp
add rdi, 8
movsxd r8, dword [rsi + 8]
test r8, r8
lea r13, [rsp + 0xf0]
jne 0x14005c090
mov r12, qword [rsi]
test r12, r12
jne 0x14005c0db
mov qword [rsi], rdi
mov dword [rsi + 0xc], ebx
jmp 0x14005bd57
xor eax, eax
mov rdi, qword [rsp + 0x40]
mov r12, qword [rsp + 0x38]
test rax, rax
je 0x14005b98f
xorps xmm0, xmm0
movaps xmmword [rsp + 0x1c0], xmm0
movaps xmmword [rsp + 0x1b0], xmm0
movaps xmmword [rsp + 0x1a0], xmm0
movaps xmmword [rsp + 0x190], xmm0
xor eax, eax
mov qword [rsp + 0x1d0], rax
mov qword [rsp + 0x180], rax
movaps xmmword [rsp + 0x170], xmm0
movaps xmmword [rsp + 0x160], xmm0
movaps xmmword [rsp + 0x150], xmm0
movaps xmmword [rsp + 0x140], xmm0
mov qword [rsp + 0x130], rax
movaps xmmword [rsp + 0x120], xmm0
movaps xmmword [rsp + 0x110], xmm0
movaps xmmword [rsp + 0x100], xmm0
movaps xmmword [rsp + 0xf0], xmm0
mov qword [rsp + 0x90], rax
movaps xmmword [rsp + 0x80], xmm0
movaps xmmword [rsp + 0x70], xmm0
movaps xmmword [rsp + 0x60], xmm0
movaps xmmword [rsp + 0x50], xmm0
mov qword [rsp + 0xe0], rax
movaps xmmword [rsp + 0xd0], xmm0
movaps xmmword [rsp + 0xc0], xmm0
movaps xmmword [rsp + 0xb0], xmm0
movaps xmmword [rsp + 0xa0], xmm0
mov rcx, qword [rsp + 0x428]
xor rcx, rsp
call fcn.140107cc0
mov rax, qword [rsp + 0x30]
movaps xmm6, xmmword [rsp + 0x430]
movaps xmm7, xmmword [rsp + 0x440]
movaps xmm8, xmmword [rsp + 0x450]
movaps xmm9, xmmword [rsp + 0x460]
movaps xmm10, xmmword [rsp + 0x470]
movaps xmm11, xmmword [rsp + 0x480]
add rsp, 0x498
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
or rax, qword [rsp + 0x160]
cmp ecx, 5
je 0x14005bbbc
mov edx, 5
or rax, qword [rsp + rdx*8 + 0x140]
inc rdx
cmp rcx, rdx
je 0x14005bbbc
jmp 0x14005c035
or rax, qword [rdx + 0x20]
cmp rcx, 5
je 0x14005bef5
mov ebp, 5
or rax, qword [rdx + rbp*8]
inc rbp
cmp rcx, rbp
je 0x14005bef5
jmp 0x14005c05e
mov rdx, qword [rbx]
cmp r8d, 0x10
jne 0x14005c488
mov r8d, 0x80
mov rcx, rdi
call fcn.14010a000
jmp 0x14005be4a
mov rdx, qword [rsi]
cmp r8d, 0x10
jne 0x14005c491
mov r8d, 0x80
mov rcx, rdi
call fcn.14010a000
jmp 0x14005bed2
mov r8, qword [rsi - 8]
add rsi, 0xfffffffffffffff8
add r8, 8
mov rcx, rsi
xor edx, edx
call fcn.14010a410
mov rcx, qword [0x140166328]
mov rdx, rsi
xor r8d, r8d
call qword [rcx + 0x28]
jmp 0x14005be56
mov r8, qword [r12 - 8]
add r12, 0xfffffffffffffff8
add r8, 8
mov rcx, r12
xor edx, edx
call fcn.14010a410
mov rcx, qword [0x140166328]
mov rdx, r12
xor r8d, r8d
call qword [rcx + 0x28]
jmp 0x14005bede
mov dword [rsp + 0x20], 0x110
lea r9, str..._.._third_party_boringssl_src_crypto_fipsmodule_ecdsa_ecdsa.c
xor eax, eax
mov qword [rsp + 0x30], rax
mov ecx, 0x1a
xor edx, edx
mov r8d, 0x43
call fcn.140048380
jmp 0x14005bfc2
cmp qword [rax + 0x28], 0
je 0x14005b851
mov dword [rsp + 0x20], 0x10a
lea r9, str..._.._third_party_boringssl_src_crypto_fipsmodule_ecdsa_ecdsa.c
xor eax, eax
mov qword [rsp + 0x30], rax
mov ecx, 0x1a
xor edx, edx
mov r8d, 0x67
jmp 0x14005c12a
mov dword [rsp + 0x20], 0x11a
lea r9, str..._.._third_party_boringssl_src_crypto_fipsmodule_ecdsa_ecdsa.c
xor eax, eax
mov qword [rsp + 0x30], rax
mov ecx, 0x1a
xor edx, edx
mov r8d, 0x41
jmp 0x14005c12a
mov dword [rsp + 0x20], 0xd1
lea r9, str..._.._third_party_boringssl_src_crypto_fipsmodule_ecdsa_ecdsa.c
mov ecx, 0x1a
xor edx, edx
mov r8d, 0x70
jmp 0x14005c33a
mov rsi, r14
lea rdx, [rsp + 0x3e0]
mov rcx, r13
call fcn.1400c38e0
test eax, eax
je 0x14005c2cb
mov edx, dword [r13 + 0x18]
test edx, edx
jle 0x14005c2aa
lea rcx, [rdx - 1]
mov eax, edx
and eax, 7
cmp rcx, 7
jae 0x14005c22b
xor ebp, ebp
xor ecx, ecx
jmp 0x14005c27b
mov dword [rsp + 0x20], 0x162
lea r9, str..._.._third_party_boringssl_src_crypto_fipsmodule_bn_bn.c
mov ecx, 3
xor edx, edx
mov r8d, 0x66
jmp 0x14005c33a
mov dword [rsp + 0x20], 0x167
lea r9, str..._.._third_party_boringssl_src_crypto_fipsmodule_bn_bn.c
mov ecx, 3
xor edx, edx
mov r8d, 0x6a
jmp 0x14005c33a
and edx, 0xfffffff8
xor ebp, ebp
xor ecx, ecx
or rcx, qword [rsp + rbp*8 + 0x3e0]
or rcx, qword [rsp + rbp*8 + 0x3e8]
or rcx, qword [rsp + rbp*8 + 0x3f0]
or rcx, qword [rsp + rbp*8 + 0x3f8]
or rcx, qword [rsp + rbp*8 + 0x400]
or rcx, qword [rsp + rbp*8 + 0x408]
or rcx, qword [rsp + rbp*8 + 0x410]
or rcx, qword [rsp + rbp*8 + 0x418]
add rbp, 8
cmp rdx, rbp
jne 0x14005c232
test rax, rax
je 0x14005c299
lea rdx, [rsp + rbp*8]
add rdx, 0x3e0
xor ebp, ebp
or rcx, qword [rdx + rbp*8]
inc rbp
cmp rax, rbp
jne 0x14005c28d
test rcx, rcx
lea rbx, [rsp + 0x3e0]
jne 0x14005bb07
mov dword [rsp + 0x20], 0xdf
lea r9, str..._.._third_party_boringssl_src_crypto_fipsmodule_ecdsa_ecdsa.c
mov ecx, 0x1a
xor edx, edx
mov r8d, 0x44
call fcn.140048380
xorps xmm0, xmm0
movaps xmmword [rsp + 0x410], xmm0
movaps xmmword [rsp + 0x400], xmm0
movaps xmmword [rsp + 0x3f0], xmm0
movaps xmmword [rsp + 0x3e0], xmm0
mov qword [rsp + 0x420], 0
jmp 0x14005c33f
mov rcx, r13
call fcn.1400236b0
test al, al
jne 0x14005be05
jmp 0x14005c31e
mov rcx, r13
call fcn.1400236b0
test al, al
jne 0x14005be8b
mov dword [rsp + 0x20], 0x16d
lea r9, str..._.._third_party_boringssl_src_crypto_fipsmodule_bn_bn.c
mov ecx, 3
xor edx, edx
mov r8d, 0x41
call fcn.140048380
mov rax, qword [rsp + 0x30]
mov rsi, qword [rax]
test rsi, rsi
jne 0x14005c394
mov rax, qword [rsp + 0x30]
mov rsi, qword [rax + 8]
test rsi, rsi
jne 0x14005c3d6
mov rax, qword [rsp + 0x30]
mov rsi, rax
add rsi, 0xfffffffffffffff8
mov r8, qword [rax - 8]
add r8, 8
mov rcx, rsi
xor edx, edx
call fcn.14010a410
mov rcx, qword [0x140166328]
mov rdx, rsi
xor eax, eax
mov qword [rsp + 0x30], rax
xor r8d, r8d
call qword [rcx + 0x28]
jmp 0x14005befe
mov eax, dword [rsi + 0x14]
test al, 2
jne 0x14005c3a7
mov rdi, qword [rsi]
test rdi, rdi
jne 0x14005c42c
test al, 1
je 0x14005c414
mov r8, qword [rsi - 8]
add rsi, 0xfffffffffffffff8
add r8, 8
mov rcx, rsi
xor edx, edx
call fcn.14010a410
mov rcx, qword [0x140166328]
mov rdx, rsi
xor r8d, r8d
call qword [rcx + 0x28]
jmp 0x14005c34c
mov eax, dword [rsi + 0x14]
test al, 2
jne 0x14005c3e5
mov rdi, qword [rsi]
test rdi, rdi
jne 0x14005c45a
test al, 1
je 0x14005c420
mov r8, qword [rsi - 8]
add rsi, 0xfffffffffffffff8
add r8, 8
mov rcx, rsi
xor edx, edx
call fcn.14010a410
mov rcx, qword [0x140166328]
mov rdx, rsi
xor r8d, r8d
call qword [rcx + 0x28]
jmp 0x14005c35a
mov qword [rsi], 0
jmp 0x14005c34c
mov qword [rsi], 0
jmp 0x14005c35a
mov r8, qword [rdi - 8]
add rdi, 0xfffffffffffffff8
add r8, 8
mov rcx, rdi
xor edx, edx
call fcn.14010a410
mov rcx, qword [0x140166328]
mov rdx, rdi
xor r8d, r8d
call qword [rcx + 0x28]
mov eax, dword [rsi + 0x14]
jmp 0x14005c3a7
mov r8, qword [rdi - 8]
add rdi, 0xfffffffffffffff8
add r8, 8
mov rcx, rdi
xor edx, edx
call fcn.14010a410
mov rcx, qword [0x140166328]
mov rdx, rdi
xor r8d, r8d
call qword [rcx + 0x28]
mov eax, dword [rsi + 0x14]
jmp 0x14005c3e5
shl r8, 3
jmp 0x14005c083
shl r8, 3
jmp 0x14005c0a3