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

Disassembly:
mov ecx, dword [0x911770]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
lea eax, [esp - 0x70]
cmp eax, dword [ecx + 8]
jbe 0x5a2610
sub esp, 0xf0
mov eax, 0
mov dword [esp + 0xe8], eax
mov dword [esp + 0xec], eax
mov byte [esp + 0x37], 0
mov eax, dword [edx + 4]
mov dword [esp + 0x50], eax
mov ecx, dword [edx + 8]
mov dword [esp + 0xa8], ecx
mov ebx, dword [edx + 0xc]
mov dword [esp + 0x78], ebx
mov ebp, dword [edx + 0x10]
mov dword [esp + 0x3c], ebp
mov edx, dword [edx + 0x14]
mov dword [esp + 0x44], edx
mov dword [esp + 0xf4], 0
mov dword [esp + 0xf8], 0
mov dword [esp + 0xfc], 0
mov dword [esp + 0x100], 0
mov dword [esp + 0x104], 0
mov dword [esp], eax
mov dword [esp + 4], ecx
call sym.net.acquireThread
mov eax, dword [esp + 8]
test eax, eax
jne 0x5a1dba
lea ecx, [0x704918]
mov dword [esp + 0xe8], ecx
mov byte [esp + 0x37], 1
lea edi, [esp + 0x7c]
xor eax, eax
call fcn.00471f18
mov ecx, dword [esp + 0x44]
mov dword [esp + 0x80], ecx
mov dword [esp + 0x84], 1
mov dword [esp + 0x70], 0
mov ecx, dword [esp + 0x78]
mov dword [esp], ecx
mov edx, dword [esp + 0x3c]
mov dword [esp + 4], edx
call sym.syscall.UTF16FromString
mov ecx, dword [esp + 0x14]
test ecx, ecx
je 0x5a1cfa
mov eax, dword [esp + 0x18]
xor edx, edx
jmp 0x5a1d0e
mov edx, dword [esp + 0xc]
test edx, edx
jbe 0x5a25fa
mov edx, dword [esp + 8]
xor ecx, ecx
xor eax, eax
test ecx, ecx
jne 0x5a1d44
mov dword [esp + 0x74], edx
call sym.net.getSystemDNSConfig
mov eax, dword [esp]
mov dword [esp + 0xa4], eax
call sym.time.Now
lea edi, [esp + 0xb0]
lea esi, [esp]
call fcn.004723fe
xor eax, eax
xor ecx, ecx
xor edx, edx
jmp 0x5a1f68
mov dword [esp], ecx
mov dword [esp + 4], eax
mov eax, dword [esp + 0x78]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], 0
mov dword [esp + 0x14], 0
call sym.net.newDNSError
mov eax, dword [esp + 0x18]
mov dword [esp + 0xf4], 0
mov dword [esp + 0xf8], 0
mov dword [esp + 0xfc], 0
lea ecx, [0x757c70]
mov dword [esp + 0x100], ecx
mov dword [esp + 0x104], eax
mov byte [esp + 0x37], 0
call sym.net.releaseThread
add esp, 0xf0
ret
mov dword [esp + 0x48], eax
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x9c], ecx
cmp dword [0x8ea438], eax
jne 0x5a1e09
mov edx, dword [0x8ea43c]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
call sym.runtime.ifaceeq
movzx eax, byte [esp + 0xc]
test al, al
je 0x5a1dfe
lea eax, [0x757c50]
lea ecx, [0x911620]
jmp 0x5a1e49
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x9c]
cmp dword [0x8ea440], eax
jne 0x5a1e49
mov edx, dword [0x8ea444]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
call sym.runtime.ifaceeq
movzx eax, byte [esp + 0xc]
test al, al
je 0x5a1e3e
mov eax, dword [0x8ea4e0]
mov ecx, dword [0x8ea4e4]
jmp 0x5a1e49
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x9c]
mov eax, dword [eax + 0xc]
mov dword [esp], ecx
call eax
mov eax, dword [esp + 0x50]
mov eax, dword [eax + 0x14]
mov ecx, dword [esp + 4]
mov dword [esp + 0xe4], ecx
mov edx, dword [esp + 8]
mov dword [esp + 0x68], edx
mov ebx, dword [esp + 0xa8]
mov dword [esp], ebx
call eax
mov eax, dword [esp + 4]
mov dword [esp + 0x64], eax
mov ecx, dword [esp + 8]
mov dword [esp + 0xe0], ecx
lea edx, [0x6d08c0]
mov dword [esp], edx
call sym.runtime.newobject
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x3c]
mov dword [eax + 0x14], ecx
mov ecx, dword [0x911a40]
test ecx, ecx
jne 0x5a1eba
mov ecx, dword [esp + 0x78]
mov edx, dword [esp + 0xe4]
jmp 0x5a1ecf
call sym.runtime.gcWriteBarrier2
mov ecx, dword [esp + 0x78]
mov dword [edi], ecx
mov edx, dword [esp + 0xe4]
mov dword [edi + 4], edx
mov dword [eax + 0x10], ecx
mov ecx, dword [esp + 0x68]
mov dword [eax + 0xc], ecx
mov dword [eax + 8], edx
mov ecx, dword [esp + 0x64]
cmp dword [0x8ea440], ecx
je 0x5a1eec
xor ecx, ecx
jmp 0x5a1f1e
mov dword [esp + 0xdc], eax
mov eax, dword [0x8ea444]
mov dword [esp], ecx
mov ecx, dword [esp + 0xe0]
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
call sym.runtime.ifaceeq
movzx eax, byte [esp + 0xc]
mov ecx, eax
mov eax, dword [esp + 0xdc]
mov byte [eax + 0x20], cl
mov dword [esp + 0xf4], 0
mov dword [esp + 0xf8], 0
mov dword [esp + 0xfc], 0
lea ecx, [0x757c70]
mov dword [esp + 0x100], ecx
mov dword [esp + 0x104], eax
add esp, 0xf0
ret
mov ebx, dword [esp + 0x40]
inc ebx
mov edx, ecx
mov ecx, eax
mov eax, ebx
mov ebx, dword [esp + 0xa4]
cmp dword [ebx + 0x24], eax
jle 0x5a2068
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x74]
mov dword [esp], eax
mov dword [esp + 4], 0
lea ecx, [esp + 0x7c]
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 0x5a2053
mov dword [esp + 0xa0], ecx
mov dword [esp + 0x4c], eax
lea edx, [0x757990]
cmp eax, edx
je 0x5a1fcc
mov ebx, 1
jmp 0x5a1ffd
mov dword [esp], eax
mov dword [esp + 4], ecx
lea edx, [0x7569c4]
mov dword [esp + 8], edx
call sym.runtime.ifaceeq
movzx eax, byte [esp + 0xc]
xor eax, 1
mov ecx, dword [esp + 0xa0]
lea edx, [0x757990]
mov ebx, eax
mov eax, dword [esp + 0x4c]
test bl, bl
je 0x5a2008
mov ebx, 1
jmp 0x5a205e
lea edi, [esp]
lea esi, [esp + 0xb0]
call fcn.004723fe
call sym.time.Since
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0xa4]
mov ebx, dword [edx + 0x20]
cmp dword [edx + 0x1c], eax
setb al
cmp ecx, ebx
sete cl
setg bl
and ecx, eax
or ebx, ecx
mov eax, dword [esp + 0x4c]
mov ecx, dword [esp + 0xa0]
lea edx, [0x757990]
jmp 0x5a205e
lea edx, [0x757990]
mov ebx, 1
test bl, bl
je 0x5a1f5d
jmp 0x5a2072
mov eax, ecx
mov ecx, edx
lea edx, [0x757990]
test eax, eax
jne 0x5a20cf
mov eax, dword [esp + 0x70]
lea ecx, [sym.net._Resolver_.lookupIP.func1.deferwrap1]
mov dword [esp + 0xc4], ecx
mov dword [esp + 0xc8], eax
lea eax, [esp + 0xc4]
mov dword [esp + 0xec], eax
mov byte [esp + 0x37], 3
lea eax, [0x6baae0]
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 0x5a224d
mov dword [esp + 0xa0], ecx
mov dword [esp + 0x4c], eax
cmp eax, edx
jne 0x5a2116
mov dword [esp], eax
mov dword [esp + 4], ecx
lea edx, [0x7569b8]
mov dword [esp + 8], edx
call sym.runtime.ifaceeq
movzx eax, byte [esp + 0xc]
test al, al
jne 0x5a216b
mov eax, dword [esp + 0x4c]
lea ecx, [0x757990]
cmp eax, ecx
mov ecx, dword [esp + 0xa0]
lea edx, [0x757990]
jne 0x5a214a
mov dword [esp], eax
mov dword [esp + 4], ecx
lea edx, [0x7569bc]
mov dword [esp + 8], edx
call sym.runtime.ifaceeq
movzx eax, byte [esp + 0xc]
test al, al
jne 0x5a216b
mov eax, dword [esp + 0x4c]
lea ecx, [0x757990]
cmp eax, ecx
mov ecx, dword [esp + 0xa0]
jne 0x5a2179
mov dword [esp], eax
mov dword [esp + 4], ecx
lea edx, [0x7569c0]
mov dword [esp + 8], edx
call sym.runtime.ifaceeq
movzx eax, byte [esp + 0xc]
test al, al
je 0x5a2179
mov eax, dword [0x8e9d50]
lea ecx, [0x757c40]
jmp 0x5a21cc
nop
lea eax, [0x6b9340]
mov dword [esp], eax
call sym.runtime.newobject
mov eax, dword [esp + 4]
mov dword [eax + 4], 0xc
lea ecx, [0x6eaa8e]
mov dword [eax], ecx
mov ecx, dword [esp + 0x4c]
mov dword [eax + 8], ecx
mov ecx, dword [0x911a40]
test ecx, ecx
jne 0x5a21b5
mov ecx, dword [esp + 0xa0]
jmp 0x5a21c3
call sym.runtime.gcWriteBarrier1
mov ecx, dword [esp + 0xa0]
mov dword [edi], ecx
mov dword [eax + 0xc], ecx
lea ecx, [0x7577bc]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov eax, dword [esp + 0x78]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], 0
mov dword [esp + 0x14], 0
call sym.net.newDNSError
mov eax, dword [esp + 0x18]
mov dword [esp + 0xf4], 0
mov dword [esp + 0xf8], 0
mov dword [esp + 0xfc], 0
lea ecx, [0x757c70]
mov dword [esp + 0x100], ecx
mov dword [esp + 0x104], eax
mov byte [esp + 0x37], 0
call sym.net.releaseThread
add esp, 0xf0
ret
mov ebx, dword [esp + 0x70]
mov ebx, dword [ebx + 0x1c]
mov dword [esp + 0x70], ebx
mov ebx, dword [esp + 0x70]
test ebx, ebx
je 0x5a25ae
mov dword [esp + 0xac], eax
mov dword [esp + 0x58], ecx
mov ebp, dword [ebx + 4]
mov ebx, dword [ebx + 0x18]
cmp ebp, 2
je 0x5a23f1
cmp ebp, 0x17
jne 0x5a251c
mov dword [esp + 0x54], edx
test byte [ebx], al
lea esi, [ebx + 8]
lea edi, [esp + 0x23]
call fcn.00472408
mov eax, dword [ebx + 0x18]
lea ecx, [0x8f1c60]
mov dword [esp], ecx
mov dword [esp + 4], eax
call sym.net._ipv6ZoneCache_.name
mov eax, dword [esp + 8]
mov dword [esp + 0x6c], eax
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x38], ecx
mov edx, dword [esp + 0x54]
inc edx
mov dword [esp + 0x68], 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 + 0xd8], eax
mov dword [esp], eax
lea ecx, [esp + 0x23]
mov dword [esp + 4], ecx
mov dword [esp + 8], 0x10
call sym.runtime.memmove
mov eax, dword [esp + 0xd8]
mov dword [esp + 0xb0], eax
mov dword [esp + 0xb4], 0x10
mov dword [esp + 0xb8], 0x10
mov eax, dword [esp + 0x6c]
mov dword [esp + 0xbc], eax
mov eax, dword [esp + 0x38]
mov dword [esp + 0xc0], eax
mov eax, dword [esp + 0x58]
mov ecx, dword [esp + 0x68]
cmp eax, ecx
jb 0x5a234d
mov edx, ecx
mov eax, dword [esp + 0xac]
mov ecx, dword [esp + 0x58]
jmp 0x5a2382
mov edx, dword [esp + 0xac]
mov dword [esp], edx
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
lea eax, [0x6baae0]
mov dword [esp + 0x10], eax
call sym.runtime.growslice
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x58], ecx
mov ebx, dword [0x911a40]
lea ebp, [edx + edx*4]
lea edi, [eax + ebp*4 - 0x14]
test ebx, ebx
je 0x5a23dc
mov dword [esp + 0xd4], eax
mov dword [esp + 0x60], edx
mov dword [esp + 0xd0], edi
lea eax, [0x6baae0]
mov dword [esp], eax
mov dword [esp + 4], edi
lea eax, [esp + 0xb0]
mov dword [esp + 8], eax
call sym.runtime.wbMove
mov eax, dword [esp + 0xd4]
mov ecx, dword [esp + 0x58]
mov edx, dword [esp + 0x60]
mov edi, dword [esp + 0xd0]
lea esi, [esp + 0xb0]
call fcn.004723fe
mov ecx, dword [esp + 0x58]
jmp 0x5a2242
mov eax, dword [ebx + 4]
mov dword [esp + 0x33], eax
lea eax, [edx + 1]
mov dword [esp + 0x68], eax
mov dword [esp], 4
mov dword [esp + 4], 0
mov byte [esp + 8], 0
call sym.runtime.mallocgc
mov eax, dword [esp + 0x33]
mov ecx, dword [esp + 0xc]
mov dword [esp + 0xd8], ecx
mov dword [ecx], eax
lea edi, [esp + 0xb0]
xor eax, eax
call fcn.00471f1b
mov ecx, dword [esp + 0xd8]
mov dword [esp + 0xb0], ecx
mov dword [esp + 0xb4], 4
mov dword [esp + 0xb8], 4
mov ecx, dword [esp + 0x58]
mov edx, dword [esp + 0x68]
cmp ecx, edx
jb 0x5a2476
mov ecx, edx
mov eax, dword [esp + 0xac]
mov edx, dword [esp + 0x58]
jmp 0x5a24ab
mov eax, dword [esp + 0xac]
mov dword [esp], eax
mov dword [esp + 4], edx
mov dword [esp + 8], ecx
mov dword [esp + 0xc], 1
lea eax, [0x6baae0]
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 + 0x54], ecx
mov ebx, dword [0x911a40]
lea ebp, [ecx + ecx*4]
lea edi, [eax + ebp*4 - 0x14]
test ebx, ebx
je 0x5a2505
mov dword [esp + 0xcc], eax
mov dword [esp + 0x5c], edx
mov dword [esp + 0xd0], edi
lea eax, [0x6baae0]
mov dword [esp], eax
mov dword [esp + 4], edi
lea eax, [esp + 0xb0]
mov dword [esp + 8], eax
call sym.runtime.wbMove
mov eax, dword [esp + 0xcc]
mov ecx, dword [esp + 0x54]
mov edx, dword [esp + 0x5c]
mov edi, dword [esp + 0xd0]
lea esi, [esp + 0xb0]
call fcn.004723fe
mov ecx, edx
mov edx, dword [esp + 0x54]
jmp 0x5a2242
lea eax, [0x757990]
mov dword [esp], eax
lea eax, [0x756978]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x78]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], 0
mov dword [esp + 0x14], 0
call sym.net.newDNSError
mov eax, dword [esp + 0x18]
mov dword [esp + 0xf4], 0
mov dword [esp + 0xf8], 0
mov dword [esp + 0xfc], 0
lea ecx, [0x757c70]
mov dword [esp + 0x100], ecx
mov dword [esp + 0x104], eax
mov byte [esp + 0x37], 1
mov edx, dword [esp + 0xec]
mov eax, dword [edx]
call eax
mov byte [esp + 0x37], 0
call sym.net.releaseThread
add esp, 0xf0
ret
mov dword [esp + 0xf4], eax
mov dword [esp + 0xf8], edx
mov dword [esp + 0xfc], ecx
mov dword [esp + 0x100], 0
mov dword [esp + 0x104], 0
mov byte [esp + 0x37], 1
mov edx, dword [esp + 0xec]
mov eax, dword [edx]
call eax
mov byte [esp + 0x37], 0
call sym.net.releaseThread
add esp, 0xf0
ret
xor eax, eax
mov ecx, eax
call sym.runtime.panicIndex
nop
call sym.runtime.deferreturn
add esp, 0xf0
ret
call sym.runtime.morestack
jmp sym.net._Resolver_.lookupIP.func1