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

Disassembly:
mov ecx, dword [0x8ef630]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
lea eax, [esp - 8]
cmp eax, dword [ecx + 8]
jbe 0x5f1319
sub esp, 0x88
mov eax, dword [esp + 0x8c]
mov ecx, dword [eax + 0x40]
mov edx, dword [eax]
mov dword [esp + 0x4c], edx
mov ebx, dword [eax + 0x44]
test ecx, ecx
je 0x5f0bd0
mov dword [esp + 0x84], ebx
mov eax, dword [ecx + 4]
lea ecx, [0x8c95c8]
mov dword [esp], ecx
mov dword [esp + 4], eax
call sym.runtime.typeAssert
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0x4c]
mov ebx, dword [esp + 0x84]
mov dword [esp], edx
mov dword [esp + 4], ecx
mov dword [esp + 8], ebx
call sym.crypto_tls._Conn_.readHandshake
mov eax, dword [esp + 0x14]
test eax, eax
jne 0x5f0d7b
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
lea ebx, [0x6a4520]
cmp ecx, ebx
jne 0x5f0c02
mov eax, edx
jmp 0x5f0c09
mov eax, edx
mov edx, 0
mov dword [esp + 0x44], edx
jne 0x5f0cef
mov ecx, dword [esp + 0x4c]
test byte [ecx], al
mov ebx, dword [esp + 0x8c]
mov ebp, dword [ebx + 0x10]
mov eax, dword [edx + 4]
mov esi, dword [ebp + 0xa4]
test eax, eax
je 0x5f0c9d
test esi, esi
je 0x5f0c5f
mov dword [esp + 0x2c], esi
mov dword [esp + 0x24], eax
mov ebp, dword [ebp + 0xa0]
mov dword [esp + 0x48], ebp
mov edi, dword [edx]
mov dword [esp + 0x40], edi
mov dword [esp + 0x30], eax
xor eax, eax
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x30]
jmp 0x5f1280
nop
lea eax, [0x6a0680]
mov dword [esp], eax
call sym.runtime.newobject
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x31
lea ecx, [0x6e6b39]
mov dword [eax], ecx
mov ecx, dword [esp + 0x4c]
mov edx, dword [esp + 0x44]
mov ebx, dword [esp + 0x8c]
mov ebp, eax
lea eax, [0x7423cc]
jmp 0x5f0d94
mov ebp, dword [ecx + 0x10]
test ebp, ebp
je 0x5f0ce6
test esi, esi
je 0x5f0ce6
nop
lea eax, [0x6a0680]
mov dword [esp], eax
call sym.runtime.newobject
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x2b
lea ecx, [0x6e4ceb]
mov dword [eax], ecx
mov ecx, dword [esp + 0x4c]
mov edx, dword [esp + 0x44]
mov ebx, dword [esp + 0x8c]
mov ebp, eax
lea eax, [0x7423cc]
jmp 0x5f0d94
xor eax, eax
xor ebp, ebp
jmp 0x5f0d94
mov dword [esp + 0x28], ecx
mov dword [esp + 0x84], eax
mov eax, dword [esp + 0x4c]
mov dword [esp], eax
mov byte [esp + 4], 0xa
call sym.crypto_tls._Conn_.sendAlert
mov eax, dword [esp + 0x28]
mov dword [esp + 0x6c], eax
mov eax, dword [esp + 0x84]
mov dword [esp + 0x70], eax
lea eax, [0x6a4520]
mov dword [esp + 0x74], eax
mov eax, dword [esp + 0x44]
mov dword [esp + 0x78], eax
lea eax, [0x6ea315]
mov dword [esp], eax
mov dword [esp + 4], 0x49
lea eax, [esp + 0x6c]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 2
mov dword [esp + 0x10], 2
call sym.fmt.Errorf
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x90], eax
mov dword [esp + 0x94], ecx
add esp, 0x88
ret
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x90], eax
mov dword [esp + 0x94], ecx
add esp, 0x88
ret
test eax, eax
jne 0x5f1238
mov ebp, dword [edx + 4]
mov eax, dword [edx]
mov dword [ecx + 0xd0], ebp
mov ebp, dword [0x8ef900]
test ebp, ebp
je 0x5f0dc1
call sym.runtime.gcWriteBarrier2
mov dword [edi], eax
mov ebp, dword [ecx + 0xcc]
mov dword [edi + 4], ebp
mov dword [ecx + 0xcc], eax
mov ebp, dword [ecx + 0x10]
test ebp, ebp
je 0x5f0f28
mov ebp, dword [edx + 8]
test ebp, ebp
je 0x5f0edf
mov eax, dword [edx + 0xc]
mov dword [esp + 0x38], eax
mov esi, dword [edx + 0x10]
lea edi, [esp + 0x50]
xor eax, eax
call fcn.00471cf9
mov dword [esp + 0x50], 4
mov dword [esp + 0x58], ebp
mov ecx, dword [esp + 0x38]
mov dword [esp + 0x5c], ecx
mov dword [esp + 0x60], esi
mov ecx, dword [esp + 0x4c]
mov ebp, dword [ecx + 0x10]
mov eax, dword [ebp + 8]
mov esi, dword [ebp + 4]
inc esi
mov edi, dword [ebp]
cmp eax, esi
jae 0x5f0e8b
mov dword [esp + 0x80], ebp
mov dword [esp], edi
mov dword [esp + 4], esi
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
lea eax, [0x6b8960]
mov dword [esp + 0x10], eax
call sym.runtime.growslice
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov ebx, dword [esp + 0x80]
mov dword [ebx + 8], eax
mov eax, dword [0x8ef900]
test eax, eax
je 0x5f0e74
call sym.runtime.gcWriteBarrier2
mov dword [edi], ecx
mov eax, dword [ebx]
mov dword [edi + 4], eax
mov dword [ebx], ecx
mov ebp, ebx
mov esi, edx
mov edi, ecx
mov ecx, dword [esp + 0x4c]
mov edx, dword [esp + 0x44]
mov ebx, dword [esp + 0x8c]
mov dword [ebp + 4], esi
mov eax, dword [0x8ef900]
imul ebp, esi, 0x1c
lea edi, [ebp + edi - 0x1c]
test eax, eax
je 0x5f0ed0
mov dword [esp + 0x7c], edi
lea eax, [0x6b8960]
mov dword [esp], eax
mov dword [esp + 4], edi
lea eax, [esp + 0x50]
mov dword [esp + 8], eax
call sym.runtime.wbMove
mov ecx, dword [esp + 0x4c]
mov edx, dword [esp + 0x44]
mov ebx, dword [esp + 0x8c]
mov edi, dword [esp + 0x7c]
lea esi, [esp + 0x50]
call fcn.004721ca
mov ecx, dword [esp + 0x4c]
jmp 0x5f0f33
mov dword [esp], ecx
mov byte [esp + 4], 0x6d
call sym.crypto_tls._Conn_.sendAlert
lea eax, [0x6a0680]
mov dword [esp], eax
call sym.runtime.newobject
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x3e
lea ecx, [0x6e91f1]
mov dword [eax], ecx
lea ecx, [0x7423cc]
mov dword [esp + 0x90], ecx
mov dword [esp + 0x94], eax
add esp, 0x88
ret
mov eax, dword [edx + 8]
test eax, eax
jne 0x5f11ef
mov eax, dword [ebx + 0x10]
movzx eax, byte [eax + 0xd4]
test al, al
jne 0x5f0f57
movzx ebp, byte [edx + 0x14]
xchg ebp, eax
test al, al
xchg ebp, eax
jne 0x5f11a6
test al, al
je 0x5f1036
movzx eax, byte [edx + 0x14]
test al, al
jne 0x5f1036
mov eax, dword [ecx + 0x10]
mov ebp, dword [eax + 8]
mov esi, dword [eax + 4]
inc esi
nop
mov edi, dword [eax]
cmp ebp, esi
jae 0x5f0fe0
mov dword [esp + 0x80], eax
mov dword [esp], edi
mov dword [esp + 4], esi
mov dword [esp + 8], ebp
mov dword [esp + 0xc], 1
lea eax, [0x6b8960]
mov dword [esp + 0x10], eax
call sym.runtime.growslice
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov ebx, dword [esp + 0x80]
mov dword [ebx + 8], eax
mov eax, dword [0x8ef900]
test eax, eax
je 0x5f0fc9
call sym.runtime.gcWriteBarrier2
mov dword [edi], ecx
mov eax, dword [ebx]
mov dword [edi + 4], eax
mov dword [ebx], ecx
mov eax, ebx
mov ebx, dword [esp + 0x8c]
mov esi, edx
mov edi, ecx
mov ecx, dword [esp + 0x4c]
mov edx, dword [esp + 0x44]
mov dword [eax + 4], esi
mov eax, dword [0x8ef900]
imul ebp, esi, 0x1c
lea edi, [edi + ebp - 0x1c]
test eax, eax
je 0x5f1027
mov dword [esp + 0x7c], edi
lea eax, [0x6b8960]
mov dword [esp], eax
mov dword [esp + 4], edi
lea eax, [0x743728]
mov dword [esp + 8], eax
call sym.runtime.wbMove
mov ecx, dword [esp + 0x4c]
mov edx, dword [esp + 0x44]
mov ebx, dword [esp + 0x8c]
mov edi, dword [esp + 0x7c]
lea esi, [0x743728]
call fcn.004721ca
mov ecx, dword [esp + 0x4c]
movzx eax, byte [edx + 0x14]
test al, al
je 0x5f112a
mov eax, dword [ebx + 0x18]
movzx ebp, word [eax + 0x12]
cmp word [ecx + 0x38], bp
jne 0x5f10e1
mov ebp, dword [eax + 0x6c]
cmp dword [ecx + 0xd0], ebp
jne 0x5f1098
mov eax, dword [eax + 0x68]
mov edx, dword [ecx + 0xcc]
mov dword [esp], eax
mov dword [esp + 4], edx
mov dword [esp + 8], ebp
call sym.runtime.memequal
movzx eax, byte [esp + 0xc]
test al, al
je 0x5f1094
mov ecx, dword [esp + 0x4c]
mov edx, dword [esp + 0x44]
mov ebx, dword [esp + 0x8c]
jmp 0x5f112a
mov ecx, dword [esp + 0x4c]
mov dword [esp], ecx
mov byte [esp + 4], 0x28
call sym.crypto_tls._Conn_.sendAlert
lea eax, [0x6a0680]
mov dword [esp], eax
call sym.runtime.newobject
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x2e
lea ecx, [0x6e5c51]
mov dword [eax], ecx
lea ecx, [0x7423cc]
mov dword [esp + 0x90], ecx
mov dword [esp + 0x94], eax
add esp, 0x88
ret
mov dword [esp], ecx
mov byte [esp + 4], 0x28
call sym.crypto_tls._Conn_.sendAlert
lea eax, [0x6a0680]
mov dword [esp], eax
call sym.runtime.newobject
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x36
lea ecx, [0x6e7cf7]
mov dword [eax], ecx
lea ecx, [0x7423cc]
mov dword [esp + 0x90], ecx
mov dword [esp + 0x94], eax
add esp, 0x88
ret
mov eax, dword [ebx + 0x60]
test eax, eax
je 0x5f1189
movzx eax, byte [eax + 0x24]
test al, al
jne 0x5f1189
mov eax, dword [edx + 0x18]
test eax, eax
je 0x5f1189
mov dword [esp], ecx
mov byte [esp + 4], 0x6e
call sym.crypto_tls._Conn_.sendAlert
lea eax, [0x6a0680]
mov dword [esp], eax
call sym.runtime.newobject
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x36
lea ecx, [0x6e7d2d]
mov dword [eax], ecx
lea ecx, [0x7423cc]
mov dword [esp + 0x90], ecx
mov dword [esp + 0x94], eax
add esp, 0x88
ret
mov dword [esp + 0x90], 0
mov dword [esp + 0x94], 0
add esp, 0x88
ret
mov dword [esp], ecx
mov byte [esp + 4], 0x6e
call sym.crypto_tls._Conn_.sendAlert
lea eax, [0x6a0680]
mov dword [esp], eax
call sym.runtime.newobject
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x33
lea ecx, [0x6e73f6]
mov dword [eax], ecx
lea ecx, [0x7423cc]
mov dword [esp + 0x90], ecx
mov dword [esp + 0x94], eax
add esp, 0x88
ret
mov dword [esp], ecx
mov byte [esp + 4], 0x6e
call sym.crypto_tls._Conn_.sendAlert
lea eax, [0x6a0680]
mov dword [esp], eax
call sym.runtime.newobject
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x42
lea ecx, [0x6e9a2d]
mov dword [eax], ecx
lea ecx, [0x7423cc]
mov dword [esp + 0x90], ecx
mov dword [esp + 0x94], eax
add esp, 0x88
ret
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x20], eax
mov dword [esp], ecx
mov byte [esp + 4], 0x78
call sym.crypto_tls._Conn_.sendAlert
mov eax, dword [esp + 0x20]
mov dword [esp + 0x90], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x94], eax
add esp, 0x88
ret
lea ecx, [ebx + 1]
mov edx, dword [esp + 0x44]
mov ebx, dword [esp + 0x8c]
mov dword [esp + 0x38], ecx
mov ecx, dword [esp + 0x4c]
mov ebx, dword [esp + 0x38]
cmp ebx, esi
jge 0x5f12dc
lea ecx, [ebp + ebx*8]
mov edx, dword [ecx + 4]
cmp edx, eax
jne 0x5f126a
mov eax, dword [ecx]
mov dword [esp], eax
mov dword [esp + 4], edi
mov dword [esp + 8], edx
call sym.runtime.memequal
movzx eax, byte [esp + 0xc]
test al, al
jne 0x5f12c4
mov eax, dword [esp + 0x24]
mov ebx, dword [esp + 0x38]
mov ebp, dword [esp + 0x48]
mov esi, dword [esp + 0x2c]
mov edi, dword [esp + 0x40]
jmp 0x5f126a
mov ecx, dword [esp + 0x4c]
mov edx, dword [esp + 0x44]
mov ebx, dword [esp + 0x8c]
xor eax, eax
xor ebp, ebp
jmp 0x5f0d94
nop
lea eax, [0x6a0680]
mov dword [esp], eax
call sym.runtime.newobject
mov ebp, dword [esp + 4]
mov dword [ebp + 4], 0x2f
lea eax, [0x6e6219]
mov dword [ebp], eax
mov ecx, dword [esp + 0x4c]
mov edx, dword [esp + 0x44]
mov ebx, dword [esp + 0x8c]
lea eax, [0x7423cc]
jmp 0x5f0d94
call sym.runtime.morestack_noctxt
jmp sym.crypto_tls._clientHandshakeStateTLS13_.readServerParameters