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

Disassembly:
mov ecx, dword [0x621238]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x4df6d1
sub esp, 0x64
mov eax, dword [esp + 0x84]
test eax, eax
je 0x4def7b
nop
lea eax, [0x507920]
mov dword [esp], eax
call sym.runtime.newobject
mov eax, dword [0x6213a0]
mov ecx, dword [esp + 4]
test eax, eax
jne 0x4ded69
mov ebx, dword [esp + 0x68]
jmp 0x4ded74
call sym.runtime.gcWriteBarrier1
mov ebx, dword [esp + 0x68]
mov dword [edi], ebx
mov dword [esp + 0x58], ecx
mov dword [ecx], ebx
mov ebp, dword [esp + 0x7c]
test ebp, ebp
jne 0x4dedba
mov esi, dword [esp + 0x74]
test esi, esi
jne 0x4ded90
xor eax, eax
xor edx, edx
jmp 0x4dede1
mov eax, dword [esi + 0x14]
mov ecx, dword [esp + 0x78]
mov dword [esp], ecx
call eax
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov ebx, dword [esp + 0x68]
mov ebp, dword [esp + 0x7c]
mov esi, dword [esp + 0x74]
mov edx, eax
mov eax, ecx
mov ecx, dword [esp + 0x58]
jmp 0x4dede1
mov eax, dword [ebp + 0x14]
mov ecx, dword [esp + 0x80]
mov dword [esp], ecx
call eax
mov edx, dword [esp + 4]
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0x58]
mov ebx, dword [esp + 0x68]
mov ebp, dword [esp + 0x7c]
mov esi, dword [esp + 0x74]
mov dword [esp + 0x30], eax
mov dword [esp + 0x50], edx
mov edi, dword [ebx + 0x144]
mov ebp, dword [ebx + 0x140]
cmp edi, 4
jne 0x4dee05
cmp dword [ebp], 0x78696e75
je 0x4dee5a
jmp 0x4dee7f
cmp edi, 8
jne 0x4dee1e
cmp dword [ebp], 0x78696e75
jne 0x4dee7f
cmp dword [ebp + 4], 0x6d617267
je 0x4dee5a
jmp 0x4dee7f
cmp edi, 0xa
jne 0x4dee7f
mov dword [esp], ebp
lea eax, [0x51f062]
mov dword [esp + 4], eax
mov dword [esp + 8], 0xa
call sym.runtime.memequal
movzx eax, byte [esp + 0xc]
test al, al
je 0x4dee6b
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x58]
mov edx, dword [esp + 0x50]
mov ebx, dword [esp + 0x68]
mov esi, dword [esp + 0x74]
mov ebp, dword [ebx + 0x140]
mov edi, dword [ebx + 0x144]
jmp 0x4def30
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x58]
mov edx, dword [esp + 0x50]
mov ebx, dword [esp + 0x68]
mov esi, dword [esp + 0x74]
mov ebp, dword [ebx + 0x144]
lea edi, [ebp - 1]
cmp ebp, edi
jbe 0x4df6c7
mov edi, dword [ebx + 0x140]
movzx esi, byte [ebp + edi - 1]
xchg esi, eax
cmp al, 0x34
xchg esi, eax
je 0x4deea9
xchg esi, eax
cmp al, 0x36
xchg esi, eax
jne 0x4deeb1
mov esi, edi
mov edi, ebp
mov ebp, esi
jmp 0x4def30
cmp dword [ebx + 0x134], 2
jne 0x4deef6
mov dword [esp], 0
mov dword [esp + 4], edi
mov dword [esp + 8], ebp
lea eax, [0x54c528]
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 + 0x30]
mov ecx, dword [esp + 0x58]
mov edx, dword [esp + 0x50]
jmp 0x4def30
mov dword [esp], 0
mov dword [esp + 4], edi
mov dword [esp + 8], ebp
lea eax, [0x54c52c]
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 + 0x30]
mov ecx, dword [esp + 0x58]
mov edx, dword [esp + 0x50]
mov ebx, dword [esp + 0x84]
mov esi, dword [ebx]
mov ebx, dword [esp + 0x6c]
mov dword [esp], ebx
mov ebx, dword [esp + 0x70]
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, [0x54daf4]
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], ecx
mov edx, dword [esp + 0x84]
call esi
mov eax, dword [esp + 0x20]
test eax, eax
jne 0x4df6ad
mov eax, dword [esp + 0x74]
test eax, eax
jne 0x4def89
xor eax, eax
xor ecx, ecx
jmp 0x4deff2
mov eax, dword [eax + 0x20]
mov ecx, dword [esp + 0x68]
mov edx, dword [ecx + 0x134]
mov ebx, dword [esp + 0x78]
mov dword [esp], ebx
mov dword [esp + 4], edx
call eax
mov eax, dword [esp + 0x10]
test eax, eax
jne 0x4df693
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
test eax, eax
je 0x4deff2
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 8]
mov edx, dword [esp + 0x68]
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 0x4df625
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x7c]
test edx, edx
je 0x4df0b8
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x2c], eax
mov eax, dword [edx + 0x20]
mov ecx, dword [esp + 0x68]
mov edx, dword [ecx + 0x134]
mov ebx, dword [esp + 0x80]
mov dword [esp], ebx
mov dword [esp + 4], edx
call eax
mov eax, dword [esp + 0x10]
test eax, eax
jne 0x4df09e
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x68]
mov dword [esp], edx
mov ebx, dword [esp + 0x6c]
mov dword [esp + 4], ebx
mov ebx, dword [esp + 0x70]
mov dword [esp + 8], ebx
mov ebx, dword [esp + 0x2c]
mov dword [esp + 0xc], ebx
mov ebx, dword [esp + 0x3c]
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 0x4df084
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x68]
mov byte [edx + 0x13c], 1
jmp 0x4df0d8
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x88], eax
mov dword [esp + 0x8c], ecx
add esp, 0x64
ret
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x88], eax
mov dword [esp + 0x8c], ecx
add esp, 0x64
ret
mov eax, dword [esp + 0x68]
mov dword [esp], eax
call sym.net._netFD_.init
mov eax, dword [esp + 4]
test eax, eax
jne 0x4df60b
mov edx, dword [esp + 0x68]
xor eax, eax
xor ecx, ecx
mov dword [esp + 0x34], eax
mov dword [esp + 0x54], 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 + 0x34]
test edx, edx
je 0x4df2b5
mov ebx, dword [esp + 0x68]
mov ebp, dword [ebx + 0x134]
cmp ebp, 1
jne 0x4df13b
mov ebp, dword [ebx + 0x138]
cmp ebp, 1
jne 0x4df121
lea ebp, [0x52b868]
jmp 0x4df178
cmp ebp, 2
jne 0x4df12e
lea ebp, [0x52b86c]
jmp 0x4df178
cmp ebp, 5
jne 0x4df172
lea ebp, [0x52b870]
jmp 0x4df178
cmp ebp, 2
je 0x4df145
cmp ebp, 0x17
jne 0x4df172
mov ebp, dword [ebx + 0x138]
cmp ebp, 1
jne 0x4df158
lea ebp, [0x52b860]
jmp 0x4df178
cmp ebp, 2
jne 0x4df165
lea ebp, [0x52b864]
jmp 0x4df178
cmp ebp, 3
jne 0x4df172
lea ebp, [0x52b85c]
jmp 0x4df178
lea ebp, [0x52b81c]
mov ebx, dword [ebp]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov edx, ebp
call ebx
mov eax, dword [esp + 0x68]
mov ecx, dword [eax + 0x134]
cmp ecx, 1
jne 0x4df1c2
mov ecx, dword [eax + 0x138]
cmp ecx, 1
jne 0x4df1a8
lea ecx, [0x52b868]
jmp 0x4df1ff
cmp ecx, 2
jne 0x4df1b5
lea ecx, [0x52b86c]
jmp 0x4df1ff
cmp ecx, 5
jne 0x4df1f9
lea ecx, [0x52b870]
jmp 0x4df1ff
cmp ecx, 2
je 0x4df1cc
cmp ecx, 0x17
jne 0x4df1f9
mov ecx, dword [eax + 0x138]
cmp ecx, 1
jne 0x4df1df
lea ecx, [0x52b860]
jmp 0x4df1ff
cmp ecx, 2
jne 0x4df1ec
lea ecx, [0x52b864]
jmp 0x4df1ff
cmp ecx, 3
jne 0x4df1f9
lea ecx, [0x52b85c]
jmp 0x4df1ff
lea ecx, [0x52b820]
mov eax, dword [ecx]
mov ebx, dword [esp + 8]
mov dword [esp + 0x60], ebx
mov ebp, dword [esp + 0xc]
mov dword [esp + 0x48], ebp
mov esi, dword [esp + 0x34]
mov dword [esp], esi
mov esi, dword [esp + 0x54]
mov dword [esp + 4], esi
mov edx, ecx
call eax
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
mov ebx, dword [esp + 0x60]
mov ebp, dword [esp + 0x68]
mov dword [ebp + 0x148], ebx
mov ebx, dword [0x6213a0]
test ebx, ebx
jne 0x4df24a
mov edx, dword [esp + 0x48]
jmp 0x4df25e
call sym.runtime.gcWriteBarrier2
mov edx, dword [esp + 0x48]
mov dword [edi], edx
mov ebx, dword [ebp + 0x14c]
mov dword [edi + 4], ebx
mov dword [ebp + 0x14c], edx
mov dword [ebp + 0x150], ecx
mov ecx, dword [0x6213a0]
test ecx, ecx
je 0x4df284
call sym.runtime.gcWriteBarrier2
mov dword [edi], eax
mov ecx, dword [ebp + 0x154]
mov dword [edi + 4], ecx
mov dword [ebp + 0x154], eax
lea eax, [0x519d40]
mov dword [esp], eax
mov dword [esp + 4], ebp
lea eax, [0x501a40]
mov dword [esp + 8], eax
lea eax, [0x52b818]
mov dword [esp + 0xc], eax
call sym.runtime.SetFinalizer
jmp 0x4df5f1
mov dword [esp + 0x60], eax
mov dword [esp + 0x3c], ecx
mov eax, dword [esp + 0x68]
mov ecx, dword [eax + 0x10]
mov dword [esp], ecx
call sym.syscall.Getpeername
mov eax, dword [esp + 4]
mov ecx, dword [esp + 4]
mov edx, dword [esp + 8]
test eax, eax
je 0x4df4a5
mov dword [esp + 0x38], edx
mov dword [esp + 0x5c], ecx
mov eax, dword [esp + 0x68]
mov ebx, dword [eax + 0x134]
cmp ebx, 1
jne 0x4df324
mov ebx, dword [eax + 0x138]
cmp ebx, 1
jne 0x4df30a
lea ebx, [0x52b868]
jmp 0x4df361
cmp ebx, 2
jne 0x4df317
lea ebx, [0x52b86c]
jmp 0x4df361
cmp ebx, 5
jne 0x4df35b
lea ebx, [0x52b870]
jmp 0x4df361
cmp ebx, 2
je 0x4df32e
cmp ebx, 0x17
jne 0x4df35b
mov ebx, dword [eax + 0x138]
cmp ebx, 1
jne 0x4df341
lea ebx, [0x52b860]
jmp 0x4df361
cmp ebx, 2
jne 0x4df34e
lea ebx, [0x52b864]
jmp 0x4df361
cmp ebx, 3
jne 0x4df35b
lea ebx, [0x52b85c]
jmp 0x4df361
lea ebx, [0x52b824]
mov eax, dword [ebx]
mov ecx, dword [esp + 0x60]
mov dword [esp], ecx
mov ecx, dword [esp + 0x3c]
mov dword [esp + 4], ecx
mov edx, ebx
call eax
mov eax, dword [esp + 0x68]
mov ecx, dword [eax + 0x134]
cmp ecx, 1
jne 0x4df3b2
mov ecx, dword [eax + 0x138]
cmp ecx, 1
jne 0x4df398
lea ecx, [0x52b868]
jmp 0x4df3ef
cmp ecx, 2
jne 0x4df3a5
lea ecx, [0x52b86c]
jmp 0x4df3ef
cmp ecx, 5
jne 0x4df3e9
lea ecx, [0x52b870]
jmp 0x4df3ef
cmp ecx, 2
je 0x4df3bc
cmp ecx, 0x17
jne 0x4df3e9
mov ecx, dword [eax + 0x138]
cmp ecx, 1
jne 0x4df3cf
lea ecx, [0x52b860]
jmp 0x4df3ef
cmp ecx, 2
jne 0x4df3dc
lea ecx, [0x52b864]
jmp 0x4df3ef
cmp ecx, 3
jne 0x4df3e9
lea ecx, [0x52b85c]
jmp 0x4df3ef
lea ecx, [0x52b828]
mov eax, dword [ecx]
mov ebx, dword [esp + 8]
mov dword [esp + 0x60], ebx
mov ebp, dword [esp + 0xc]
mov dword [esp + 0x44], ebp
mov esi, dword [esp + 0x5c]
mov dword [esp], esi
mov esi, dword [esp + 0x38]
mov dword [esp + 4], esi
mov edx, ecx
call eax
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
mov ebx, dword [esp + 0x60]
mov ebp, dword [esp + 0x68]
mov dword [ebp + 0x148], ebx
mov ebx, dword [0x6213a0]
test ebx, ebx
jne 0x4df43a
mov edx, dword [esp + 0x44]
jmp 0x4df44e
call sym.runtime.gcWriteBarrier2
mov edx, dword [esp + 0x44]
mov dword [edi], edx
mov ebx, dword [ebp + 0x14c]
mov dword [edi + 4], ebx
mov dword [ebp + 0x14c], edx
mov dword [ebp + 0x150], ecx
mov ecx, dword [0x6213a0]
test ecx, ecx
je 0x4df474
call sym.runtime.gcWriteBarrier2
mov dword [edi], eax
mov ecx, dword [ebp + 0x154]
mov dword [edi + 4], ecx
mov dword [ebp + 0x154], eax
lea eax, [0x519d40]
mov dword [esp], eax
mov dword [esp + 4], ebp
lea eax, [0x501a40]
mov dword [esp + 8], eax
lea eax, [0x52b818]
mov dword [esp + 0xc], eax
call sym.runtime.SetFinalizer
jmp 0x4df5f1
mov eax, dword [esp + 0x68]
mov ecx, dword [eax + 0x134]
cmp ecx, 1
jne 0x4df4e1
mov ecx, dword [eax + 0x138]
cmp ecx, 1
jne 0x4df4c7
lea ecx, [0x52b868]
jmp 0x4df51e
cmp ecx, 2
jne 0x4df4d4
lea ecx, [0x52b86c]
jmp 0x4df51e
cmp ecx, 5
jne 0x4df518
lea ecx, [0x52b870]
jmp 0x4df51e
cmp ecx, 2
je 0x4df4eb
cmp ecx, 0x17
jne 0x4df518
mov ecx, dword [eax + 0x138]
cmp ecx, 1
jne 0x4df4fe
lea ecx, [0x52b860]
jmp 0x4df51e
cmp ecx, 2
jne 0x4df50b
lea ecx, [0x52b864]
jmp 0x4df51e
cmp ecx, 3
jne 0x4df518
lea ecx, [0x52b85c]
jmp 0x4df51e
lea ecx, [0x52b82c]
mov eax, dword [ecx]
mov ebx, dword [esp + 0x60]
mov dword [esp], ebx
mov ebx, dword [esp + 0x3c]
mov dword [esp + 4], ebx
mov edx, ecx
call eax
mov eax, dword [esp + 8]
mov dword [esp + 0x60], eax
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x40], ecx
lea ebx, [0x508280]
mov dword [esp], ebx
mov ebx, dword [esp + 0x7c]
mov dword [esp + 4], ebx
call sym.runtime.convI2I
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0x60]
mov ebx, dword [esp + 0x68]
mov dword [ebx + 0x148], ecx
mov ecx, dword [0x6213a0]
test ecx, ecx
jne 0x4df57b
mov ecx, dword [esp + 0x40]
jmp 0x4df58f
call sym.runtime.gcWriteBarrier2
mov ecx, dword [esp + 0x40]
mov dword [edi], ecx
mov edx, dword [ebx + 0x14c]
mov dword [edi + 4], edx
mov dword [ebx + 0x14c], ecx
mov dword [ebx + 0x150], eax
mov eax, dword [0x6213a0]
test eax, eax
jne 0x4df5ae
mov eax, dword [esp + 0x80]
jmp 0x4df5c5
call sym.runtime.gcWriteBarrier2
mov eax, dword [esp + 0x80]
mov dword [edi], eax
mov ecx, dword [ebx + 0x154]
mov dword [edi + 4], ecx
mov dword [ebx + 0x154], eax
lea eax, [0x519d40]
mov dword [esp], eax
mov dword [esp + 4], ebx
lea eax, [0x501a40]
mov dword [esp + 8], eax
lea eax, [0x52b818]
mov dword [esp + 0xc], eax
call sym.runtime.SetFinalizer
mov dword [esp + 0x88], 0
mov dword [esp + 0x8c], 0
add esp, 0x64
ret
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov dword [esp + 0x88], eax
mov dword [esp + 0x8c], ecx
add esp, 0x64
ret
mov eax, dword [esp + 0xc]
mov dword [esp + 0x60], eax
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x4c], ecx
lea edx, [0x50a1a0]
mov dword [esp], edx
call sym.runtime.newobject
mov eax, dword [esp + 4]
mov dword [eax + 4], 4
lea ecx, [0x51e436]
mov dword [eax], ecx
mov ecx, dword [esp + 0x60]
mov dword [eax + 8], ecx
mov ecx, dword [0x6213a0]
test ecx, ecx
jne 0x4df66d
mov ecx, dword [esp + 0x4c]
jmp 0x4df678
call sym.runtime.gcWriteBarrier1
mov ecx, dword [esp + 0x4c]
mov dword [edi], ecx
mov dword [eax + 0xc], ecx
lea ecx, [0x54d800]
mov dword [esp + 0x88], ecx
mov dword [esp + 0x8c], eax
add esp, 0x64
ret
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x88], eax
mov dword [esp + 0x8c], ecx
add esp, 0x64
ret
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x88], eax
mov dword [esp + 0x8c], ecx
add esp, 0x64
ret
mov eax, edi
mov ecx, ebp
call sym.runtime.panicIndex
nop
call sym.runtime.morestack_noctxt
jmp sym.net._netFD_.dial