Function at 0x51ae00
Capabilities:
Access peb ldr_data

Disassembly:
lea r12, [rsp - 0x6e0]
cmp r12, qword [r14 + 0x10]
jbe 0x51b938
push rbp
mov rbp, rsp
sub rsp, 0x758
mov rsi, qword [rdi]
mov r8, qword [rsi + 8]
mov rdx, qword [rbx + 0x10]
cmp rdx, r8
jb 0x51b92f
mov rdx, qword [rcx + 0x10]
cmp rdx, r8
jb 0x51b927
mov qword [rsp + 0x768], rax
mov qword [rsp + 0x780], rdi
mov rsi, qword [rsi]
mov qword [rsp + 0x750], rsi
mov r9, qword [rbx]
mov qword [rsp + 0x748], r9
mov r10, qword [rcx]
mov qword [rsp + 0x740], r10
cmp r8, 0x10
je 0x51afa5
nop dword [rax]
cmp r8, 0x18
je 0x51af7c
cmp r8, 0x20
je 0x51af45
mov qword [rsp + 0x20], r8
mov rcx, rdi
lea rdi, [rsp + 0x98]
mov qword [rsp - 0x10], rbp
lea rbp, [rsp - 0x10]
call fcn.00472858
mov rbp, qword [rbp]
mov rbx, r8
shl r8, 1
mov qword [rsp + 0x2a8], r8
cmp r8, 0x40
jg 0x51aeda
mov edx, 0x40
lea rdi, [rsp + 0x98]
jmp 0x51af26
lea rax, [0x0066e960]
xor ebx, ebx
mov rcx, r8
call sym.runtime.makeslice
mov rcx, qword [rsp + 0x780]
mov rbx, qword [rsp + 0x20]
mov rsi, qword [rsp + 0x750]
mov r8, qword [rsp + 0x2a8]
mov r9, qword [rsp + 0x748]
mov r10, qword [rsp + 0x740]
mov rdx, r8
mov rdi, rax
mov rax, qword [rsp + 0x768]
cmp rdx, r8
jb 0x51b91f
mov qword [rsp + 0x90], rdx
xor r11d, r11d
xor r12d, r12d
nop dword [rax]
jmp 0x51b645
mov rcx, rdi
lea rdi, [rsp + 0x2b0]
nop word [rax + rax]
nop dword [rax]
mov qword [rsp - 0x10], rbp
lea rbp, [rsp - 0x10]
call fcn.00472858
mov rbp, qword [rbp]
xor edx, edx
xor ebx, ebx
jmp 0x51b4ff
mov rcx, rdi
lea rdi, [rsp + 0x4b0]
mov qword [rsp - 0x10], rbp
lea rbp, [rsp - 0x10]
call fcn.00472886
mov rbp, qword [rbp]
xor edx, edx
xor ebx, ebx
nop
jmp 0x51b2f5
mov rcx, rdi
lea rdi, [rsp + 0x630]
nop word [rax + rax]
nop dword [rax]
mov qword [rsp - 0x10], rbp
lea rbp, [rsp - 0x10]
call fcn.004728b4
mov rbp, qword [rbp]
xor edx, edx
xor ebx, ebx
jmp 0x51b0d0
mov qword [rsp + 0x38], rdx
mov rax, qword [r10 + rdx*8]
lea rcx, [rsp + rdx*8 + 0x630]
mov qword [rsp + 0x738], rcx
mov qword [rsp], rcx
mov qword [rsp + 8], r9
mov qword [rsp + 0x10], rax
call sym.crypto_internal_bigmod.addMulVVW1024.abi0
xorps xmm15, xmm15
mov r14, qword [0x0093b1d0]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rax, qword [rsp + 0x18]
mov qword [rsp + 0x68], rax
mov rcx, qword [rsp + 0x38]
mov rdx, qword [rsp + rcx*8 + 0x630]
mov rbx, qword [rsp + 0x780]
mov rsi, qword [rbx + 0x10]
mov rdi, qword [rsp + 0x738]
mov qword [rsp], rdi
mov rdi, qword [rsp + 0x750]
mov qword [rsp + 8], rdi
imul rdx, rsi
mov qword [rsp + 0x10], rdx
nop
call sym.crypto_internal_bigmod.addMulVVW1024.abi0
xorps xmm15, xmm15
mov r14, qword [0x0093b1d0]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rax, qword [rsp + 0x18]
mov rdx, qword [rsp + 0x38]
lea rcx, [rdx + 1]
mov rbx, qword [rsp + 0x80]
neg ebx
mov rbx, qword [rsp + 0x68]
adc rax, rbx
mov qword [rsp + rdx*8 + 0x6b0], rax
sbb rbx, rbx
neg rbx
mov rax, qword [rsp + 0x768]
mov rsi, qword [rsp + 0x750]
mov r9, qword [rsp + 0x748]
mov r10, qword [rsp + 0x740]
mov rdx, rcx
mov rcx, qword [rsp + 0x780]
mov qword [rsp + 0x80], rbx
nop dword [rax + rax]
cmp rdx, 0x10
jl 0x51afdc
cmp qword [rax + 0x10], 0x10
jl 0x51b13c
mov rsi, qword [rax + 8]
test rsi, rsi
je 0x51b124
mov rcx, qword [rax]
shl rsi, 3
mov rbx, rsi
mov rax, rcx
call sym.runtime.memclrNoHeapPointers
mov rax, qword [rsp + 0x768]
mov rcx, qword [rsp + 0x780]
mov rbx, qword [rsp + 0x80]
mov rdx, qword [rax + 0x10]
cmp rdx, 0x10
jb 0x51b1f7
mov qword [rax + 8], 0x10
jmp 0x51b196
lea rax, [0x0066e960]
mov ebx, 0x10
mov rcx, rbx
call sym.runtime.makeslice
mov rdx, qword [rsp + 0x768]
mov qword [rdx + 8], 0x10
mov qword [rdx + 0x10], 0x10
cmp dword [0x0093b410], 0
je 0x51b180
call sym.runtime.gcWriteBarrier2
mov qword [r11], rax
mov rsi, qword [rdx]
mov qword [r11 + 8], rsi
mov qword [rdx], rax
mov rax, rdx
mov rcx, qword [rsp + 0x780]
mov rbx, qword [rsp + 0x80]
mov rdx, qword [rax]
mov rsi, qword [rax + 8]
cmp rsi, 0x10
mov edi, 0x10
cmovg rsi, rdi
lea rdi, [rsp + 0x6b0]
cmp rdx, rdi
je 0x51b1e1
shl rsi, 3
mov rax, rdx
mov rbx, rdi
mov rcx, rsi
call sym.runtime.memmove
mov rax, qword [rsp + 0x768]
mov rcx, qword [rsp + 0x780]
mov rbx, qword [rsp + 0x80]
call sym.crypto_internal_bigmod._Nat_.maybeSubtractModulus
mov rax, qword [rsp + 0x768]
add rsp, 0x758
pop rbp
ret
mov ecx, 0x10
nop dword [rax]
call sym.runtime.panicSliceAcap
mov qword [rsp + 0x30], rdx
mov rax, qword [r10 + rdx*8]
lea rcx, [rsp + rdx*8 + 0x4b0]
mov qword [rsp + 0x738], rcx
mov qword [rsp], rcx
mov qword [rsp + 8], r9
mov qword [rsp + 0x10], rax
call sym.crypto_internal_bigmod.addMulVVW1536.abi0
xorps xmm15, xmm15
mov r14, qword [0x0093b1d0]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rax, qword [rsp + 0x18]
mov qword [rsp + 0x60], rax
mov rcx, qword [rsp + 0x30]
mov rdx, qword [rsp + rcx*8 + 0x4b0]
mov rbx, qword [rsp + 0x780]
mov rsi, qword [rbx + 0x10]
mov rdi, qword [rsp + 0x738]
mov qword [rsp], rdi
mov rdi, qword [rsp + 0x750]
mov qword [rsp + 8], rdi
imul rdx, rsi
mov qword [rsp + 0x10], rdx
call sym.crypto_internal_bigmod.addMulVVW1536.abi0
xorps xmm15, xmm15
mov r14, qword [0x0093b1d0]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rax, qword [rsp + 0x18]
mov rdx, qword [rsp + 0x30]
lea rcx, [rdx + 1]
mov rbx, qword [rsp + 0x78]
neg ebx
mov rbx, qword [rsp + 0x60]
adc rax, rbx
mov qword [rsp + rdx*8 + 0x570], rax
sbb rbx, rbx
neg rbx
mov rax, qword [rsp + 0x768]
mov rsi, qword [rsp + 0x750]
mov r9, qword [rsp + 0x748]
mov r10, qword [rsp + 0x740]
mov rdx, rcx
mov rcx, qword [rsp + 0x780]
mov qword [rsp + 0x78], rbx
nop word [rax + rax]
cmp rdx, 0x18
jl 0x51b205
cmp qword [rax + 0x10], 0x18
jl 0x51b359
mov rsi, qword [rax + 8]
test rsi, rsi
je 0x51b341
mov rcx, qword [rax]
shl rsi, 3
mov rbx, rsi
mov rax, rcx
call sym.runtime.memclrNoHeapPointers
mov rax, qword [rsp + 0x768]
mov rcx, qword [rsp + 0x780]
mov rbx, qword [rsp + 0x78]
mov rdx, qword [rax + 0x10]
cmp rdx, 0x18
jb 0x51b405
mov qword [rax + 8], 0x18
jmp 0x51b3b0
lea rax, [0x0066e960]
mov ebx, 0x18
mov rcx, rbx
call sym.runtime.makeslice
mov rdx, qword [rsp + 0x768]
mov qword [rdx + 8], 0x18
mov qword [rdx + 0x10], 0x18
cmp dword [0x0093b410], 0
je 0x51b39d
call sym.runtime.gcWriteBarrier2
mov qword [r11], rax
mov rsi, qword [rdx]
mov qword [r11 + 8], rsi
mov qword [rdx], rax
mov rax, rdx
mov rcx, qword [rsp + 0x780]
mov rbx, qword [rsp + 0x78]
mov rdx, qword [rax]
mov rsi, qword [rax + 8]
cmp rsi, 0x18
mov edi, 0x18
cmovg rsi, rdi
lea rdi, [rsp + 0x570]
cmp rdx, rdi
je 0x51b3fa
shl rsi, 3
mov rax, rdx
mov rbx, rdi
mov rcx, rsi
nop
call sym.runtime.memmove
mov rax, qword [rsp + 0x768]
mov rcx, qword [rsp + 0x780]
mov rbx, qword [rsp + 0x78]
call sym.crypto_internal_bigmod._Nat_.maybeSubtractModulus
nop
jmp 0x51b1e6
mov ecx, 0x18
call sym.runtime.panicSliceAcap
mov qword [rsp + 0x28], rdx
mov rax, qword [r10 + rdx*8]
lea rcx, [rsp + rdx*8 + 0x2b0]
mov qword [rsp + 0x738], rcx
mov qword [rsp], rcx
mov qword [rsp + 8], r9
mov qword [rsp + 0x10], rax
call sym.crypto_internal_bigmod.addMulVVW2048.abi0
xorps xmm15, xmm15
mov r14, qword [0x0093b1d0]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rax, qword [rsp + 0x18]
mov qword [rsp + 0x58], rax
mov rcx, qword [rsp + 0x28]
mov rdx, qword [rsp + rcx*8 + 0x2b0]
mov rbx, qword [rsp + 0x780]
mov rsi, qword [rbx + 0x10]
mov rdi, qword [rsp + 0x738]
mov qword [rsp], rdi
mov rdi, qword [rsp + 0x750]
mov qword [rsp + 8], rdi
imul rdx, rsi
mov qword [rsp + 0x10], rdx
call sym.crypto_internal_bigmod.addMulVVW2048.abi0
xorps xmm15, xmm15
mov r14, qword [0x0093b1d0]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rax, qword [rsp + 0x18]
mov rdx, qword [rsp + 0x28]
lea rcx, [rdx + 1]
mov rbx, qword [rsp + 0x70]
neg ebx
mov rbx, qword [rsp + 0x58]
adc rax, rbx
mov qword [rsp + rdx*8 + 0x3b0], rax
sbb rbx, rbx
neg rbx
mov rax, qword [rsp + 0x768]
mov rsi, qword [rsp + 0x750]
mov r9, qword [rsp + 0x748]
mov r10, qword [rsp + 0x740]
mov rdx, rcx
mov rcx, qword [rsp + 0x780]
mov qword [rsp + 0x70], rbx
cmp rdx, 0x20
jl 0x51b40f
cmp qword [rax + 0x10], 0x20
jl 0x51b55d
mov rsi, qword [rax + 8]
test rsi, rsi
je 0x51b545
mov rcx, qword [rax]
shl rsi, 3
mov rbx, rsi
mov rax, rcx
call sym.runtime.memclrNoHeapPointers
mov rax, qword [rsp + 0x768]
mov rcx, qword [rsp + 0x780]
mov rbx, qword [rsp + 0x70]
mov rdx, qword [rax + 0x10]
cmp rdx, 0x20
jb 0x51b60a
mov qword [rax + 8], 0x20
jmp 0x51b5b4
lea rax, [0x0066e960]
mov ebx, 0x20
mov rcx, rbx
call sym.runtime.makeslice
mov rdx, qword [rsp + 0x768]
mov qword [rdx + 8], 0x20
mov qword [rdx + 0x10], 0x20
cmp dword [0x0093b410], 0
je 0x51b5a1
call sym.runtime.gcWriteBarrier2
mov qword [r11], rax
mov rsi, qword [rdx]
mov qword [r11 + 8], rsi
mov qword [rdx], rax
mov rax, rdx
mov rcx, qword [rsp + 0x780]
mov rbx, qword [rsp + 0x70]
mov rdx, qword [rax]
mov rsi, qword [rax + 8]
cmp rsi, 0x20
mov edi, 0x20
cmovg rsi, rdi
lea rdi, [rsp + 0x3b0]
cmp rdx, rdi
je 0x51b5fc
shl rsi, 3
mov rax, rdx
mov rbx, rdi
mov rcx, rsi
call sym.runtime.memmove
mov rax, qword [rsp + 0x768]
mov rcx, qword [rsp + 0x780]
mov rbx, qword [rsp + 0x70]
nop dword [rax]
call sym.crypto_internal_bigmod._Nat_.maybeSubtractModulus
jmp 0x51b1e6
mov ecx, 0x20
call sym.runtime.panicSliceAcap
lea r11, [r10 + 1]
neg r12d
mov r15, qword [rsp + 0x50]
mov rcx, r13
mov r13, qword [rsp + 0x48]
adc r15, r13
mov qword [rdi + rcx*8], r15
sbb r12, r12
neg r12
mov r10, qword [rsp + 0x740]
mov rcx, qword [rsp + 0x780]
cmp r11, rbx
jge 0x51b6d0
lea r13, [r11 + rbx]
cmp r8, r13
jbe 0x51b914
mov r15, qword [r10 + r11*8]
nop
cmp r11, r13
ja 0x51b909
mov qword [rsp + 0x40], r11
shl r11, 3
mov r10, qword [rsp + 0x40]
sub r10, rdx
sar r10, 0x3f
and r11, r10
lea r10, [rbx - 1]
add r11, rdi
cmp rbx, r10
jbe 0x51b8fe
mov qword [rsp + 0x2a0], r13
xor r10d, r10d
xor r10d, r10d
mov qword [rsp + 0x50], r10
xor r10d, r10d
jmp 0x51b889
mov r10, qword [rsp + 0x40]
mov r15, qword [rdi + r10*8]
mov rcx, qword [rcx + 0x10]
imul rcx, r15
xor r15d, r15d
xor r15d, r15d
mov qword [rsp + 0x48], r15
xor r15d, r15d
jmp 0x51b8f4
mov qword [rsp + 0x730], rdi
mov qword [rsp + 0x88], r12
cmp qword [rax + 0x10], rbx
jl 0x51b74f
mov rsi, qword [rax + 8]
test rsi, rsi
je 0x51b73a
mov rcx, qword [rax]
shl rsi, 3
mov rbx, rsi
mov rax, rcx
nop dword [rax]
call sym.runtime.memclrNoHeapPointers
mov rax, qword [rsp + 0x768]
mov rcx, qword [rsp + 0x780]
mov rdx, qword [rsp + 0x90]
mov rbx, qword [rsp + 0x20]
mov rdi, qword [rsp + 0x730]
mov r8, qword [rsp + 0x2a8]
mov r12, qword [rsp + 0x88]
mov rsi, qword [rax + 0x10]
nop
cmp rsi, rbx
jb 0x51b830
mov qword [rax + 8], rbx
jmp 0x51b7c0
lea rax, [0x0066e960]
mov rcx, rbx
call sym.runtime.makeslice
mov rdx, qword [rsp + 0x20]
mov rsi, qword [rsp + 0x768]
mov qword [rsi + 8], rdx
mov qword [rsi + 0x10], rdx
cmp dword [0x0093b410], 0
je 0x51b78f
nop dword [rax]
call sym.runtime.gcWriteBarrier2
mov qword [r11], rax
mov rdi, qword [rsi]
mov qword [r11 + 8], rdi
mov qword [rsi], rax
mov rax, rsi
mov rcx, qword [rsp + 0x780]
mov rbx, rdx
mov rdi, qword [rsp + 0x730]
mov r8, qword [rsp + 0x2a8]
mov r12, qword [rsp + 0x88]
mov rdx, qword [rsp + 0x90]
cmp rbx, r8
ja 0x51b825
mov rsi, qword [rax]
mov r9, qword [rax + 8]
sub r8, rbx
mov r10, rbx
sub rbx, rdx
shl r10, 3
sar rbx, 0x3f
and rbx, r10
add rbx, rdi
cmp r9, r8
cmovg r9, r8
cmp rsi, rbx
je 0x51b816
shl r9, 3
mov rax, rsi
mov rcx, r9
call sym.runtime.memmove
mov rax, qword [rsp + 0x768]
mov rcx, qword [rsp + 0x780]
mov r12, qword [rsp + 0x88]
mov rbx, r12
call sym.crypto_internal_bigmod._Nat_.maybeSubtractModulus
nop
jmp 0x51b1e6
mov rax, rbx
mov rcx, r8
call sym.runtime.panicSliceB
mov rcx, rbx
mov rdx, rsi
call sym.runtime.panicSliceAcap
mov rax, qword [r9 + r10*8]
mul r15
mov r8, qword [r11 + r10*8]
lea r13, [r10 + 1]
add r8, rax
adc rdx, 0
mov rax, qword [rsp + 0x50]
add rax, r8
mov qword [r11 + r10*8], rax
adc rdx, 0
mov rax, qword [rsp + 0x768]
mov r8, qword [rsp + 0x2a8]
mov r10, r13
mov qword [rsp + 0x50], rdx
mov rdx, qword [rsp + 0x90]
mov r13, qword [rsp + 0x2a0]
cmp r10, rbx
jl 0x51b83b
jmp 0x51b6ac
mov rax, qword [rsi + r15*8]
mov qword [rsp + 0x298], rax
mov rax, rcx
mov r9, qword [rsp + 0x298]
mul r9
mov r9, qword [r11 + r15*8]
lea r8, [r15 + 1]
add r9, rax
adc rdx, 0
mov rax, qword [rsp + 0x48]
add rax, r9
mov qword [r11 + r15*8], rax
adc rdx, 0
mov rax, qword [rsp + 0x768]
mov r9, qword [rsp + 0x748]
mov r15, r8
mov qword [rsp + 0x48], rdx
mov rdx, qword [rsp + 0x90]
mov r8, qword [rsp + 0x2a8]
cmp r15, rbx
jl 0x51b893
jmp 0x51b614
mov rax, r10
mov rcx, rbx
call sym.runtime.panicIndex
mov rax, r11
mov rcx, r13
call sym.runtime.panicSliceB
mov rax, r13
mov rcx, r8
call sym.runtime.panicIndex
mov rcx, r8
call sym.runtime.panicSliceAcap
mov rcx, r8
call sym.runtime.panicSliceAcap
mov rcx, r8
call sym.runtime.panicSliceAcap
nop
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rcx
mov qword [rsp + 0x20], rdi
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]
jmp sym.crypto_internal_bigmod._Nat_.montgomeryMul