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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x124
push ebx
push esi
push edi
mov dword [esp + 0x40], ecx
call fcn.004b93c8
sub esp, 0x14
mov ecx, esp
push eax
call fcn.004b67f1
mov edi, dword [ebp + 0xc]
lea eax, [esp + 0x9c]
push 0x55b86c
push eax
mov ecx, edi
call fcn.004a8634
lea ecx, [esp + 0x44]
call fcn.004b677d
mov eax, dword [edi]
lea ecx, [esp + 0x44]
push ecx
push 0x5e0850
push 0x55b828
mov ecx, edi
call dword [eax + 4]
test al, al
jne 0x4b7109
mov eax, dword [edi]
lea ecx, [esp + 0x10]
push ecx
push 0x5e03a4
push str.BitLength
mov ecx, edi
call dword [eax + 4]
test al, al
je 0x4b78bc
mov edx, dword [esp + 0x10]
lea ecx, [esp + 0x58]
call fcn.004b6915
push eax
lea ecx, [esp + 0x48]
call fcn.004b698c
push dword [esp + 0x60]
push dword [esp + 0x68]
call fcn.00472a06
lea eax, [esp + 0x44]
push eax
lea ecx, [esp + 0x8c]
call fcn.004b82ba
test eax, eax
jle 0x4b714e
push str.Integer:_Min_must_be_no_greater_than_Max
lea ecx, [esp + 0x5c]
call fcn.0043a56f
lea eax, [esp + 0x58]
push eax
lea ecx, [esp + 0xdc]
call fcn.00447c1c
push 0x568950
lea eax, [esp + 0xdc]
jmp 0x4b78e7
call fcn.004b93c8
sub esp, 0x14
mov ecx, esp
push eax
call fcn.004b67f1
push str.EquivalentTo
lea eax, [esp + 0xb4]
mov ecx, edi
push eax
call fcn.004a8634
call fcn.004b9447
sub esp, 0x14
mov ecx, esp
push eax
call fcn.004b67f1
push 0x55b8ac
lea eax, [esp + 0xc8]
mov ecx, edi
push eax
call fcn.004a8634
xor ebx, ebx
inc ebx
cmp dword [esp + 0xac], ebx
je 0x4b788f
lea eax, [esp + 0xb0]
push eax
lea ecx, [esp + 0xa0]
call fcn.004b82ba
test eax, eax
jns 0x4b788f
mov eax, dword [edi]
lea ecx, [esp + 0xc]
and dword [esp + 0xc], 0
push ecx
push 0x5e0984
push str.RandomNumberType
mov ecx, edi
call dword [eax + 4]
xor eax, eax
lea ecx, [esp + 0x70]
push ecx
mov esi, eax
mov dword [esp + 0x84], eax
mov dword [esp + 0x88], eax
mov ecx, edi
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], eax
mov byte [esp + 0x74], al
mov eax, dword [edi]
push 0x5e04e4
push str.Seed
call dword [eax + 4]
test al, al
mov eax, dword [esp + 0xc]
je 0x4b7388
push esi
lea ecx, [esp + 0xdc]
call fcn.004c12ed
push 0x30
lea eax, [esp + 0xdc]
push eax
lea ecx, [esp + 0x108]
call fcn.004bb338
lea eax, [esp + 0x100]
mov dword [esp + 0x100], 0x55b408
push eax
lea ecx, [esp + 0x8c]
mov dword [esp + 0x108], 0x55b524
call fcn.004b6e17
lea eax, [esp + 0x100]
push eax
lea ecx, [esp + 0x48]
call fcn.004b6e17
lea eax, [esp + 0x100]
push eax
lea ecx, [esp + 0xa0]
call fcn.004b6e17
lea eax, [esp + 0x100]
push eax
lea ecx, [esp + 0xb4]
call fcn.004b6e17
mov edx, dword [esp + 0xc]
push ecx
lea ecx, [esp + 0x104]
call fcn.004b957e
mov al, byte [esp + 0x74]
mov edx, dword [esp + 0x78]
test al, al
pop ecx
mov ecx, dword [esp + 0x78]
cmovne ecx, dword [esp + 0x80]
cmovne edx, dword [esp + 0x84]
push ecx
lea ecx, [esp + 0x104]
call fcn.004badb4
pop ecx
lea ecx, [esp + 0x100]
call fcn.004bb3c5
lea ecx, [esp + 0xd8]
call fcn.004c14c7
push eax
lea ecx, [esp + 0x2c]
call fcn.0044886c
mov ebx, dword [esp + 0x2c]
lea ecx, [esp + 0xd8]
push ebx
push dword [esp + 0x34]
call fcn.004c1642
push 0x14
call fcn.004ed632
mov esi, eax
lea eax, [ebx + 4]
pop ecx
push eax
and dword [esi + 4], 0
lea ecx, [esi + 8]
mov dword [esi], 0x55b708
call fcn.0044886c
mov eax, dword [esi + 0x10]
push ebx
push dword [esp + 0x34]
add eax, 4
push eax
call fcn.00505060
mov edi, dword [esp + 0x3c]
add esp, 0xc
xor al, al
mov ecx, ebx
rep stosb byte es:[edi], al
push dword [esp + 0x30]
call fcn.00504b78
pop ecx
lea ecx, [esp + 0x100]
call fcn.004bb367
lea ecx, [esp + 0xd8]
call fcn.004c141a
mov edi, dword [ebp + 0xc]
xor ebx, ebx
mov eax, dword [esp + 0xc]
inc ebx
mov dword [esp + 0x3c], esi
jmp 0x4b738f
mov ecx, dword [ebp + 8]
mov dword [esp + 0x3c], ecx
sub eax, 0
je 0x4b75c6
sub eax, 1
je 0x4b73cd
push str.Integer:_invalid_RandomNumberType_argument
lea ecx, [esp + 0x5c]
call fcn.0043a56f
lea eax, [esp + 0x58]
push eax
lea ecx, [esp + 0xdc]
call fcn.00447c1c
push 0x568950
lea eax, [esp + 0xdc]
jmp 0x4b78e7
mov eax, dword [edi]
lea ecx, [esp + 0x10]
and dword [esp + 0x10], 0
push ecx
push 0x5e095c
push str.PointerToPrimeSelector
mov ecx, edi
call dword [eax + 4]
mov ebx, dword [esp + 0x10]
xor edi, edi
mov dword [esp + 0xc], ebx
inc edi
cmp edi, 0x10
jne 0x4b7481
lea eax, [esp + 0x88]
push eax
lea ecx, [esp + 0x18]
call fcn.004b67f1
push ebx
lea eax, [esp + 0xb4]
push eax
lea eax, [esp + 0xa4]
push eax
lea edx, [esp + 0x50]
lea ecx, [esp + 0x20]
call fcn.004c35ab
add esp, 0xc
test al, al
je 0x4b7589
mov ebx, dword [esp + 0x40]
lea eax, [esp + 0x14]
push eax
mov ecx, ebx
call fcn.004b698c
push dword [esp + 0xc]
lea eax, [esp + 0xb4]
push eax
lea eax, [esp + 0xa4]
push eax
lea edx, [esp + 0x50]
lea ecx, [esp + 0x20]
call fcn.004c35ab
add esp, 0xc
push dword [esp + 0x1c]
push dword [esp + 0x24]
test al, al
je 0x4b7552
call fcn.00472a06
jmp 0x4b7485
mov ebx, dword [esp + 0x40]
lea eax, [esp + 0x44]
mov ecx, ebx
push eax
lea eax, [esp + 0x8c]
push eax
push dword [esp + 0x44]
call fcn.004b6f34
lea ecx, [esp + 0x44]
call fcn.004b6b2f
push eax
lea ecx, [esp + 0x5c]
call fcn.004b686a
lea eax, [esp + 0x58]
push eax
lea eax, [esp + 0xc8]
push eax
lea ecx, [esp + 0xb8]
call fcn.004b7ec7
lea eax, [esp + 0xc4]
mov ecx, ebx
push eax
lea eax, [esp + 0x2c]
push eax
call fcn.004b7c14
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x48]
call fcn.004b82ba
push dword [esp + 0xc]
test eax, eax
lea ecx, [esp + 0x2c]
lea eax, [esp + 0xb4]
push eax
lea edx, [esp + 0x4c]
lea eax, [esp + 0xa4]
cmovns edx, ecx
push eax
mov ecx, ebx
call fcn.004c35ab
add esp, 0xc
mov bl, al
push dword [esp + 0x30]
push dword [esp + 0x38]
call fcn.00472a06
push dword [esp + 0xcc]
push dword [esp + 0xd4]
call fcn.00472a06
push dword [esp + 0x60]
push dword [esp + 0x68]
call fcn.00472a06
test bl, bl
jne 0x4b7557
mov ebx, dword [esp + 0xc]
jmp 0x4b73f2
call fcn.00472a06
mov edx, dword [esp + 0x84]
xor al, al
mov ecx, dword [esp + 0x80]
mov edi, edx
rep stosb byte es:[edi], al
push edx
call fcn.00504b78
xor ebx, ebx
inc ebx
pop ecx
test esi, esi
je 0x4b783e
mov eax, dword [esi]
mov ecx, esi
push ebx
call dword [eax]
jmp 0x4b783e
push dword [esp + 0x1c]
push dword [esp + 0x24]
call fcn.00472a06
mov edx, dword [esp + 0x84]
xor al, al
mov ecx, dword [esp + 0x80]
mov edi, edx
rep stosb byte es:[edi], al
push edx
call fcn.00504b78
pop ecx
test esi, esi
je 0x4b75bf
xor ebx, ebx
inc ebx
mov eax, dword [esi]
mov ecx, esi
push ebx
call dword [eax]
xor bl, bl
jmp 0x4b783e
call fcn.004b9447
push eax
lea ecx, [esp + 0xb4]
call fcn.004b82ba
test eax, eax
jne 0x4b75fb
mov ecx, dword [esp + 0x40]
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x8c]
push eax
push dword [esp + 0x44]
call fcn.004b6f34
jmp 0x4b7814
mov eax, dword [esp + 0xa4]
cmp eax, dword [esp + 0x90]
cmovb eax, dword [esp + 0x90]
push eax
push ecx
lea ecx, [esp + 0x1c]
call fcn.004b6a9d
lea ecx, [esp + 0x14]
cmp dword [esp + 0xac], ebx
je 0x4b7648
lea eax, [esp + 0x88]
lea edx, [esp + 0x9c]
push eax
cmp dword [esp + 0x9c], ebx
jne 0x4b767a
call fcn.004b79d8
jmp 0x4b767f
cmp dword [esp + 0x98], ebx
je 0x4b766b
lea eax, [esp + 0x88]
push eax
lea edx, [esp + 0xa0]
call fcn.004b79d8
mov dword [esp + 0x28], ebx
jmp 0x4b767f
lea eax, [esp + 0x9c]
push eax
lea edx, [esp + 0x8c]
call fcn.004b7abc
pop ecx
lea eax, [esp + 0xb0]
push eax
lea eax, [esp + 0x5c]
push eax
lea ecx, [esp + 0x1c]
call fcn.004b8148
lea eax, [esp + 0x58]
push eax
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0x90]
call fcn.004b7c14
push dword [esp + 0x60]
push dword [esp + 0x68]
call fcn.00472a06
push dword [esp + 0x1c]
push dword [esp + 0x24]
call fcn.00472a06
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x48]
call fcn.004b82ba
test eax, eax
jns 0x4b770d
push dword [esp + 0x30]
push dword [esp + 0x38]
call fcn.00472a06
mov edx, dword [esp + 0x84]
xor al, al
mov ecx, dword [esp + 0x80]
mov edi, edx
rep stosb byte es:[edi], al
push edx
call fcn.00504b78
pop ecx
test esi, esi
je 0x4b75bf
jmp 0x4b75b8
mov eax, dword [esp + 0x4c]
cmp eax, dword [esp + 0x30]
cmovb eax, dword [esp + 0x30]
push eax
push ecx
lea ecx, [esp + 0x1c]
call fcn.004b6a9d
lea ecx, [esp + 0x14]
cmp dword [esp + 0x54], ebx
je 0x4b7745
lea eax, [esp + 0x28]
lea edx, [esp + 0x44]
push eax
cmp dword [esp + 0x3c], ebx
jne 0x4b7768
call fcn.004b79d8
jmp 0x4b776d
cmp dword [esp + 0x38], ebx
je 0x4b775f
lea eax, [esp + 0x28]
push eax
lea edx, [esp + 0x48]
call fcn.004b79d8
mov dword [esp + 0x28], ebx
jmp 0x4b776d
lea eax, [esp + 0x44]
push eax
lea edx, [esp + 0x2c]
call fcn.004b7abc
pop ecx
lea ecx, [esp + 0x58]
call fcn.004b677d
lea ecx, [esp + 0xc4]
call fcn.004b677d
lea eax, [esp + 0xb0]
push eax
lea eax, [esp + 0x18]
push eax
lea edx, [esp + 0xcc]
lea ecx, [esp + 0x60]
call fcn.004b804b
pop ecx
pop ecx
push dword [esp + 0x60]
push dword [esp + 0x68]
call fcn.00472a06
lea eax, [esp + 0xc4]
push eax
call fcn.004b93c8
mov edi, dword [esp + 0x44]
mov ecx, edi
push eax
push dword [esp + 0x44]
call fcn.004b6f34
push dword [esp + 0xcc]
push dword [esp + 0xd4]
call fcn.00472a06
push dword [esp + 0x1c]
push dword [esp + 0x24]
call fcn.00472a06
lea eax, [esp + 0xb0]
mov ecx, edi
push eax
call fcn.004aae41
lea eax, [esp + 0x28]
mov ecx, edi
push eax
call fcn.004b7c74
push dword [esp + 0x30]
push dword [esp + 0x38]
call fcn.00472a06
mov edx, dword [esp + 0x84]
xor al, al
mov ecx, dword [esp + 0x80]
mov edi, edx
rep stosb byte es:[edi], al
push edx
call fcn.00504b78
pop ecx
test esi, esi
je 0x4b783a
mov eax, dword [esi]
mov ecx, esi
push ebx
call dword [eax]
mov dword [esp + 0x10], ebx
push dword [esp + 0xb8]
push dword [esp + 0xc0]
call fcn.00472a06
push dword [esp + 0xa4]
push dword [esp + 0xac]
call fcn.00472a06
push dword [esp + 0x4c]
push dword [esp + 0x54]
call fcn.00472a06
push dword [esp + 0x90]
push dword [esp + 0x98]
call fcn.00472a06
pop edi
pop esi
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret 8
push str.Integer:_invalid_EquivalentTo_and_or_Mod_argument
lea ecx, [esp + 0x5c]
call fcn.0043a56f
lea eax, [esp + 0x58]
push eax
lea ecx, [esp + 0xdc]
call fcn.00447c1c
push 0x568950
lea eax, [esp + 0xdc]
jmp 0x4b78e7
push str.Integer:_missing_Max_argument
lea ecx, [esp + 0x5c]
call fcn.0043a56f
lea eax, [esp + 0x58]
push eax
lea ecx, [esp + 0xdc]
call fcn.00447c1c
push 0x568950
lea eax, [esp + 0xdc]
push eax
call fcn.0050573a
int3