Function at 0x140080340
Capabilities:
Hash data using sha1

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rdi
push rbp
lea rbp, [rsp - 0x57]
sub rsp, 0xb0
mov rax, qword [0x140128240]
xor rax, rsp
mov qword [rbp + 0x4f], rax
test byte [rcx + 0x4c6], 1
mov rdi, rdx
mov rbx, rcx
je 0x140080478
mov rcx, qword [rcx + 0x78]
add rcx, 0x1d0
call fcn.1400c0ce0
test eax, eax
jne 0x1400805b5
mov rax, qword [rbx + 0x78]
lea rdx, [rdi + 0x10]
add rax, 0x168
je 0x1400805b0
test rdx, rdx
je 0x1400805b0
movups xmm0, xmmword [rax]
lea rcx, [rbp - 0x39]
movups xmm1, xmmword [rax + 0x10]
movaps xmmword [rbp - 0x39], xmm0
movups xmm0, xmmword [rax + 0x20]
movaps xmmword [rbp - 0x29], xmm1
movups xmm1, xmmword [rax + 0x30]
movaps xmmword [rbp - 0x19], xmm0
movups xmm0, xmmword [rax + 0x40]
movaps xmmword [rbp - 9], xmm1
movups xmm1, xmmword [rax + 0x50]
movaps xmmword [rbp + 7], xmm0
movsd xmm0, qword [rax + 0x60]
movsd qword [rbp + 0x27], xmm0
movaps xmmword [rbp + 0x17], xmm1
call fcn.1400ae5a0
test eax, eax
jne 0x1400805b5
movzx ecx, byte [rbx + 0x2f8]
cmp cl, 3
jne 0x140080411
cmp byte [rbx + 0x2f9], cl
jb 0x1400805b5
jmp 0x140080427
cmp cl, 0xfe
jne 0x1400805b5
cmp byte [rbx + 0x2f9], 0xfd
ja 0x1400805b5
mov rcx, qword [rbx + 0x78]
lea rdx, [rdi + 0x24]
add rcx, 0x238
call fcn.1400bc3c0
test eax, eax
jne 0x1400805b5
mov rcx, qword [rbx + 0x78]
lea rdx, [rdi + 0x44]
add rcx, 0x2b0
call fcn.1400b1990
test eax, eax
jne 0x1400805b5
mov rcx, qword [rbx + 0x78]
lea rdx, [rdi + 0x74]
add rcx, 0x390
call fcn.1400b16d0
jmp 0x1400805b5
call fcn.14007fe00
test eax, eax
jne 0x1400805b5
mov rax, qword [rbx + 0x78]
add rax, 0x168
je 0x1400805b0
movups xmm0, xmmword [rax]
mov rdx, qword [rbx + 0x10]
lea rcx, [rbp - 0x39]
add rdx, 0xad
mov r8d, 0x30
movaps xmmword [rbp - 0x39], xmm0
movups xmm1, xmmword [rax + 0x10]
movaps xmmword [rbp - 0x29], xmm1
movups xmm0, xmmword [rax + 0x20]
movaps xmmword [rbp - 0x19], xmm0
movups xmm1, xmmword [rax + 0x30]
movaps xmmword [rbp - 9], xmm1
movups xmm0, xmmword [rax + 0x40]
movaps xmmword [rbp + 7], xmm0
movups xmm1, xmmword [rax + 0x50]
movaps xmmword [rbp + 0x17], xmm1
movsd xmm0, qword [rax + 0x60]
movsd qword [rbp + 0x27], xmm0
call fcn.1400ae100
test eax, eax
jne 0x1400805b5
lea r8d, [rax + 0x28]
lea rdx, str.666666666666666666666666666666666666666666666666no_application_protocol
lea rcx, [rbp - 0x39]
call fcn.1400ae100
test eax, eax
jne 0x1400805b5
lea rdx, [rbp + 0x37]
lea rcx, [rbp - 0x39]
call fcn.1400ae5a0
test eax, eax
jne 0x1400805b5
mov rax, qword [rbx + 0xa8]
lea rcx, [rbp - 0x39]
mov rdx, qword [rbx + 0x10]
mov qword [rbp + 0x27], rax
add rdx, 0xad
xor eax, eax
mov dword [rbp + 0x13], 0x67452301
mov dword [rbp + 0x17], 0xefcdab89
mov dword [rbp + 0x1b], 0x98badcfe
mov dword [rbp + 0x1f], 0x10325476
lea r8d, [rax + 0x30]
mov dword [rbp + 0x23], 0xc3d2e1f0
mov qword [rbp - 0x39], rax
mov dword [rbp - 0x31], eax
call fcn.1400ae100
test eax, eax
jne 0x1400805b5
lea r8d, [rax + 0x28]
lea rdx, str._bad_certificate
lea rcx, [rbp - 0x39]
call fcn.1400ae100
test eax, eax
jne 0x1400805b5
lea r8d, [rax + 0x14]
lea rdx, [rbp + 0x37]
lea rcx, [rbp - 0x39]
call fcn.1400ae100
test eax, eax
jne 0x1400805b5
lea rdx, [rdi + 0x10]
lea rcx, [rbp - 0x39]
call fcn.1400ae5a0
jmp 0x1400805b5
mov eax, 0xffffff53
mov rcx, qword [rbp + 0x4f]
xor rcx, rsp
call fcn.1400ce320
lea r11, [rsp + 0xb0]
mov rbx, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret