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

Disassembly:
mov ecx, dword [0x8c8664]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x5c8cc3
sub esp, 0x64
mov eax, 0
mov dword [esp + 0x5c], eax
mov dword [esp + 0x60], eax
mov byte [esp + 0x23], 0
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 0
mov eax, dword [esp + 0x68]
test byte [eax], al
lea ecx, [eax + 0x1e8]
mov dword [esp + 0x58], ecx
mov dword [esp], ecx
call sym.sync_atomic.LoadInt32
mov eax, dword [esp + 4]
test eax, 1
jne 0x5c8c97
add eax, 2
mov ecx, dword [esp + 0x58]
mov dword [esp], ecx
mov dword [esp + 8], eax
call sym.sync_atomic.CompareAndSwapInt32
movzx eax, byte [esp + 0xc]
test al, al
je 0x5c8794
mov dword [esp + 0x48], 0
mov dword [esp + 0x4c], 0
lea eax, [sym.crypto_tls._Conn_.Write.deferwrap1]
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x68]
lea ecx, [eax + 0x1e8]
mov dword [esp + 0x4c], ecx
lea ecx, [esp + 0x48]
mov dword [esp + 0x5c], ecx
mov byte [esp + 0x23], 1
nop
mov dword [esp], eax
lea ecx, [0x714ae4]
mov dword [esp + 4], ecx
lea ecx, [0x8c8520]
mov dword [esp + 8], ecx
call sym.crypto_tls._Conn_.handshakeContext
mov eax, dword [esp + 0xc]
test eax, eax
jne 0x5c8c6f
mov eax, dword [esp + 0x68]
lea ecx, [eax + 0x128]
mov dword [esp + 0x54], ecx
mov dword [esp], ecx
call sym.sync._Mutex_.Lock
mov dword [esp + 0x40], 0
mov dword [esp + 0x44], 0
lea eax, [sym.crypto_tls._Conn_.Write.deferwrap2]
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x54]
mov dword [esp + 0x44], eax
lea eax, [esp + 0x40]
mov dword [esp + 0x60], eax
mov byte [esp + 0x23], 3
mov eax, dword [esp + 0x68]
mov ecx, dword [eax + 0x130]
test ecx, ecx
jne 0x5c8c38
lea ecx, [eax + 0x14]
mov dword [esp], ecx
call sym.sync_atomic.LoadUint32
mov eax, dword [esp + 4]
test eax, eax
je 0x5c8bf3
mov eax, dword [esp + 0x68]
movzx ecx, byte [eax + 0xa8]
test cl, cl
jne 0x5c8bb6
mov ecx, dword [esp + 0x70]
cmp ecx, 1
jle 0x5c8a6f
cmp word [eax + 0x28], 0x301
jne 0x5c8a61
mov edx, dword [eax + 0x13c]
test edx, edx
je 0x5c88f7
lea eax, [0x882f70]
mov dword [esp], eax
mov dword [esp + 4], edx
call sym.runtime.typeAssert
mov edx, dword [esp + 8]
mov eax, dword [esp + 0x68]
mov ecx, dword [esp + 0x70]
test edx, edx
jne 0x5c890c
mov eax, dword [esp + 0x74]
mov edx, ecx
mov ecx, dword [esp + 0x6c]
xor ebx, ebx
jmp 0x5c8a7b
mov dword [esp], eax
mov byte [esp + 4], 0x17
mov ecx, dword [esp + 0x6c]
mov dword [esp + 8], ecx
mov dword [esp + 0xc], 1
mov edx, dword [esp + 0x74]
mov dword [esp + 0x10], edx
call sym.crypto_tls._Conn_.writeRecordLocked
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x1c]
test eax, eax
je 0x5c8a4b
mov dword [esp + 0x3c], edx
mov dword [esp + 0x28], ecx
je 0x5c897a
mov dword [esp + 0x34], eax
mov ecx, dword [eax + 4]
lea edx, [0x882f80]
mov dword [esp], edx
mov dword [esp + 4], ecx
call sym.runtime.typeAssert
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x3c]
mov ebx, dword [esp + 0x34]
jmp 0x5c897c
mov ebx, eax
test eax, eax
jne 0x5c89ac
mov eax, dword [esp + 0x68]
mov dword [eax + 0x130], ebx
mov ebx, dword [0x8c87a0]
test ebx, ebx
je 0x5c89a4
call sym.runtime.gcWriteBarrier2
mov dword [edi], edx
mov ebx, dword [eax + 0x134]
mov dword [edi + 4], ebx
mov dword [eax + 0x134], edx
jmp 0x5c8a12
mov dword [esp + 0x50], eax
lea eax, [0x67cba0]
mov dword [esp], eax
call sym.runtime.newobject
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x50]
mov dword [eax], ecx
mov ecx, dword [0x8c87a0]
test ecx, ecx
jne 0x5c89dc
mov ecx, dword [esp + 0x3c]
mov ebx, dword [esp + 0x68]
jmp 0x5c89f7
call sym.runtime.gcWriteBarrier3
mov ecx, dword [esp + 0x3c]
mov dword [edi], ecx
mov dword [edi + 4], eax
mov ebx, dword [esp + 0x68]
mov ebp, dword [ebx + 0x134]
mov dword [edi + 8], ebp
mov dword [eax + 4], ecx
lea ecx, [0x713d70]
mov dword [ebx + 0x130], ecx
mov dword [ebx + 0x134], eax
mov eax, ebx
mov ecx, dword [esp + 0x28]
mov ebx, dword [eax + 0x130]
mov eax, dword [eax + 0x134]
mov dword [esp + 0x78], ecx
mov dword [esp + 0x7c], ebx
mov dword [esp + 0x80], eax
mov byte [esp + 0x23], 1
mov edx, dword [esp + 0x60]
mov eax, dword [edx]
call eax
mov byte [esp + 0x23], 0
mov edx, dword [esp + 0x5c]
mov eax, dword [edx]
call eax
add esp, 0x64
ret
mov eax, dword [esp + 0x74]
dec eax
mov ecx, dword [esp + 0x6c]
inc ecx
mov edx, dword [esp + 0x70]
dec edx
mov ebx, 1
jmp 0x5c8a7b
mov eax, dword [esp + 0x74]
mov edx, ecx
mov ecx, dword [esp + 0x6c]
xor ebx, ebx
jmp 0x5c8a7b
mov eax, dword [esp + 0x74]
mov edx, ecx
mov ecx, dword [esp + 0x6c]
xor ebx, ebx
mov dword [esp + 0x2c], ebx
mov ebp, dword [esp + 0x68]
mov dword [esp], ebp
mov byte [esp + 4], 0x17
mov dword [esp + 8], ecx
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], eax
call sym.crypto_tls._Conn_.writeRecordLocked
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x24], ecx
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x38], edx
test eax, eax
je 0x5c8adf
mov dword [esp + 0x30], eax
mov ecx, dword [eax + 4]
lea edx, [0x882f90]
mov dword [esp], edx
mov dword [esp + 4], ecx
call sym.runtime.typeAssert
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x38]
mov ebx, dword [esp + 0x30]
jmp 0x5c8ae1
mov ebx, eax
test eax, eax
jne 0x5c8b11
mov eax, dword [esp + 0x68]
mov dword [eax + 0x130], ebx
mov ebx, dword [0x8c87a0]
test ebx, ebx
je 0x5c8b09
call sym.runtime.gcWriteBarrier2
mov dword [edi], edx
mov ebx, dword [eax + 0x134]
mov dword [edi + 4], ebx
mov dword [eax + 0x134], edx
jmp 0x5c8b77
mov dword [esp + 0x50], eax
lea eax, [0x67cba0]
mov dword [esp], eax
call sym.runtime.newobject
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x50]
mov dword [eax], ecx
mov ecx, dword [0x8c87a0]
test ecx, ecx
jne 0x5c8b41
mov ecx, dword [esp + 0x38]
mov ebx, dword [esp + 0x68]
jmp 0x5c8b5c
call sym.runtime.gcWriteBarrier3
mov ecx, dword [esp + 0x38]
mov dword [edi], ecx
mov dword [edi + 4], eax
mov ebx, dword [esp + 0x68]
mov ebp, dword [ebx + 0x134]
mov dword [edi + 8], ebp
mov dword [eax + 4], ecx
lea ecx, [0x713d70]
mov dword [ebx + 0x130], ecx
mov dword [ebx + 0x134], eax
mov eax, ebx
mov ecx, dword [esp + 0x24]
mov ebx, dword [esp + 0x2c]
add ecx, ebx
mov ebx, dword [eax + 0x130]
mov eax, dword [eax + 0x134]
mov dword [esp + 0x78], ecx
mov dword [esp + 0x7c], ebx
mov dword [esp + 0x80], eax
mov byte [esp + 0x23], 1
mov edx, dword [esp + 0x60]
mov eax, dword [edx]
call eax
mov byte [esp + 0x23], 0
mov edx, dword [esp + 0x5c]
mov eax, dword [edx]
call eax
add esp, 0x64
ret
mov eax, dword [0x8821c0]
mov ecx, dword [0x8821c4]
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], eax
mov dword [esp + 0x80], ecx
mov byte [esp + 0x23], 1
mov edx, dword [esp + 0x60]
mov eax, dword [edx]
call eax
mov byte [esp + 0x23], 0
mov edx, dword [esp + 0x5c]
mov eax, dword [edx]
call eax
add esp, 0x64
ret
mov dword [esp + 0x78], 0
lea eax, [0x713d48]
mov dword [esp + 0x7c], eax
mov eax, 0x50
lea ecx, [0x862de0]
lea eax, [ecx + eax*8]
mov dword [esp + 0x80], eax
mov byte [esp + 0x23], 1
mov edx, dword [esp + 0x60]
mov eax, dword [edx]
call eax
mov byte [esp + 0x23], 0
mov edx, dword [esp + 0x5c]
mov eax, dword [edx]
call eax
add esp, 0x64
ret
mov eax, dword [eax + 0x134]
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], ecx
mov dword [esp + 0x80], eax
mov byte [esp + 0x23], 1
mov edx, dword [esp + 0x60]
mov eax, dword [edx]
call eax
mov byte [esp + 0x23], 0
mov edx, dword [esp + 0x5c]
mov eax, dword [edx]
call eax
add esp, 0x64
ret
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], eax
mov dword [esp + 0x80], ecx
mov byte [esp + 0x23], 0
mov edx, dword [esp + 0x5c]
mov eax, dword [edx]
call eax
add esp, 0x64
ret
mov dword [esp + 0x78], 0
mov eax, dword [0x882248]
mov ecx, dword [0x88224c]
mov dword [esp + 0x7c], eax
mov dword [esp + 0x80], ecx
add esp, 0x64
ret
call sym.runtime.morestack_noctxt
jmp sym.crypto_tls._Conn_.Write