Function at 0x51da80
Capabilities:
Access peb ldr_data

Disassembly:
lea r12, [rsp - 0x28]
cmp r12, qword [r14 + 0x10]
jbe 0x51dfc6
push rbp
mov rbp, rsp
sub rsp, 0xa0
mov qword [rsp + 0xd8], rax
mov qword [rsp + 0xf0], rdi
mov qword [rsp + 0x108], r9
mov rbx, qword [rsp + 0xd0]
nop word [rax + rax]
cmp rsi, rbx
jne 0x51dfb0
cmp r10, rbx
jne 0x51dfb0
mov r10, qword [rsp + 0xb8]
nop word [rax + rax]
cmp r10, rbx
jne 0x51dfb0
mov qword [rsp + 0xf8], rsi
mov qword [rsp + 0x100], r8
mov qword [rsp + 0xf0], rdi
mov qword [rsp + 0x108], r9
mov r11, rbx
shl r11, 1
cmp rcx, r11
jl 0x51db20
jae 0x51dbd8
jmp 0x51dfa5
cmp r11, 1
jne 0x51db77
lea rax, [0x00662a40]
mov ebx, 1
mov rcx, rbx
call sym.runtime.makeslice
mov rbx, qword [rsp + 0xd0]
mov rsi, qword [rsp + 0xf8]
mov rdi, qword [rsp + 0xf0]
mov r8, qword [rsp + 0x100]
mov r9, qword [rsp + 0x108]
mov r10, qword [rsp + 0xb8]
mov r11d, 1
mov ecx, 1
jmp 0x51dbd8
mov qword [rsp + 0x88], r11
lea rcx, [rbx + rbx]
lea rcx, [rcx + 4]
mov qword [rsp + 0x50], rcx
lea rax, [0x00662a40]
mov rbx, r11
call sym.runtime.makeslice
mov rbx, qword [rsp + 0xd0]
mov rsi, qword [rsp + 0xf8]
mov rdi, qword [rsp + 0xf0]
mov r8, qword [rsp + 0x100]
mov r9, qword [rsp + 0x108]
mov r10, qword [rsp + 0xb8]
mov r11, qword [rsp + 0x88]
mov rcx, qword [rsp + 0x50]
mov qword [rsp + 0x60], rcx
mov qword [rsp + 0x58], r11
mov qword [rsp + 0x90], rax
nop
test r11, r11
je 0x51dc3e
mov rbx, r11
shl rbx, 3
call sym.runtime.memclrNoHeapPointers
mov rax, qword [rsp + 0x90]
mov rcx, qword [rsp + 0x60]
mov rbx, qword [rsp + 0xd0]
mov rsi, qword [rsp + 0xf8]
mov rdi, qword [rsp + 0xf0]
mov r8, qword [rsp + 0x100]
mov r9, qword [rsp + 0x108]
mov r10, qword [rsp + 0xb8]
mov r11, qword [rsp + 0x58]
xor edx, edx
xor r12d, r12d
jmp 0x51dca0
mov rdx, qword [rsp + 0x68]
inc rdx
mov r13, qword [rsp + 0xf8]
mov r15, qword [rsp + 0x100]
mov rbx, qword [rsp + 0xd0]
mov r9, qword [rsp + 0x108]
mov rdi, qword [rsp + 0xf0]
mov rcx, qword [rsp + 0x60]
mov rsi, r13
mov r8, r15
mov r10, qword [rsp + 0xb8]
mov r11, qword [rsp + 0x58]
mov r12, rax
mov rax, qword [rsp + 0x90]
nop dword [rax + rax]
cmp rbx, rdx
jle 0x51de30
lea r13, [rdx + rbx]
mov r15, qword [r9 + rdx*8]
cmp rcx, r13
jb 0x51df96
nop word [rax + rax]
cmp rdx, r13
ja 0x51df8b
mov qword [rsp + 0x68], rdx
mov qword [rsp + 0x88], r13
mov qword [rsp + 0x78], r12
mov r9, rdx
shl rdx, 3
sub rcx, r9
mov qword [rsp + 0x80], rcx
mov r11, rcx
neg rcx
sar rcx, 0x3f
and rdx, rcx
lea rcx, [rax + rdx]
mov qword [rsp + 0x98], rcx
mov qword [rsp], rcx
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], r11
mov qword [rsp + 0x18], rdi
mov qword [rsp + 0x20], rsi
mov qword [rsp + 0x28], r8
mov qword [rsp + 0x30], r15
call sym.math_big.addMulVVW.abi0
xorps xmm15, xmm15
mov r14, qword [0x00927048]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rax, qword [rsp + 0x68]
mov rcx, qword [rsp + 0x58]
cmp rax, rcx
jae 0x51df86
mov rcx, qword [rsp + 0x38]
mov qword [rsp + 0x70], rcx
mov rdx, qword [rsp + 0x90]
mov rbx, qword [rdx + rax*8]
mov rsi, qword [rsp + 0x98]
mov qword [rsp], rsi
mov rsi, qword [rsp + 0xd0]
mov qword [rsp + 8], rsi
mov rdi, qword [rsp + 0x80]
mov qword [rsp + 0x10], rdi
mov rdi, qword [rsp + 0xb0]
mov qword [rsp + 0x18], rdi
mov r8, qword [rsp + 0xb8]
mov qword [rsp + 0x20], r8
mov r9, qword [rsp + 0xc0]
mov qword [rsp + 0x28], r9
mov r10, qword [rsp + 0xc8]
imul rbx, r10
mov qword [rsp + 0x30], rbx
call sym.math_big.addMulVVW.abi0
xorps xmm15, xmm15
mov r14, qword [0x00927048]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rax, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x70]
mov rdx, qword [rsp + 0x78]
add rdx, rcx
lea rbx, [rdx + rax]
mov rsi, qword [rsp + 0x58]
mov rdi, qword [rsp + 0x88]
cmp rsi, rdi
jbe 0x51df7b
mov r8, qword [rsp + 0x90]
mov qword [r8 + rdi*8], rbx
cmp rcx, rdx
ja 0x51de1f
cmp rax, rbx
jbe 0x51de29
mov eax, 1
jmp 0x51dc45
xor eax, eax
jmp 0x51dc45
test r12, r12
je 0x51ded6
nop dword [rax]
cmp rbx, rcx
ja 0x51df70
cmp rbx, r11
ja 0x51df65
mov qword [rsp], rax
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rcx
sub rcx, rbx
sub r11, rbx
mov rsi, rcx
neg rcx
shl rbx, 3
sar rcx, 0x3f
and rcx, rbx
add rcx, rax
mov qword [rsp + 0x18], rcx
mov qword [rsp + 0x20], r11
mov qword [rsp + 0x28], rsi
mov rcx, qword [rsp + 0xb0]
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x38], r10
mov rcx, qword [rsp + 0xc0]
mov qword [rsp + 0x40], rcx
call sym.math_big.subVV.abi0
xorps xmm15, xmm15
mov r14, qword [0x00927048]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rax, qword [rsp + 0x90]
mov rcx, qword [rsp + 0x60]
mov rbx, qword [rsp + 0xd0]
jmp 0x51df33
cmp rbx, rcx
ja 0x51df57
nop dword [rax + rax]
cmp rbx, r11
ja 0x51df4c
sub r11, rbx
mov rsi, rbx
sub rsi, rcx
mov rdi, rbx
shl rdi, 3
sar rsi, 0x3f
and rsi, rdi
lea rdi, [rax + rsi]
cmp rbx, r11
mov r8, rbx
cmovg r8, r11
test rsi, rsi
je 0x51df33
shl r8, 3
mov rbx, rdi
mov rcx, r8
call sym.runtime.memmove
mov rax, qword [rsp + 0x90]
mov rcx, qword [rsp + 0x60]
mov rbx, qword [rsp + 0xd0]
cmp rbx, rcx
ja 0x51df41
add rsp, 0xa0
pop rbp
ret
mov rdx, rcx
mov rcx, rbx
call sym.runtime.panicSliceAcap
mov rax, rbx
mov rcx, r11
call sym.runtime.panicSliceB
mov rdx, rcx
mov rcx, rbx
nop dword [rax]
call sym.runtime.panicSliceAcap
mov rax, rbx
mov rcx, r11
call sym.runtime.panicSliceB
mov rdx, rcx
mov rcx, rbx
call sym.runtime.panicSliceAcap
mov rax, rdi
mov rcx, rsi
call sym.runtime.panicIndex
call sym.runtime.panicIndex
mov rax, rdx
mov rcx, r13
call sym.runtime.panicSliceB
mov rdx, rcx
mov rcx, r13
nop dword [rax]
call sym.runtime.panicSliceAcap
mov rdx, rcx
mov rcx, r11
call sym.runtime.panicSliceAcap
lea rax, [0x00661e40]
lea rbx, [0x00732b60]
nop
call sym.runtime.gopanic
nop
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x40], rcx
mov qword [rsp + 0x48], rdi
mov qword [rsp + 0x50], rsi
mov qword [rsp + 0x58], r8
mov qword [rsp + 0x60], r9
mov qword [rsp + 0x68], r10
mov qword [rsp + 0x70], r11
call sym.runtime.morestack_noctxt.abi0
mov rax, qword [rsp + 0x30]
mov rbx, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
mov r8, qword [rsp + 0x58]
mov r9, qword [rsp + 0x60]
mov r10, qword [rsp + 0x68]
mov r11, qword [rsp + 0x70]
jmp sym.math_big.nat.montgomery