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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x576990
mov eax, dword fs:[0]
push eax
sub esp, 0x190
mov eax, dword [0x668038]
xor eax, esp
mov dword [esp + 0x188], eax
push ebx
push esi
push edi
mov eax, dword [0x668038]
xor eax, esp
push eax
lea eax, [esp + 0x1a0]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
mov dword [esp + 0x24], eax
mov dword [esp + 0x3c], ecx
call fcn.004fa2e0
sub esp, 0x14
mov edi, esp
mov dword [esp + 0x30], esp
push eax
call fcn.004f56b0
push 0x625450
lea edx, [esp + 0x80]
mov dword [esp + 0x1c0], 0
push edx
mov ecx, ebx
mov dword [esp + 0x1c4], 0xffffffff
call fcn.004fa820
mov esi, 1
lea ecx, [esp + 0x28]
mov dword [esp + 0x1a8], esi
call fcn.004f55d0
lea ecx, [esp + 0x28]
push ecx
mov byte [esp + 0x1ac], 2
mov eax, dword [ebx]
mov edx, dword [eax + 4]
push 0x67c44c
push 0x625454
mov ecx, ebx
call edx
test al, al
jne 0x4f6ced
mov eax, dword [ebx]
mov edx, dword [eax + 4]
lea ecx, [esp + 0x1c]
push ecx
push 0x67ca18
push str.BitLength
mov ecx, ebx
call edx
test al, al
je 0x4f6d08
mov edi, dword [esp + 0x1c]
lea eax, [esp + 0xa8]
push eax
call fcn.004f59e0
add esp, 4
lea ecx, [esp + 0x28]
push ecx
mov edi, eax
mov byte [esp + 0x1ac], 3
call fcn.004f5a90
lea ecx, [esp + 0xa8]
mov byte [esp + 0x1a8], 2
call fcn.004d6df0
cmp dword [esp + 0x78], esi
je 0x4f6d49
cmp dword [esp + 0x38], esi
je 0x4f6d62
lea edx, [esp + 0x28]
lea eax, [esp + 0x68]
call fcn.004f86b0
jmp 0x4f6d5e
push str.Integer:_missing_Max_argument
lea ecx, [esp + 0xc0]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const__]
lea edx, [esp + 0xbc]
push edx
lea eax, [esp + 0x140]
push eax
mov byte [esp + 0x1b0], 4
call fcn.004d5e80
push 0x63d61c
lea ecx, [esp + 0x140]
push ecx
call sub.MSVCR90.dll__CxxThrowException
cmp dword [esp + 0x38], esi
jne 0x4f6da3
lea edx, [esp + 0x28]
lea eax, [esp + 0x68]
call fcn.004f86b0
neg eax
test eax, eax
jle 0x4f6da3
push str.Integer:_Min_must_be_no_greater_than_Max
lea ecx, [esp + 0xc0]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const__]
lea edx, [esp + 0xbc]
push edx
lea eax, [esp + 0x140]
push eax
mov byte [esp + 0x1b0], 5
call fcn.004d5e80
push 0x63d61c
lea ecx, [esp + 0x140]
push ecx
call sub.MSVCR90.dll__CxxThrowException
call fcn.004fa2e0
sub esp, 0x14
mov edi, esp
mov dword [esp + 0x30], esp
push eax
call fcn.004f56b0
push str.EquivalentTo
lea edx, [esp + 0x94]
mov byte [esp + 0x1c0], 6
push edx
mov ecx, ebx
mov byte [esp + 0x1c4], 2
call fcn.004fa820
mov byte [esp + 0x1a8], 7
call fcn.004fa390
sub esp, 0x14
mov edi, esp
mov dword [esp + 0x30], esp
push eax
call fcn.004f56b0
push 0x62547c
lea eax, [esp + 0x6c]
mov byte [esp + 0x1c0], 8
push eax
mov ecx, ebx
mov byte [esp + 0x1c4], 7
call fcn.004fa820
mov byte [esp + 0x1a8], 9
cmp dword [esp + 0x8c], esi
je 0x4f7512
lea edx, [esp + 0x54]
lea eax, [esp + 0x7c]
call fcn.004d6ed0
test al, al
jne 0x4f7512
mov edx, dword [ebx]
mov edx, dword [edx + 4]
lea eax, [esp + 0x14]
push eax
push 0x67d490
xor esi, esi
push str.RandomNumberType
mov ecx, ebx
mov dword [esp + 0x20], esi
call edx
mov dword [esp + 0x18], esi
lea eax, [esp + 0x90]
push eax
mov byte [esp + 0x1ac], 0xb
call fcn.004e8d50
lea eax, [esp + 0x90]
push eax
mov byte [esp + 0x1ac], 0xc
mov edx, dword [ebx]
mov edx, dword [edx + 4]
push 0x67d460
push str.Seed
mov ecx, ebx
call edx
test al, al
je 0x4f7058
xor ecx, ecx
lea esi, [esp + 0x13c]
call fcn.004e55c0
mov eax, esi
push eax
lea eax, [esp + 0x16c]
mov byte [esp + 0x1ac], 0xd
call fcn.004e65b0
lea ecx, [esp + 0x168]
push ecx
lea ecx, [esp + 0x6c]
mov byte [esp + 0x1ac], 0xe
call fcn.004f6250
lea edx, [esp + 0x168]
push edx
lea ecx, [esp + 0x2c]
call fcn.004f6250
lea eax, [esp + 0x168]
push eax
lea ecx, [esp + 0x80]
call fcn.004f6250
lea ecx, [esp + 0x168]
push ecx
lea ecx, [esp + 0x58]
call fcn.004f6250
mov edx, dword [esp + 0x14]
push edx
lea ecx, [esp + 0x16c]
call fcn.004fa8b0
add esp, 4
cmp byte [esp + 0x90], 0
je 0x4f6f46
mov edi, dword [esp + 0xa0]
mov eax, dword [esp + 0xa4]
jmp 0x4f6f54
mov edi, dword [esp + 0x98]
mov eax, dword [esp + 0x94]
push eax
lea eax, [esp + 0x16c]
call fcn.004e67f0
add esp, 4
lea edi, [esp + 0x168]
call fcn.004e72e0
mov eax, dword [esp + 0x150]
xor ecx, ecx
xor edx, edx
test eax, eax
je 0x4f6f91
nop
mov esi, dword [eax + 0x14]
sub esi, dword [eax + 0x10]
mov eax, dword [eax]
add ecx, esi
adc edx, 0
test eax, eax
jne 0x4f6f80
mov edi, dword [esp + 0x15c]
xor eax, eax
add edi, ecx
adc eax, edx
lea esi, [esp + 0x40]
mov dword [esp + 0x20], eax
call fcn.004da5b0
mov byte [esp + 0x1a8], 0xf
mov esi, dword [esp + 0x44]
mov edi, dword [esp + 0x48]
push esi
push edi
lea ecx, [esp + 0x144]
call fcn.004e60c0
push 0x14
call sub.mfc90u.dll_new_1
add esp, 4
mov dword [esp + 0x1c], eax
mov byte [esp + 0x1a8], 0x10
test eax, eax
je 0x4f6fef
push esi
push edi
push eax
call fcn.004f6a80
mov esi, eax
jmp 0x4f6ff1
xor esi, esi
mov byte [esp + 0x1a8], 0xf
lea eax, [esp + 0x40]
mov dword [esp + 0x18], esi
mov byte [esp + 0x1a8], 0xe
call fcn.004da5e0
lea ecx, [esp + 0x168]
push ecx
mov byte [esp + 0x1ac], 0xd
call fcn.004e7250
lea edx, [esp + 0x13c]
mov byte [esp + 0x1a8], 0xc
push edx
mov dword [esp + method.CryptoPP::ByteQueue.virtual_0], vtable.CryptoPP::ByteQueue.0
mov dword [esp + method.CryptoPP::BitBucket.1.virtual_0], vtable.CryptoPP::ByteQueue.1.0
call fcn.004e5820
test esi, esi
je 0x4f7058
mov dword [esp + 0x1c], esi
jmp 0x4f7062
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x1c], eax
mov esi, eax
mov eax, dword [esp + 0x14]
sub eax, 0
je 0x4f7290
sub eax, 1
je 0x4f70b5
push str.Integer:_invalid_RandomNumberType_argument
lea ecx, [esp + 0x140]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const__]
lea ecx, [esp + 0x13c]
push ecx
lea edx, [esp + 0x16c]
push edx
mov byte [esp + 0x1b0], 0x1d
call fcn.004d5e80
push 0x63d61c
lea eax, [esp + 0x16c]
push eax
call sub.MSVCR90.dll__CxxThrowException
mov edx, dword [ebx]
mov edx, dword [edx + 4]
lea eax, [esp + 0x14]
push eax
push 0x67d4c4
push str.PointerToPrimeSelector
mov ecx, ebx
mov dword [esp + 0x20], 0
call edx
mov esi, dword [esp + 0x14]
xor eax, eax
jmp 0x4f70e0
inc eax
mov dword [esp + 0x3c], eax
cmp eax, 0x10
jne 0x4f7167
lea eax, [esp + 0x68]
push eax
lea edi, [esp + 0x44]
call fcn.004f56b0
push esi
lea ecx, [esp + 0x58]
push ecx
lea edx, [esp + 0x84]
push edx
lea eax, [esp + 0x34]
push eax
mov ecx, edi
push ecx
mov byte [esp + 0x1bc], 0x19
call fcn.00516340
add esp, 0x14
test al, al
je 0x4f7272
mov ebx, dword [esp + 0x24]
push ebx
call fcn.004f5a90
push esi
lea edx, [esp + 0x58]
push edx
lea eax, [esp + 0x84]
push eax
lea ecx, [esp + 0x34]
push ecx
mov edx, edi
push edx
call fcn.00516340
add esp, 0x14
mov byte [esp + 0x1a8], 0xc
mov ecx, edi
test al, al
je 0x4f7492
call fcn.004d6df0
jmp 0x4f716b
mov ebx, dword [esp + 0x24]
mov ecx, dword [esp + 0x1c]
lea eax, [esp + 0x68]
push eax
push ecx
push ebx
lea ecx, [esp + 0x34]
call fcn.004f6580
lea eax, [esp + 0x28]
call fcn.00515b00
push eax
lea edi, [esp + 0xac]
call fcn.004f5740
lea edx, [esp + 0x54]
push edx
lea eax, [esp + 0xf0]
push eax
mov byte [esp + 0x1b0], 0x1a
call fcn.004d7030
push eax
lea ecx, [esp + 0x134]
push ecx
mov edi, ebx
mov byte [esp + 0x1b8], 0x1b
call fcn.004d6f70
add esp, 0x10
mov edi, eax
mov eax, 1
mov byte [esp + 0x1a8], 0x1c
cmp dword [esp + 0x38], eax
je 0x4f71f1
cmp dword [edi + 0x10], eax
je 0x4f720b
mov edx, edi
lea eax, [esp + 0x28]
call fcn.004f86b0
jmp 0x4f7203
cmp dword [edi + 0x10], eax
jne 0x4f7207
mov edx, edi
lea eax, [esp + 0x28]
call fcn.004f86b0
neg eax
test eax, eax
jge 0x4f720b
lea edi, [esp + 0x28]
push esi
lea edx, [esp + 0x58]
push edx
lea eax, [esp + 0x84]
push eax
push edi
push ebx
call fcn.00516340
add esp, 0x14
lea ecx, [esp + 0x128]
mov bl, al
mov byte [esp + 0x1a8], 0x1b
call fcn.004d6df0
lea ecx, [esp + 0xec]
mov byte [esp + 0x1a8], 0x1a
call fcn.004d6df0
lea ecx, [esp + 0xa8]
mov byte [esp + 0x1a8], 0xc
call fcn.004d6df0
test bl, bl
jne 0x4f7497
mov eax, dword [esp + 0x3c]
jmp 0x4f70e0
lea ecx, [esp + 0x40]
mov byte [esp + 0x1a8], 0xc
call fcn.004d6df0
lea ecx, [esp + 0x90]
push ecx
jmp 0x4f7365
call fcn.004fa390
mov edx, eax
lea eax, [esp + 0x54]
call fcn.004d6e80
test al, al
je 0x4f72bd
mov edx, dword [esp + 0x24]
lea ecx, [esp + 0x68]
push ecx
push esi
push edx
lea ecx, [esp + 0x34]
call fcn.004f6580
jmp 0x4f7497
lea eax, [esp + 0x68]
push eax
lea ecx, [esp + 0xdc]
push ecx
lea edi, [esp + 0x84]
call fcn.004d6fd0
lea edx, [esp + 0x5c]
push edx
lea ecx, [esp + 0x10c]
push ecx
mov ecx, eax
mov byte [esp + 0x1b8], 0x12
call fcn.004d70f0
push eax
lea edx, [esp + 0x54]
push edx
lea edi, [esp + 0x80]
mov byte [esp + 0x1c0], 0x13
call fcn.004d6f70
add esp, 0x18
lea ecx, [esp + 0x100]
mov byte [esp + 0x1a8], 0x15
call fcn.004d6df0
lea ecx, [esp + 0xd8]
mov byte [esp + 0x1a8], 0x16
call fcn.004d6df0
lea edx, [esp + 0x40]
lea eax, [esp + 0x28]
call fcn.004d6f20
lea ecx, [esp + 0x40]
test al, al
je 0x4f73f9
mov byte [esp + 0x1a8], 0xc
call fcn.004d6df0
lea eax, [esp + 0x90]
push eax
mov byte [esp + 0x1ac], 0xb
call fcn.004e8eb0
mov byte [esp + 0x1a8], 9
mov ecx, dword [esp + 0x18]
test ecx, ecx
je 0x4f738a
mov edx, dword [ecx]
mov eax, dword [edx]
push 1
call eax
lea ecx, [esp + 0x54]
mov byte [esp + 0x1a8], 7
call fcn.004d6df0
lea ecx, [esp + 0x7c]
mov byte [esp + 0x1a8], 2
call fcn.004d6df0
lea ecx, [esp + 0x28]
mov byte [esp + 0x1a8], 1
call fcn.004d6df0
lea ecx, [esp + 0x68]
mov dword [esp + 0x1a8], 0xffffffff
call fcn.004d6df0
xor al, al
mov ecx, dword [esp + 0x1a0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x188]
xor ecx, esp
call fcn.0054eee2
mov esp, ebp
pop ebp
ret 8
push ecx
lea edx, [esp + 0xc0]
push edx
lea edi, [esp + 0x30]
call fcn.004d6fd0
lea ecx, [esp + 0x5c]
push ecx
lea edx, [esp + 0x120]
mov bl, 0x17
push edx
mov ecx, eax
mov byte [esp + 0x1b8], bl
call fcn.004d7090
add esp, 0x10
mov edi, eax
mov byte [esp + 0x1a8], 0x18
call fcn.004fa2e0
push eax
push esi
mov esi, dword [esp + 0x2c]
push esi
mov ecx, edi
call fcn.004f6580
lea ecx, [esp + 0x114]
mov byte [esp + 0x1a8], bl
call fcn.004d6df0
lea ecx, [esp + 0xbc]
mov byte [esp + 0x1a8], 0x16
call fcn.004d6df0
lea edx, [esp + 0x54]
mov ecx, esi
call fcn.004e82e0
lea eax, [esp + 0x40]
push eax
mov eax, esi
call fcn.004f7ae0
mov byte [esp + 0x1a8], 0xc
lea ecx, [esp + 0x40]
call fcn.004d6df0
lea ecx, [esp + 0x90]
push ecx
mov byte [esp + 0x1ac], 0xb
call fcn.004e8eb0
mov byte [esp + 0x1a8], 9
mov ecx, dword [esp + 0x18]
test ecx, ecx
je 0x4f74c4
mov edx, dword [ecx]
mov eax, dword [edx]
push 1
call eax
lea ecx, [esp + 0x54]
mov byte [esp + 0x1a8], 7
call fcn.004d6df0
lea ecx, [esp + 0x7c]
mov byte [esp + 0x1a8], 2
call fcn.004d6df0
lea ecx, [esp + 0x28]
mov byte [esp + 0x1a8], 1
call fcn.004d6df0
lea ecx, [esp + 0x68]
mov dword [esp + 0x1a8], 0xffffffff
call fcn.004d6df0
mov al, 1
jmp 0x4f73d3
push str.Integer:_invalid_EquivalentTo_and_or_Mod_argument
lea ecx, [esp + 0x140]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const__]
lea ecx, [esp + 0x13c]
push ecx
lea edx, [esp + 0x16c]
push edx
mov byte [esp + 0x1b0], 0xa
call fcn.004d5e80
push 0x63d61c
lea eax, [esp + 0x16c]
push eax
call sub.MSVCR90.dll__CxxThrowException
int3