Function at 0x513bc0
Capabilities:
Access peb ldr_data

Disassembly:
lea r12, [rsp - 0x160]
cmp r12, qword [r14 + 0x10]
jbe 0x514799
push rbp
mov rbp, rsp
sub rsp, 0x1d8
movq qword [rsp + 0x1d0], xmm15
mov byte [rsp + 0x46], 0
call sym.time.Now
mov qword [rsp + 0xc0], rax
mov qword [rsp + 0xb8], rbx
mov qword [rsp + 0x168], rcx
mov rdi, qword [0x006ac638]
mov rsi, qword [0x006ac640]
mov r8, qword [0x006ac648]
mov rdx, qword [0x006a3d00]
mov qword [rsp + 0x120], rdx
mov r9, qword [0x006a3d08]
mov qword [rsp + 0x80], r9
nop dword [rax]
call sym.time.Time.Before
test al, al
je 0x513c82
mov rcx, qword [0x006ac658]
mov rbx, qword [rsp + 0x80]
cmp rcx, rbx
je 0x513c62
xor eax, eax
nop
jmp 0x513c8c
mov rax, qword [0x006ac650]
mov rbx, qword [rsp + 0x120]
call sym.runtime.memequal
mov rbx, qword [rsp + 0x80]
nop
jmp 0x513c8c
mov rbx, qword [rsp + 0x80]
xor eax, eax
test al, al
je 0x513cb2
mov rcx, qword [0x006ac628]
test rcx, rcx
je 0x513ca2
mov rcx, qword [rcx]
nop
jmp 0x513ca4
xor ecx, ecx
test rcx, rcx
jle 0x513cb2
add rsp, 0x1d8
pop rbp
ret
mov rax, qword [rsp + 0x120]
call sym.net.stat
mov qword [rsp + 0x58], rdi
mov qword [rsp + 0xb0], rax
mov qword [rsp + 0x160], rcx
mov qword [rsp + 0xa8], rbx
nop dword [rax]
test rsi, rsi
je 0x513cf4
mov r9, qword [rsp + 0x80]
xor edx, edx
jmp 0x513dac
mov rdx, qword [0x006ac658]
mov r9, qword [rsp + 0x80]
cmp rdx, r9
je 0x513d0c
xor edx, edx
jmp 0x513d4c
mov rax, qword [0x006ac650]
mov rbx, qword [rsp + 0x120]
mov rcx, rdx
nop
call sym.runtime.memequal
mov rcx, qword [rsp + 0x160]
mov rbx, qword [rsp + 0xa8]
mov rdi, qword [rsp + 0x58]
mov r9, qword [rsp + 0x80]
mov edx, eax
mov rax, qword [rsp + 0xb0]
test dl, dl
jne 0x513d54
xor edx, edx
jmp 0x513dac
mov rdx, qword [0x006ac660]
mov r9, qword [0x006ac668]
mov r10, qword [0x006ac670]
mov rdi, rax
mov rsi, rbx
mov r8, rcx
mov rax, rdx
mov rbx, r9
mov rcx, r10
nop dword [rax + rax]
call sym.time.Time.Equal
mov rcx, qword [rsp + 0x160]
mov rbx, qword [rsp + 0xa8]
mov rdi, qword [rsp + 0x58]
mov r9, qword [rsp + 0x80]
mov edx, eax
mov rax, qword [rsp + 0xb0]
test dl, dl
je 0x513e23
cmp qword [0x006ac678], rdi
jne 0x513e23
mov rax, qword [rsp + 0xc0]
mov rbx, qword [rsp + 0xb8]
mov rcx, qword [rsp + 0x168]
movabs rdi, 0x12a05f200
nop dword [rax + rax]
call sym.time.Time.Add
mov qword [0x006ac638], rax
mov qword [0x006ac640], rbx
cmp dword [0x00700060], 0
je 0x513e13
nop dword [rax]
call sym.runtime.gcWriteBarrier2
mov qword [r11], rcx
mov rax, qword [0x006ac648]
mov qword [r11 + 8], rax
mov qword [0x006ac648], rcx
add rsp, 0x1d8
pop rbp
ret
call sym.runtime.makemap_small
mov qword [rsp + 0x118], rax
call sym.runtime.makemap_small
mov qword [rsp + 0x110], rax
mov rbx, qword [rsp + 0x80]
mov rax, qword [rsp + 0x120]
call sym.net.open
mov qword [rsp + 0x128], rax
test rbx, rbx
je 0x513ec0
mov qword [rsp + 0x130], rcx
mov qword [rsp + 0x88], rbx
mov rdx, qword [0x006abe10]
mov rdi, qword [0x006abe18]
mov rax, rbx
mov rbx, rcx
mov rcx, rdx
call sym.errors.Is
test al, al
jne 0x513eb6
mov rcx, qword [0x006abdf0]
mov rdi, qword [0x006abdf8]
mov rax, qword [rsp + 0x88]
mov rbx, qword [rsp + 0x130]
call sym.errors.Is
test al, al
je 0x513f09
mov rax, qword [rsp + 0x128]
nop
test rax, rax
je 0x513f05
movups xmmword [rsp + 0x170], xmm15
lea rcx, [sym.net.readHosts.func1]
mov qword [rsp + 0x170], rcx
mov qword [rsp + 0x178], rax
lea rcx, [rsp + 0x170]
mov qword [rsp + 0x1d0], rcx
mov byte [rsp + 0x46], 1
call sym.net._file_.readLine
nop
jmp 0x514092
xor eax, eax
jmp 0x513f12
add rsp, 0x1d8
pop rbp
ret
mov byte [rsp + 0x47], al
mov rbx, qword [rsp + 0xb8]
mov rcx, qword [rsp + 0x168]
movabs rdi, 0x12a05f200
mov rax, qword [rsp + 0xc0]
call sym.time.Time.Add
mov qword [0x006ac638], rax
mov qword [0x006ac640], rbx
cmp dword [0x00700060], 0
je 0x513f67
call sym.runtime.gcWriteBarrier2
mov qword [r11], rcx
mov rax, qword [0x006ac648]
mov qword [r11 + 8], rax
mov qword [0x006ac648], rcx
mov rax, qword [rsp + 0x80]
mov qword [0x006ac658], rax
cmp dword [0x00700060], 0
jne 0x513fa2
mov rax, qword [rsp + 0x120]
mov rcx, qword [rsp + 0x118]
mov rbx, qword [rsp + 0x110]
nop
jmp 0x513feb
call sym.runtime.gcWriteBarrier6
mov rax, qword [rsp + 0x120]
mov qword [r11], rax
mov rcx, qword [0x006ac650]
mov qword [r11 + 8], rcx
mov rcx, qword [rsp + 0x118]
mov qword [r11 + 0x10], rcx
mov rbx, qword [0x006ac628]
mov qword [r11 + 0x18], rbx
mov rbx, qword [rsp + 0x110]
mov qword [r11 + 0x20], rbx
mov rsi, qword [0x006ac630]
mov qword [r11 + 0x28], rsi
mov qword [0x006ac650], rax
mov qword [0x006ac628], rcx
mov qword [0x006ac630], rbx
mov rax, qword [rsp + 0xb0]
mov qword [0x006ac660], rax
mov rax, qword [rsp + 0xa8]
mov qword [0x006ac668], rax
cmp dword [0x00700060], 0
jne 0x514031
mov rax, qword [rsp + 0x160]
jmp 0x51404c
call sym.runtime.gcWriteBarrier2
mov rax, qword [rsp + 0x160]
mov qword [r11], rax
mov rcx, qword [0x006ac670]
mov qword [r11 + 8], rcx
mov qword [0x006ac670], rax
mov rax, qword [rsp + 0x58]
mov qword [0x006ac678], rax
movzx eax, byte [rsp + 0x47]
test al, 1
je 0x51407c
and eax, 0xfffffffe
mov byte [rsp + 0x46], al
mov rdx, qword [rsp + 0x1d0]
mov rax, qword [rdx]
call rax
add rsp, 0x1d8
pop rbp
ret
mov rax, qword [rsp + 0x128]
call sym.net._file_.readLine
test cl, cl
je 0x514155
mov qword [rsp + 0x70], rbx
mov qword [rsp + 0x108], rax
mov qword [rsp], rax
mov qword [rsp + 8], rbx
mov byte [rsp + 0x10], 0x23
call sym.internal_bytealg.IndexByteString.abi0
xorps xmm15, xmm15
mov r14, qword [0x006fffd0]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rcx, qword [rsp + 0x18]
test rcx, rcx
jl 0x5140ea
mov rdx, qword [rsp + 0x70]
nop dword [rax + rax]
cmp rdx, rcx
jae 0x5140ef
jmp 0x514785
mov rcx, qword [rsp + 0x70]
mov rax, qword [rsp + 0x108]
mov rbx, rcx
lea rcx, [0x0057aa5c]
mov edi, 4
call sym.net.splitAtBytes
cmp rbx, 2
jl 0x514085
mov qword [rsp + 0x50], rbx
mov qword [rsp + 0xf0], rax
mov rcx, qword [rax]
mov rbx, qword [rax + 8]
mov rax, rcx
call sym.net.parseLiteralIP
test rbx, rbx
je 0x514085
mov qword [rsp + 0x140], rax
mov qword [rsp + 0x98], rbx
mov ecx, 1
xor edx, edx
xor esi, esi
jmp 0x514187
mov eax, 1
jmp 0x513f12
mov rcx, qword [rsp + 0x78]
inc rcx
mov rax, qword [rsp + 0x140]
mov rbx, qword [rsp + 0x98]
mov rdx, qword [rsp + 0x90]
mov rsi, qword [rsp + 0x138]
mov rdi, qword [rsp + 0x50]
cmp rdi, rcx
jle 0x514085
mov qword [rsp + 0x78], rcx
mov qword [rsp + 0x90], rdx
mov qword [rsp + 0x138], rsi
shl rcx, 4
mov qword [rsp + 0xa0], rcx
mov rdx, qword [rsp + 0xf0]
mov rbx, qword [rdx + rcx + 8]
mov qword [rsp + 0x68], rbx
mov rsi, qword [rdx + rcx]
mov qword [rsp + 0x100], rsi
mov qword [rsp], rsi
mov qword [rsp + 8], rbx
mov byte [rsp + 0x10], 0x2e
call sym.internal_bytealg.IndexByteString.abi0
xorps xmm15, xmm15
mov r14, qword [0x006fffd0]
mov r14, qword gs:[r14]
mov r14, qword [r14]
cmp qword [rsp + 0x18], 0xffffffffffffffff
nop
je 0x514247
mov rax, qword [rsp + 0x68]
lea rdx, [rax - 1]
cmp rax, rdx
jbe 0x51477a
mov rbx, qword [rsp + 0x100]
movzx edx, byte [rax + rbx - 1]
cmp dl, 0x2e
je 0x514254
mov rcx, rax
lea rdi, [0x005c6c88]
mov esi, 1
xor eax, eax
call sym.runtime.concatstring2
mov rcx, rbx
mov rbx, rax
mov rax, rcx
jmp 0x514254
mov rbx, qword [rsp + 0x100]
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0x68], rax
mov qword [rsp + 0x100], rbx
mov rdx, qword [rsp + 0xa0]
mov rsi, qword [rsp + 0xf0]
mov rdi, qword [rsi + rdx]
mov rcx, qword [rsi + rdx + 8]
lea rax, [rsp + 0xc8]
mov rbx, rdi
call sym.runtime.stringtoslicebyte
xor ecx, ecx
jmp 0x514751
mov rcx, rbx
mov rbx, rax
xor eax, eax
call sym.runtime.slicebytetostring
mov qword [rsp + 0x60], rbx
mov qword [rsp + 0xf8], rax
mov qword [rsp], rax
mov qword [rsp + 8], rbx
mov byte [rsp + 0x10], 0x2e
call sym.internal_bytealg.IndexByteString.abi0
xorps xmm15, xmm15
mov r14, qword [0x006fffd0]
mov r14, qword gs:[r14]
mov r14, qword [r14]
cmp qword [rsp + 0x18], 0xffffffffffffffff
je 0x51431d
mov rax, qword [rsp + 0x60]
lea rdx, [rax - 1]
cmp rax, rdx
jbe 0x51476f
mov rbx, qword [rsp + 0xf8]
movzx edx, byte [rbx + rax - 1]
cmp dl, 0x2e
je 0x51432a
mov rcx, rax
lea rdi, [0x005c6c88]
mov esi, 1
xor eax, eax
call sym.runtime.concatstring2
mov rcx, rax
mov rax, rbx
mov rbx, rcx
jmp 0x51432a
mov rax, qword [rsp + 0x60]
mov rbx, qword [rsp + 0xf8]
mov qword [rsp + 0xe8], rbx
mov qword [rsp + 0x48], rax
mov rcx, qword [rsp + 0x140]
mov rdi, qword [rsp + 0x98]
lea rax, [0x00554960]
mov rbx, qword [rsp + 0x110]
call sym.runtime.mapassign_faststr
mov rcx, qword [rax + 0x10]
mov rbx, qword [rax + 8]
inc rbx
mov rdx, qword [rax]
mov rsi, qword [rsp + 0x78]
cmp rsi, 1
mov r8, qword [rsp + 0x90]
mov rdi, qword [rsp + 0x48]
cmove r8, rdi
mov qword [rsp + 0x90], r8
mov r9, qword [rsp + 0x138]
mov r10, qword [rsp + 0xe8]
cmove r9, r10
mov qword [rsp + 0x138], r9
cmp rcx, rbx
jae 0x51441d
mov qword [rsp + 0x158], rax
mov rax, rdx
mov edi, 1
lea rsi, [0x0054cd60]
call sym.runtime.growslice
mov rdx, qword [rsp + 0x158]
mov qword [rdx + 0x10], rcx
cmp dword [0x00700060], 0
je 0x5143ef
nop dword [rax]
call sym.runtime.gcWriteBarrier2
mov qword [r11], rax
mov rsi, qword [rdx]
mov qword [r11 + 8], rsi
mov qword [rdx], rax
mov rsi, qword [rsp + 0x78]
mov rdi, qword [rsp + 0x48]
mov r8, qword [rsp + 0x90]
mov r9, qword [rsp + 0x138]
mov r10, qword [rsp + 0xe8]
mov rcx, rax
mov rax, rdx
mov rdx, rcx
mov qword [rax + 8], rbx
lea r11, [rbx - 1]
shl r11, 4
mov r12, qword [rsp + 0x68]
mov qword [rdx + r11 + 8], r12
cmp dword [0x00700060], 0
jne 0x514449
mov rax, r11
mov r12, qword [rsp + 0x100]
jmp 0x514464
mov rax, r11
call sym.runtime.gcWriteBarrier2
mov r12, qword [rsp + 0x100]
mov qword [r11], r12
mov r13, qword [rdx + rax]
mov qword [r11 + 8], r13
mov qword [rdx + rax], r12
movups xmmword [rsp + 0x1a8], xmm15
movups xmmword [rsp + 0x1b0], xmm15
movups xmmword [rsp + 0x1c0], xmm15
lea rax, [0x00554900]
mov rbx, qword [rsp + 0x118]
mov rcx, r10
call sym.runtime.mapaccess2_faststr
mov rdx, qword [rax]
mov qword [rsp + 0x1a8], rdx
movups xmm0, xmmword [rax + 8]
movups xmmword [rsp + 0x1b0], xmm0
movups xmm0, xmmword [rax + 0x18]
movups xmmword [rsp + 0x1c0], xmm0
mov rdx, qword [rsp + 0x1a8]
mov qword [rsp + 0x180], rdx
movups xmm0, xmmword [rsp + 0x1b0]
movups xmmword [rsp + 0x188], xmm0
movups xmm0, xmmword [rsp + 0x1c0]
movups xmmword [rsp + 0x198], xmm0
test bl, bl
je 0x514638
mov rcx, qword [rsp + 0x190]
mov rbx, qword [rsp + 0x188]
inc rbx
mov rax, qword [rsp + 0x180]
cmp rcx, rbx
jae 0x514526
mov edi, 1
lea rsi, [0x0054cd60]
call sym.runtime.growslice
lea rdx, [rbx - 1]
shl rdx, 4
mov rsi, qword [rsp + 0x98]
mov qword [rax + rdx + 8], rsi
cmp dword [0x00700060], 0
jne 0x51454e
mov r8, qword [rsp + 0x140]
jmp 0x514566
call sym.runtime.gcWriteBarrier2
mov r8, qword [rsp + 0x140]
mov qword [r11], r8
mov r9, qword [rax + rdx]
mov qword [r11 + 8], r9
mov qword [rax + rdx], r8
movups xmmword [rsp + 0x1a8], xmm15
movups xmmword [rsp + 0x1b0], xmm15
movups xmmword [rsp + 0x1c0], xmm15
mov qword [rsp + 0x1a8], rax
mov qword [rsp + 0x1b0], rbx
mov qword [rsp + 0x1b8], rcx
mov rdx, qword [rsp + 0x198]
mov rsi, qword [rsp + 0x1a0]
mov qword [rsp + 0x1c0], rdx
mov qword [rsp + 0x1c8], rsi
lea rax, [0x00554900]
mov rbx, qword [rsp + 0x118]
mov rcx, qword [rsp + 0xe8]
mov rdi, qword [rsp + 0x48]
call sym.runtime.mapassign_faststr
test byte [rax], al
cmp dword [0x00700060], 0
je 0x514610
mov qword [rsp + 0x150], rax
mov rbx, rax
lea rcx, [rsp + 0x1a8]
lea rax, [0x0055f560]
call sym.runtime.wbMove
mov rax, qword [rsp + 0x150]
mov rcx, qword [rsp + 0x1a8]
mov qword [rax], rcx
movups xmm0, xmmword [rsp + 0x1b0]
movups xmmword [rax + 8], xmm0
movups xmm0, xmmword [rsp + 0x1c0]
movups xmmword [rax + 0x18], xmm0
jmp 0x51415f
movups xmmword [rsp + 0x1a8], xmm15
movups xmmword [rsp + 0x1b0], xmm15
movups xmmword [rsp + 0x1c0], xmm15
lea rax, [0x0054ecc0]
call sym.runtime.newobject
mov rcx, qword [rsp + 0x98]
mov qword [rax + 8], rcx
cmp dword [0x00700060], 0
jne 0x514680
mov rdx, qword [rsp + 0x140]
jmp 0x514690
call sym.runtime.gcWriteBarrier1
mov rdx, qword [rsp + 0x140]
mov qword [r11], rdx
mov qword [rax], rdx
mov qword [rsp + 0x1a8], rax
mov qword [rsp + 0x1b0], 1
mov qword [rsp + 0x1b8], 1
mov rsi, qword [rsp + 0x138]
mov qword [rsp + 0x1c0], rsi
mov r8, qword [rsp + 0x90]
mov qword [rsp + 0x1c8], r8
lea rax, [0x00554900]
mov rbx, qword [rsp + 0x118]
mov rcx, qword [rsp + 0xe8]
mov rdi, qword [rsp + 0x48]
call sym.runtime.mapassign_faststr
test byte [rax], al
cmp dword [0x00700060], 0
je 0x514726
mov qword [rsp + 0x148], rax
mov rbx, rax
lea rcx, [rsp + 0x1a8]
lea rax, [0x0055f560]
call sym.runtime.wbMove
mov rax, qword [rsp + 0x148]
mov rcx, qword [rsp + 0x1a8]
mov qword [rax], rcx
movups xmm0, xmmword [rsp + 0x1b0]
movups xmmword [rax + 8], xmm0
movups xmm0, xmmword [rsp + 0x1c0]
movups xmmword [rax + 0x18], xmm0
jmp 0x51415f
inc rcx
cmp rbx, rcx
jle 0x514291
movzx edx, byte [rax + rcx]
lea esi, [rdx - 0x41]
cmp sil, 0x19
ja 0x51474e
add edx, 0x20
mov byte [rax + rcx], dl
jmp 0x51474e
mov rcx, rax
mov rax, rdx
call sym.runtime.panicIndex
mov rcx, rax
mov rax, rdx
call sym.runtime.panicIndex
call sym.runtime.panicSliceAlen
nop
call sym.runtime.deferreturn
add rsp, 0x1d8
pop rbp
ret
call sym.runtime.morestack_noctxt.abi0
nop
jmp sym.net.readHosts