Function at 0x5ff770
Capabilities:
Hash data using sha1

Disassembly:
mov ecx, dword [0x8e25d4]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x5ffabc
sub esp, 0x34
lea edi, [esp + 0x40]
xor eax, eax
call fcn.00468b13
movzx ecx, word [esp + 0x38]
cmp cx, 0x303
jb 0x5ff7a6
lea edx, [0x8e2480]
jmp 0x5ff7a8
xor edx, edx
mov dword [esp + 0x24], edx
lea ebx, [ecx - 0x301]
cmp bx, 1
ja 0x5ff7c5
xor ebx, ebx
lea ebp, [0x6eb478]
jmp 0x5ff84d
cmp cx, 0x303
jne 0x5ffaa3
mov ebx, dword [esp + 0x3c]
mov ebx, dword [ebx + 0x14]
test ebx, 8
je 0x5ff817
nop
lea eax, [0x690de0]
mov dword [esp], eax
call sym.runtime.newobject
mov eax, dword [esp + 4]
lea ecx, [sym.crypto_tls.newFinishedHash.prfAndHashForVersion.prf12.func1]
mov dword [eax], ecx
lea ecx, [0x6eb440]
mov dword [eax + 4], ecx
movzx ecx, word [esp + 0x38]
mov edx, dword [esp + 0x24]
mov ebx, 6
mov ebp, eax
xor eax, eax
jmp 0x5ff84d
nop
lea eax, [0x690de0]
mov dword [esp], eax
call sym.runtime.newobject
mov eax, dword [esp + 4]
lea ecx, [sym.crypto_tls.newFinishedHash.prfAndHashForVersion.prf12.func2]
mov dword [eax], ecx
lea ecx, [0x6eb210]
mov dword [eax + 4], ecx
movzx ecx, word [esp + 0x38]
mov edx, dword [esp + 0x24]
mov ebx, 5
mov ebp, eax
xor eax, eax
mov dword [esp + 0x10], ebp
test ebx, ebx
je 0x5ff904
mov dword [esp + 0xc], ebx
mov dword [esp], ebx
call sym.crypto.Hash.New
mov eax, dword [esp + 4]
mov dword [esp + 0x30], eax
mov ecx, dword [esp + 8]
mov dword [esp + 0x2c], ecx
mov edx, dword [esp + 0xc]
mov dword [esp], edx
call sym.crypto.Hash.New
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov dword [esp + 0x28], ecx
lea edi, [esp + 0x40]
mov edx, eax
xor eax, eax
call fcn.00468b13
mov eax, dword [esp + 0x30]
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], edx
mov eax, dword [esp + 0x28]
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], 0
mov dword [esp + 0x54], 0
mov dword [esp + 0x58], 0
mov dword [esp + 0x5c], 0
mov eax, dword [esp + 0x24]
mov dword [esp + 0x60], eax
mov dword [esp + 0x64], 0
mov dword [esp + 0x68], 0
movzx eax, word [esp + 0x38]
mov word [esp + 0x6c], ax
mov eax, dword [esp + 0x10]
mov dword [esp + 0x70], eax
add esp, 0x34
ret
lea eax, [0x6a3d80]
mov dword [esp], eax
call sym.runtime.newobject
mov eax, dword [esp + 4]
mov dword [esp + 0x20], eax
nop
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
mov dword [eax + 0x10], 0xc3d2e1f0
mov dword [eax + 0x54], 0
mov dword [eax + 0x58], 0
mov dword [eax + 0x5c], 0
lea ecx, [0x6a3d80]
mov dword [esp], ecx
call sym.runtime.newobject
mov eax, dword [esp + 4]
mov dword [esp + 0x1c], eax
nop
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
mov dword [eax + 0x10], 0xc3d2e1f0
mov dword [eax + 0x54], 0
mov dword [eax + 0x58], 0
mov dword [eax + 0x5c], 0
lea ecx, [0x6a3e80]
mov dword [esp], ecx
call sym.runtime.newobject
mov eax, dword [esp + 4]
mov dword [esp + 0x18], eax
nop
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
mov dword [eax + 0x50], 0
mov dword [eax + 0x54], 0
mov dword [eax + 0x58], 0
lea ecx, [0x6a3e80]
mov dword [esp], ecx
call sym.runtime.newobject
mov eax, dword [esp + 4]
mov dword [esp + 0x14], eax
nop
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
mov dword [eax + 0x50], 0
mov dword [eax + 0x54], 0
mov dword [eax + 0x58], 0
lea edi, [esp + 0x40]
xor eax, eax
call fcn.00468b13
lea eax, [0x73a898]
mov dword [esp + 0x40], eax
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x44], ecx
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x4c], eax
lea eax, [0x73a8bc]
mov dword [esp + 0x50], eax
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x54], ecx
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x14]
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0x24]
mov dword [esp + 0x60], eax
mov dword [esp + 0x64], 0
mov dword [esp + 0x68], 0
movzx eax, word [esp + 0x38]
mov word [esp + 0x6c], ax
mov eax, dword [esp + 0x10]
mov dword [esp + 0x70], eax
add esp, 0x34
ret
lea eax, [0x686720]
mov dword [esp], eax
lea eax, [0x738d28]
mov dword [esp + 4], eax
call sym.runtime.gopanic
nop
call sym.runtime.morestack_noctxt
jmp sym.crypto_tls.newFinishedHash