Function at 0x5df980
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov ecx, dword [0x8e25d4]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x5dfef7
sub esp, 0x74
mov eax, dword [edx + 0x14]
mov dword [esp + 0x4c], eax
mov ecx, dword [edx + 8]
mov dword [esp + 0x34], ecx
mov ebx, dword [edx + 4]
mov dword [esp + 0x54], ebx
mov ebp, dword [edx + 0x10]
mov dword [esp + 0x60], ebp
movzx esi, word [edx + 0x1c]
mov word [esp + 0x32], si
mov edi, dword [edx + 0x24]
mov dword [esp + 0x5c], edi
mov edi, dword [edx + 0x20]
mov dword [esp + 0x50], edi
mov edi, dword [edx + 0x28]
mov dword [esp + 0x44], edi
mov edx, dword [edx + 0x2c]
mov dword [esp + 0x48], edx
mov edx, dword [esp + 0x7c]
cmp edx, 0xd
je 0x5dfa5e
cmp edx, 0xf
jne 0x5dfb6c
mov eax, dword [esp + 0x78]
mov dword [esp], eax
lea ecx, [0x6c4d50]
mov dword [esp + 4], ecx
mov dword [esp + 8], 0xf
call sym.runtime.memequal
movzx eax, byte [esp + 0xc]
test al, al
jne 0x5dfab0
mov eax, dword [esp + 0x78]
mov dword [esp], eax
lea ecx, [0x6c4d5f]
mov dword [esp + 4], ecx
mov dword [esp + 8], 0xf
call sym.runtime.memequal
movzx eax, byte [esp + 0xc]
test al, al
jne 0x5dfab0
mov eax, dword [esp + 0x4c]
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x7c]
mov ebx, dword [esp + 0x54]
mov ebp, dword [esp + 0x60]
movzx esi, word [esp + 0x32]
mov edi, dword [esp + 0x44]
jmp 0x5dfb6c
mov eax, dword [esp + 0x78]
mov dword [esp], eax
lea ecx, [0x6c4052]
mov dword [esp + 4], ecx
mov dword [esp + 8], 0xd
call sym.runtime.memequal
movzx eax, byte [esp + 0xc]
test al, al
jne 0x5dfab0
mov eax, dword [esp + 0x78]
mov dword [esp], eax
lea ecx, [0x6c405f]
mov dword [esp + 4], ecx
mov dword [esp + 8], 0xd
call sym.runtime.memequal
movzx eax, byte [esp + 0xc]
test al, al
je 0x5dfb4f
mov dword [esp + 0x6c], 0
mov dword [esp + 0x70], 0
mov eax, dword [esp + 0x78]
mov dword [esp], eax
mov eax, dword [esp + 0x7c]
mov dword [esp + 4], eax
call sym.runtime.convTstring
mov eax, dword [esp + 8]
lea ecx, [0x686720]
mov dword [esp + 0x6c], ecx
mov dword [esp + 0x70], eax
lea eax, [0x6d4abf]
mov dword [esp], eax
mov dword [esp + 4], 0x33
lea eax, [esp + 0x6c]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 1
call sym.fmt.Errorf
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x90], 0
mov dword [esp + 0x94], 0
mov dword [esp + 0x98], 0
mov dword [esp + 0x9c], eax
mov dword [esp + 0xa0], ecx
add esp, 0x74
ret
mov eax, dword [esp + 0x4c]
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x7c]
mov ebx, dword [esp + 0x54]
mov ebp, dword [esp + 0x60]
movzx esi, word [esp + 0x32]
mov edi, dword [esp + 0x44]
lea edi, [ecx + eax]
mov edx, dword [esp + 0x80]
test edx, edx
je 0x5dfb85
mov esi, dword [esp + 0x84]
lea edi, [edi + esi + 2]
mov dword [esp + 0x38], edi
lea eax, [0x686a60]
mov dword [esp], eax
mov dword [esp + 4], 0
mov dword [esp + 8], edi
call sym.runtime.makeslice
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x4c]
cmp ecx, edx
jb 0x5dfbb7
mov ebx, edx
jmp 0x5dfbe9
mov dword [esp], eax
mov dword [esp + 4], edx
mov dword [esp + 8], ecx
mov dword [esp + 0xc], edx
lea eax, [0x686a60]
mov dword [esp + 0x10], eax
call sym.runtime.growslice
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edi, dword [esp + 0x1c]
mov ebx, dword [esp + 0x4c]
mov edx, ecx
mov ecx, edi
mov dword [esp + 0x3c], edx
mov dword [esp + 0x58], eax
mov dword [esp + 0x40], ecx
mov dword [esp], eax
mov ebp, dword [esp + 0x60]
mov dword [esp + 4], ebp
mov dword [esp + 8], ebx
call sym.runtime.memmove
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x34]
lea edx, [ecx + eax]
mov ebx, dword [esp + 0x40]
cmp ebx, edx
jb 0x5dfc22
mov ebp, dword [esp + 0x58]
jmp 0x5dfc5c
mov eax, dword [esp + 0x58]
mov dword [esp], eax
mov dword [esp + 4], edx
mov dword [esp + 8], ebx
mov dword [esp + 0xc], ecx
lea eax, [0x686a60]
mov dword [esp + 0x10], eax
call sym.runtime.growslice
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov ebp, eax
mov ebx, ecx
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x40], ebx
mov dword [esp + 0x3c], edx
mov dword [esp + 0x58], ebp
add eax, ebp
mov dword [esp], eax
mov eax, dword [esp + 0x54]
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
call sym.runtime.memmove
mov eax, dword [esp + 0x80]
test eax, eax
je 0x5dfde0
mov ecx, dword [esp + 0x84]
cmp ecx, 0x10000
jge 0x5dfd77
mov edx, dword [esp + 0x3c]
add edx, 2
mov ebx, dword [esp + 0x40]
cmp ebx, edx
jb 0x5dfcb5
mov ebp, dword [esp + 0x58]
jmp 0x5dfcf5
mov eax, dword [esp + 0x58]
mov dword [esp], eax
mov dword [esp + 4], edx
mov dword [esp + 8], ebx
mov dword [esp + 0xc], 2
lea eax, [0x686a60]
mov dword [esp + 0x10], eax
call sym.runtime.growslice
mov ebp, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov ebx, dword [esp + 0x1c]
mov eax, dword [esp + 0x80]
mov ecx, dword [esp + 0x84]
mov esi, ecx
sar ecx, 8
mov byte [edx + ebp - 2], cl
xchg esi, eax
mov byte [edx + ebp - 1], al
xchg esi, eax
lea ecx, [esi + edx]
cmp ebx, ecx
jae 0x5dfd4b
mov dword [esp + 0x3c], edx
mov dword [esp], ebp
mov dword [esp + 4], ecx
mov dword [esp + 8], ebx
mov dword [esp + 0xc], esi
lea eax, [0x686a60]
mov dword [esp + 0x10], eax
call sym.runtime.growslice
mov ebp, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov ebx, dword [esp + 0x1c]
mov eax, dword [esp + 0x80]
mov edx, dword [esp + 0x3c]
mov esi, dword [esp + 0x84]
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x58], ebp
mov dword [esp + 0x40], ebx
add edx, ebp
mov dword [esp], edx
mov dword [esp + 4], eax
mov dword [esp + 8], esi
call sym.runtime.memmove
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x58]
jmp 0x5dfdec
lea eax, [0x6d4237]
mov dword [esp], eax
mov dword [esp + 4], 0x31
mov dword [esp + 8], 0
mov dword [esp + 0xc], 0
mov dword [esp + 0x10], 0
call sym.fmt.Errorf
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x90], 0
mov dword [esp + 0x94], 0
mov dword [esp + 0x98], 0
mov dword [esp + 0x9c], eax
mov dword [esp + 0xa0], ecx
add esp, 0x74
ret
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x58]
mov dword [esp + 0x3c], eax
mov dword [esp + 0x58], edx
mov dword [esp + 0x40], ecx
lea ebx, [0x686a60]
mov dword [esp], ebx
mov ebx, dword [esp + 0x8c]
mov dword [esp + 4], ebx
mov dword [esp + 8], ebx
call sym.runtime.makeslice
mov eax, dword [esp + 0xc]
mov dword [esp + 0x68], eax
movzx ecx, word [esp + 0x32]
mov word [esp], cx
mov ecx, dword [esp + 0x50]
mov dword [esp + 4], ecx
call sym.crypto_tls.prfForVersion
mov eax, dword [esp + 8]
mov dword [esp + 0x64], eax
mov dword [esp], 0
mov ecx, dword [esp + 0x78]
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x7c]
mov dword [esp + 8], ecx
call sym.runtime.stringtoslicebyte
mov edx, dword [esp + 0x64]
mov eax, dword [edx]
mov ecx, dword [esp + 0xc]
mov ebx, dword [esp + 0x10]
mov ebp, dword [esp + 0x14]
mov esi, dword [esp + 0x68]
mov dword [esp], esi
mov edi, dword [esp + 0x8c]
mov dword [esp + 4], edi
mov dword [esp + 8], edi
mov edi, dword [esp + 0x5c]
mov dword [esp + 0xc], edi
mov edi, dword [esp + 0x44]
mov dword [esp + 0x10], edi
mov edi, dword [esp + 0x48]
mov dword [esp + 0x14], edi
mov dword [esp + 0x18], ecx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebp
mov ecx, dword [esp + 0x58]
mov dword [esp + 0x24], ecx
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x28], ecx
mov ecx, dword [esp + 0x40]
mov dword [esp + 0x2c], ecx
call eax
mov eax, dword [esp + 0x68]
mov dword [esp + 0x90], eax
mov eax, dword [esp + 0x8c]
mov dword [esp + 0x94], eax
mov dword [esp + 0x98], eax
mov dword [esp + 0x9c], 0
mov dword [esp + 0xa0], 0
add esp, 0x74
ret
call sym.runtime.morestack
jmp sym.crypto_tls._clientHandshakeState_.handshake.ekmFromMasterSecret.func1