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

Disassembly:
mov ecx, dword [0x67bf38]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
lea eax, [esp - 0x88]
cmp eax, dword [ecx + 8]
jbe 0x508829
sub esp, 0x108
mov eax, 0
mov dword [esp + 0x100], eax
mov dword [esp + 0x104], eax
mov byte [esp + 0x23], 0
mov eax, dword [edx + 4]
mov dword [esp + 0x34], eax
mov ecx, dword [edx + 0xc]
mov dword [esp + 0x2c], ecx
mov edx, dword [edx + 8]
mov dword [esp + 0x74], edx
mov dword [esp + 0x10c], 0
mov dword [esp + 0x110], 0
mov dword [esp + 0x114], 0
mov dword [esp + 0x118], 0
mov dword [esp + 0x11c], 0
nop
lea ebx, [0x67c030]
mov dword [esp], ebx
lea ebx, [0x55fa28]
mov dword [esp + 4], ebx
call sym.sync._Once_.Do
mov eax, dword [0x656be4]
mov dword [esp], eax
lea eax, [esp + 0x23]
mov dword [esp + 4], eax
call sym.runtime.chansend1
lea eax, [0x55fa78]
mov dword [esp + 0x104], eax
mov byte [esp + 0x23], 1
lea edi, [esp + 0xe0]
xor eax, eax
call fcn.00467238
mov ecx, dword [esp + 0x34]
mov dword [esp + 0xe4], ecx
mov dword [esp + 0xe8], 1
mov dword [esp + 0x70], 0
mov ecx, dword [esp + 0x74]
mov dword [esp], ecx
mov edx, dword [esp + 0x2c]
mov dword [esp + 4], edx
call sym.syscall.UTF16FromString
mov eax, dword [esp + 0x14]
test eax, eax
je 0x507fd6
mov ecx, dword [esp + 0x18]
xor edx, edx
jmp 0x507fea
mov edx, dword [esp + 0xc]
test edx, edx
jbe 0x508813
mov edx, dword [esp + 8]
xor eax, eax
xor ecx, ecx
test eax, eax
jne 0x508020
mov dword [esp + 0x68], edx
call sym.net.getSystemDNSConfig
mov eax, dword [esp]
mov dword [esp + 0x80], eax
call sym.time.Now
lea edi, [esp + 0xa4]
lea esi, [esp]
call fcn.0046771e
xor eax, eax
xor ecx, ecx
xor edx, edx
jmp 0x5080ed
mov eax, dword [eax + 0x10]
mov dword [esp], ecx
call eax
mov eax, dword [esp + 4]
mov dword [esp + 0x98], eax
mov ecx, dword [esp + 8]
mov dword [esp + 0x50], ecx
lea edx, [0x545400]
mov dword [esp], edx
call sym.runtime.newobject
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x2c]
mov dword [eax + 0xc], ecx
mov ecx, dword [0x67c100]
test ecx, ecx
jne 0x508064
mov ecx, dword [esp + 0x74]
jmp 0x50806f
call sym.runtime.gcWriteBarrier1
mov ecx, dword [esp + 0x74]
mov dword [edi], ecx
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0x50]
mov dword [eax + 4], ecx
mov ecx, dword [0x67c100]
test ecx, ecx
jne 0x50808c
mov ecx, dword [esp + 0x98]
jmp 0x50809a
call sym.runtime.gcWriteBarrier1
mov ecx, dword [esp + 0x98]
mov dword [edi], ecx
mov dword [eax], ecx
mov dword [esp + 0x10c], 0
mov dword [esp + 0x110], 0
mov dword [esp + 0x114], 0
lea ecx, [0x585878]
mov dword [esp + 0x118], ecx
mov dword [esp + 0x11c], eax
mov byte [esp + 0x23], 0
call sym.net.releaseThread
add esp, 0x108
ret
mov ebp, dword [esp + 0x30]
inc ebp
mov edx, ecx
mov ecx, eax
mov eax, ebp
mov ebx, dword [esp + 0x80]
cmp dword [ebx + 0x24], eax
jle 0x5081f1
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x68]
mov dword [esp], eax
mov dword [esp + 4], 0
lea ecx, [esp + 0xe0]
mov dword [esp + 8], ecx
lea ecx, [esp + 0x70]
mov dword [esp + 0xc], ecx
call sym.syscall.GetAddrInfoW
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
test eax, eax
je 0x5081dc
mov dword [esp + 0x78], ecx
mov dword [esp + 0x38], eax
mov edx, dword [esp + 0x10]
lea ebx, [0x58568c]
cmp edx, ebx
je 0x508155
mov edx, 1
jmp 0x508187
mov eax, dword [esp + 0x14]
mov dword [esp], edx
mov dword [esp + 4], eax
lea eax, [0x58501c]
mov dword [esp + 8], eax
call sym.runtime.ifaceeq
movzx eax, byte [esp + 0xc]
xor eax, 1
mov ecx, dword [esp + 0x78]
lea ebx, [0x58568c]
mov edx, eax
mov eax, dword [esp + 0x38]
test dl, dl
je 0x508192
mov edx, 1
jmp 0x5081e7
lea edi, [esp]
lea esi, [esp + 0xa4]
call fcn.0046771e
call sym.time.Since
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x80]
mov edx, dword [ecx + 0x1c]
mov ebx, dword [ecx + 0x20]
cmp dword [esp + 0x14], edx
seta dl
cmp ebx, eax
setl al
sete bl
and ebx, edx
or eax, ebx
mov ecx, dword [esp + 0x78]
lea ebx, [0x58568c]
mov edx, eax
mov eax, dword [esp + 0x38]
jmp 0x5081e7
lea ebx, [0x58568c]
mov edx, 1
test dl, dl
je 0x5080e2
jmp 0x5081fb
lea ebx, [0x58568c]
mov eax, ecx
mov ecx, edx
test eax, eax
jne 0x50826e
mov eax, dword [esp + 0x70]
mov dword [esp + 0x9c], 0
mov dword [esp + 0xa0], 0
lea ecx, [sym.net._Resolver_.lookupIP.func1.2]
mov dword [esp + 0x9c], ecx
mov dword [esp + 0xa0], eax
lea eax, [esp + 0x9c]
mov dword [esp + 0x100], eax
mov byte [esp + 0x23], 3
lea eax, [0x53a2a0]
mov dword [esp], eax
mov dword [esp + 4], 0
mov dword [esp + 8], 5
call sym.runtime.makeslice
mov eax, dword [esp + 0xc]
mov ecx, 5
xor edx, edx
jmp 0x508416
mov dword [esp + 0x78], ecx
mov dword [esp + 0x38], eax
cmp eax, ebx
jne 0x5082ad
mov dword [esp], eax
mov dword [esp + 4], ecx
lea edx, [0x585018]
mov dword [esp + 8], edx
call sym.runtime.ifaceeq
movzx eax, byte [esp + 0xc]
test al, al
je 0x5082ad
mov eax, dword [0x6511d0]
mov ecx, dword [0x6511d4]
mov edx, ecx
mov ecx, eax
mov eax, edx
jmp 0x5082fa
nop
lea eax, [0x53a180]
mov dword [esp], eax
call sym.runtime.newobject
mov eax, dword [esp + 4]
mov dword [eax + 4], 0xc
lea ecx, [0x5540b2]
mov dword [eax], ecx
mov ecx, dword [esp + 0x38]
mov dword [eax + 8], ecx
mov ecx, dword [0x67c100]
test ecx, ecx
jne 0x5082e6
mov ecx, dword [esp + 0x78]
jmp 0x5082f1
call sym.runtime.gcWriteBarrier1
mov ecx, dword [esp + 0x78]
mov dword [edi], ecx
mov dword [eax + 0xc], ecx
lea ecx, [0x5857c4]
mov dword [esp + 0x64], eax
mov dword [esp + 0x24], ecx
mov edx, dword [ecx + 0x10]
mov dword [esp], eax
call edx
mov eax, dword [esp + 8]
mov dword [esp + 0x50], eax
mov ecx, dword [esp + 4]
mov dword [esp + 0x98], ecx
lea edx, [0x545400]
mov dword [esp], edx
call sym.runtime.newobject
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x50]
mov dword [eax + 4], ecx
mov ecx, dword [0x67c100]
test ecx, ecx
jne 0x508349
mov ecx, dword [esp + 0x98]
jmp 0x508357
call sym.runtime.gcWriteBarrier1
mov ecx, dword [esp + 0x98]
mov dword [edi], ecx
mov dword [eax], ecx
mov ecx, dword [esp + 0x2c]
mov dword [eax + 0xc], ecx
mov ecx, dword [0x67c100]
test ecx, ecx
jne 0x508370
mov ecx, dword [esp + 0x74]
jmp 0x50837b
call sym.runtime.gcWriteBarrier1
mov ecx, dword [esp + 0x74]
mov dword [edi], ecx
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0x24]
cmp dword [0x6511d0], ecx
jne 0x5083bf
mov dword [esp + 0x7c], eax
mov eax, dword [0x6511d4]
mov dword [esp], ecx
mov ecx, dword [esp + 0x64]
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
call sym.runtime.ifaceeq
movzx eax, byte [esp + 0xc]
test al, al
je 0x5083bb
mov eax, dword [esp + 0x7c]
mov byte [eax + 0x1a], 1
jmp 0x5083bf
mov eax, dword [esp + 0x7c]
mov dword [esp + 0x10c], 0
mov dword [esp + 0x110], 0
mov dword [esp + 0x114], 0
lea ecx, [0x585878]
mov dword [esp + 0x118], ecx
mov dword [esp + 0x11c], eax
mov byte [esp + 0x23], 0
call sym.net.releaseThread
add esp, 0x108
ret
mov ebx, dword [esp + 0x70]
mov ebx, dword [ebx + 0x1c]
mov dword [esp + 0x70], ebx
mov ebx, ecx
mov ecx, edx
mov edx, ebx
mov ebx, dword [esp + 0x70]
test ebx, ebx
je 0x5087c7
mov dword [esp + 0x84], eax
mov dword [esp + 0x40], ecx
mov ebp, dword [ebx + 4]
mov ebx, dword [ebx + 0x18]
cmp ebp, 2
je 0x5085c8
cmp ebp, 0x17
jne 0x5086f1
mov dword [esp + 0x3c], edx
test byte [ebx], al
lea esi, [ebx + 8]
lea edi, [esp + 0x54]
call fcn.00467728
mov eax, dword [ebx + 0x18]
lea ecx, [0x657240]
mov dword [esp], ecx
mov dword [esp + 4], eax
call sym.net._ipv6ZoneCache_.name
mov eax, dword [esp + 0x3c]
inc eax
mov dword [esp + 0x50], eax
mov ecx, dword [esp + 8]
mov dword [esp + 0x6c], ecx
mov edx, dword [esp + 0xc]
mov dword [esp + 0x28], edx
mov dword [esp], 0x10
mov dword [esp + 4], 0
mov byte [esp + 8], 0
call sym.runtime.mallocgc
mov eax, dword [esp + 0xc]
mov dword [esp + 0x94], eax
mov dword [esp], eax
lea ecx, [esp + 0x54]
mov dword [esp + 4], ecx
mov dword [esp + 8], 0x10
call sym.runtime.memmove
lea edi, [esp + 0xb8]
xor eax, eax
call fcn.0046723b
mov ecx, dword [esp + 0x94]
mov dword [esp + 0xb8], ecx
mov dword [esp + 0xbc], 0x10
mov dword [esp + 0xc0], 0x10
mov ecx, dword [esp + 0x6c]
mov dword [esp + 0xc4], ecx
mov ecx, dword [esp + 0x28]
mov dword [esp + 0xc8], ecx
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x50]
cmp ecx, edx
jb 0x508524
mov ecx, edx
mov eax, dword [esp + 0x84]
mov edx, dword [esp + 0x40]
jmp 0x508559
mov eax, dword [esp + 0x84]
mov dword [esp], eax
mov dword [esp + 4], edx
mov dword [esp + 8], ecx
mov dword [esp + 0xc], 1
lea eax, [0x53a2a0]
mov dword [esp + 0x10], eax
call sym.runtime.growslice
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x3c], ecx
mov ebx, dword [0x67c100]
lea ebp, [ecx + ecx*4]
lea edi, [eax + ebp*4 - 0x14]
test ebx, ebx
je 0x5085b3
mov dword [esp + 0x90], eax
mov dword [esp + 0x4c], edx
mov dword [esp + 0x8c], edi
lea eax, [0x53a2a0]
mov dword [esp], eax
mov dword [esp + 4], edi
lea eax, [esp + 0xb8]
mov dword [esp + 8], eax
call sym.runtime.wbMove
mov eax, dword [esp + 0x90]
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x4c]
mov edi, dword [esp + 0x8c]
lea esi, [esp + 0xb8]
call fcn.0046771e
mov ecx, dword [esp + 0x3c]
jmp 0x508405
mov eax, dword [ebx + 4]
mov dword [esp + 0x44], eax
lea eax, [edx + 1]
mov dword [esp + 0x50], eax
mov dword [esp], 4
mov dword [esp + 4], 0
mov byte [esp + 8], 0
call sym.runtime.mallocgc
mov eax, dword [esp + 0xc]
mov dword [esp + 0x94], eax
mov ecx, dword [esp + 0x44]
mov dword [eax], ecx
lea edi, [esp + 0xcc]
xor eax, eax
call fcn.0046723b
mov ecx, dword [esp + 0x94]
mov dword [esp + 0xcc], ecx
mov dword [esp + 0xd0], 4
mov dword [esp + 0xd4], 4
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x50]
cmp ecx, edx
jb 0x50864d
mov ecx, edx
mov eax, dword [esp + 0x84]
mov edx, dword [esp + 0x40]
jmp 0x508682
mov eax, dword [esp + 0x84]
mov dword [esp], eax
mov dword [esp + 4], edx
mov dword [esp + 8], ecx
mov dword [esp + 0xc], 1
lea eax, [0x53a2a0]
mov dword [esp + 0x10], eax
call sym.runtime.growslice
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x3c], ecx
mov ebx, dword [0x67c100]
lea ebp, [ecx + ecx*4]
lea edi, [eax + ebp*4 - 0x14]
test ebx, ebx
je 0x5086dc
mov dword [esp + 0x88], eax
mov dword [esp + 0x48], edx
mov dword [esp + 0x8c], edi
lea eax, [0x53a2a0]
mov dword [esp], eax
mov dword [esp + 4], edi
lea eax, [esp + 0xcc]
mov dword [esp + 8], eax
call sym.runtime.wbMove
mov eax, dword [esp + 0x88]
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x48]
mov edi, dword [esp + 0x8c]
lea esi, [esp + 0xcc]
call fcn.0046771e
mov ecx, dword [esp + 0x3c]
jmp 0x508405
mov dword [esp], 0x20000082
call sym.syscall.Errno.Error
mov eax, dword [esp + 8]
mov dword [esp + 0x50], eax
mov ecx, dword [esp + 4]
mov dword [esp + 0x98], ecx
lea edx, [0x545400]
mov dword [esp], edx
call sym.runtime.newobject
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x50]
mov dword [eax + 4], ecx
mov ecx, dword [0x67c100]
test ecx, ecx
jne 0x50873c
mov ecx, dword [esp + 0x98]
jmp 0x50874a
call sym.runtime.gcWriteBarrier1
mov ecx, dword [esp + 0x98]
mov dword [edi], ecx
mov dword [eax], ecx
mov ecx, dword [esp + 0x2c]
mov dword [eax + 0xc], ecx
mov ecx, dword [0x67c100]
test ecx, ecx
jne 0x508763
mov ecx, dword [esp + 0x74]
jmp 0x50876e
call sym.runtime.gcWriteBarrier1
mov ecx, dword [esp + 0x74]
mov dword [edi], ecx
mov dword [eax + 8], ecx
mov dword [esp + 0x10c], 0
mov dword [esp + 0x110], 0
mov dword [esp + 0x114], 0
lea ecx, [0x585878]
mov dword [esp + 0x118], ecx
mov dword [esp + 0x11c], eax
mov byte [esp + 0x23], 1
mov edx, dword [esp + 0x100]
mov eax, dword [edx]
call eax
mov byte [esp + 0x23], 0
call sym.net.releaseThread
add esp, 0x108
ret
mov dword [esp + 0x10c], eax
mov dword [esp + 0x110], edx
mov dword [esp + 0x114], ecx
mov dword [esp + 0x118], 0
mov dword [esp + 0x11c], 0
mov byte [esp + 0x23], 1
mov edx, dword [esp + 0x100]
mov eax, dword [edx]
call eax
mov byte [esp + 0x23], 0
call sym.net.releaseThread
add esp, 0x108
ret
xor eax, eax
mov ecx, eax
call sym.runtime.panicIndex
nop
call sym.runtime.deferreturn
add esp, 0x108
ret
call sym.runtime.morestack
jmp sym.net._Resolver_.lookupIP.func1