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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x4f247c
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 0x4f242a
mov eax, dword [0x788410]
mov dword [esp], eax
lea eax, [esp + 0x24]
mov dword [esp + 4], eax
call dbg.runtime.chansend1
mov dword [esp], 0
lea eax, [0x65acfc]
mov dword [esp + 4], eax
call dbg.runtime.deferproc
test eax, eax
jne 0x4f2420
mov ecx, dword [esp + 0x78]
cmp ecx, 4
jge 0x4f23ae
jne 0x4f23a8
mov edx, dword [esp + 0x74]
mov ebx, dword [edx]
cmp ebx, 0x34706374
jne 0x4f238e
mov eax, 1
mov dword [esp + 0x24], eax
lea edi, [esp + 0x44]
xor eax, eax
call fcn.0044c048
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 0x4f20ce
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 + 0x14]
mov ecx, dword [esp + 0x10]
test eax, eax
je 0x4f20a7
mov eax, dword [esp + 0x30]
test eax, eax
je 0x4f2024
mov ecx, dword [eax + 4]
lea edx, [0x61ae00]
cmp edx, ecx
jne 0x4f2024
mov ecx, dword [esp + 0x34]
mov edx, dword [ecx]
cmp edx, 0x2af9
jne 0x4f2024
mov eax, dword [0x7889fc]
mov ecx, dword [0x7889f8]
mov ecx, dword [ecx + 0x14]
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, [0x6265c0]
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 [0x79b700]
test ecx, ecx
jne 0x4f200f
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, [0x6455f1]
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 [0x79b700]
lea ebx, [edx + 8]
test eax, eax
jne 0x4f1ffd
mov dword [edx + 8], ecx
mov dword [esp + 0x84], 0
lea eax, [0x757db0]
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 0x4f1fd4
mov dword [esp], eax
mov ecx, dword [esp + 0x40]
mov dword [esp + 4], ecx
call dbg.runtime.writebarrierptr
jmp 0x4f1f74
lea eax, [0x6164e0]
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 [0x79b700]
test ecx, ecx
jne 0x4f208f
lea ecx, [0x647965]
mov dword [eax], ecx
mov ecx, dword [esp + 0x30]
mov dword [eax + 8], ecx
mov ecx, dword [0x79b700]
lea edx, [eax + 0xc]
test ecx, ecx
jne 0x4f2079
mov ecx, dword [esp + 0x34]
mov dword [eax + 0xc], ecx
lea ecx, [0x758130]
jmp 0x4f1f2b
mov dword [esp], edx
mov eax, dword [esp + 0x34]
mov dword [esp + 4], eax
call dbg.runtime.writebarrierptr
mov eax, dword [esp + 0x38]
jmp 0x4f206e
mov dword [esp], eax
lea ecx, [0x647965]
mov dword [esp + 4], ecx
call dbg.runtime.writebarrierptr
mov eax, dword [esp + 0x38]
jmp 0x4f2053
mov dword [esp + 0x84], ecx
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, [0x65b0b8]
mov dword [esp + 4], eax
call dbg.runtime.deferproc
test eax, eax
jne 0x4f2384
mov eax, dword [esp + 0x2c]
test eax, eax
je 0x4f2287
mov ecx, dword [eax + 0x18]
mov eax, dword [eax + 4]
cmp eax, 2
je 0x4f224e
cmp eax, 0x17
je 0x4f2215
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, [0x6265c0]
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 [0x79b700]
test ecx, ecx
jne 0x4f2200
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, [0x6455f1]
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 [0x79b700]
lea ebx, [edx + 8]
test eax, eax
jne 0x4f21ee
mov dword [edx + 8], ecx
mov dword [esp + 0x84], 0
lea eax, [0x757db0]
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 0x4f21c5
mov dword [esp], eax
mov ecx, dword [esp + 0x40]
mov dword [esp + 4], ecx
call dbg.runtime.writebarrierptr
jmp 0x4f2165
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, [0x6265c0]
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 [0x79b700]
test ecx, ecx
jne 0x4f236f
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, [0x6455f1]
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 + 0x1c]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x3c]
mov dword [edx + 0xc], ecx
mov ecx, dword [0x79b700]
lea ebx, [edx + 8]
test ecx, ecx
jne 0x4f235d
mov dword [edx + 8], eax
mov dword [esp + 0x84], 0
lea eax, [0x757db0]
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], eax
call dbg.runtime.writebarrierptr
mov edx, dword [esp + 0x3c]
jmp 0x4f2334
mov dword [esp], eax
mov ecx, dword [esp + 0x40]
mov dword [esp + 4], ecx
call dbg.runtime.writebarrierptr
jmp 0x4f22d4
nop
call dbg.runtime.deferreturn
add esp, 0x64
ret
cmp ecx, 4
jne 0x4f23a1
mov ebx, dword [edx]
cmp ebx, 0x36706374
je 0x4f1e32
xor eax, eax
jmp 0x4f1e37
mov edx, dword [esp + 0x74]
jmp 0x4f2391
je 0x4f23e1
jne 0x4f23db
mov edx, dword [esp + 0x74]
mov ebx, dword [edx]
cmp ebx, 0x34706475
jne 0x4f23ca
mov eax, 2
jmp 0x4f1e37
cmp ecx, 4
jne 0x4f23a1
mov ebx, dword [edx]
cmp ebx, 0x36706475
je 0x4f23c0
jmp 0x4f23a1
mov edx, dword [esp + 0x74]
jmp 0x4f23cd
mov eax, dword [esp + 0x74]
mov dword [esp], eax
mov dword [esp + 4], ecx
lea edx, [0x645b38]
mov dword [esp + 8], edx
mov dword [esp + 0xc], 4
call dbg.runtime.cmpstring
mov eax, dword [esp + 0x10]
test eax, eax
jg 0x4f2417
mov ecx, dword [esp + 0x78]
cmp ecx, 4
jmp 0x4f1e1a
mov ecx, dword [esp + 0x78]
cmp ecx, 4
jmp 0x4f23b0
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 + 0x18]
mov edx, dword [esp + 0x14]
mov dword [esp + 0x84], eax
mov dword [esp + 0x88], edx
mov dword [esp + 0x8c], ecx
nop
call dbg.runtime.deferreturn
add esp, 0x64
ret
call dbg.runtime.morestack_noctxt
jmp dbg.net.(*Resolver).lookupPort