Function at 0x140016840
Capabilities:
Access peb ldr_data

Disassembly:
lea r12, [rsp - 0x130]
cmp r12, qword [r14 + 0x10]
jbe 0x140016cf2
push rbp
mov rbp, rsp
sub rsp, 0x1a8
mov qword [rsp + 0x78], r14
nop
nop
lea rax, [0x1402e63e8]
call sym.runtime.lock2
cmp dword [0x1402e65b0], 0
jne 0x140016882
mov rcx, qword [rsp + 0x78]
nop
jmp 0x14001689a
call sym.runtime.gcWriteBarrier2
mov rcx, qword [rsp + 0x78]
mov qword [r11], rcx
mov rdx, qword [0x140293100]
mov qword [r11 + 8], rdx
mov qword [0x140293100], rcx
nop
nop
lea rax, [0x1402e63e8]
call sym.runtime.unlock2
xor eax, eax
xor ecx, ecx
mov qword [rsp + 0x80], rcx
mov qword [rsp + 0x38], rax
nop
lea rax, [0x1402e63e8]
call sym.runtime.lock2
mov rcx, qword [0x1402e63f0]
mov qword [0x1402e63f0], 0
nop
test rcx, rcx
je 0x14001695e
mov qword [rsp + 0x40], rcx
nop
nop
mov rcx, qword [0x140115230]
mov qword [rsp + 0x68], rcx
lea rax, [0x1402e63e8]
nop
call sym.runtime.unlock2
mov rcx, qword [r14 + 0x130]
lea rdx, [sym.__tsan_finalizer_goroutine]
mov qword [rsp], rdx
mov qword [rsp + 8], rcx
movups xmmword [rsp + 0x10], xmm15
mov qword [rsp + 0x20], 0
call sym.runtime.racecall.abi0
xorps xmm15, xmm15
mov r14, qword [0x1402e6578]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rcx, qword [rsp + 0x68]
mov rdx, qword [rsp + 0x80]
mov rbx, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
jmp 0x140016a00
lea rax, sym.runtime.finalizercommit
lea rbx, [0x1402e63e8]
mov ecx, 0x10
mov edi, 0x14
mov esi, 1
nop dword [rax + rax]
call sym.runtime.gopark
mov rax, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x80]
jmp 0x1400168b3
mov qword [rsp + 0x88], rdx
mov qword [rsp + 0x50], rbx
mov rcx, qword [rsi + 8]
mov qword [rsp + 0x48], rcx
nop
nop
lea rax, [0x1402e63e8]
call sym.runtime.lock2
mov rcx, qword [0x1402e63f8]
mov rdx, qword [rsp + 0x40]
mov qword [rdx + 8], rcx
mov qword [0x1402e63f8], rdx
nop
nop
lea rax, [0x1402e63e8]
nop dword [rax + rax]
call sym.runtime.unlock2
mov rcx, qword [rsp + 0x68]
mov rdx, qword [rsp + 0x88]
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x48]
nop dword [rax]
test rsi, rsi
je 0x140016a10
mov qword [rsp + 0x40], rsi
mov r8d, dword [rsi + 0x10]
jmp 0x140016a51
mov rax, rbx
mov rcx, rdx
jmp 0x1400168b3
movups xmmword [rdx], xmm15
mov qword [rcx + rax*8 + 0x38], 0
mov r8d, dword [rsp + 0x34]
mov r9d, r8d
xchg dword [rcx + 0x10], r9d
mov r9, qword [rsp + 0x68]
mov rdx, qword [rsp + 0x90]
mov r10, qword [rsp + 0x58]
mov rcx, r9
mov rsi, qword [rsp + 0x40]
mov rbx, r10
test r8d, r8d
jbe 0x140016997
lea eax, [r8 - 1]
nop
cmp rax, 0x65
jae 0x140016ce7
mov dword [rsp + 0x34], eax
lea r8, [rax + rax*4]
mov qword [rsp + 0x60], r8
lea rdi, [rsp + 0x98]
lea rdi, [rdi - 0x30]
mov qword [rsp - 0x10], rbp
lea rbp, [rsp - 0x10]
call fcn.1400615ab
mov rbp, qword [rbp]
mov r9, qword [rsi + r8*8 + 0x28]
add r9, 0x10
mov qword [rsp + 0x38], r9
cmp rbx, r9
jae 0x140016ad6
mov rax, r9
xor ebx, ebx
mov ecx, 1
call sym.runtime.mallocgc
mov rcx, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x40]
mov r8, qword [rsp + 0x60]
mov r9, qword [rsp + 0x38]
mov rbx, r9
mov rdx, rax
mov eax, dword [rsp + 0x34]
mov rdi, qword [rsi + r8*8 + 0x30]
nop dword [rax + rax]
test rdi, rdi
je 0x140016cd6
test rcx, rcx
jle 0x140016af8
lea rdi, [rsp + 0x98]
jmp 0x140016aff
movups xmmword [rdx], xmm15
mov rdi, rdx
mov qword [rsp + 0x90], rdx
mov qword [rsp + 0x58], rbx
mov r10, qword [rsi + r8*8 + 0x30]
movzx r11d, byte [r10 + 0x17]
and r11d, 0x1f
nop word [rax + rax]
cmp r11b, 0x14
jne 0x140016be8
test byte [rdi], al
mov r11, qword [rsi + r8*8 + 0x38]
test byte [r11], al
cmp dword [0x1402e65b0], 0
je 0x140016b52
mov r12, r11
call sym.runtime.gcWriteBarrier2
mov qword [r11], r12
mov r13, qword [rdi]
mov qword [r11 + 8], r13
mov r11, r12
mov qword [rdi], r11
mov r12, qword [rsi + r8*8 + 0x20]
cmp dword [0x1402e65b0], 0
je 0x140016b79
mov r13, r11
call sym.runtime.gcWriteBarrier2
mov qword [r11], r12
mov r15, qword [rdi + 8]
mov qword [r11 + 8], r15
mov r11, r13
mov qword [rdi + 8], r12
cmp qword [r10 + 0x40], 0
je 0x140016c14
mov qword [rsp + 0x70], rdi
mov rax, r10
mov rbx, r11
xor ecx, ecx
call sym.runtime.getitab
cmp dword [0x1402e65b0], 0
jne 0x140016baa
mov rcx, qword [rsp + 0x70]
jmp 0x140016bbe
call sym.runtime.gcWriteBarrier2
mov qword [r11], rax
mov rcx, qword [rsp + 0x70]
mov rdx, qword [rcx]
mov qword [r11 + 8], rdx
mov qword [rcx], rax
mov eax, dword [rsp + 0x34]
mov rcx, qword [rsp + 0x68]
mov rdx, qword [rsp + 0x90]
mov rbx, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x40]
mov r8, qword [rsp + 0x60]
mov r9, qword [rsp + 0x38]
jmp 0x140016c14
cmp r11b, 0x16
jne 0x140016cc5
test byte [rdi], al
mov r10, qword [rsi + r8*8 + 0x20]
cmp dword [0x1402e65b0], 0
je 0x140016c11
call sym.runtime.gcWriteBarrier2
mov qword [r11], r10
mov r12, qword [rdi]
mov qword [r11 + 8], r12
mov qword [rdi], r10
nop
mov eax, 2
lea rcx, [0x1402e6320]
lock or dword [rcx], eax
mov rbx, qword [rsi + r8*8 + 0x18]
mov qword [rsp], 0
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdx
mov dword [rsp + 0x18], r9d
mov dword [rsp + 0x1c], r9d
mov dword [rsp + 0x20], r9d
lea rbx, [rsp + 0x98]
mov qword [rsp + 0x28], rbx
call sym.runtime.reflectcall.abi0
xorps xmm15, xmm15
mov r14, qword [0x1402e6578]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rax, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x40]
lea rdx, [rcx + rax*8]
lea rdx, [rdx + 0x18]
nop
mov ebx, 0xfffffffd
lea rsi, [0x1402e6320]
lock and dword [rsi], ebx
cmp dword [0x1402e65b0], 0
je 0x140016a1b
mov rsi, qword [rcx + rax*8 + 0x18]
call sym.runtime.gcWriteBarrier3
mov qword [r11], rsi
mov rsi, qword [rcx + rax*8 + 0x20]
mov qword [r11 + 8], rsi
mov rsi, qword [rcx + rax*8 + 0x38]
mov qword [r11 + 0x10], rsi
nop dword [rax]
jmp 0x140016a1b
lea rax, [0x140149049]
mov ebx, 0x13
call sym.runtime.throw
lea rax, [0x14014a481]
mov ebx, 0x17
call sym.runtime.throw
mov ecx, 0x65
call sym.runtime.panicIndex
nop
call sym.runtime.morestack_noctxt.abi0
jmp sym.runtime.runfinq