Function at 0x412860
Capabilities:
Access peb ldr_data

Disassembly:
lea r12, [rsp - 0x130]
cmp r12, qword [r14 + 0x10]
jbe 0x412cd2
push rbp
mov rbp, rsp
sub rsp, 0x1a8
mov qword [rsp + 0x78], r14
nop
nop
lea rax, [0x00559d18]
call sym.runtime.lock2
cmp dword [0x00559ea0], 0
jne 0x4128a2
mov rcx, qword [rsp + 0x78]
nop
jmp 0x4128ba
call sym.runtime.gcWriteBarrier2
mov rcx, qword [rsp + 0x78]
mov qword [r11], rcx
mov rdx, qword [0x00506a68]
mov qword [r11 + 8], rdx
mov qword [0x00506a68], rcx
nop
nop
lea rax, [0x00559d18]
call sym.runtime.unlock2
xor eax, eax
xor ecx, ecx
mov qword [rsp + 0x80], rcx
mov qword [rsp + 0x38], rax
nop
lea rax, [0x00559d18]
call sym.runtime.lock2
mov rcx, qword [0x00559d20]
mov qword [0x00559d20], 0
nop
test rcx, rcx
je 0x412945
mov qword [rsp + 0x40], rcx
nop
mov rcx, qword [0x004ff330]
mov qword [rsp + 0x68], rcx
lea rax, [0x00559d18]
nop
call sym.runtime.unlock2
mov rcx, qword [rsp + 0x68]
mov rdx, qword [rsp + 0x80]
mov rbx, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
nop dword [rax]
jmp 0x4129e0
lea rax, sym.runtime.finalizercommit
lea rbx, [0x00559d18]
mov ecx, 0x10
mov edi, 0x14
mov esi, 1
call sym.runtime.gopark
mov rax, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x80]
jmp 0x4128d3
mov qword [rsp + 0x88], rdx
mov qword [rsp + 0x50], rbx
mov rcx, qword [rsi + 8]
mov qword [rsp + 0x48], rcx
nop
nop
lea rax, [0x00559d18]
call sym.runtime.lock2
mov rcx, qword [0x00559d28]
mov rdx, qword [rsp + 0x40]
mov qword [rdx + 8], rcx
mov qword [0x00559d28], rdx
nop
nop
lea rax, [0x00559d18]
nop dword [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 0x4129f0
mov qword [rsp + 0x40], rsi
mov r8d, dword [rsi + 0x10]
jmp 0x412a31
mov rax, rbx
mov rcx, rdx
jmp 0x4128d3
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 0x412979
lea eax, [r8 - 1]
nop
cmp rax, 0x65
jae 0x412cc7
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.00459c4b
mov rbp, qword [rbp]
mov r9, qword [rsi + r8*8 + 0x28]
add r9, 0x10
mov qword [rsp + 0x38], r9
cmp rbx, r9
jae 0x412ab6
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 0x412cb6
test rcx, rcx
jle 0x412ad8
lea rdi, [rsp + 0x98]
jmp 0x412adf
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 0x412bc8
test byte [rdi], al
mov r11, qword [rsi + r8*8 + 0x38]
test byte [r11], al
cmp dword [0x00559ea0], 0
je 0x412b32
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 [0x00559ea0], 0
je 0x412b59
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 0x412bf4
mov qword [rsp + 0x70], rdi
mov rax, r10
mov rbx, r11
xor ecx, ecx
call sym.runtime.getitab
cmp dword [0x00559ea0], 0
jne 0x412b8a
mov rcx, qword [rsp + 0x70]
jmp 0x412b9e
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 0x412bf4
cmp r11b, 0x16
jne 0x412ca5
test byte [rdi], al
mov r10, qword [rsi + r8*8 + 0x20]
cmp dword [0x00559ea0], 0
je 0x412bf1
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, [0x00559c60]
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 [0x00559e60]
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, [0x00559c60]
lock and dword [rsi], ebx
cmp dword [0x00559ea0], 0
je 0x4129fb
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 0x4129fb
lea rax, [0x0048a888]
mov ebx, 0x13
call sym.runtime.throw
lea rax, [0x0048babc]
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