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

Disassembly:
mov ecx, dword [0x8d0454]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
lea eax, [esp - 0x8c]
cmp eax, dword [ecx + 8]
jbe 0x5daf6e
sub esp, 0x10c
mov eax, 0
mov dword [esp + 0x108], eax
mov byte [esp + 0x2e], 0
mov dword [esp + 0x11c], 0
mov dword [esp + 0x120], 0
mov eax, dword [esp + 0x110]
mov ecx, dword [eax + 0x2c]
test ecx, ecx
jne 0x5da693
mov ecx, dword [0x8d0720]
test ecx, ecx
je 0x5da68a
mov ecx, dword [eax + 0x2c]
call sym.runtime.gcWriteBarrier1
mov dword [edi], ecx
lea ecx, [0x8aaae0]
mov dword [eax + 0x2c], ecx
mov byte [eax + 0x35], 0
mov dword [esp], eax
call sym.crypto_tls._Conn_.makeClientHello
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0xc]
mov ebx, dword [esp + 4]
mov ebp, dword [esp + 8]
mov dword [esp + 0x11c], eax
mov dword [esp + 0x120], ecx
test edx, edx
jne 0x5da859
mov dword [esp + 0x58], ebp
mov eax, dword [ebx + 0x44]
mov ecx, dword [ebx + 0x40]
mov edx, dword [esp + 0x110]
mov dword [edx + 0x78], eax
mov eax, dword [0x8d0720]
test eax, eax
je 0x5da6f4
call sym.runtime.gcWriteBarrier2
mov dword [edi], ecx
mov eax, dword [edx + 0x74]
mov dword [edi + 4], eax
mov dword [esp + 0x54], ebx
mov dword [edx + 0x74], ecx
mov dword [esp], edx
mov dword [esp + 4], ebx
call sym.crypto_tls._Conn_.loadSession
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x24]
mov ebx, dword [esp + 8]
mov ebp, dword [esp + 0xc]
mov esi, dword [esp + 0x10]
mov edi, dword [esp + 0x14]
mov dword [esp + 0x34], edi
mov edi, dword [esp + 0x18]
mov dword [esp + 0x64], edi
mov edi, dword [esp + 0x1c]
mov dword [esp + 0x38], edi
mov edi, dword [esp + 0x20]
mov dword [esp + 0x11c], eax
mov dword [esp + 0x120], ecx
test edx, edx
jne 0x5da852
mov dword [esp + 0x48], ebx
mov dword [esp + 0x60], ebp
mov dword [esp + 0x30], esi
mov dword [esp + 0x3c], edi
test ebx, ebx
je 0x5da7af
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0
lea eax, [sym.crypto_tls._Conn_.clientHandshake.func1]
mov dword [esp + 0x74], eax
lea eax, [esp + 0x11c]
mov dword [esp + 0x78], eax
mov eax, dword [esp + 0x110]
mov dword [esp + 0x7c], eax
lea ecx, [esp + 0x74]
mov dword [esp + 0x108], ecx
mov byte [esp + 0x2e], 1
jmp 0x5da7b6
mov eax, dword [esp + 0x110]
mov dword [esp], eax
setne cl
mov byte [esp + 0x2f], cl
lea edx, [0x7279f4]
mov dword [esp + 4], edx
mov ebx, dword [esp + 0x54]
mov dword [esp + 8], ebx
mov dword [esp + 0xc], 0
mov dword [esp + 0x10], 0
call sym.crypto_tls._Conn_.writeHandshakeRecord
mov eax, dword [esp + 0x18]
test eax, eax
jne 0x5da819
mov eax, dword [esp + 0x54]
movzx ecx, byte [eax + 0xd4]
test cl, cl
je 0x5da860
mov ecx, dword [esp + 0x48]
movzx edx, word [ecx + 0x12]
mov ebx, dword [0x8a2808]
mov ebp, dword [0x8a280c]
xor esi, esi
jmp 0x5dad5c
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x11c], eax
mov dword [esp + 0x120], ecx
movzx eax, byte [esp + 0x2f]
test al, 1
je 0x5da84b
and eax, 0xfffffffe
mov byte [esp + 0x2e], al
mov edx, dword [esp + 0x108]
mov eax, dword [edx]
call eax
add esp, 0x10c
ret
add esp, 0x10c
ret
add esp, 0x10c
ret
mov eax, dword [esp + 0x110]
mov dword [esp], eax
mov dword [esp + 4], 0
mov dword [esp + 8], 0
call sym.crypto_tls._Conn_.readHandshake
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
mov ebx, dword [esp + 0xc]
mov ebp, dword [esp + 0x10]
mov esi, dword [esp + 0x10]
mov dword [esp + 0x11c], eax
mov dword [esp + 0x120], ecx
test edx, edx
je 0x5da8cc
movzx eax, byte [esp + 0x2f]
test al, 1
je 0x5da8c5
and eax, 0xfffffffe
mov byte [esp + 0x2e], al
mov edx, dword [esp + 0x108]
mov eax, dword [edx]
call eax
add esp, 0x10c
ret
lea eax, [0x690660]
cmp ebx, eax
je 0x5da8db
mov ebp, 0
mov dword [esp + 0x4c], ebp
jne 0x5dac71
mov eax, dword [esp + 0x110]
mov dword [esp], eax
mov dword [esp + 4], ebp
call sym.crypto_tls._Conn_.pickTLSVersion
mov eax, dword [esp + 8]
test eax, eax
je 0x5da939
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x11c], eax
mov dword [esp + 0x120], ecx
movzx eax, byte [esp + 0x2f]
test al, 1
je 0x5da932
and eax, 0xfffffffe
mov byte [esp + 0x2e], al
mov edx, dword [esp + 0x108]
mov eax, dword [edx]
call eax
add esp, 0x10c
ret
mov eax, dword [esp + 0x110]
mov ecx, dword [eax + 0x2c]
mov dword [esp], ecx
mov byte [esp + 4], 1
call sym.crypto_tls._Config_.supportedVersions
mov eax, dword [esp + 0xc]
test eax, eax
jne 0x5da95c
xor edx, edx
jmp 0x5da963
mov edx, dword [esp + 8]
movzx edx, word [edx]
mov ebx, dword [esp + 0x4c]
mov ecx, dword [ebx + 0x14]
cmp ecx, 0x18
jb 0x5dad51
mov ebp, dword [ebx + 0x10]
mov esi, dword [ebx + 0x18]
add esi, 0xffffffe8
xchg esi, ebx
neg ebx
xchg esi, ebx
sar esi, 0x1f
and esi, 0x18
lea eax, [ebp + esi]
cmp ecx, 0x20
jne 0x5da9b2
cmp dword [eax], 0x4e574f44
jne 0x5da9af
lea edi, [ebp + esi + 4]
cmp dword [edi], 0x1445247
xchg edi, ebx
sete bl
xchg edi, ebx
cmp ecx, 0x20
jmp 0x5da9b7
cmp ecx, 0x20
mov edi, 0
jne 0x5da9d0
cmp dword [eax], 0x4e574f44
jne 0x5da9d0
lea ecx, [ebp + esi + 4]
cmp dword [ecx], 0x445247
sete cl
jmp 0x5da9d2
xor ecx, ecx
cmp dx, 0x304
jne 0x5da9f4
mov ebp, dword [esp + 0x110]
cmp word [ebp + 0x28], 0x303
ja 0x5da9fb
xchg edi, eax
test al, al
xchg edi, eax
jne 0x5daa0e
test cl, cl
jne 0x5daa0e
jmp 0x5da9fb
mov ebp, dword [esp + 0x110]
cmp dx, 0x303
jne 0x5daa73
cmp word [ebp + 0x28], 0x302
ja 0x5daa73
test cl, cl
je 0x5daa73
mov dword [esp], ebp
mov byte [esp + 4], 0x2f
call sym.crypto_tls._Conn_.sendAlert
lea eax, [0x68cba0]
mov dword [esp], eax
call sym.runtime.newobject
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x54
lea ecx, [0x6d3f55]
mov dword [eax], ecx
lea ecx, [0x726b8c]
mov dword [esp + 0x11c], ecx
mov dword [esp + 0x120], eax
movzx eax, byte [esp + 0x2f]
test al, 1
je 0x5daa6c
and eax, 0xfffffffe
mov byte [esp + 0x2e], al
mov edx, dword [esp + 0x108]
mov eax, dword [edx]
call eax
add esp, 0x10c
ret
cmp word [ebp + 0x28], 0x304
jne 0x5dab62
lea edi, [esp + 0xa8]
xor eax, eax
call fcn.00468468
mov dword [esp + 0xa8], ebp
mov ecx, dword [esp + 0x114]
mov dword [esp + 0xac], ecx
mov ecx, dword [esp + 0x118]
mov dword [esp + 0xb0], ecx
mov dword [esp + 0xb4], ebx
mov ecx, dword [esp + 0x54]
mov dword [esp + 0xb8], ecx
mov ecx, dword [esp + 0x58]
mov dword [esp + 0xbc], ecx
mov ecx, dword [esp + 0x48]
mov dword [esp + 0xc0], ecx
mov ecx, dword [esp + 0x60]
mov dword [esp + 0xc4], ecx
mov ecx, dword [esp + 0x30]
mov dword [esp + 0xc8], ecx
mov ecx, dword [esp + 0x34]
mov dword [esp + 0xcc], ecx
mov ecx, dword [esp + 0x64]
mov dword [esp + 0xd0], ecx
mov ecx, dword [esp + 0x38]
mov dword [esp + 0xd4], ecx
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0xd8], ecx
lea ecx, [esp + 0xa8]
mov dword [esp], ecx
call sym.crypto_tls._clientHandshakeStateTLS13_.handshake
mov ecx, dword [esp + 4]
mov edx, dword [esp + 8]
mov dword [esp + 0x11c], ecx
mov dword [esp + 0x120], edx
movzx ecx, byte [esp + 0x2f]
test cl, 1
je 0x5dab5b
and ecx, 0xfffffffe
mov byte [esp + 0x2e], cl
mov edx, dword [esp + 0x108]
mov eax, dword [edx]
call eax
add esp, 0x10c
ret
lea eax, [0x6aabe0]
mov dword [esp], eax
call sym.runtime.newobject
mov eax, dword [0x8d0720]
mov ecx, dword [esp + 4]
test eax, eax
jne 0x5dab87
mov eax, dword [esp + 0x110]
jmp 0x5dab95
call sym.runtime.gcWriteBarrier1
mov eax, dword [esp + 0x110]
mov dword [edi], eax
mov dword [ecx], eax
mov eax, dword [esp + 0x114]
mov dword [ecx + 4], eax
mov eax, dword [0x8d0720]
test eax, eax
jne 0x5dabc0
mov eax, dword [esp + 0x118]
mov edx, dword [esp + 0x4c]
mov ebx, dword [esp + 0x54]
mov ebp, dword [esp + 0x48]
jmp 0x5dabe3
call sym.runtime.gcWriteBarrier4
mov eax, dword [esp + 0x118]
mov dword [edi], eax
mov edx, dword [esp + 0x4c]
mov dword [edi + 4], edx
mov ebx, dword [esp + 0x54]
mov dword [edi + 8], ebx
mov ebp, dword [esp + 0x48]
mov dword [edi + 0xc], ebp
mov dword [ecx + 8], eax
mov dword [ecx + 0xc], edx
mov dword [ecx + 0x10], ebx
mov dword [ecx + 0x58], ebp
mov dword [esp], ecx
call sym.crypto_tls._clientHandshakeState_.handshake
mov eax, dword [esp + 4]
test eax, eax
je 0x5dac38
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov dword [esp + 0x11c], eax
mov dword [esp + 0x120], ecx
movzx eax, byte [esp + 0x2f]
test al, 1
je 0x5dac31
and eax, 0xfffffffe
mov byte [esp + 0x2e], al
mov edx, dword [esp + 0x108]
mov eax, dword [edx]
call eax
add esp, 0x10c
ret
mov dword [esp + 0x11c], 0
mov dword [esp + 0x120], 0
movzx eax, byte [esp + 0x2f]
test al, 1
je 0x5dac6a
and eax, 0xfffffffe
mov byte [esp + 0x2e], al
mov edx, dword [esp + 0x108]
mov eax, dword [edx]
call eax
add esp, 0x10c
ret
mov dword [esp + 0x70], ebx
mov dword [esp + 0x50], esi
mov eax, dword [esp + 0x110]
mov dword [esp], eax
mov byte [esp + 4], 0xa
call sym.crypto_tls._Conn_.sendAlert
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0
mov dword [esp + 0x88], 0
mov dword [esp + 0x8c], 0
mov eax, dword [esp + 0x70]
mov dword [esp + 0x80], eax
mov eax, dword [esp + 0x50]
mov dword [esp + 0x84], eax
lea eax, [0x690660]
mov dword [esp + 0x88], eax
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x8c], eax
lea eax, [0x6d376c]
mov dword [esp], eax
mov dword [esp + 4], 0x49
lea eax, [esp + 0x80]
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 + 0x11c], eax
mov dword [esp + 0x120], ecx
movzx eax, byte [esp + 0x2f]
test al, 1
je 0x5dad4a
and eax, 0xfffffffe
mov byte [esp + 0x2e], al
mov edx, dword [esp + 0x108]
mov eax, dword [edx]
call eax
add esp, 0x10c
ret
mov eax, 0x18
call sym.runtime.panicSliceB
inc esi
cmp esi, ebp
jge 0x5dad6a
mov edi, dword [ebx + esi*4]
cmp word [edi], dx
jne 0x5dad5b
jmp 0x5dad6c
xor edi, edi
mov dword [esp + 0x40], edi
mov eax, dword [edi + 0xc]
mov dword [esp], eax
call sym.crypto.Hash.New
mov eax, dword [esp + 8]
mov dword [esp + 0x44], eax
mov ecx, dword [esp + 4]
mov dword [esp + 0x70], ecx
lea edx, [0x68b2c0]
mov dword [esp], edx
call sym.runtime.convI2I
lea eax, [0x7279f4]
mov dword [esp], eax
mov eax, dword [esp + 0x54]
mov dword [esp + 4], eax
mov ecx, dword [esp + 0x44]
mov dword [esp + 0xc], ecx
call sym.crypto_tls.transcriptMsg
mov eax, dword [esp + 0x10]
test eax, eax
je 0x5dadf8
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x11c], eax
mov dword [esp + 0x120], ecx
movzx eax, byte [esp + 0x2f]
test al, 1
je 0x5dadf1
and eax, 0xfffffffe
mov byte [esp + 0x2e], al
mov edx, dword [esp + 0x108]
mov eax, dword [edx]
call eax
add esp, 0x10c
ret
mov eax, dword [esp + 0x40]
mov dword [esp], eax
mov ecx, dword [esp + 0x60]
mov dword [esp + 4], ecx
mov edx, dword [esp + 0x30]
mov dword [esp + 8], edx
mov ebx, dword [esp + 0x34]
mov dword [esp + 0xc], ebx
lea ebp, [0x6c004b]
mov dword [esp + 0x10], ebp
mov dword [esp + 0x14], 0xb
mov ebp, dword [esp + 0x70]
mov dword [esp + 0x18], ebp
mov ebp, dword [esp + 0x44]
mov dword [esp + 0x1c], ebp
call sym.crypto_tls._cipherSuiteTLS13_.deriveSecret
mov eax, dword [esp + 0x40]
movzx eax, word [eax]
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x5c], ecx
mov edx, dword [esp + 0x24]
mov ebx, dword [esp + 0x28]
lea edi, [esp + 0x90]
mov ebp, eax
xor eax, eax
call fcn.0046847a
mov dword [esp + 0x90], 2
mov dword [esp + 0x94], 1
mov word [esp + 0xa4], bp
mov eax, dword [esp + 0x5c]
mov dword [esp + 0x98], eax
mov dword [esp + 0x9c], edx
mov dword [esp + 0xa0], ebx
mov eax, dword [esp + 0x110]
mov ecx, dword [eax + 0x10]
mov edx, dword [ecx + 8]
mov ebx, dword [ecx + 4]
inc ebx
mov ebp, dword [ecx]
cmp edx, ebx
jae 0x5daf11
mov dword [esp + 0x6c], ecx
mov dword [esp], ebp
mov dword [esp + 4], ebx
mov dword [esp + 8], edx
mov dword [esp + 0xc], 1
lea eax, [0x69e9c0]
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 + 0x6c]
mov dword [ebx + 8], eax
mov eax, dword [0x8d0720]
test eax, eax
je 0x5daf02
call sym.runtime.gcWriteBarrier2
mov dword [edi], ecx
mov eax, dword [ebx]
mov dword [edi + 4], eax
mov dword [ebx], ecx
mov eax, dword [esp + 0x110]
mov ebp, ecx
mov ecx, ebx
mov ebx, edx
mov dword [ecx + 4], ebx
mov ecx, dword [0x8d0720]
lea edx, [ebx + ebx*2]
lea edi, [ebp + edx*8 - 0x18]
test ecx, ecx
je 0x5daf51
mov dword [esp + 0x68], edi
lea eax, [0x69e9c0]
mov dword [esp], eax
mov dword [esp + 4], edi
lea eax, [esp + 0x90]
mov dword [esp + 8], eax
call sym.runtime.wbMove
mov eax, dword [esp + 0x110]
mov edi, dword [esp + 0x68]
lea esi, [esp + 0x90]
call fcn.00468954
jmp 0x5da860
call sym.runtime.morestack_noctxt
jmp sym.crypto_tls._Conn_.clientHandshake