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

Disassembly:
mov ecx, dword [0x62bbe4]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x4d4cd4
sub esp, 0x70
mov eax, dword [esp + 0x90]
test eax, eax
je 0x4d45c5
nop
lea eax, [0x4fb460]
mov dword [esp], eax
call sym.runtime.newobject
mov eax, dword [0x62bd10]
mov ecx, dword [esp + 4]
test eax, eax
jne 0x4d43a9
mov eax, dword [esp + 0x74]
jmp 0x4d43b4
call sym.runtime.gcWriteBarrier1
mov eax, dword [esp + 0x74]
mov dword [edi], eax
mov dword [esp + 0x6c], ecx
mov dword [ecx], eax
mov ebx, dword [esp + 0x88]
test ebx, ebx
jne 0x4d4409
mov ebp, dword [esp + 0x80]
test ebp, ebp
jne 0x4d43d6
xor edx, edx
xor esi, esi
jmp 0x4d4436
mov eax, dword [ebp + 0x10]
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 + 0x88]
mov ebp, dword [esp + 0x80]
mov edx, ecx
mov esi, eax
mov eax, dword [esp + 0x74]
mov ecx, dword [esp + 0x6c]
jmp 0x4d4436
mov eax, dword [ebx + 0x10]
mov ecx, dword [esp + 0x8c]
mov dword [esp], ecx
call eax
mov esi, dword [esp + 4]
mov edx, dword [esp + 8]
mov eax, dword [esp + 0x74]
mov ecx, dword [esp + 0x6c]
mov ebx, dword [esp + 0x88]
mov ebp, dword [esp + 0x80]
mov dword [esp + 0x44], edx
mov dword [esp + 0x64], esi
mov edi, dword [eax + 0x13c]
mov ebx, dword [eax + 0x138]
cmp edi, 4
jne 0x4d4459
cmp dword [ebx], 0x78696e75
je 0x4d44b0
jmp 0x4d44d8
cmp edi, 8
jne 0x4d4471
cmp dword [ebx], 0x78696e75
jne 0x4d44d8
cmp dword [ebx + 4], 0x6d617267
je 0x4d44b0
jmp 0x4d44d8
cmp edi, 0xa
jne 0x4d44d8
mov dword [esp], ebx
lea eax, [0x51517b]
mov dword [esp + 4], eax
mov dword [esp + 8], 0xa
call sym.runtime.memequal
movzx eax, byte [esp + 0xc]
test al, al
je 0x4d44c1
mov eax, dword [esp + 0x74]
mov ecx, dword [esp + 0x6c]
mov edx, dword [esp + 0x44]
mov ebp, dword [esp + 0x80]
mov esi, dword [esp + 0x64]
mov ebx, dword [eax + 0x138]
mov edi, dword [eax + 0x13c]
jmp 0x4d457a
mov eax, dword [esp + 0x74]
mov ecx, dword [esp + 0x6c]
mov edx, dword [esp + 0x44]
mov ebp, dword [esp + 0x80]
mov esi, dword [esp + 0x64]
mov ebx, dword [eax + 0x138]
mov edi, dword [eax + 0x13c]
movzx ebp, byte [edi + ebx - 1]
xchg ebp, eax
cmp al, 0x34
xchg ebp, eax
je 0x4d457a
xchg ebp, eax
cmp al, 0x36
xchg ebp, eax
je 0x4d457a
cmp dword [eax + 0x12c], 2
jne 0x4d4540
mov dword [esp], 0
mov dword [esp + 4], ebx
mov dword [esp + 8], edi
lea eax, str.4___1_
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], 1
call sym.runtime.concatstring2
mov ebx, dword [esp + 0x14]
mov edi, dword [esp + 0x18]
mov ecx, dword [esp + 0x6c]
mov edx, dword [esp + 0x44]
mov esi, dword [esp + 0x64]
jmp 0x4d457a
mov dword [esp], 0
mov dword [esp + 4], ebx
mov dword [esp + 8], edi
lea eax, [0x542e70]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], 1
call sym.runtime.concatstring2
mov ebx, dword [esp + 0x14]
mov edi, dword [esp + 0x18]
mov ecx, dword [esp + 0x6c]
mov edx, dword [esp + 0x44]
mov esi, dword [esp + 0x64]
mov eax, dword [esp + 0x90]
mov ebp, dword [eax]
mov eax, dword [esp + 0x78]
mov dword [esp], eax
mov eax, dword [esp + 0x7c]
mov dword [esp + 4], eax
mov dword [esp + 8], ebx
mov dword [esp + 0xc], edi
mov dword [esp + 0x10], esi
mov dword [esp + 0x14], edx
lea ebx, [0x544544]
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ecx
mov edx, dword [esp + 0x90]
call ebp
mov eax, dword [esp + 0x20]
test eax, eax
jne 0x4d4cbe
mov eax, dword [esp + 0x80]
test eax, eax
jne 0x4d45d6
xor eax, eax
xor ecx, ecx
jmp 0x4d463e
mov eax, dword [eax + 0x1c]
mov ecx, dword [esp + 0x74]
mov edx, dword [ecx + 0x12c]
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 0x4d4ca8
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
test eax, eax
je 0x4d463e
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 0x4d4c3e
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x50]
mov edx, dword [esp + 0x88]
test edx, edx
je 0x4d46ff
mov dword [esp + 0x50], ecx
mov dword [esp + 0x30], eax
mov eax, dword [edx + 0x1c]
mov ecx, dword [esp + 0x74]
mov ebx, dword [ecx + 0x12c]
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 0x4d46e9
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 0x4d46d3
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x74]
mov byte [edx + 0x134], 1
jmp 0x4d471f
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 0x4d4c28
mov edx, dword [esp + 0x74]
xor eax, eax
xor ecx, ecx
mov dword [esp + 0x68], ecx
mov dword [esp + 0x48], eax
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 0x4d48ee
mov ebx, dword [esp + 0x74]
mov ebp, dword [ebx + 0x12c]
cmp ebp, 1
jne 0x4d4782
mov ebp, dword [ebx + 0x130]
cmp ebp, 1
jne 0x4d4768
lea ebp, [0x5217d4]
jmp 0x4d47bf
cmp ebp, 2
jne 0x4d4775
lea ebp, [0x5217d8]
jmp 0x4d47bf
cmp ebp, 5
jne 0x4d47b9
lea ebp, [0x5217dc]
jmp 0x4d47bf
cmp ebp, 2
je 0x4d478c
cmp ebp, 0x17
jne 0x4d47b9
mov ebp, dword [ebx + 0x130]
cmp ebp, 1
jne 0x4d479f
lea ebp, [0x5217cc]
jmp 0x4d47bf
cmp ebp, 2
jne 0x4d47ac
lea ebp, [0x5217d0]
jmp 0x4d47bf
cmp ebp, 3
jne 0x4d47b9
lea ebp, [0x5217c8]
jmp 0x4d47bf
lea ebp, [0x521780]
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 + 0x12c]
cmp ecx, 1
jne 0x4d4809
mov ecx, dword [eax + 0x130]
cmp ecx, 1
jne 0x4d47ef
lea ecx, [0x5217d4]
jmp 0x4d4846
cmp ecx, 2
jne 0x4d47fc
lea ecx, [0x5217d8]
jmp 0x4d4846
cmp ecx, 5
jne 0x4d4840
lea ecx, [0x5217dc]
jmp 0x4d4846
cmp ecx, 2
je 0x4d4813
cmp ecx, 0x17
jne 0x4d4840
mov ecx, dword [eax + 0x130]
cmp ecx, 1
jne 0x4d4826
lea ecx, [0x5217cc]
jmp 0x4d4846
cmp ecx, 2
jne 0x4d4833
lea ecx, [0x5217d0]
jmp 0x4d4846
cmp ecx, 3
jne 0x4d4840
lea ecx, [0x5217c8]
jmp 0x4d4846
lea ecx, [0x521784]
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 + 0x140], ebx
mov ebx, dword [0x62bd10]
test ebx, ebx
jne 0x4d4891
mov edx, dword [esp + 0x5c]
jmp 0x4d48b1
call sym.runtime.gcWriteBarrier4
mov edx, dword [esp + 0x5c]
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, [0x510140]
mov dword [esp], eax
mov dword [esp + 4], ebp
lea eax, [0x4f4b20]
mov dword [esp + 8], eax
lea eax, [0x52177c]
mov dword [esp + 0xc], eax
call sym.runtime.SetFinalizer
jmp 0x4d4c0e
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 0x4d4aca
mov dword [esp + 0x2c], eax
mov dword [esp + 0x4c], ecx
mov ebx, dword [esp + 0x74]
mov ebp, dword [ebx + 0x12c]
cmp ebp, 1
jne 0x4d4959
mov ebp, dword [ebx + 0x130]
cmp ebp, 1
jne 0x4d493f
lea edx, [0x5217d4]
jmp 0x4d4996
cmp ebp, 2
jne 0x4d494c
lea edx, [0x5217d8]
jmp 0x4d4996
cmp ebp, 5
jne 0x4d4990
lea edx, [0x5217dc]
jmp 0x4d4996
cmp ebp, 2
je 0x4d4963
cmp ebp, 0x17
jne 0x4d4990
mov ebp, dword [ebx + 0x130]
cmp ebp, 1
jne 0x4d4976
lea edx, [0x5217cc]
jmp 0x4d4996
cmp ebp, 2
jne 0x4d4983
lea edx, [0x5217d0]
jmp 0x4d4996
cmp ebp, 3
jne 0x4d4990
lea edx, [0x5217c8]
jmp 0x4d4996
lea edx, [0x521788]
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 + 0x12c]
cmp ecx, 1
jne 0x4d49e5
mov ecx, dword [eax + 0x130]
cmp ecx, 1
jne 0x4d49cb
lea ecx, [0x5217d4]
jmp 0x4d4a22
cmp ecx, 2
jne 0x4d49d8
lea ecx, [0x5217d8]
jmp 0x4d4a22
cmp ecx, 5
jne 0x4d4a1c
lea ecx, [0x5217dc]
jmp 0x4d4a22
cmp ecx, 2
je 0x4d49ef
cmp ecx, 0x17
jne 0x4d4a1c
mov ecx, dword [eax + 0x130]
cmp ecx, 1
jne 0x4d4a02
lea ecx, [0x5217cc]
jmp 0x4d4a22
cmp ecx, 2
jne 0x4d4a0f
lea ecx, [0x5217d0]
jmp 0x4d4a22
cmp ecx, 3
jne 0x4d4a1c
lea ecx, [0x5217c8]
jmp 0x4d4a22
lea ecx, [0x52178c]
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 + 0x140], ebx
mov ebx, dword [0x62bd10]
test ebx, ebx
jne 0x4d4a6d
mov edx, dword [esp + 0x58]
jmp 0x4d4a8d
call sym.runtime.gcWriteBarrier4
mov edx, dword [esp + 0x58]
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, [0x510140]
mov dword [esp], eax
mov dword [esp + 4], ebp
lea eax, [0x4f4b20]
mov dword [esp + 8], eax
lea eax, [0x52177c]
mov dword [esp + 0xc], eax
call sym.runtime.SetFinalizer
jmp 0x4d4c0e
mov eax, dword [esp + 0x74]
mov ecx, dword [eax + 0x12c]
cmp ecx, 1
jne 0x4d4b06
mov ecx, dword [eax + 0x130]
cmp ecx, 1
jne 0x4d4aec
lea ecx, [0x5217d4]
jmp 0x4d4b43
cmp ecx, 2
jne 0x4d4af9
lea ecx, [0x5217d8]
jmp 0x4d4b43
cmp ecx, 5
jne 0x4d4b3d
lea ecx, [0x5217dc]
jmp 0x4d4b43
cmp ecx, 2
je 0x4d4b10
cmp ecx, 0x17
jne 0x4d4b3d
mov ecx, dword [eax + 0x130]
cmp ecx, 1
jne 0x4d4b23
lea ecx, [0x5217cc]
jmp 0x4d4b43
cmp ecx, 2
jne 0x4d4b30
lea ecx, [0x5217d0]
jmp 0x4d4b43
cmp ecx, 3
jne 0x4d4b3d
lea ecx, [0x5217c8]
jmp 0x4d4b43
lea ecx, [0x521790]
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 0x4d4b96
mov dword [esp + 0x54], ecx
mov dword [esp + 0x34], eax
mov eax, dword [ebx + 4]
lea ecx, [0x605110]
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 + 0x140], eax
mov eax, dword [0x62bd10]
test eax, eax
jne 0x4d4bb3
mov eax, dword [esp + 0x8c]
jmp 0x4d4bd6
call sym.runtime.gcWriteBarrier4
mov dword [edi], ecx
mov eax, dword [edx + 0x144]
mov dword [edi + 4], eax
mov eax, dword [esp + 0x8c]
mov dword [edi + 8], eax
mov ebp, dword [edx + 0x14c]
mov dword [edi + 0xc], ebp
mov dword [edx + 0x144], ecx
mov dword [edx + 0x148], ebx
mov dword [edx + 0x14c], eax
lea eax, [0x510140]
mov dword [esp], eax
mov dword [esp + 4], edx
lea eax, [0x4f4b20]
mov dword [esp + 8], eax
lea eax, [0x52177c]
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, [0x4fddc0]
mov dword [esp], ecx
call sym.runtime.newobject
mov eax, dword [esp + 4]
mov dword [eax + 4], 4
lea ecx, [0x51445e]
mov dword [eax], ecx
mov ecx, dword [esp + 0x40]
mov dword [eax + 8], ecx
mov ecx, dword [0x62bd10]
test ecx, ecx
jne 0x4d4c82
mov ecx, dword [esp + 0x60]
jmp 0x4d4c8d
call sym.runtime.gcWriteBarrier1
mov ecx, dword [esp + 0x60]
mov dword [edi], ecx
mov dword [eax + 0xc], ecx
lea ecx, [0x544104]
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
call sym.runtime.morestack_noctxt
jmp sym.net._netFD_.dial