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

Disassembly:
mov ecx, dword [0x6e9808]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
lea eax, [esp - 0x1c]
cmp eax, dword [ecx + 8]
jbe 0x4e60e0
sub esp, 0x9c
lea eax, [sym.net._netFD_.accept.func1]
mov dword [esp + 0x94], eax
mov eax, dword [esp + 0xa0]
mov dword [esp + 0x98], eax
test byte [eax], al
mov dword [esp], eax
lea ecx, [esp + 0x94]
mov dword [esp + 4], ecx
call sym.internal_poll._FD_.Accept
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0xc]
mov ebx, dword [esp + 0x10]
test eax, eax
je 0x4e5d13
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x28]
test ecx, ecx
je 0x4e5cef
lea ebx, [0x5ca7d0]
cmp eax, ebx
jne 0x4e5ce9
mov dword [esp + 0x64], eax
mov dword [esp + 0x5c], ecx
mov dword [esp + 0x90], edx
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x88], eax
lea ecx, [0x56c520]
mov dword [esp], ecx
call sym.runtime.newobject
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x5c]
mov dword [eax + 4], ecx
mov ecx, dword [0x6e9960]
test ecx, ecx
jne 0x4e5cbd
mov ecx, dword [esp + 0x88]
mov edx, dword [esp + 0x90]
jmp 0x4e5cd5
call sym.runtime.gcWriteBarrier2
mov ecx, dword [esp + 0x88]
mov dword [edi], ecx
mov edx, dword [esp + 0x90]
mov dword [edi + 4], edx
mov dword [eax], ecx
mov ecx, dword [esp + 0x64]
mov dword [eax + 8], ecx
mov dword [eax + 0xc], edx
lea ecx, [0x5ca7e0]
jmp 0x4e5cf3
mov ecx, eax
mov eax, edx
jmp 0x4e5cf3
mov ecx, eax
mov eax, edx
mov dword [esp + 0xa4], 0
mov dword [esp + 0xa8], ecx
mov dword [esp + 0xac], eax
add esp, 0x9c
ret
mov dword [esp + 0x38], ecx
mov dword [esp + 0x70], edx
mov dword [esp + 0x44], ebx
mov eax, dword [esp + 0xa0]
mov ebp, dword [eax + 0x130]
mov dword [esp + 0x30], ebp
cmp ebp, 2
je 0x4e5d41
cmp ebp, 3
xchg esi, ebx
setne bl
xchg esi, ebx
jmp 0x4e5d43
xor esi, esi
xchg esi, eax
mov byte [esp + 0x2f], al
xchg esi, eax
mov ecx, dword [esp + 8]
mov dword [esp + 0x34], ecx
mov edx, dword [eax + 0x12c]
mov dword [esp + 0x58], edx
mov ebx, dword [eax + 0x13c]
mov dword [esp + 0x48], ebx
mov ebp, dword [eax + 0x138]
mov dword [esp + 0x74], ebp
lea edi, [0x57a5a0]
mov dword [esp], edi
call sym.runtime.newobject
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x34]
mov dword [eax + 0x10], ecx
mov ecx, dword [esp + 0x30]
cmp ecx, 1
sete dl
mov byte [eax + 0x125], dl
movzx edx, byte [esp + 0x2f]
mov byte [eax + 0x126], dl
mov edx, dword [esp + 0x58]
mov dword [eax + 0x12c], edx
mov dword [eax + 0x130], ecx
mov ecx, dword [esp + 0x48]
mov dword [eax + 0x13c], ecx
mov ecx, dword [0x6e9960]
test ecx, ecx
jne 0x4e5dcd
mov ecx, dword [esp + 0x74]
jmp 0x4e5de1
call sym.runtime.gcWriteBarrier2
mov ecx, dword [esp + 0x74]
mov dword [edi], ecx
mov edx, dword [eax + 0x138]
mov dword [edi + 4], edx
mov dword [esp + 0x84], eax
mov dword [eax + 0x138], ecx
mov dword [esp], eax
call sym.net._netFD_.init
mov eax, dword [esp + 4]
test eax, eax
jne 0x4e608d
mov dword [esp + 0x7c], 0
mov dword [esp + 0x6c], 0
mov dword [esp + 0x50], 0
mov dword [esp + 0x40], 0
mov edx, dword [esp + 0x44]
test edx, edx
jbe 0x4e60d6
mov eax, dword [esp + 0x70]
mov dword [esp], eax
mov dword [esp + 4], 0
mov eax, dword [esp + 0x38]
mov dword [esp + 8], eax
mov dword [esp + 0xc], eax
lea eax, [esp + 0x7c]
mov dword [esp + 0x10], eax
lea eax, [esp + 0x50]
mov dword [esp + 0x14], eax
lea eax, [esp + 0x6c]
mov dword [esp + 0x18], eax
lea eax, [esp + 0x40]
mov dword [esp + 0x1c], eax
call sym.syscall.GetAcceptExSockaddrs
mov eax, dword [esp + 0x7c]
mov dword [esp], eax
call sym.syscall._RawSockaddrAny_.Sockaddr
mov eax, dword [esp + 0x6c]
mov ecx, dword [esp + 4]
mov dword [esp + 0x4c], ecx
mov edx, dword [esp + 8]
mov dword [esp + 0x78], edx
mov dword [esp], eax
call sym.syscall._RawSockaddrAny_.Sockaddr
mov eax, dword [esp + 0x84]
mov ecx, dword [eax + 0x12c]
mov edx, dword [esp + 4]
mov dword [esp + 0x3c], edx
mov ebx, dword [esp + 8]
mov dword [esp + 0x68], ebx
cmp ecx, 1
jne 0x4e5ee5
mov ecx, dword [eax + 0x130]
cmp ecx, 1
jne 0x4e5ecb
lea ecx, [0x59d4e4]
jmp 0x4e5f22
cmp ecx, 2
jne 0x4e5ed8
lea ecx, [0x59d4e8]
jmp 0x4e5f22
cmp ecx, 5
jne 0x4e5f1c
lea ecx, [0x59d4ec]
jmp 0x4e5f22
cmp ecx, 2
je 0x4e5eef
cmp ecx, 0x17
jne 0x4e5f1c
mov ecx, dword [eax + 0x130]
cmp ecx, 1
jne 0x4e5f02
lea ecx, [0x59d4dc]
jmp 0x4e5f22
cmp ecx, 2
jne 0x4e5f0f
lea ecx, [0x59d4e0]
jmp 0x4e5f22
cmp ecx, 3
jne 0x4e5f1c
lea ecx, [0x59d4d8]
jmp 0x4e5f22
lea ecx, [0x59d488]
mov eax, dword [ecx]
mov ebx, dword [esp + 0x4c]
mov dword [esp], ebx
mov ebx, dword [esp + 0x78]
mov dword [esp + 4], ebx
mov edx, ecx
call eax
mov eax, dword [esp + 0x84]
mov ecx, dword [eax + 0x12c]
cmp ecx, 1
jne 0x4e5f76
mov ecx, dword [eax + 0x130]
cmp ecx, 1
jne 0x4e5f5c
lea ecx, [0x59d4e4]
jmp 0x4e5fb3
cmp ecx, 2
jne 0x4e5f69
lea ecx, [0x59d4e8]
jmp 0x4e5fb3
cmp ecx, 5
jne 0x4e5fad
lea ecx, [0x59d4ec]
jmp 0x4e5fb3
cmp ecx, 2
je 0x4e5f80
cmp ecx, 0x17
jne 0x4e5fad
mov ecx, dword [eax + 0x130]
cmp ecx, 1
jne 0x4e5f93
lea ecx, [0x59d4dc]
jmp 0x4e5fb3
cmp ecx, 2
jne 0x4e5fa0
lea ecx, [0x59d4e0]
jmp 0x4e5fb3
cmp ecx, 3
jne 0x4e5fad
lea ecx, [0x59d4d8]
jmp 0x4e5fb3
lea ecx, [0x59d48c]
mov eax, dword [esp + 8]
mov dword [esp + 0x54], eax
mov ebx, dword [ecx]
mov ebp, dword [esp + 0xc]
mov dword [esp + 0x80], ebp
mov esi, dword [esp + 0x3c]
mov dword [esp], esi
mov esi, dword [esp + 0x68]
mov dword [esp + 4], esi
mov edx, ecx
call ebx
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov ebx, dword [esp + 0x54]
mov ebp, dword [esp + 0x84]
mov dword [ebp + 0x140], ebx
mov ebx, dword [0x6e9960]
test ebx, ebx
jne 0x4e6007
mov edx, dword [esp + 0x80]
jmp 0x4e602a
call sym.runtime.gcWriteBarrier4
mov edx, dword [esp + 0x80]
mov dword [edi], edx
mov ebx, dword [ebp + 0x144]
mov dword [edi + 4], ebx
mov dword [edi + 8], ecx
mov ebx, dword [ebp + 0x14c]
mov dword [edi + 0xc], ebx
mov dword [ebp + 0x144], edx
mov dword [ebp + 0x148], eax
mov dword [ebp + 0x14c], ecx
lea eax, [0x5850c0]
mov dword [esp], eax
mov dword [esp + 4], ebp
lea eax, [0x55ee20]
mov dword [esp + 8], eax
lea eax, [0x59d484]
mov dword [esp + 0xc], eax
call sym.runtime.SetFinalizer
mov eax, dword [esp + 0x84]
mov dword [esp + 0xa4], eax
mov dword [esp + 0xa8], 0
mov dword [esp + 0xac], 0
add esp, 0x9c
ret
mov dword [esp + 0x60], eax
mov eax, dword [esp + 8]
mov dword [esp + 0x8c], eax
mov ecx, dword [esp + 0xa0]
mov dword [esp], ecx
call sym.net._netFD_.Close
mov dword [esp + 0xa4], 0
mov eax, dword [esp + 0x60]
mov dword [esp + 0xa8], eax
mov eax, dword [esp + 0x8c]
mov dword [esp + 0xac], eax
add esp, 0x9c
ret
xor eax, eax
mov ecx, eax
call sym.runtime.panicIndex
nop
call sym.runtime.morestack_noctxt
jmp sym.net._netFD_.accept