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

Disassembly:
mov ecx, dword [0x8e25d4]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x5a63b5
add esp, 0xffffff80
mov eax, 0
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], eax
mov byte [esp + 0x27], 0
mov dword [esp + 0xa0], 0
mov dword [esp + 0xa4], 0
mov dword [esp + 0xa8], 0
mov eax, dword [esp + 0x84]
mov dword [esp], eax
call sym.net._Resolver_.preferGoOverWindows
movzx eax, byte [esp + 4]
test al, al
jne 0x5a6357
nop
lea eax, [0x8e26f0]
mov dword [esp], eax
lea eax, [0x6eb4c8]
mov dword [esp + 4], eax
call sym.sync._Once_.Do
mov eax, dword [0x8bc160]
mov dword [esp], eax
lea eax, [esp + 0x27]
mov dword [esp + 4], eax
call sym.runtime.chansend1
lea eax, [0x6eb50c]
mov dword [esp + 0x7c], eax
mov byte [esp + 0x27], 1
mov eax, dword [esp + 0x94]
cmp eax, 4
jne 0x5a5daa
mov ecx, dword [esp + 0x90]
cmp byte [ecx], 0x74
jg 0x5a5d93
cmp dword [ecx], 0x34706374
je 0x5a5d8c
cmp dword [ecx], 0x36706374
jne 0x5a5db1
mov edx, 1
jmp 0x5a5db3
cmp dword [ecx], 0x34706475
je 0x5a5da3
cmp dword [ecx], 0x36706475
jne 0x5a5db1
mov edx, 2
jmp 0x5a5db3
mov ecx, dword [esp + 0x90]
xor edx, edx
lea edi, [esp + 0x58]
xor eax, eax
call fcn.00468b18
mov dword [esp + 0x60], edx
mov dword [esp + 0x34], 0
mov ecx, dword [esp + 0x98]
mov dword [esp], ecx
mov edx, dword [esp + 0x9c]
mov dword [esp + 4], edx
call sym.syscall.StringToUTF16Ptr
mov ecx, dword [esp + 8]
mov dword [esp], 0
mov dword [esp + 4], ecx
lea ecx, [esp + 0x58]
mov dword [esp + 8], ecx
lea ecx, [esp + 0x34]
mov dword [esp + 0xc], ecx
call sym.syscall.GetAddrInfoW
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x10]
mov ebx, dword [esp + 0x14]
mov ebp, dword [esp + 0x14]
mov esi, dword [esp + 0x10]
test ecx, ecx
jne 0x5a6111
mov eax, dword [esp + 0x34]
mov dword [esp + 0x50], 0
mov dword [esp + 0x54], 0
lea ecx, [sym.net._Resolver_.lookupPort.func2]
mov dword [esp + 0x50], ecx
mov dword [esp + 0x54], eax
lea eax, [esp + 0x50]
mov dword [esp + 0x78], eax
mov byte [esp + 0x27], 3
mov eax, dword [esp + 0x34]
test eax, eax
je 0x5a600e
mov ecx, dword [eax + 4]
mov eax, dword [eax + 0x18]
cmp ecx, 2
je 0x5a5fc4
cmp ecx, 0x17
je 0x5a5f7a
mov dword [esp], 0x20000027
call sym.syscall.Errno.Error
mov eax, dword [esp + 8]
mov dword [esp + 0x2c], eax
mov ecx, dword [esp + 4]
mov dword [esp + 0x4c], ecx
lea edx, [0x6aa4a0]
mov dword [esp], edx
call sym.runtime.newobject
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x2c]
mov dword [eax + 4], ecx
mov ecx, dword [0x8e2900]
test ecx, ecx
jne 0x5a5ebc
mov ecx, dword [esp + 0x4c]
jmp 0x5a5ec7
call sym.runtime.gcWriteBarrier1
mov ecx, dword [esp + 0x4c]
mov dword [edi], ecx
mov dword [esp + 0x48], eax
mov dword [eax], ecx
mov dword [esp], 0
mov ecx, dword [esp + 0x90]
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x94]
mov dword [esp + 8], ecx
lea ecx, [0x6c1136]
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], 1
mov ecx, dword [esp + 0x98]
mov dword [esp + 0x14], ecx
mov ecx, dword [esp + 0x9c]
mov dword [esp + 0x18], ecx
call sym.runtime.concatstring3
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x48]
mov dword [edx + 0xc], eax
mov eax, dword [0x8e2900]
test eax, eax
je 0x5a5f3d
call sym.runtime.gcWriteBarrier2
mov dword [edi], ecx
mov eax, dword [edx + 8]
mov dword [edi + 4], eax
mov dword [edx + 8], ecx
mov dword [esp + 0xa0], 0
lea eax, [0x739930]
mov dword [esp + 0xa4], eax
mov dword [esp + 0xa8], edx
mov byte [esp + 0x27], 1
mov edx, dword [esp + 0x78]
mov eax, dword [edx]
call eax
mov byte [esp + 0x27], 0
call sym.net.releaseThread
sub esp, 0xffffff80
ret
movzx eax, word [eax + 2]
mov word [esp], ax
call sym.syscall.Ntohs
movzx eax, word [esp + 4]
mov dword [esp + 0xa0], eax
mov dword [esp + 0xa4], 0
mov dword [esp + 0xa8], 0
mov byte [esp + 0x27], 1
mov edx, dword [esp + 0x78]
mov eax, dword [edx]
call eax
mov byte [esp + 0x27], 0
call sym.net.releaseThread
sub esp, 0xffffff80
ret
movzx eax, word [eax + 2]
mov word [esp], ax
call sym.syscall.Ntohs
movzx eax, word [esp + 4]
mov dword [esp + 0xa0], eax
mov dword [esp + 0xa4], 0
mov dword [esp + 0xa8], 0
mov byte [esp + 0x27], 1
mov edx, dword [esp + 0x78]
mov eax, dword [edx]
call eax
mov byte [esp + 0x27], 0
call sym.net.releaseThread
sub esp, 0xffffff80
ret
mov dword [esp], 0x20000027
call sym.syscall.Errno.Error
mov eax, dword [esp + 8]
mov dword [esp + 0x2c], eax
mov ecx, dword [esp + 4]
mov dword [esp + 0x4c], ecx
lea edx, [0x6aa4a0]
mov dword [esp], edx
call sym.runtime.newobject
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x2c]
mov dword [eax + 4], ecx
mov ecx, dword [0x8e2900]
test ecx, ecx
jne 0x5a6053
mov ecx, dword [esp + 0x4c]
jmp 0x5a605e
call sym.runtime.gcWriteBarrier1
mov ecx, dword [esp + 0x4c]
mov dword [edi], ecx
mov dword [esp + 0x48], eax
mov dword [eax], ecx
mov dword [esp], 0
mov ecx, dword [esp + 0x90]
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x94]
mov dword [esp + 8], ecx
lea ecx, [0x6c1136]
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], 1
mov ecx, dword [esp + 0x98]
mov dword [esp + 0x14], ecx
mov ecx, dword [esp + 0x9c]
mov dword [esp + 0x18], ecx
call sym.runtime.concatstring3
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x48]
mov dword [edx + 0xc], eax
mov eax, dword [0x8e2900]
test eax, eax
je 0x5a60d4
call sym.runtime.gcWriteBarrier2
mov dword [edi], ecx
mov eax, dword [edx + 8]
mov dword [edi + 4], eax
mov dword [edx + 8], ecx
mov dword [esp + 0xa0], 0
lea eax, [0x739930]
mov dword [esp + 0xa4], eax
mov dword [esp + 0xa8], edx
mov byte [esp + 0x27], 1
mov edx, dword [esp + 0x78]
mov eax, dword [edx]
call eax
mov byte [esp + 0x27], 0
call sym.net.releaseThread
sub esp, 0xffffff80
ret
mov dword [esp + 0x44], edx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x4c], esi
mov eax, dword [esp + 0x90]
mov dword [esp], eax
mov ecx, dword [esp + 0x94]
mov dword [esp + 4], ecx
mov edx, dword [esp + 0x98]
mov dword [esp + 8], edx
mov ebx, dword [esp + 0x9c]
mov dword [esp + 0xc], ebx
call sym.net.lookupPortMap
mov eax, dword [esp + 0x14]
test eax, eax
je 0x5a6328
mov eax, dword [esp + 0x44]
lea ecx, [0x7391dc]
cmp eax, ecx
jne 0x5a61a2
mov dword [esp], eax
mov eax, dword [esp + 0x38]
mov dword [esp + 4], eax
lea eax, [0x738758]
mov dword [esp + 8], eax
call sym.runtime.ifaceeq
movzx eax, byte [esp + 0xc]
test al, al
je 0x5a61a2
mov eax, dword [0x8b2e18]
mov ecx, dword [0x8b2e1c]
mov edx, ecx
mov ecx, eax
mov eax, edx
jmp 0x5a61ef
nop
lea eax, [0x697720]
mov dword [esp], eax
call sym.runtime.newobject
mov eax, dword [esp + 4]
mov dword [eax + 4], 0xc
lea ecx, [0x6c3a11]
mov dword [eax], ecx
mov ecx, dword [esp + 0x4c]
mov dword [eax + 8], ecx
mov ecx, dword [0x8e2900]
test ecx, ecx
jne 0x5a61db
mov ecx, dword [esp + 0x3c]
jmp 0x5a61e6
call sym.runtime.gcWriteBarrier1
mov ecx, dword [esp + 0x3c]
mov dword [edi], ecx
mov dword [eax + 0xc], ecx
lea ecx, [0x73945c]
mov dword [esp + 0x30], eax
mov dword [esp + 0x28], ecx
mov edx, dword [ecx + 0x10]
mov dword [esp], eax
call edx
mov eax, dword [esp + 8]
mov dword [esp + 0x2c], eax
mov ecx, dword [esp + 4]
mov dword [esp + 0x4c], ecx
lea edx, [0x6aa4a0]
mov dword [esp], edx
call sym.runtime.newobject
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x2c]
mov dword [eax + 4], ecx
mov ecx, dword [0x8e2900]
test ecx, ecx
jne 0x5a6238
mov ecx, dword [esp + 0x4c]
jmp 0x5a6243
call sym.runtime.gcWriteBarrier1
mov ecx, dword [esp + 0x4c]
mov dword [edi], ecx
mov dword [esp + 0x40], eax
mov dword [eax], ecx
mov dword [esp], 0
mov ecx, dword [esp + 0x90]
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x94]
mov dword [esp + 8], ecx
lea ecx, [0x6c1136]
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], 1
mov ecx, dword [esp + 0x98]
mov dword [esp + 0x14], ecx
mov ecx, dword [esp + 0x9c]
mov dword [esp + 0x18], ecx
call sym.runtime.concatstring3
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x40]
mov dword [edx + 0xc], eax
mov eax, dword [0x8e2900]
test eax, eax
je 0x5a62b9
call sym.runtime.gcWriteBarrier2
mov dword [edi], ecx
mov eax, dword [edx + 8]
mov dword [edi + 4], eax
mov dword [edx + 8], ecx
mov eax, dword [esp + 0x28]
cmp dword [0x8b2e18], eax
jne 0x5a62fb
mov ecx, dword [0x8b2e1c]
mov dword [esp], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
call sym.runtime.ifaceeq
movzx eax, byte [esp + 0xc]
test al, al
je 0x5a62f7
mov eax, dword [esp + 0x40]
mov byte [eax + 0x1a], 1
mov edx, eax
jmp 0x5a62fb
mov edx, dword [esp + 0x40]
mov dword [esp + 0xa0], 0
lea eax, [0x739930]
mov dword [esp + 0xa4], eax
mov dword [esp + 0xa8], edx
mov byte [esp + 0x27], 0
call sym.net.releaseThread
sub esp, 0xffffff80
ret
mov eax, dword [esp + 0x10]
mov dword [esp + 0xa0], eax
mov dword [esp + 0xa4], 0
mov dword [esp + 0xa8], 0
mov byte [esp + 0x27], 0
call sym.net.releaseThread
sub esp, 0xffffff80
ret
mov eax, dword [esp + 0x90]
mov dword [esp], eax
mov eax, dword [esp + 0x94]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x98]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x9c]
mov dword [esp + 0xc], eax
call sym.net.lookupPortMap
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov dword [esp + 0xa0], eax
mov dword [esp + 0xa4], ecx
mov dword [esp + 0xa8], edx
sub esp, 0xffffff80
ret
call sym.runtime.morestack_noctxt
jmp sym.net._Resolver_.lookupPort