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

Disassembly:
mov ecx, dword [0x8993fc]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x4fa362
sub esp, 0x70
mov eax, dword [esp + 0x90]
test eax, eax
je 0x4f9c49
nop
lea eax, [0x668e80]
mov dword [esp], eax
call sym.runtime.newobject
mov eax, dword [0x899508]
mov ecx, dword [esp + 4]
test eax, eax
jne 0x4f9a19
mov ebx, dword [esp + 0x74]
jmp 0x4f9a24
call sym.runtime.gcWriteBarrier1
mov ebx, dword [esp + 0x74]
mov dword [edi], ebx
mov dword [esp + 0x6c], ecx
mov dword [ecx], ebx
mov ebp, dword [esp + 0x88]
test ebp, ebp
jne 0x4f9a79
mov esi, dword [esp + 0x80]
test esi, esi
jne 0x4f9a46
xor eax, eax
xor edx, edx
jmp 0x4f9aa6
mov eax, dword [esi + 0x14]
mov ecx, dword [esp + 0x84]
mov dword [esp], ecx
call eax
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov ebx, dword [esp + 0x74]
mov ebp, dword [esp + 0x88]
mov esi, dword [esp + 0x80]
mov edx, eax
mov eax, ecx
mov ecx, dword [esp + 0x6c]
jmp 0x4f9aa6
mov eax, dword [ebp + 0x14]
mov ecx, dword [esp + 0x8c]
mov dword [esp], ecx
call eax
mov edx, dword [esp + 4]
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0x6c]
mov ebx, dword [esp + 0x74]
mov ebp, dword [esp + 0x88]
mov esi, dword [esp + 0x80]
mov dword [esp + 0x44], eax
mov dword [esp + 0x64], edx
mov edi, dword [ebx + 0x144]
mov ebp, dword [ebx + 0x140]
cmp edi, 4
jne 0x4f9acd
cmp dword [ebp], 0x78696e75
je 0x4f9b25
jmp 0x4f9b4d
cmp edi, 8
jne 0x4f9ae6
cmp dword [ebp], 0x78696e75
jne 0x4f9b4d
cmp dword [ebp + 4], 0x6d617267
je 0x4f9b25
jmp 0x4f9b4d
cmp edi, 0xa
jne 0x4f9b4d
mov dword [esp], ebp
lea eax, [0x6939cc]
mov dword [esp + 4], eax
mov dword [esp + 8], 0xa
call sym.runtime.memequal
movzx eax, byte [esp + 0xc]
test al, al
je 0x4f9b36
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x6c]
mov edx, dword [esp + 0x64]
mov ebx, dword [esp + 0x74]
mov esi, dword [esp + 0x80]
mov ebp, dword [ebx + 0x140]
mov edi, dword [ebx + 0x144]
jmp 0x4f9bfe
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x6c]
mov edx, dword [esp + 0x64]
mov ebx, dword [esp + 0x74]
mov esi, dword [esp + 0x80]
mov ebp, dword [ebx + 0x144]
lea edi, [ebp - 1]
cmp ebp, edi
jbe 0x4fa358
mov edi, dword [ebx + 0x140]
movzx esi, byte [ebp + edi - 1]
xchg esi, eax
cmp al, 0x34
xchg esi, eax
je 0x4f9b77
xchg esi, eax
cmp al, 0x36
xchg esi, eax
jne 0x4f9b7f
mov esi, edi
mov edi, ebp
mov ebp, esi
jmp 0x4f9bfe
cmp dword [ebx + 0x134], 2
jne 0x4f9bc4
mov dword [esp], 0
mov dword [esp + 4], edi
mov dword [esp + 8], ebp
lea eax, [0x6f5308]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], 1
call sym.runtime.concatstring2
mov ebp, dword [esp + 0x14]
mov edi, dword [esp + 0x18]
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x6c]
mov edx, dword [esp + 0x64]
jmp 0x4f9bfe
mov dword [esp], 0
mov dword [esp + 4], edi
mov dword [esp + 8], ebp
lea eax, [0x6f530c]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], 1
call sym.runtime.concatstring2
mov ebp, dword [esp + 0x14]
mov edi, dword [esp + 0x18]
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x6c]
mov edx, dword [esp + 0x64]
mov ebx, dword [esp + 0x90]
mov esi, dword [ebx]
mov ebx, dword [esp + 0x78]
mov dword [esp], ebx
mov ebx, dword [esp + 0x7c]
mov dword [esp + 4], ebx
mov dword [esp + 8], ebp
mov dword [esp + 0xc], edi
mov dword [esp + 0x10], edx
mov dword [esp + 0x14], eax
lea eax, [0x6f7b10]
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], ecx
mov edx, dword [esp + 0x90]
call esi
mov eax, dword [esp + 0x20]
test eax, eax
jne 0x4fa342
mov eax, dword [esp + 0x80]
test eax, eax
jne 0x4f9c5a
xor eax, eax
xor ecx, ecx
jmp 0x4f9cc2
mov eax, dword [eax + 0x20]
mov ecx, dword [esp + 0x74]
mov edx, dword [ecx + 0x134]
mov ebx, dword [esp + 0x84]
mov dword [esp], ebx
mov dword [esp + 4], edx
call eax
mov eax, dword [esp + 0x10]
test eax, eax
jne 0x4fa32c
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
test eax, eax
je 0x4f9cc2
mov dword [esp + 0x50], ecx
mov dword [esp + 0x30], eax
mov edx, dword [esp + 0x74]
mov ebx, dword [edx + 0x10]
mov dword [esp], ebx
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
call sym.syscall.Bind
mov eax, dword [esp + 0xc]
test eax, eax
jne 0x4fa2c2
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x50]
mov edx, dword [esp + 0x88]
test edx, edx
je 0x4f9d83
mov dword [esp + 0x30], eax
mov dword [esp + 0x50], ecx
mov eax, dword [edx + 0x20]
mov ecx, dword [esp + 0x74]
mov ebx, dword [ecx + 0x134]
mov ebp, dword [esp + 0x8c]
mov dword [esp], ebp
mov dword [esp + 4], ebx
call eax
mov eax, dword [esp + 0x10]
test eax, eax
jne 0x4f9d6d
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x74]
mov dword [esp], edx
mov ebx, dword [esp + 0x78]
mov dword [esp + 4], ebx
mov ebx, dword [esp + 0x7c]
mov dword [esp + 8], ebx
mov ebx, dword [esp + 0x30]
mov dword [esp + 0xc], ebx
mov ebx, dword [esp + 0x50]
mov dword [esp + 0x10], ebx
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], ecx
call sym.net._netFD_.connect
mov eax, dword [esp + 0x24]
test eax, eax
jne 0x4f9d57
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x74]
mov byte [edx + 0x13c], 1
jmp 0x4f9da3
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x94], eax
mov dword [esp + 0x98], ecx
add esp, 0x70
ret
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x94], eax
mov dword [esp + 0x98], ecx
add esp, 0x70
ret
mov eax, dword [esp + 0x74]
mov dword [esp], eax
call sym.net._netFD_.init
mov eax, dword [esp + 4]
test eax, eax
jne 0x4fa2ac
mov edx, dword [esp + 0x74]
xor eax, eax
xor ecx, ecx
mov dword [esp + 0x48], eax
mov dword [esp + 0x68], ecx
mov ebx, dword [edx + 0x10]
mov dword [esp], ebx
call sym.syscall.Getsockname
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0x48]
test edx, edx
je 0x4f9f72
mov ebx, dword [esp + 0x74]
mov ebp, dword [ebx + 0x134]
cmp ebp, 1
jne 0x4f9e06
mov ebp, dword [ebx + 0x138]
cmp ebp, 1
jne 0x4f9dec
lea ebp, [0x6ac9d0]
jmp 0x4f9e43
cmp ebp, 2
jne 0x4f9df9
lea ebp, [0x6ac9d4]
jmp 0x4f9e43
cmp ebp, 5
jne 0x4f9e3d
lea ebp, [0x6ac9d8]
jmp 0x4f9e43
cmp ebp, 2
je 0x4f9e10
cmp ebp, 0x17
jne 0x4f9e3d
mov ebp, dword [ebx + 0x138]
cmp ebp, 1
jne 0x4f9e23
lea ebp, [0x6ac9c8]
jmp 0x4f9e43
cmp ebp, 2
jne 0x4f9e30
lea ebp, [0x6ac9cc]
jmp 0x4f9e43
cmp ebp, 3
jne 0x4f9e3d
lea ebp, [0x6ac9c4]
jmp 0x4f9e43
lea ebp, [0x6ac980]
mov ebx, dword [ebp]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov edx, ebp
call ebx
mov eax, dword [esp + 0x74]
mov ecx, dword [eax + 0x134]
cmp ecx, 1
jne 0x4f9e8d
mov ecx, dword [eax + 0x138]
cmp ecx, 1
jne 0x4f9e73
lea ecx, [0x6ac9d0]
jmp 0x4f9eca
cmp ecx, 2
jne 0x4f9e80
lea ecx, [0x6ac9d4]
jmp 0x4f9eca
cmp ecx, 5
jne 0x4f9ec4
lea ecx, [0x6ac9d8]
jmp 0x4f9eca
cmp ecx, 2
je 0x4f9e97
cmp ecx, 0x17
jne 0x4f9ec4
mov ecx, dword [eax + 0x138]
cmp ecx, 1
jne 0x4f9eaa
lea ecx, [0x6ac9c8]
jmp 0x4f9eca
cmp ecx, 2
jne 0x4f9eb7
lea ecx, [0x6ac9cc]
jmp 0x4f9eca
cmp ecx, 3
jne 0x4f9ec4
lea ecx, [0x6ac9c4]
jmp 0x4f9eca
lea ecx, [0x6ac984]
mov eax, dword [esp + 8]
mov dword [esp + 0x3c], eax
mov ebx, dword [ecx]
mov ebp, dword [esp + 0xc]
mov dword [esp + 0x5c], ebp
mov esi, dword [esp + 0x48]
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 + 0x3c]
mov ebp, dword [esp + 0x74]
mov dword [ebp + 0x148], ebx
mov ebx, dword [0x899508]
test ebx, ebx
jne 0x4f9f15
mov edx, dword [esp + 0x5c]
jmp 0x4f9f35
call sym.runtime.gcWriteBarrier4
mov edx, dword [esp + 0x5c]
mov dword [edi], edx
mov ebx, dword [ebp + 0x14c]
mov dword [edi + 4], ebx
mov dword [edi + 8], ecx
mov ebx, dword [ebp + 0x154]
mov dword [edi + 0xc], ebx
mov dword [ebp + 0x14c], edx
mov dword [ebp + 0x150], eax
mov dword [ebp + 0x154], ecx
lea eax, [0x68c0e0]
mov dword [esp], eax
mov dword [esp + 4], ebp
lea eax, [0x65cec0]
mov dword [esp + 8], eax
lea eax, [0x6ac974]
mov dword [esp + 0xc], eax
call sym.runtime.SetFinalizer
jmp 0x4fa292
mov dword [esp + 0x50], ecx
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x74]
mov ecx, dword [eax + 0x10]
mov dword [esp], ecx
call sym.syscall.Getpeername
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
test eax, eax
je 0x4fa14e
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x2c], eax
mov ebx, dword [esp + 0x74]
mov ebp, dword [ebx + 0x134]
cmp ebp, 1
jne 0x4f9fdd
mov ebp, dword [ebx + 0x138]
cmp ebp, 1
jne 0x4f9fc3
lea edx, [0x6ac9d0]
jmp 0x4fa01a
cmp ebp, 2
jne 0x4f9fd0
lea edx, [0x6ac9d4]
jmp 0x4fa01a
cmp ebp, 5
jne 0x4fa014
lea edx, [0x6ac9d8]
jmp 0x4fa01a
cmp ebp, 2
je 0x4f9fe7
cmp ebp, 0x17
jne 0x4fa014
mov ebp, dword [ebx + 0x138]
cmp ebp, 1
jne 0x4f9ffa
lea edx, [0x6ac9c8]
jmp 0x4fa01a
cmp ebp, 2
jne 0x4fa007
lea edx, [0x6ac9cc]
jmp 0x4fa01a
cmp ebp, 3
jne 0x4fa014
lea edx, [0x6ac9c4]
jmp 0x4fa01a
lea edx, [0x6ac988]
mov eax, dword [edx]
mov ecx, dword [esp + 0x30]
mov dword [esp], ecx
mov ecx, dword [esp + 0x50]
mov dword [esp + 4], ecx
call eax
mov eax, dword [esp + 0x74]
mov ecx, dword [eax + 0x134]
cmp ecx, 1
jne 0x4fa069
mov ecx, dword [eax + 0x138]
cmp ecx, 1
jne 0x4fa04f
lea ecx, [0x6ac9d0]
jmp 0x4fa0a6
cmp ecx, 2
jne 0x4fa05c
lea ecx, [0x6ac9d4]
jmp 0x4fa0a6
cmp ecx, 5
jne 0x4fa0a0
lea ecx, [0x6ac9d8]
jmp 0x4fa0a6
cmp ecx, 2
je 0x4fa073
cmp ecx, 0x17
jne 0x4fa0a0
mov ecx, dword [eax + 0x138]
cmp ecx, 1
jne 0x4fa086
lea ecx, [0x6ac9c8]
jmp 0x4fa0a6
cmp ecx, 2
jne 0x4fa093
lea ecx, [0x6ac9cc]
jmp 0x4fa0a6
cmp ecx, 3
jne 0x4fa0a0
lea ecx, [0x6ac9c4]
jmp 0x4fa0a6
lea ecx, [0x6ac98c]
mov eax, dword [esp + 8]
mov dword [esp + 0x38], eax
mov ebx, dword [ecx]
mov ebp, dword [esp + 0xc]
mov dword [esp + 0x58], ebp
mov esi, dword [esp + 0x2c]
mov dword [esp], esi
mov esi, dword [esp + 0x4c]
mov dword [esp + 4], esi
mov edx, ecx
call ebx
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov ebx, dword [esp + 0x38]
mov ebp, dword [esp + 0x74]
mov dword [ebp + 0x148], ebx
mov ebx, dword [0x899508]
test ebx, ebx
jne 0x4fa0f1
mov edx, dword [esp + 0x58]
jmp 0x4fa111
call sym.runtime.gcWriteBarrier4
mov edx, dword [esp + 0x58]
mov dword [edi], edx
mov ebx, dword [ebp + 0x14c]
mov dword [edi + 4], ebx
mov dword [edi + 8], ecx
mov ebx, dword [ebp + 0x154]
mov dword [edi + 0xc], ebx
mov dword [ebp + 0x14c], edx
mov dword [ebp + 0x150], eax
mov dword [ebp + 0x154], ecx
lea eax, [0x68c0e0]
mov dword [esp], eax
mov dword [esp + 4], ebp
lea eax, [0x65cec0]
mov dword [esp + 8], eax
lea eax, [0x6ac974]
mov dword [esp + 0xc], eax
call sym.runtime.SetFinalizer
jmp 0x4fa292
mov eax, dword [esp + 0x74]
mov ecx, dword [eax + 0x134]
cmp ecx, 1
jne 0x4fa18a
mov ecx, dword [eax + 0x138]
cmp ecx, 1
jne 0x4fa170
lea ecx, [0x6ac9d0]
jmp 0x4fa1c7
cmp ecx, 2
jne 0x4fa17d
lea ecx, [0x6ac9d4]
jmp 0x4fa1c7
cmp ecx, 5
jne 0x4fa1c1
lea ecx, [0x6ac9d8]
jmp 0x4fa1c7
cmp ecx, 2
je 0x4fa194
cmp ecx, 0x17
jne 0x4fa1c1
mov ecx, dword [eax + 0x138]
cmp ecx, 1
jne 0x4fa1a7
lea ecx, [0x6ac9c8]
jmp 0x4fa1c7
cmp ecx, 2
jne 0x4fa1b4
lea ecx, [0x6ac9cc]
jmp 0x4fa1c7
cmp ecx, 3
jne 0x4fa1c1
lea ecx, [0x6ac9c4]
jmp 0x4fa1c7
lea ecx, [0x6ac990]
mov eax, dword [ecx]
mov ebx, dword [esp + 0x30]
mov dword [esp], ebx
mov ebx, dword [esp + 0x50]
mov dword [esp + 4], ebx
mov edx, ecx
call eax
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov ebx, dword [esp + 0x88]
test ebx, ebx
je 0x4fa21a
mov dword [esp + 0x34], eax
mov dword [esp + 0x54], ecx
mov eax, dword [ebx + 4]
lea ecx, [0x8542b0]
mov dword [esp], ecx
mov dword [esp + 4], eax
call sym.runtime.typeAssert
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0x54]
mov ebx, eax
mov eax, dword [esp + 0x34]
mov edx, dword [esp + 0x74]
mov dword [edx + 0x148], eax
mov eax, dword [0x899508]
test eax, eax
jne 0x4fa237
mov eax, dword [esp + 0x8c]
jmp 0x4fa25a
call sym.runtime.gcWriteBarrier4
mov dword [edi], ecx
mov eax, dword [edx + 0x14c]
mov dword [edi + 4], eax
mov eax, dword [esp + 0x8c]
mov dword [edi + 8], eax
mov ebp, dword [edx + 0x154]
mov dword [edi + 0xc], ebp
mov dword [edx + 0x14c], ecx
mov dword [edx + 0x150], ebx
mov dword [edx + 0x154], eax
lea eax, [0x68c0e0]
mov dword [esp], eax
mov dword [esp + 4], edx
lea eax, [0x65cec0]
mov dword [esp + 8], eax
lea eax, [0x6ac974]
mov dword [esp + 0xc], eax
call sym.runtime.SetFinalizer
mov dword [esp + 0x94], 0
mov dword [esp + 0x98], 0
add esp, 0x70
ret
mov ecx, dword [esp + 8]
mov dword [esp + 0x94], eax
mov dword [esp + 0x98], ecx
add esp, 0x70
ret
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x10]
mov dword [esp + 0x60], eax
lea ecx, [0x66df00]
mov dword [esp], ecx
call sym.runtime.newobject
mov eax, dword [esp + 4]
mov dword [eax + 4], 4
lea ecx, [0x692a9c]
mov dword [eax], ecx
mov ecx, dword [esp + 0x40]
mov dword [eax + 8], ecx
mov ecx, dword [0x899508]
test ecx, ecx
jne 0x4fa306
mov ecx, dword [esp + 0x60]
jmp 0x4fa311
call sym.runtime.gcWriteBarrier1
mov ecx, dword [esp + 0x60]
mov dword [edi], ecx
mov dword [eax + 0xc], ecx
lea ecx, [0x6f6ec0]
mov dword [esp + 0x94], ecx
mov dword [esp + 0x98], eax
add esp, 0x70
ret
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x94], eax
mov dword [esp + 0x98], ecx
add esp, 0x70
ret
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x94], eax
mov dword [esp + 0x98], ecx
add esp, 0x70
ret
mov eax, edi
mov ecx, ebp
call sym.runtime.panicIndex
nop
call sym.runtime.morestack_noctxt
jmp sym.net._netFD_.dial