Function at 0x4ae510
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x4ae7cf
sub esp, 0x4c
mov eax, dword [esp + 0x84]
mov ecx, dword [esp + 0x60]
cmp eax, ecx
jne 0x4ae791
mov edx, dword [esp + 0x6c]
cmp eax, edx
jne 0x4ae791
mov ebx, dword [esp + 0x78]
cmp eax, ebx
jne 0x4ae791
mov ebp, dword [esp + 0x58]
cmp eax, ebp
jg 0x4ae754
ja 0x4ae74d
mov esi, eax
mov edi, dword [esp + 0x50]
mov dword [esp + 0x40], edi
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], ebp
mov dword [esp], edi
mov dword [esp + 4], eax
mov dword [esp + 8], ebp
call dbg.math/big.nat.clear
xor eax, eax
xor ecx, ecx
mov dword [esp + 0x30], eax
mov dword [esp + 0x3c], ecx
mov edx, dword [esp + 0x84]
cmp eax, edx
jge 0x4ae6e2
mov ebx, dword [esp + 0x6c]
cmp eax, ebx
jae 0x4ae6db
mov ebp, dword [esp + 0x68]
mov esi, dword [ebp + eax*4]
mov edi, dword [esp + 0x40]
mov dword [esp], edi
mov ebp, dword [esp + 0x28]
mov dword [esp + 4], ebp
mov ebx, dword [esp + 0x2c]
mov dword [esp + 8], ebx
mov eax, dword [esp + 0x5c]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x60]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x64]
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], esi
call dbg.math/big.addMulVVW
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x38], eax
mov ecx, dword [esp + 0x28]
test ecx, ecx
jbe 0x4ae6d4
mov edx, dword [esp + 0x40]
mov ebx, dword [edx]
mov dword [esp], edx
mov dword [esp + 4], ecx
mov ebp, dword [esp + 0x2c]
mov dword [esp + 8], ebp
mov esi, dword [esp + 0x74]
mov dword [esp + 0xc], esi
mov edi, dword [esp + 0x78]
mov dword [esp + 0x10], edi
mov edi, dword [esp + 0x7c]
mov dword [esp + 0x14], edi
mov edi, dword [esp + 0x80]
imul ebx, edi
mov dword [esp + 0x18], ebx
call dbg.math/big.addMulVVW
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x34], eax
mov ecx, dword [esp + 0x2c]
lea edx, [ecx - 2]
sar edx, 0x1f
xor edx, 0xffffffff
and edx, 4
mov ebx, dword [esp + 0x40]
add edx, ebx
mov ebp, dword [esp + 0x28]
lea esi, [ebp - 1]
cmp ebp, esi
jle 0x4ae6d0
mov dword [esp], ebx
mov dword [esp + 4], edx
shl esi, 2
mov dword [esp + 8], esi
call dbg.runtime.memmove
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x38]
add eax, ecx
mov edx, dword [esp + 0x34]
lea ebx, [edx + eax]
mov ebp, dword [esp + 0x84]
lea esi, [ebp - 1]
mov edi, dword [esp + 0x28]
cmp esi, edi
jae 0x4ae6c9
mov esi, dword [esp + 0x40]
mov dword [esi + ebp*4 - 4], ebx
cmp eax, ecx
jae 0x4ae6c1
mov eax, 1
mov edx, dword [esp + 0x30]
inc edx
mov ecx, eax
mov eax, edx
jmp 0x4ae58c
cmp ebx, edx
jb 0x4ae6ae
xor eax, eax
jmp 0x4ae6b3
call dbg.runtime.panicindex
ud2
mov esi, ebp
jmp 0x4ae66c
call dbg.runtime.panicindex
ud2
call dbg.runtime.panicindex
ud2
test ecx, ecx
jne 0x4ae70b
mov eax, dword [esp + 0x40]
mov dword [esp + 0x88], eax
mov eax, dword [esp + 0x28]
mov dword [esp + 0x8c], eax
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x90], eax
add esp, 0x4c
ret
mov eax, dword [esp + 0x40]
mov dword [esp], eax
mov ecx, dword [esp + 0x28]
mov dword [esp + 4], ecx
mov edx, dword [esp + 0x2c]
mov dword [esp + 8], edx
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], edx
mov ebx, dword [esp + 0x74]
mov dword [esp + 0x18], ebx
mov ebx, dword [esp + 0x78]
mov dword [esp + 0x1c], ebx
mov ebx, dword [esp + 0x7c]
mov dword [esp + 0x20], ebx
call dbg.math/big.subVV
jmp 0x4ae6e6
call dbg.runtime.panicslice
ud2
lea ebp, [0x5fbfa0]
mov dword [esp], ebp
mov dword [esp + 4], eax
lea ebp, [eax + 4]
mov dword [esp + 8], ebp
call dbg.runtime.makeslice
mov eax, dword [esp + 0x10]
mov edi, dword [esp + 0xc]
mov ebp, dword [esp + 0x14]
mov ecx, dword [esp + 0x60]
mov edx, dword [esp + 0x6c]
mov ebx, dword [esp + 0x78]
mov esi, dword [esp + 0x84]
jmp 0x4ae56c
lea eax, [0x644bae]
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], 0x2e
lea eax, [0x5fc520]
mov dword [esp], eax
lea eax, [esp + 0x44]
mov dword [esp + 4], eax
call dbg.runtime.convT2E
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
mov dword [esp], ecx
mov dword [esp + 4], eax
call dbg.runtime.gopanic
ud2
call dbg.runtime.morestack_noctxt
jmp dbg.math/big.nat.montgomery