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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x4d83bc
sub esp, 0x64
mov dword [esp + 0x84], 0
mov dword [esp + 0x88], 0
mov dword [esp + 0x8c], 0
mov eax, dword [esp + 0x68]
movzx eax, byte [eax]
test al, al
jne 0x4d836a
mov eax, dword [0x5d05e4]
mov dword [esp], eax
lea eax, [esp + 0x24]
mov dword [esp + 4], eax
call dbg.runtime.chansend1
mov dword [esp], 0
lea eax, [0x533988]
mov dword [esp + 4], eax
call dbg.runtime.deferproc
test eax, eax
jne 0x4d8360
mov ecx, dword [esp + 0x78]
cmp ecx, 4
jge 0x4d82ee
jne 0x4d82e8
mov edx, dword [esp + 0x74]
mov ebx, dword [edx]
cmp ebx, 0x34706374
jne 0x4d82ce
mov eax, 1
mov dword [esp + 0x24], eax
lea edi, [esp + 0x44]
xor eax, eax
call fcn.0044a998
mov dword [esp + 0x48], 0
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x50], 0
mov dword [esp + 0x2c], 0
mov ecx, dword [esp + 0x7c]
mov dword [esp], ecx
mov edx, dword [esp + 0x80]
mov dword [esp + 4], edx
call dbg.syscall.StringToUTF16Ptr
mov ecx, dword [esp + 8]
mov dword [esp], 0
mov dword [esp + 4], ecx
lea ecx, [esp + 0x44]
mov dword [esp + 8], ecx
lea ecx, [esp + 0x2c]
mov dword [esp + 0xc], ecx
call dbg.syscall.GetAddrInfoW
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
test edx, edx
je 0x4d800e
mov dword [esp + 0x34], ecx
mov dword [esp + 0x30], edx
mov eax, dword [esp + 0x74]
mov dword [esp], eax
mov ecx, dword [esp + 0x78]
mov dword [esp + 4], ecx
mov edx, dword [esp + 0x7c]
mov dword [esp + 8], edx
mov ebx, dword [esp + 0x80]
mov dword [esp + 0xc], ebx
call dbg.net.lookupPortMap
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
test ecx, ecx
je 0x4d7fe7
mov eax, dword [esp + 0x30]
test eax, eax
je 0x4d7f64
mov ecx, dword [eax + 4]
lea edx, [0x512de0]
cmp edx, ecx
jne 0x4d7f64
mov ecx, dword [esp + 0x34]
mov edx, dword [ecx]
cmp edx, 0x2af9
jne 0x4d7f64
mov eax, dword [0x5d0a1c]
mov ecx, dword [0x5d0a18]
mov ecx, dword [ecx + 0x10]
mov dword [esp], eax
call ecx
mov eax, dword [esp + 8]
mov dword [esp + 0x28], eax
mov ecx, dword [esp + 4]
mov dword [esp + 0x40], ecx
lea edx, [0x518fe0]
mov dword [esp], edx
call dbg.runtime.newobject
mov eax, dword [esp + 4]
mov dword [esp + 0x3c], eax
mov ecx, dword [esp + 0x28]
mov dword [eax + 4], ecx
mov ecx, dword [0x5e13d0]
test ecx, ecx
jne 0x4d7f4f
mov ecx, dword [esp + 0x40]
mov dword [eax], ecx
mov dword [esp], 0
mov eax, dword [esp + 0x74]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x78]
mov dword [esp + 8], eax
lea eax, [0x52949d]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], 1
mov eax, dword [esp + 0x7c]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x80]
mov dword [esp + 0x18], eax
call dbg.runtime.concatstring3
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x3c]
mov dword [edx + 0xc], eax
mov eax, dword [0x5e13d0]
lea ebx, [edx + 8]
test eax, eax
jne 0x4d7f3d
mov dword [edx + 8], ecx
mov dword [esp + 0x84], 0
lea eax, [0x544850]
mov dword [esp + 0x88], eax
mov dword [esp + 0x8c], edx
nop
call dbg.runtime.deferreturn
add esp, 0x64
ret
mov dword [esp], ebx
mov dword [esp + 4], ecx
call dbg.runtime.writebarrierptr
mov edx, dword [esp + 0x3c]
jmp 0x4d7f14
mov dword [esp], eax
mov ecx, dword [esp + 0x40]
mov dword [esp + 4], ecx
call dbg.runtime.writebarrierptr
jmp 0x4d7eb4
lea eax, [0x5103e0]
mov dword [esp], eax
call dbg.runtime.newobject
mov eax, dword [esp + 4]
mov dword [esp + 0x38], eax
mov dword [eax + 4], 0xc
mov ecx, dword [0x5e13d0]
test ecx, ecx
jne 0x4d7fcf
lea ecx, [0x52aee0]
mov dword [eax], ecx
mov ecx, dword [esp + 0x30]
mov dword [eax + 8], ecx
mov ecx, dword [0x5e13d0]
lea edx, [eax + 0xc]
test ecx, ecx
jne 0x4d7fb9
mov ecx, dword [esp + 0x34]
mov dword [eax + 0xc], ecx
lea ecx, [0x544930]
jmp 0x4d7e6b
mov dword [esp], edx
mov eax, dword [esp + 0x34]
mov dword [esp + 4], eax
call dbg.runtime.writebarrierptr
mov eax, dword [esp + 0x38]
jmp 0x4d7fae
mov dword [esp], eax
lea ecx, [0x52aee0]
mov dword [esp + 4], ecx
call dbg.runtime.writebarrierptr
mov eax, dword [esp + 0x38]
jmp 0x4d7f93
mov dword [esp + 0x84], eax
mov dword [esp + 0x88], 0
mov dword [esp + 0x8c], 0
nop
call dbg.runtime.deferreturn
add esp, 0x64
ret
mov eax, dword [esp + 0x2c]
mov dword [esp + 8], eax
mov dword [esp], 4
lea eax, [0x533bf8]
mov dword [esp + 4], eax
call dbg.runtime.deferproc
test eax, eax
jne 0x4d82c4
mov eax, dword [esp + 0x2c]
test eax, eax
je 0x4d81c7
mov ecx, dword [eax + 0x18]
mov eax, dword [eax + 4]
cmp eax, 2
je 0x4d818e
cmp eax, 0x17
je 0x4d8155
mov dword [esp], 0x20000027
call dbg.syscall.Errno.Error
mov eax, dword [esp + 4]
mov dword [esp + 0x40], eax
mov ecx, dword [esp + 8]
mov dword [esp + 0x28], ecx
lea edx, [0x518fe0]
mov dword [esp], edx
call dbg.runtime.newobject
mov eax, dword [esp + 4]
mov dword [esp + 0x3c], eax
mov ecx, dword [esp + 0x28]
mov dword [eax + 4], ecx
mov ecx, dword [0x5e13d0]
test ecx, ecx
jne 0x4d8140
mov ecx, dword [esp + 0x40]
mov dword [eax], ecx
mov dword [esp], 0
mov eax, dword [esp + 0x74]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x78]
mov dword [esp + 8], eax
lea eax, [0x52949d]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], 1
mov eax, dword [esp + 0x7c]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x80]
mov dword [esp + 0x18], eax
call dbg.runtime.concatstring3
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x3c]
mov dword [edx + 0xc], eax
mov eax, dword [0x5e13d0]
lea ebx, [edx + 8]
test eax, eax
jne 0x4d812e
mov dword [edx + 8], ecx
mov dword [esp + 0x84], 0
lea eax, [0x544850]
mov dword [esp + 0x88], eax
mov dword [esp + 0x8c], edx
nop
call dbg.runtime.deferreturn
add esp, 0x64
ret
mov dword [esp], ebx
mov dword [esp + 4], ecx
call dbg.runtime.writebarrierptr
mov edx, dword [esp + 0x3c]
jmp 0x4d8105
mov dword [esp], eax
mov ecx, dword [esp + 0x40]
mov dword [esp + 4], ecx
call dbg.runtime.writebarrierptr
jmp 0x4d80a5
movzx eax, word [ecx + 2]
mov word [esp], ax
call dbg.syscall.Ntohs
movzx eax, word [esp + 4]
mov dword [esp + 0x84], eax
mov dword [esp + 0x88], 0
mov dword [esp + 0x8c], 0
nop
call dbg.runtime.deferreturn
add esp, 0x64
ret
movzx eax, word [ecx + 2]
mov word [esp], ax
call dbg.syscall.Ntohs
movzx eax, word [esp + 4]
mov dword [esp + 0x84], eax
mov dword [esp + 0x88], 0
mov dword [esp + 0x8c], 0
nop
call dbg.runtime.deferreturn
add esp, 0x64
ret
mov dword [esp], 0x20000027
call dbg.syscall.Errno.Error
mov eax, dword [esp + 8]
mov dword [esp + 0x28], eax
mov ecx, dword [esp + 4]
mov dword [esp + 0x40], ecx
lea edx, [0x518fe0]
mov dword [esp], edx
call dbg.runtime.newobject
mov eax, dword [esp + 4]
mov dword [esp + 0x3c], eax
mov ecx, dword [esp + 0x28]
mov dword [eax + 4], ecx
mov ecx, dword [0x5e13d0]
test ecx, ecx
jne 0x4d82af
mov ecx, dword [esp + 0x40]
mov dword [eax], ecx
mov dword [esp], 0
mov eax, dword [esp + 0x74]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x78]
mov dword [esp + 8], eax
lea eax, [0x52949d]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], 1
mov eax, dword [esp + 0x7c]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x80]
mov dword [esp + 0x18], eax
call dbg.runtime.concatstring3
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x3c]
mov dword [edx + 0xc], eax
mov eax, dword [0x5e13d0]
lea ebx, [edx + 8]
test eax, eax
jne 0x4d829d
mov dword [edx + 8], ecx
mov dword [esp + 0x84], 0
lea eax, [0x544850]
mov dword [esp + 0x88], eax
mov dword [esp + 0x8c], edx
nop
call dbg.runtime.deferreturn
add esp, 0x64
ret
mov dword [esp], ebx
mov dword [esp + 4], ecx
call dbg.runtime.writebarrierptr
mov edx, dword [esp + 0x3c]
jmp 0x4d8274
mov dword [esp], eax
mov ecx, dword [esp + 0x40]
mov dword [esp + 4], ecx
call dbg.runtime.writebarrierptr
jmp 0x4d8214
nop
call dbg.runtime.deferreturn
add esp, 0x64
ret
cmp ecx, 4
jne 0x4d82e1
mov ebx, dword [edx]
cmp ebx, 0x36706374
je 0x4d7d72
xor eax, eax
jmp 0x4d7d77
mov edx, dword [esp + 0x74]
jmp 0x4d82d1
je 0x4d8321
jne 0x4d831b
mov edx, dword [esp + 0x74]
mov ebx, dword [edx]
cmp ebx, 0x34706475
jne 0x4d830a
mov eax, 2
jmp 0x4d7d77
cmp ecx, 4
jne 0x4d82e1
mov ebx, dword [edx]
cmp ebx, 0x36706475
je 0x4d8300
jmp 0x4d82e1
mov edx, dword [esp + 0x74]
jmp 0x4d830d
mov eax, dword [esp + 0x74]
mov dword [esp], eax
mov dword [esp + 4], ecx
lea edx, [0x5298b4]
mov dword [esp + 8], edx
mov dword [esp + 0xc], 4
call dbg.runtime.cmpstring
mov eax, dword [esp + 0x10]
test eax, eax
jg 0x4d8357
mov ecx, dword [esp + 0x78]
cmp ecx, 4
jmp 0x4d7d5a
mov ecx, dword [esp + 0x78]
cmp ecx, 4
jmp 0x4d82f0
nop
call dbg.runtime.deferreturn
add esp, 0x64
ret
mov eax, dword [esp + 0x74]
mov dword [esp], eax
mov eax, dword [esp + 0x78]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x7c]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x80]
mov dword [esp + 0xc], eax
call dbg.net.lookupPortMap
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov dword [esp + 0x84], eax
mov dword [esp + 0x88], ecx
mov dword [esp + 0x8c], edx
nop
call dbg.runtime.deferreturn
add esp, 0x64
ret
call dbg.runtime.morestack_noctxt
jmp dbg.net.(*Resolver).lookupPort