Function at 0x511620
Capabilities:
Access peb ldr_data

Disassembly:
lea r12, [rsp - 0x10]
cmp r12, qword [r14 + 0x10]
jbe 0x5118f1
push rbp
mov rbp, rsp
sub rsp, 0x88
mov qword [rsp + 0x98], rax
mov qword [rsp + 0xb8], rsi
mov qword [rsp + 0xb0], rdi
test r9, r9
jne 0x511761
nop dword [rax + rax]
cmp rbx, rsi
jne 0x511678
test rbx, rbx
je 0x511678
cmp rax, rdi
jne 0x511678
add rsp, 0x88
pop rbp
ret
test rcx, rcx
je 0x51169e
nop dword [rax]
test r8, r8
je 0x51169e
lea rdx, [rax + rcx*8]
lea rdx, [rdx - 8]
lea r10, [rdi + r8*8]
lea r10, [r10 - 8]
cmp r10, rdx
je 0x511761
nop
cmp rcx, rsi
jl 0x5116aa
mov rdx, rsi
jmp 0x511712
cmp rsi, 1
jne 0x5116e2
lea rax, [0x0056f5c0]
mov ebx, 1
mov rcx, rbx
nop
call sym.runtime.makeslice
mov rdx, qword [rsp + 0xb8]
mov rdi, qword [rsp + 0xb0]
mov esi, 1
mov ecx, 1
nop
jmp 0x511712
lea rcx, [rsi + 4]
mov qword [rsp + 0x48], rcx
lea rax, [0x0056f5c0]
mov rbx, rsi
call sym.runtime.makeslice
mov rdx, qword [rsp + 0xb8]
mov rdi, qword [rsp + 0xb0]
mov rsi, rdx
mov rcx, qword [rsp + 0x48]
cmp rdx, rsi
mov rbx, rsi
cmovl rsi, rdx
nop dword [rax]
cmp rdi, rax
je 0x511758
mov qword [rsp + 0x50], rcx
mov qword [rsp + 0x70], rbx
mov qword [rsp + 0x80], rax
shl rsi, 3
mov rbx, rdi
mov rcx, rsi
call sym.runtime.memmove
mov rax, qword [rsp + 0x80]
mov rcx, qword [rsp + 0x50]
mov rbx, qword [rsp + 0x70]
add rsp, 0x88
pop rbp
ret
mov rdx, r9
shr r9, 6
mov rbx, rsi
sub rbx, r9
test rbx, rbx
jle 0x5118a3
cmp rcx, rbx
jl 0x511785
mov r9, rbx
nop
jmp 0x51181e
mov qword [rsp + 0x68], rdx
mov qword [rsp + 0x58], rbx
mov qword [rsp + 0xc0], r8
cmp rbx, 1
jne 0x5117df
lea rax, [0x0056f5c0]
mov ebx, 1
mov rcx, rbx
call sym.runtime.makeslice
mov rdx, qword [rsp + 0x68]
mov rsi, qword [rsp + 0xb8]
mov rdi, qword [rsp + 0xb0]
mov r8, qword [rsp + 0xc0]
mov r9, qword [rsp + 0x58]
mov ecx, 1
mov ebx, 1
jmp 0x51181e
lea rcx, [rbx + 4]
mov qword [rsp + 0x40], rcx
lea rax, [0x0056f5c0]
call sym.runtime.makeslice
mov rdx, qword [rsp + 0x68]
mov rsi, qword [rsp + 0xb8]
mov rdi, qword [rsp + 0xb0]
mov r8, qword [rsp + 0xc0]
mov r9, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x40]
mov rbx, r9
mov r10, rsi
sub rsi, r9
cmp r10, rsi
jb 0x5118e5
mov qword [rsp + 0x40], rcx
mov qword [rsp + 0x60], rbx
mov qword [rsp + 0x78], rax
mov qword [rsp], rax
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rcx
sub r8, rsi
sub r10, rsi
mov r9, r8
neg r8
shl rsi, 3
sar r8, 0x3f
and rsi, r8
add rsi, rdi
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], r10
mov qword [rsp + 0x28], r9
and edx, 0x3f
mov qword [rsp + 0x30], rdx
nop dword [rax + rax]
call sym.math_big.shrVU.abi0
xorps xmm15, xmm15
mov r14, qword [0x00773008]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rax, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x60]
jmp 0x5118b1
xor ebx, ebx
add rsp, 0x88
pop rbp
ret
dec rcx
test rcx, rcx
jle 0x5118c5
mov rsi, qword [rax + rcx*8 - 8]
nop dword [rax + rax]
test rsi, rsi
je 0x5118ae
mov rdx, qword [rsp + 0x40]
cmp rcx, rdx
ja 0x5118de
mov rbx, rcx
mov rcx, rdx
add rsp, 0x88
pop rbp
ret
nop
call sym.runtime.panicSliceAcap
mov rax, rsi
mov rcx, r10
call sym.runtime.panicSliceB
nop
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rcx
mov qword [rsp + 0x20], rdi
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x30], r8
mov qword [rsp + 0x38], r9
call sym.runtime.morestack_noctxt.abi0
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
mov rcx, qword [rsp + 0x18]
mov rdi, qword [rsp + 0x20]
mov rsi, qword [rsp + 0x28]
mov r8, qword [rsp + 0x30]
mov r9, qword [rsp + 0x38]
nop dword [rax]
jmp sym.math_big.nat.shr