Function at 0x509de0
Capabilities:
Access peb ldr_data

Disassembly:
lea r12, [rsp - 0x20]
cmp r12, qword [r14 + 0x10]
jbe 0x50a248
push rbp
mov rbp, rsp
sub rsp, 0x98
mov qword [rsp + 0xb0], rbx
test rcx, rcx
je 0x509e14
movzx edx, byte [rcx + rbx - 1]
cmp dl, 0x2e
sete dl
jmp 0x509e20
xor edx, edx
nop word [rax + rax]
nop
cmp rcx, 0xfe
jg 0x50a054
mov qword [rsp + 0xb0], rbx
mov qword [rsp + 0xb8], rcx
nop dword [rax]
je 0x509fdf
test dl, dl
jne 0x509fe4
mov qword [rsp + 0xa8], rax
mov qword [rsp], rbx
mov qword [rsp + 8], rcx
mov byte [rsp + 0x10], 0x2e
call sym.internal_bytealg.CountString.abi0
xorps xmm15, xmm15
mov r14, qword [0x007d4e58]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rax, qword [rsp + 0x18]
mov qword [rsp + 0x70], rax
mov rcx, qword [rsp + 0xa8]
mov rdx, qword [rcx + 0x30]
mov qword [rsp + 0x68], rdx
mov rbx, qword [rsp + 0xb0]
lea rdi, [0x00618738]
mov esi, 1
xor eax, eax
mov rcx, qword [rsp + 0xb8]
call sym.runtime.concatstring2
mov qword [rsp + 0x90], rax
mov qword [rsp + 0x60], rbx
mov rcx, qword [rsp + 0xa8]
mov rdx, qword [rcx + 0x20]
mov qword [rsp + 0x58], rdx
lea rsi, [rdx + 1]
mov qword [rsp + 0x48], rsi
lea rax, [0x00585b00]
xor ebx, ebx
mov rcx, rsi
call sym.runtime.makeslice
mov rcx, qword [rsp + 0x68]
mov rdx, qword [rsp + 0x70]
nop dword [rax + rax]
cmp rcx, rdx
jle 0x509f09
xor ebx, ebx
jmp 0x509f40
mov qword [rsp + 0x88], rax
mov rax, qword [rsp + 0x90]
mov rbx, qword [rsp + 0x60]
nop
call sym.net.avoidDNS
xor eax, 1
mov rcx, qword [rsp + 0x68]
mov rdx, qword [rsp + 0x70]
mov ebx, eax
mov rax, qword [rsp + 0x88]
nop dword [rax]
test bl, bl
je 0x509fb6
mov r8, qword [rsp + 0x58]
cmp r8, 0xffffffffffffffff
je 0x509f56
mov rbx, qword [rsp + 0x48]
jmp 0x509f79
mov ebx, 1
xor ecx, ecx
mov rdi, rbx
lea rsi, [0x00585b00]
call sym.runtime.growslice
mov rdx, qword [rsp + 0x70]
mov rbx, rcx
mov rcx, qword [rsp + 0x68]
mov r8, qword [rsp + 0x60]
mov qword [rax + 8], r8
cmp dword [0x007d4f20], 0
jne 0x509f95
mov r9, qword [rsp + 0x90]
jmp 0x509fac
call sym.runtime.gcWriteBarrier2
mov r9, qword [rsp + 0x90]
mov qword [r11], r9
mov r10, qword [rax]
mov qword [r11 + 8], r10
mov qword [rax], r9
mov esi, 1
jmp 0x509fca
mov r8, qword [rsp + 0x60]
mov r9, qword [rsp + 0x90]
mov rbx, qword [rsp + 0x48]
xor esi, esi
mov r10, qword [rsp + 0xa8]
mov r11, qword [r10 + 0x18]
mov r10, qword [r10 + 0x20]
jmp 0x50a095
nop
test dl, dl
je 0x50a054
mov rax, rbx
mov rbx, rcx
call sym.net.avoidDNS
test al, al
jne 0x50a044
lea rax, [0x005888e0]
call sym.runtime.newobject
mov rcx, qword [rsp + 0xb8]
mov qword [rax + 8], rcx
cmp dword [0x007d4f20], 0
jne 0x50a020
mov rdx, qword [rsp + 0xb0]
jmp 0x50a030
call sym.runtime.gcWriteBarrier1
mov rdx, qword [rsp + 0xb0]
mov qword [r11], rdx
mov qword [rax], rdx
mov ebx, 1
mov rcx, rbx
add rsp, 0x98
pop rbp
ret
xor eax, eax
xor ebx, ebx
mov rcx, rbx
add rsp, 0x98
pop rbp
ret
xor eax, eax
xor ebx, ebx
mov rcx, rbx
add rsp, 0x98
pop rbp
ret
mov r11, qword [rsp + 0x88]
add r11, 0x10
mov r10, qword [rsp + 0x58]
dec r10
mov rdx, qword [rsp + 0x70]
mov r8, qword [rsp + 0x60]
mov r9, qword [rsp + 0x90]
mov rsi, rbx
mov rbx, rcx
mov rcx, qword [rsp + 0x68]
mov qword [rsp + 0x40], rsi
mov qword [rsp + 0x78], rax
mov qword [rsp + 0x48], rbx
test r10, r10
jle 0x50a199
mov qword [rsp + 0x58], r10
mov qword [rsp + 0x88], r11
mov rdi, qword [r11]
mov rsi, qword [r11 + 8]
xor eax, eax
mov rbx, r9
mov rcx, r8
call sym.runtime.concatstring2
mov qword [rsp + 0x80], rax
mov qword [rsp + 0x50], rbx
nop dword [rax + rax]
call sym.net.avoidDNS
test al, al
je 0x50a0fd
mov rcx, qword [rsp + 0x48]
mov rbx, qword [rsp + 0x40]
mov rax, qword [rsp + 0x78]
jmp 0x50a064
mov rdx, qword [rsp + 0x50]
cmp rdx, 0xfe
jg 0x50a185
mov rbx, qword [rsp + 0x40]
inc rbx
mov rcx, qword [rsp + 0x48]
cmp rcx, rbx
jb 0x50a124
mov rax, qword [rsp + 0x78]
jmp 0x50a13f
mov rax, qword [rsp + 0x78]
mov edi, 1
lea rsi, [0x00585b00]
call sym.runtime.growslice
mov rdx, qword [rsp + 0x50]
lea r8, [rbx - 1]
shl r8, 4
mov qword [rax + r8 + 8], rdx
cmp dword [0x007d4f20], 0
jne 0x50a160
mov rdx, qword [rsp + 0x80]
jmp 0x50a178
call sym.runtime.gcWriteBarrier2
mov rdx, qword [rsp + 0x80]
mov qword [r11], rdx
mov r9, qword [rax + r8]
mov qword [r11 + 8], r9
mov qword [rax + r8], rdx
nop dword [rax]
jmp 0x50a064
mov rcx, qword [rsp + 0x48]
mov rbx, qword [rsp + 0x40]
mov rax, qword [rsp + 0x78]
jmp 0x50a064
cmp rcx, rdx
jg 0x50a1a2
xor ecx, ecx
jmp 0x50a1ce
mov rax, r9
mov rbx, r8
call sym.net.avoidDNS
xor eax, 1
mov rbx, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x40]
mov r8, qword [rsp + 0x60]
mov r9, qword [rsp + 0x90]
mov ecx, eax
mov rax, qword [rsp + 0x78]
test cl, cl
je 0x50a236
lea rdx, [rsi + 1]
cmp rbx, rdx
jae 0x50a205
mov rcx, rbx
mov edi, 1
lea rsi, [0x00585b00]
mov rbx, rdx
call sym.runtime.growslice
mov r8, qword [rsp + 0x60]
mov r9, qword [rsp + 0x90]
mov rdx, rbx
mov rbx, rcx
lea rsi, [rdx - 1]
shl rsi, 4
mov qword [rax + rsi + 8], r8
cmp dword [0x007d4f20], 0
je 0x50a230
nop dword [rax + rax]
call sym.runtime.gcWriteBarrier2
mov qword [r11], r9
mov rdi, qword [rax + rsi]
mov qword [r11 + 8], rdi
mov qword [rax + rsi], r9
jmp 0x50a239
mov rdx, rsi
mov rcx, rbx
mov rbx, rdx
add rsp, 0x98
pop rbp
ret
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rcx
call sym.runtime.morestack_noctxt.abi0
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
mov rcx, qword [rsp + 0x18]
jmp sym.net._dnsConfig_.nameList