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

Disassembly:
mov ecx, dword [0x7c4fec]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
lea eax, [esp - 0x60]
cmp eax, dword [ecx + 8]
jbe 0x53d8ea
sub esp, 0xe0
mov eax, dword [0x77fc90]
mov ecx, dword [0x77fc94]
mov edx, dword [0x77fc98]
mov dword [esp], 0
mov dword [esp + 4], 0
mov dword [esp + 8], 0
mov ebx, dword [esp + 0xe4]
mov dword [esp + 0xc], ebx
mov ebp, dword [esp + 0xe8]
mov dword [esp + 0x10], ebp
mov esi, dword [esp + 0xec]
mov dword [esp + 0x14], esi
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x20], edx
call sym.math_big.nat.sub
mov ecx, dword [esp + 0x28]
mov eax, dword [esp + 0x24]
test ecx, ecx
je 0x53d18c
xor edx, edx
jmp 0x53d8ca
xor edx, edx
mov dword [esp + 0x80], ecx
mov dword [esp + 0xb8], eax
mov dword [esp + 0x4c], edx
mov ebx, dword [esp + 0x2c]
mov dword [esp + 0x84], ebx
mov dword [esp], 0
mov dword [esp + 4], 0
mov dword [esp + 8], 0
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], edx
call sym.math_big.nat.shr
mov eax, dword [0x77fca0]
mov ecx, dword [0x77fca4]
mov edx, dword [0x77fca8]
mov ebx, dword [esp + 0x1c]
mov dword [esp + 0xb0], ebx
mov ebp, dword [esp + 0x20]
mov dword [esp + 0x6c], ebp
mov esi, dword [esp + 0x24]
mov dword [esp + 0x70], esi
mov dword [esp], 0
mov dword [esp + 4], 0
mov dword [esp + 8], 0
mov edi, dword [esp + 0xb8]
mov dword [esp + 0xc], edi
mov edi, dword [esp + 0x80]
mov dword [esp + 0x10], edi
mov edi, dword [esp + 0x84]
mov dword [esp + 0x14], edi
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x20], edx
call sym.math_big.nat.sub
mov eax, dword [esp + 0xe8]
test eax, eax
jbe 0x53d8c0
mov eax, dword [esp + 0x24]
mov dword [esp + 0xb4], eax
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x78], ecx
mov edx, dword [esp + 0x2c]
mov dword [esp + 0x7c], edx
mov ebx, dword [esp + 0xe4]
mov ebp, dword [ebx]
mov dword [esp + 0x90], ebp
nop
lea esi, [0x6036c0]
mov dword [esp], esi
call sym.runtime.newobject
mov eax, dword [esp + 4]
mov dword [esp + 0x9c], eax
mov dword [esp], eax
mov ecx, dword [esp + 0x90]
mov dword [esp + 4], ecx
mov dword [esp + 8], 0
call sym.math_rand._rngSource_.Seed
mov eax, dword [0x6687fc]
lea ecx, [0x77fcd0]
mov dword [esp], ecx
mov dword [esp + 4], eax
call sym.runtime.typeAssert
mov eax, dword [esp + 8]
mov dword [esp + 0xbc], eax
lea edi, [esp + 0xc0]
xor eax, eax
call fcn.0046a9f9
lea eax, [0x6687f8]
mov dword [esp + 0xc0], eax
mov eax, dword [esp + 0x9c]
mov dword [esp + 0xc4], eax
mov ecx, dword [esp + 0xbc]
mov dword [esp + 0xc8], ecx
mov dword [esp + 0xcc], eax
mov eax, dword [esp + 0xb4]
mov dword [esp], eax
mov ecx, dword [esp + 0x78]
mov dword [esp + 4], ecx
mov edx, dword [esp + 0x7c]
mov dword [esp + 8], edx
call sym.math_big.nat.bitLen
mov eax, dword [esp + 0xc]
mov dword [esp + 0x74], eax
xor ecx, ecx
xor edx, edx
xor ebx, ebx
xor ebp, ebp
xor esi, esi
xor edi, edi
xor ecx, ecx
mov dword [esp + 0xa0], ecx
xor ebx, ebx
mov dword [esp + 0x64], ebx
xor ecx, ecx
mov dword [esp + 0x68], ecx
xor ecx, ecx
mov dword [esp + 0xac], ecx
xor ecx, ecx
xor ebx, ebx
jmp 0x53d3b7
mov edi, dword [esp + 0x8c]
inc edi
mov dword [esp + 0xa0], edx
mov dword [esp + 0x64], ebx
mov dword [esp + 0x68], ebp
mov dword [esp + 0xac], esi
mov edx, dword [esp + 0x94]
mov ebx, dword [esp + 0xdc]
mov ebp, dword [esp + 0x98]
mov esi, eax
mov eax, dword [esp + 0x74]
mov eax, ecx
mov ecx, edi
mov edi, eax
mov eax, dword [esp + 0x74]
mov dword [esp + 0x54], edi
mov edi, dword [esp + 0xf0]
cmp edi, ecx
jle 0x53d70f
mov dword [esp + 0x8c], ecx
mov dword [esp + 0x50], esi
dec edi
cmp ecx, edi
jne 0x53d4f2
movzx edi, byte [esp + 0xf4]
xchg edi, eax
test al, al
xchg edi, eax
je 0x53d4f2
mov ebp, dword [0x77fca4]
mov dword [esp + 0x58], ebp
mov eax, dword [0x77fca0]
cmp edx, ebp
jge 0x53d49f
mov dword [esp + 0xa4], eax
cmp ebp, 1
jne 0x53d45c
lea eax, [0x5f3ce0]
mov dword [esp], eax
mov dword [esp + 4], 1
mov dword [esp + 8], 1
call sym.runtime.makeslice
mov ebx, dword [esp + 0xc]
mov eax, dword [esp + 0xa4]
mov ecx, dword [esp + 0x8c]
mov esi, dword [esp + 0x50]
movzx edi, byte [esp + 0xf4]
mov ebp, 1
mov edx, 1
jmp 0x53d49f
lea eax, [0x5f3ce0]
mov dword [esp], eax
mov dword [esp + 4], ebp
lea ecx, [ebp + 4]
mov dword [esp + 0x48], ecx
mov dword [esp + 8], ecx
call sym.runtime.makeslice
mov ebx, dword [esp + 0xc]
mov eax, dword [esp + 0xa4]
mov ecx, dword [esp + 0x8c]
mov esi, dword [esp + 0x50]
movzx edi, byte [esp + 0xf4]
mov ebp, dword [esp + 0x58]
mov edx, dword [esp + 0x48]
mov edi, dword [esp + 0x58]
cmp ebp, edi
jg 0x53d4a9
mov edi, ebp
cmp ebx, eax
je 0x53d582
mov dword [esp + 0xa8], ebx
mov dword [esp + 0x5c], ebp
mov dword [esp + 0x60], edx
mov dword [esp], ebx
mov dword [esp + 4], eax
shl edi, 2
mov dword [esp + 8], edi
call sym.runtime.memmove
mov ecx, dword [esp + 0x8c]
mov edx, dword [esp + 0x60]
mov ebx, dword [esp + 0xa8]
mov ebp, dword [esp + 0x5c]
mov esi, dword [esp + 0x50]
jmp 0x53d582
mov dword [esp], ebx
mov dword [esp + 4], ebp
mov dword [esp + 8], edx
lea ecx, [esp + 0xc0]
mov dword [esp + 0xc], ecx
mov edx, dword [esp + 0xb4]
mov dword [esp + 0x10], edx
mov ebx, dword [esp + 0x78]
mov dword [esp + 0x14], ebx
mov ebp, dword [esp + 0x7c]
mov dword [esp + 0x18], ebp
mov dword [esp + 0x1c], eax
call sym.math_big.nat.random
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x28]
mov ebx, dword [0x77fca0]
mov ebp, dword [0x77fca4]
mov esi, dword [0x77fca8]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], edx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x20], esi
call sym.math_big.nat.add
mov ebx, dword [esp + 0x24]
mov ebp, dword [esp + 0x28]
mov edx, dword [esp + 0x2c]
mov esi, dword [esp + 0x50]
mov dword [esp + 0xdc], ebx
mov dword [esp + 0x98], ebp
mov dword [esp + 0x94], edx
mov eax, dword [esp + 0xa0]
mov dword [esp], eax
mov dword [esp + 4], esi
mov eax, dword [esp + 0x54]
mov dword [esp + 8], eax
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], ebp
mov dword [esp + 0x14], edx
mov eax, dword [esp + 0xb0]
mov dword [esp + 0x18], eax
mov ecx, dword [esp + 0x6c]
mov dword [esp + 0x1c], ecx
mov esi, dword [esp + 0x70]
mov dword [esp + 0x20], esi
mov edi, dword [esp + 0xe4]
mov dword [esp + 0x24], edi
mov esi, dword [esp + 0xe8]
mov dword [esp + 0x28], esi
mov ecx, dword [esp + 0xec]
mov dword [esp + 0x2c], ecx
mov byte [esp + 0x30], 0
call sym.math_big.nat.expNN
mov eax, dword [esp + 0x34]
mov dword [esp + 0xa0], eax
mov ecx, dword [esp + 0x38]
mov dword [esp + 0x50], ecx
mov edx, dword [esp + 0x3c]
mov dword [esp + 0x54], edx
mov ebx, dword [0x77fc90]
mov ebp, dword [0x77fc94]
mov esi, dword [0x77fc98]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], ebp
mov dword [esp + 0x14], esi
call sym.math_big.nat.cmp
mov eax, dword [esp + 0x18]
test eax, eax
jne 0x53d657
mov eax, 1
jmp 0x53d6a0
mov eax, dword [esp + 0xa0]
mov dword [esp], eax
mov ecx, dword [esp + 0x50]
mov dword [esp + 4], ecx
mov edx, dword [esp + 0x54]
mov dword [esp + 8], edx
mov ebx, dword [esp + 0xb8]
mov dword [esp + 0xc], ebx
mov ebp, dword [esp + 0x80]
mov dword [esp + 0x10], ebp
mov esi, dword [esp + 0x84]
mov dword [esp + 0x14], esi
call sym.math_big.nat.cmp
mov eax, dword [esp + 0x18]
test eax, eax
sete al
test al, al
je 0x53d6c7
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x54]
mov edx, dword [esp + 0xa0]
mov ebx, dword [esp + 0x64]
mov ebp, dword [esp + 0x68]
mov esi, dword [esp + 0xac]
jmp 0x53d374
mov eax, 1
mov ecx, dword [esp + 0x50]
mov edx, dword [esp + 0x54]
mov ebx, dword [esp + 0xa0]
mov ebp, dword [esp + 0x64]
mov esi, dword [esp + 0x68]
mov edi, dword [esp + 0xac]
jmp 0x53d744
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x54]
mov edx, dword [esp + 0xa0]
mov ebx, dword [esp + 0x64]
mov ebp, dword [esp + 0x68]
mov esi, dword [esp + 0xac]
jmp 0x53d374
mov byte [esp + 0xf8], 1
add esp, 0xe0
ret
mov eax, dword [esp + 0x88]
inc eax
mov ecx, dword [esp + 0x50]
mov edx, dword [esp + 0x54]
mov ebx, dword [esp + 0xa0]
mov ebp, dword [esp + 0x64]
mov esi, dword [esp + 0x68]
mov edi, dword [esp + 0xac]
mov dword [esp + 0x68], esi
mov esi, dword [esp + 0x4c]
cmp eax, esi
jae 0x53d8b1
mov dword [esp + 0x88], eax
mov dword [esp + 0xac], edi
mov dword [esp + 0x64], ebp
mov dword [esp], ebx
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], edx
call sym.math_big.nat.sqr
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
mov ebx, dword [esp + 0xac]
mov dword [esp], ebx
mov ebx, dword [esp + 0x64]
mov dword [esp + 4], ebx
mov ebx, dword [esp + 0x68]
mov dword [esp + 8], ebx
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], edx
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x20], edx
mov eax, dword [esp + 0xe4]
mov dword [esp + 0x24], eax
mov ecx, dword [esp + 0xe8]
mov dword [esp + 0x28], ecx
mov edx, dword [esp + 0xec]
mov dword [esp + 0x2c], edx
call sym.math_big.nat.div
mov eax, dword [esp + 0x3c]
mov dword [esp + 0xa0], eax
mov ecx, dword [esp + 0x40]
mov dword [esp + 0x50], ecx
mov edx, dword [esp + 0x44]
mov dword [esp + 0x54], edx
mov ebx, dword [esp + 0x30]
mov dword [esp + 0xac], ebx
mov ebp, dword [esp + 0x34]
mov dword [esp + 0x64], ebp
mov esi, dword [esp + 0x38]
mov dword [esp + 0x68], esi
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov edi, dword [esp + 0xb8]
mov dword [esp + 0xc], edi
mov edi, dword [esp + 0x80]
mov dword [esp + 0x10], edi
mov edi, dword [esp + 0x84]
mov dword [esp + 0x14], edi
call sym.math_big.nat.cmp
mov eax, dword [esp + 0x18]
test eax, eax
je 0x53d6ec
mov eax, dword [0x77fc90]
mov ecx, dword [0x77fc94]
mov edx, dword [0x77fc98]
mov ebx, dword [esp + 0xa0]
mov dword [esp], ebx
mov ebp, dword [esp + 0x50]
mov dword [esp + 4], ebp
mov esi, dword [esp + 0x54]
mov dword [esp + 8], esi
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], edx
call sym.math_big.nat.cmp
mov eax, dword [esp + 0x18]
test eax, eax
jne 0x53d71e
mov byte [esp + 0xf8], 0
add esp, 0xe0
ret
mov byte [esp + 0xf8], 0
add esp, 0xe0
ret
xor eax, eax
mov ecx, eax
call sym.runtime.panicIndex
inc edx
cmp edx, ecx
jae 0x53d8e2
mov ebx, dword [eax + edx*4]
test ebx, ebx
je 0x53d8c9
shl edx, 5
bsf ebx, ebx
add edx, ebx
jmp 0x53d18e
mov eax, edx
call sym.runtime.panicIndexU
nop
call sym.runtime.morestack_noctxt
jmp sym.math_big.nat.probablyPrimeMillerRabin