Function at 0x622730
Capabilities:
Hash data using sha1

Disassembly:
mov ecx, dword [0x92707c]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x622a7c
sub esp, 0x34
lea edi, [esp + 0x40]
xor eax, eax
call fcn.00471fa3
movzx ecx, word [esp + 0x38]
cmp cx, 0x303
jb 0x622766
lea edx, [0x926f20]
jmp 0x622768
xor edx, edx
mov dword [esp + 0x28], edx
lea ebx, [ecx - 0x301]
cmp bx, 1
ja 0x622785
xor ebx, ebx
lea ebp, [0x711418]
jmp 0x62280d
cmp cx, 0x303
jne 0x622a63
mov ebx, dword [esp + 0x3c]
mov ebx, dword [ebx + 0x14]
test ebx, 8
je 0x6227d7
nop
lea eax, [0x6bd5c0]
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, [0x7113d8]
mov dword [eax + 4], ecx
movzx ecx, word [esp + 0x38]
mov edx, dword [esp + 0x28]
mov ebx, 6
mov ebp, eax
xor eax, eax
jmp 0x62280d
nop
lea eax, [0x6bd5c0]
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, [0x711134]
mov dword [eax + 4], ecx
movzx ecx, word [esp + 0x38]
mov edx, dword [esp + 0x28]
mov ebx, 5
mov ebp, eax
xor eax, eax
mov dword [esp + 0x14], ebp
test ebx, ebx
je 0x6228c4
mov dword [esp + 0xc], ebx
mov dword [esp], ebx
call sym.crypto.Hash.New
mov eax, dword [esp + 4]
mov dword [esp + 0x10], eax
mov ecx, dword [esp + 8]
mov dword [esp + 0x30], 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 + 0x2c], ecx
lea edi, [esp + 0x40]
mov edx, eax
xor eax, eax
call fcn.00471fa3
mov eax, dword [esp + 0x10]
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], edx
mov eax, dword [esp + 0x2c]
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 + 0x28]
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 + 0x14]
mov dword [esp + 0x70], eax
add esp, 0x34
ret
lea eax, [0x6d34e0]
mov dword [esp], eax
call sym.runtime.newobject
mov eax, dword [esp + 4]
mov dword [esp + 0x24], 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, [0x6d34e0]
mov dword [esp], ecx
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, [0x6d35e0]
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 + 0x50], 0
mov dword [eax + 0x54], 0
mov dword [eax + 0x58], 0
lea ecx, [0x6d35e0]
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 edi, [esp + 0x40]
xor eax, eax
call fcn.00471fa3
lea eax, [0x7667d8]
mov dword [esp + 0x40], eax
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x44], ecx
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x20]
mov dword [esp + 0x4c], eax
lea eax, [0x7667f8]
mov dword [esp + 0x50], eax
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x54], ecx
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x18]
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0x28]
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 + 0x14]
mov dword [esp + 0x70], eax
add esp, 0x34
ret
lea eax, [0x6b20a0]
mov dword [esp], eax
lea eax, [0x764b08]
mov dword [esp + 4], eax
call sym.runtime.gopanic
nop
call sym.runtime.morestack_noctxt
jmp sym.crypto_tls.newFinishedHash