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

Disassembly:
mov ecx, dword [0x911770]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
lea eax, [esp - 0xa4]
cmp eax, dword [ecx + 8]
jbe 0x5ea9db
sub esp, 0x124
mov eax, 0
mov dword [esp + 0x120], eax
mov byte [esp + 0x2f], 0
mov dword [esp + 0x134], 0
mov dword [esp + 0x138], 0
mov eax, dword [esp + 0x128]
mov ecx, dword [eax + 0x2c]
test ecx, ecx
jne 0x5e9ef3
mov ecx, dword [0x911a40]
test ecx, ecx
je 0x5e9eea
mov ecx, dword [eax + 0x2c]
call sym.runtime.gcWriteBarrier1
mov dword [edi], ecx
lea ecx, [0x8f20a0]
mov dword [eax + 0x2c], ecx
mov byte [eax + 0x35], 0
mov dword [esp], eax
call sym.crypto_tls._Conn_.makeClientHello
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 4]
mov ebx, dword [esp + 0xc]
mov ebp, dword [esp + 8]
mov dword [esp + 0x134], eax
mov dword [esp + 0x138], ecx
test eax, eax
jne 0x5ea32c
mov dword [esp + 0x68], edx
mov dword [esp + 0x64], ebp
mov dword [esp + 0x6c], ebx
mov eax, dword [esp + 0x128]
mov dword [esp], eax
mov dword [esp + 4], edx
call sym.crypto_tls._Conn_.loadSession
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 8]
mov ebx, dword [esp + 0xc]
mov ebp, dword [esp + 0x18]
mov dword [esp + 0x74], ebp
mov esi, dword [esp + 0x10]
mov edi, dword [esp + 0x14]
mov ebp, dword [esp + 0x1c]
mov dword [esp + 0x48], ebp
mov ebp, dword [esp + 0x20]
mov dword [esp + 0x134], eax
mov dword [esp + 0x138], ecx
test eax, eax
jne 0x5ea325
test edx, edx
je 0x5e9fe2
mov dword [esp + 0x98], 0
mov dword [esp + 0x9c], 0
lea eax, [sym.crypto_tls._Conn_.clientHandshake.func1]
mov dword [esp + 0x94], eax
lea eax, [esp + 0x134]
mov dword [esp + 0x98], eax
mov eax, dword [esp + 0x128]
mov dword [esp + 0x9c], eax
lea ecx, [esp + 0x94]
mov dword [esp + 0x120], ecx
mov byte [esp + 0x2f], 1
jmp 0x5e9fe9
mov eax, dword [esp + 0x128]
mov dword [esp + 0x5c], edx
mov dword [esp + 0x4c], ebp
mov dword [esp + 0x44], edi
mov dword [esp + 0x40], esi
mov dword [esp + 0x70], ebx
setne cl
mov byte [esp + 0x2e], cl
mov ebp, dword [esp + 0x6c]
test ebp, ebp
je 0x5ea271
mov eax, dword [esp + 0x68]
mov dword [esp], eax
call sym.crypto_tls._clientHelloMsg_.clone
mov eax, dword [0x911a40]
mov ecx, dword [esp + 4]
test eax, eax
jne 0x5ea030
mov eax, dword [esp + 0x6c]
jmp 0x5ea041
call sym.runtime.gcWriteBarrier2
mov dword [edi], ecx
mov eax, dword [esp + 0x6c]
mov edx, dword [eax + 0x14]
mov dword [edi + 4], edx
mov dword [eax + 0x14], ecx
mov ecx, dword [eax]
mov edx, dword [ecx + 0x30]
mov ecx, dword [ecx + 0x34]
mov dword [esp], 0
mov dword [esp + 4], edx
mov dword [esp + 8], ecx
call sym.runtime.slicebytetostring
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x68]
mov dword [edx + 0x44], eax
mov eax, dword [0x911a40]
test eax, eax
je 0x5ea086
call sym.runtime.gcWriteBarrier2
mov dword [edi], ecx
mov eax, dword [edx + 0x40]
mov dword [edi + 4], eax
mov dword [edx + 0x40], ecx
lea eax, [0x6a6300]
mov dword [esp], eax
mov dword [esp + 4], 0x20
mov dword [esp + 8], 0x20
call sym.runtime.makeslice
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x68]
mov dword [ecx + 0x14], 0x20
mov dword [ecx + 0x18], 0x20
mov edx, dword [0x911a40]
test edx, edx
je 0x5ea0d4
call sym.runtime.gcWriteBarrier2
mov dword [edi], eax
mov edx, dword [ecx + 0x10]
mov dword [edi + 4], edx
mov dword [ecx + 0x10], eax
mov eax, dword [esp + 0x128]
mov edx, dword [eax + 0x2c]
mov ebx, dword [edx]
test ebx, ebx
je 0x5ea0ec
mov edx, dword [edx + 4]
jmp 0x5ea0f8
mov ebx, dword [0x8f1590]
mov edx, dword [0x8f1594]
mov eax, dword [ecx + 0x10]
mov dword [esp], ebx
mov dword [esp + 4], edx
mov dword [esp + 8], eax
mov dword [esp + 0xc], 0x20
mov dword [esp + 0x10], 0x20
mov dword [esp + 0x14], 0x20
call sym.io.ReadAtLeast
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x134], eax
mov dword [esp + 0x138], ecx
test eax, eax
je 0x5ea1f4
mov eax, dword [eax + 0xc]
mov dword [esp], ecx
call eax
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov dword [esp], 0
lea edx, [0x6f18d8]
mov dword [esp + 4], edx
mov dword [esp + 8], 0x1b
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ecx
call sym.runtime.concatstring2
mov eax, dword [esp + 0x18]
mov dword [esp + 0x34], eax
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x58], ecx
lea edx, [0x6b2a20]
mov dword [esp], edx
call sym.runtime.newobject
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x34]
mov dword [eax + 4], ecx
mov ecx, dword [0x911a40]
test ecx, ecx
jne 0x5ea1b0
mov ecx, dword [esp + 0x58]
jmp 0x5ea1bb
call sym.runtime.gcWriteBarrier1
mov ecx, dword [esp + 0x58]
mov dword [edi], ecx
mov dword [eax], ecx
lea ecx, [0x75790c]
mov dword [esp + 0x134], ecx
mov dword [esp + 0x138], eax
movzx eax, byte [esp + 0x2e]
test al, 1
je 0x5ea1ed
and eax, 0xfffffffe
mov byte [esp + 0x2f], al
mov edx, dword [esp + 0x120]
mov eax, dword [edx]
call eax
add esp, 0x124
ret
mov eax, dword [esp + 0x6c]
mov ecx, dword [eax + 0x14]
mov edx, dword [esp + 0x68]
mov dword [esp], edx
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
mov byte [esp + 0xc], 1
call sym.crypto_tls.computeAndUpdateOuterECHExtension
mov eax, dword [esp + 0x10]
test eax, eax
je 0x5ea251
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x134], eax
mov dword [esp + 0x138], ecx
movzx eax, byte [esp + 0x2e]
test al, 1
je 0x5ea24a
and eax, 0xfffffffe
mov byte [esp + 0x2f], al
mov edx, dword [esp + 0x120]
mov eax, dword [edx]
call eax
add esp, 0x124
ret
mov eax, dword [esp + 0x128]
movzx ecx, byte [esp + 0x2e]
mov edx, dword [esp + 0x5c]
mov ebx, dword [esp + 0x70]
mov ebp, dword [esp + 0x6c]
mov esi, dword [esp + 0x40]
mov edi, dword [esp + 0x44]
mov ebp, dword [esp + 0x68]
mov edi, dword [ebp + 0x44]
mov esi, dword [ebp + 0x40]
mov dword [eax + 0x7c], edi
mov edi, dword [0x911a40]
test edi, edi
je 0x5ea295
call sym.runtime.gcWriteBarrier2
mov dword [edi], esi
mov ebx, dword [eax + 0x78]
mov dword [edi + 4], ebx
mov dword [eax + 0x78], esi
mov dword [esp], eax
lea ecx, [0x75836c]
mov dword [esp + 4], ecx
mov dword [esp + 8], ebp
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 0x5ea2f0
mov eax, dword [esp + 0x68]
movzx ecx, byte [eax + 0xd4]
test cl, cl
je 0x5ea333
mov ecx, dword [esp + 0x5c]
movzx edx, word [ecx + 0x12]
mov ebx, dword [0x8ebbe8]
mov ebp, dword [0x8ebbec]
xor esi, esi
jmp 0x5ea7bd
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x134], eax
mov dword [esp + 0x138], ecx
movzx eax, byte [esp + 0x2e]
test al, 1
je 0x5ea31e
and eax, 0xfffffffe
mov byte [esp + 0x2f], al
mov edx, dword [esp + 0x120]
mov eax, dword [edx]
call eax
add esp, 0x124
ret
add esp, 0x124
ret
add esp, 0x124
ret
mov eax, dword [esp + 0x128]
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 + 0xc]
mov ebx, dword [esp + 0x10]
mov dword [esp + 0x134], eax
mov dword [esp + 0x138], ecx
test eax, eax
je 0x5ea397
movzx eax, byte [esp + 0x2e]
test al, 1
je 0x5ea390
and eax, 0xfffffffe
mov byte [esp + 0x2f], al
mov edx, dword [esp + 0x120]
mov eax, dword [edx]
call eax
add esp, 0x124
ret
lea eax, [0x6c1440]
cmp edx, eax
jne 0x5ea3a5
mov ecx, ebx
jmp 0x5ea3ac
mov ecx, ebx
mov ebx, 0
mov dword [esp + 0x60], ebx
jne 0x5ea6f8
mov eax, dword [esp + 0x128]
mov dword [esp], eax
mov dword [esp + 4], ebx
call sym.crypto_tls._Conn_.pickTLSVersion
mov eax, dword [esp + 8]
test eax, eax
je 0x5ea406
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x134], eax
mov dword [esp + 0x138], ecx
movzx eax, byte [esp + 0x2e]
test al, 1
je 0x5ea3ff
and eax, 0xfffffffe
mov byte [esp + 0x2f], al
mov edx, dword [esp + 0x120]
mov eax, dword [edx]
call eax
add esp, 0x124
ret
mov eax, dword [esp + 0x128]
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 0x5ea429
xor edx, edx
jmp 0x5ea430
mov edx, dword [esp + 8]
movzx edx, word [edx]
mov ebx, dword [esp + 0x60]
mov ecx, dword [ebx + 0x14]
cmp ecx, 0x18
jb 0x5ea7b2
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 0x5ea47f
cmp dword [eax], 0x4e574f44
jne 0x5ea47c
lea edi, [ebp + esi + 4]
cmp dword [edi], 0x1445247
xchg edi, ebx
sete bl
xchg edi, ebx
cmp ecx, 0x20
jmp 0x5ea484
cmp ecx, 0x20
mov edi, 0
jne 0x5ea49d
cmp dword [eax], 0x4e574f44
jne 0x5ea49d
lea ecx, [ebp + esi + 4]
cmp dword [ecx], 0x445247
sete cl
jmp 0x5ea49f
xor ecx, ecx
cmp dx, 0x304
jne 0x5ea4c1
mov ebp, dword [esp + 0x128]
cmp word [ebp + 0x28], 0x303
ja 0x5ea4c8
xchg edi, eax
test al, al
xchg edi, eax
jne 0x5ea4db
test cl, cl
jne 0x5ea4db
jmp 0x5ea4c8
mov ebp, dword [esp + 0x128]
cmp dx, 0x303
jne 0x5ea540
cmp word [ebp + 0x28], 0x302
ja 0x5ea540
test cl, cl
je 0x5ea540
mov dword [esp], ebp
mov byte [esp + 4], 0x2f
call sym.crypto_tls._Conn_.sendAlert
lea eax, [0x6b2a20]
mov dword [esp], eax
call sym.runtime.newobject
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x54
lea ecx, [0x6fe83b]
mov dword [eax], ecx
lea ecx, [0x75790c]
mov dword [esp + 0x134], ecx
mov dword [esp + 0x138], eax
movzx eax, byte [esp + 0x2e]
test al, 1
je 0x5ea539
and eax, 0xfffffffe
mov byte [esp + 0x2f], al
mov edx, dword [esp + 0x120]
mov eax, dword [edx]
call eax
add esp, 0x124
ret
cmp word [ebp + 0x28], 0x304
jne 0x5ea63a
lea edi, [esp + 0xbc]
xor eax, eax
call fcn.00471f07
mov dword [esp + 0xbc], ebp
mov ecx, dword [esp + 0x12c]
mov dword [esp + 0xc0], ecx
mov ecx, dword [esp + 0x130]
mov dword [esp + 0xc4], ecx
mov dword [esp + 0xc8], ebx
mov ecx, dword [esp + 0x68]
mov dword [esp + 0xcc], ecx
mov ecx, dword [esp + 0x64]
mov dword [esp + 0xd0], ecx
mov ecx, dword [esp + 0x5c]
mov dword [esp + 0xd4], ecx
mov ecx, dword [esp + 0x40]
mov dword [esp + 0xdc], ecx
mov ecx, dword [esp + 0x44]
mov dword [esp + 0xe0], ecx
mov ecx, dword [esp + 0x70]
mov dword [esp + 0xd8], ecx
mov ecx, dword [esp + 0x48]
mov dword [esp + 0xe8], ecx
mov ecx, dword [esp + 0x4c]
mov dword [esp + 0xec], ecx
mov ecx, dword [esp + 0x74]
mov dword [esp + 0xe4], ecx
mov ecx, dword [esp + 0x6c]
mov dword [esp + 0x11c], ecx
lea ecx, [esp + 0xbc]
mov dword [esp], ecx
call sym.crypto_tls._clientHandshakeStateTLS13_.handshake
mov ecx, dword [esp + 4]
mov edx, dword [esp + 8]
mov dword [esp + 0x134], ecx
mov dword [esp + 0x138], edx
movzx ecx, byte [esp + 0x2e]
test cl, 1
je 0x5ea633
and ecx, 0xfffffffe
mov byte [esp + 0x2f], cl
mov edx, dword [esp + 0x120]
mov eax, dword [edx]
call eax
add esp, 0x124
ret
lea eax, [0x6d3be0]
mov dword [esp], eax
call sym.runtime.newobject
mov eax, dword [0x911a40]
mov ecx, dword [esp + 4]
test eax, eax
jne 0x5ea672
mov eax, dword [esp + 0x128]
mov edx, dword [esp + 0x130]
mov ebx, dword [esp + 0x60]
mov ebp, dword [esp + 0x68]
mov esi, dword [esp + 0x5c]
jmp 0x5ea69f
call sym.runtime.gcWriteBarrier5
mov eax, dword [esp + 0x128]
mov dword [edi], eax
mov edx, dword [esp + 0x130]
mov dword [edi + 4], edx
mov ebx, dword [esp + 0x60]
mov dword [edi + 8], ebx
mov ebp, dword [esp + 0x68]
mov dword [edi + 0xc], ebp
mov esi, dword [esp + 0x5c]
mov dword [edi + 0x10], esi
mov dword [ecx], eax
mov eax, dword [esp + 0x12c]
mov dword [ecx + 4], eax
mov dword [ecx + 8], edx
mov dword [ecx + 0xc], ebx
mov dword [ecx + 0x10], ebp
mov dword [ecx + 0x58], esi
mov dword [esp], ecx
call sym.crypto_tls._clientHandshakeState_.handshake
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov dword [esp + 0x134], eax
mov dword [esp + 0x138], ecx
movzx eax, byte [esp + 0x2e]
test al, 1
je 0x5ea6f1
and eax, 0xfffffffe
mov byte [esp + 0x2f], al
mov edx, dword [esp + 0x120]
mov eax, dword [edx]
call eax
add esp, 0x124
ret
mov dword [esp + 0xb8], ecx
mov dword [esp + 0x38], edx
mov eax, dword [esp + 0x128]
mov dword [esp], eax
mov byte [esp + 4], 0xa
call sym.crypto_tls._Conn_.sendAlert
mov eax, dword [esp + 0x38]
mov dword [esp + 0xa0], eax
mov eax, dword [esp + 0xb8]
mov dword [esp + 0xa4], eax
lea eax, [0x6c1440]
mov dword [esp + 0xa8], eax
mov eax, dword [esp + 0x60]
mov dword [esp + 0xac], eax
lea eax, [0x6fe00a]
mov dword [esp], eax
mov dword [esp + 4], 0x49
lea eax, [esp + 0xa0]
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 + 0x134], eax
mov dword [esp + 0x138], ecx
movzx eax, byte [esp + 0x2e]
test al, 1
je 0x5ea7ab
and eax, 0xfffffffe
mov byte [esp + 0x2f], al
mov edx, dword [esp + 0x120]
mov eax, dword [edx]
call eax
add esp, 0x124
ret
mov eax, 0x18
call sym.runtime.panicSliceB
inc esi
cmp esi, ebp
jge 0x5ea7cb
mov edi, dword [ebx + esi*4]
cmp word [edi], dx
jne 0x5ea7bc
jmp 0x5ea7cd
xor edi, edi
mov dword [esp + 0x50], edi
mov eax, dword [edi + 0xc]
mov dword [esp], eax
call sym.crypto.Hash.New
mov eax, dword [esp + 4]
mov dword [esp + 0x30], eax
mov ecx, dword [esp + 8]
mov dword [esp + 0x54], ecx
test eax, eax
je 0x5ea80d
mov ecx, dword [eax + 4]
lea edx, [0x8eb348]
mov dword [esp], edx
mov dword [esp + 4], ecx
call sym.runtime.typeAssert
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0x54]
lea edx, [0x75836c]
mov dword [esp], edx
mov edx, dword [esp + 0x68]
mov dword [esp + 4], edx
mov dword [esp + 8], eax
mov dword [esp + 0xc], ecx
call sym.crypto_tls.transcriptMsg
mov eax, dword [esp + 0x10]
test eax, eax
je 0x5ea868
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x134], eax
mov dword [esp + 0x138], ecx
movzx eax, byte [esp + 0x2e]
test al, 1
je 0x5ea861
and eax, 0xfffffffe
mov byte [esp + 0x2f], al
mov edx, dword [esp + 0x120]
mov eax, dword [edx]
call eax
add esp, 0x124
ret
mov eax, dword [esp + 0x50]
mov dword [esp], eax
mov ecx, dword [esp + 0x70]
mov dword [esp + 4], ecx
mov edx, dword [esp + 0x40]
mov dword [esp + 8], edx
mov ebx, dword [esp + 0x44]
mov dword [esp + 0xc], ebx
lea ebp, [0x6ea3d9]
mov dword [esp + 0x10], ebp
mov dword [esp + 0x14], 0xb
mov ebp, dword [esp + 0x30]
mov dword [esp + 0x18], ebp
mov ebp, dword [esp + 0x54]
mov dword [esp + 0x1c], ebp
call sym.crypto_tls._cipherSuiteTLS13_.deriveSecret
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x3c], ecx
mov edx, dword [esp + 0x28]
mov ebx, dword [esp + 0x50]
movzx ebx, word [ebx]
lea edi, [esp + 0x78]
mov ebp, eax
xor eax, eax
call fcn.00471f19
mov dword [esp + 0x78], 2
mov dword [esp + 0x7c], 1
mov word [esp + 0x8c], bx
mov dword [esp + 0x80], ebp
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x84], eax
mov dword [esp + 0x88], edx
mov eax, dword [esp + 0x128]
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 0x5ea97e
mov dword [esp + 0xb4], ecx
mov dword [esp], ebp
mov dword [esp + 4], ebx
mov dword [esp + 8], edx
mov dword [esp + 0xc], 1
lea eax, [0x6cb460]
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 + 0xb4]
mov dword [ebx + 8], eax
mov eax, dword [0x911a40]
test eax, eax
je 0x5ea96f
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 + 0x128]
mov ebp, ecx
mov ecx, ebx
mov ebx, edx
mov dword [ecx + 4], ebx
mov ecx, dword [0x911a40]
imul edx, ebx, 0x1c
lea edi, [edx + ebp - 0x1c]
test ecx, ecx
je 0x5ea9c1
mov dword [esp + 0xb0], edi
lea eax, [0x6cb460]
mov dword [esp], eax
mov dword [esp + 4], edi
lea eax, [esp + 0x78]
mov dword [esp + 8], eax
call sym.runtime.wbMove
mov eax, dword [esp + 0x128]
mov edi, dword [esp + 0xb0]
lea esi, [esp + 0x78]
call fcn.004723ea
jmp 0x5ea333
call sym.runtime.morestack_noctxt
jmp sym.crypto_tls._Conn_.clientHandshake