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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x66dd2d
mov eax, dword fs:[0]
push eax
sub esp, 0x190
mov eax, dword [0x704e7c]
xor eax, esp
mov dword [esp + 0x188], eax
push ebx
push esi
push edi
mov eax, dword [0x704e7c]
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 edi, ecx
mov dword [esp + 0x24], edi
mov dword [esp + 0x18], eax
call fcn.004146c0
sub esp, 0x14
mov ecx, esp
mov dword [esp + 0x34], esp
push eax
call fcn.0040ea20
push 0x6b0430
lea esi, [esp + 0x80]
mov ecx, ebx
call fcn.00414b80
xor esi, esi
lea ecx, [esp + 0x2c]
mov dword [esp + 0x1a8], esi
call fcn.0040e940
lea eax, [esp + 0x2c]
push eax
mov byte [esp + 0x1ac], 1
mov edx, dword [ebx]
mov edx, dword [edx + 4]
push 0x7086b0
push 0x6b0434
mov ecx, ebx
call edx
test al, al
jne 0x40fe08
mov eax, dword [ebx]
mov edx, dword [eax + 4]
lea ecx, [esp + 0x28]
push ecx
push 0x708900
push str.BitLength
mov ecx, ebx
call edx
test al, al
je 0x40fe3a
mov eax, dword [esp + 0x28]
push eax
lea ecx, [esp + 0xc8]
push ecx
call fcn.0040ed80
add esp, 8
push eax
lea ecx, [esp + 0x30]
mov byte [esp + 0x1ac], 2
call fcn.0040ee50
mov byte [esp + 0x1a8], 1
mov ecx, dword [esp + 0xcc]
mov edi, dword [esp + 0xd0]
mov edx, ecx
add edx, edx
mov esi, edi
xor eax, eax
add edx, edx
rep stosd dword es:[edi], eax
push esi
cmp edx, 0x10
jb 0x40fe33
call fcn.0063c1c4
mov edi, dword [esp + 0x28]
add esp, 4
mov esi, 1
cmp dword [esp + 0x78], esi
je 0x40fea2
cmp dword [esp + 0x3c], esi
je 0x40febb
lea edx, [esp + 0x2c]
lea eax, [esp + 0x68]
call fcn.00411db0
jmp 0x40feb7
call fcn.0061588e
jmp 0x40fe01
push 0x1d
push str.Integer:_missing_Max_argument
lea ecx, [esp + 0xb0]
mov dword [esp + 0xc8], 0xf
mov dword [esp + 0xc4], esi
mov byte [esp + 0xb4], 0
call fcn.00416f50
lea eax, [esp + 0xa8]
push eax
push 1
lea ecx, [esp + 0x144]
mov byte [esp + 0x1b0], 3
call fcn.004175b0
push 0x6d564c
lea ecx, [esp + 0x140]
push ecx
mov dword [esp + method.CryptoPP::Exception.virtual_0], vtable.CryptoPP::InvalidArgument.0
call fcn.00610ded
cmp dword [esp + 0x3c], esi
jne 0x40ff26
lea edx, [esp + 0x2c]
lea eax, [esp + 0x68]
call fcn.00411db0
neg eax
test eax, eax
jle 0x40ff26
push 0x28
push 0x6b0404
lea ecx, [esp + 0xb0]
mov dword [esp + 0xc8], 0xf
mov dword [esp + 0xc4], 0
mov byte [esp + 0xb4], 0
call fcn.00416f50
lea edx, [esp + 0xa8]
push edx
push esi
lea ecx, [esp + 0x144]
mov byte [esp + 0x1b0], 4
call fcn.004175b0
push 0x6d564c
lea eax, [esp + 0x140]
push eax
mov dword [esp + method.CryptoPP::Exception.virtual_0], vtable.CryptoPP::InvalidArgument.0
call fcn.00610ded
call fcn.004146c0
sub esp, 0x14
mov ecx, esp
mov dword [esp + 0x34], esp
push eax
call fcn.0040ea20
push str.EquivalentTo
lea esi, [esp + 0xac]
mov ecx, ebx
call fcn.00414b80
mov byte [esp + 0x1a8], 5
call fcn.00414720
sub esp, 0x14
mov ecx, esp
mov dword [esp + 0x34], esp
push eax
call fcn.0040ea20
push 0x6b045c
lea esi, [esp + 0x6c]
mov ecx, ebx
call fcn.00414b80
mov esi, 1
mov byte [esp + 0x1a8], 6
cmp dword [esp + 0xa4], esi
je 0x4106bf
lea edx, [esp + 0x54]
lea eax, [esp + 0x94]
call fcn.00401490
test al, al
jne 0x4106bf
mov edx, dword [ebx]
mov edx, dword [edx + 4]
lea eax, [esp + 0x14]
push eax
push 0x708784
push str.RandomNumberType
mov ecx, ebx
mov dword [esp + 0x20], 0
call edx
xor eax, eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x8c], eax
mov dword [esp + 0x90], eax
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], eax
mov byte [esp + 0x7c], al
lea ecx, [esp + 0x7c]
push ecx
mov byte [esp + 0x1ac], 0xb
mov eax, dword [ebx]
mov edx, dword [eax + 4]
push 0x708754
push str.Seed
mov ecx, ebx
call edx
test al, al
je 0x4101af
xor ecx, ecx
lea edi, [esp + 0x13c]
call fcn.004373b0
mov eax, edi
push eax
lea eax, [esp + 0x16c]
mov byte [esp + 0x1ac], 0xc
call fcn.00402480
lea ecx, [esp + 0x168]
push ecx
lea ecx, [esp + 0x6c]
mov byte [esp + 0x1ac], 0xd
call fcn.0040f730
lea edx, [esp + 0x168]
push edx
lea ecx, [esp + 0x30]
call fcn.0040f730
lea eax, [esp + 0x168]
push eax
lea ecx, [esp + 0x98]
call fcn.0040f730
lea ecx, [esp + 0x168]
push ecx
lea ecx, [esp + 0x58]
call fcn.0040f730
mov edx, dword [esp + 0x14]
push edx
lea ecx, [esp + 0x16c]
call fcn.00414c20
add esp, 4
cmp byte [esp + 0x7c], 0
je 0x4100b8
mov edi, dword [esp + 0x8c]
mov eax, dword [esp + 0x90]
jmp 0x4100c6
mov edi, dword [esp + 0x84]
mov eax, dword [esp + 0x80]
push eax
lea eax, [esp + 0x16c]
call fcn.00438200
add esp, 4
lea edi, [esp + 0x168]
call fcn.00438580
lea ecx, [esp + 0x13c]
call fcn.00402240
push eax
lea ecx, [esp + 0x44]
call fcn.00413550
mov byte [esp + 0x1a8], 0xe
mov esi, dword [esp + 0x44]
mov edi, dword [esp + 0x48]
push esi
push edi
lea ecx, [esp + 0x144]
call fcn.004377d0
push 0x14
call fcn.00610463
add esp, 4
mov dword [esp + 0x20], eax
mov byte [esp + 0x1a8], 0xf
test eax, eax
je 0x41013d
push esi
push edi
mov esi, eax
call fcn.0040fbf0
mov esi, eax
jmp 0x41013f
xor esi, esi
mov ecx, dword [esp + 0x44]
xor al, al
rep stosb byte es:[edi], al
mov eax, dword [esp + 0x48]
push eax
mov dword [esp + 0x20], esi
call fcn.0061588e
add esp, 4
lea ecx, [esp + 0x168]
push ecx
mov byte [esp + 0x1ac], 0xc
call fcn.004384f0
mov byte [esp + 0x1a8], 0xb
lea eax, [esp + 0x13c]
mov dword [esp + method.CryptoPP::ByteQueue.1.virtual_0], vtable.CryptoPP::ByteQueue.1.0
mov dword [esp + method.CryptoPP::ByteQueue.virtual_0], vtable.CryptoPP::ByteQueue.0
call fcn.004374c0
mov edi, dword [esp + 0x24]
test esi, esi
je 0x4101aa
mov dword [esp + 0x18], esi
mov esi, 1
jmp 0x4101b7
mov esi, 1
mov edx, dword [esp + 0x18]
mov dword [esp + 0x18], edx
mov eax, dword [esp + 0x14]
sub eax, 0
je 0x4104b0
sub eax, esi
je 0x410213
push str.Integer:_invalid_RandomNumberType_argument
lea ecx, [esp + 0x140]
call fcn.00417080
lea eax, [esp + 0x13c]
push eax
push esi
lea ecx, [esp + 0x170]
mov byte [esp + 0x1b0], 0x1b
call fcn.004175b0
push 0x6d564c
lea ecx, [esp + 0x16c]
push ecx
mov dword [esp + method.CryptoPP::Exception.virtual_0], vtable.CryptoPP::InvalidArgument.0
call fcn.00610ded
mov edx, dword [ebx]
mov edx, dword [edx + 4]
lea eax, [esp + 0x14]
push eax
push 0x7087b8
push str.PointerToPrimeSelector
mov ecx, ebx
mov dword [esp + 0x20], 0
call edx
mov ebx, dword [esp + 0x14]
mov dword [esp + 0x28], ebx
xor eax, eax
lea ecx, [ecx]
add eax, esi
mov dword [esp + 0x20], eax
cmp eax, 0x10
jne 0x4102d2
lea eax, [esp + 0x68]
push eax
lea ecx, [esp + 0x44]
call fcn.0040ea20
push ebx
lea ecx, [esp + 0x58]
push ecx
lea edx, [esp + 0x9c]
push edx
lea eax, [esp + 0x38]
push eax
lea ecx, [esp + 0x50]
push ecx
mov byte [esp + 0x1bc], 0x17
call fcn.0043b110
add esp, 0x14
test al, al
je 0x41047d
lea edx, [esp + 0x40]
push edx
mov ecx, edi
call fcn.0040ee50
push ebx
lea eax, [esp + 0x58]
push eax
lea ecx, [esp + 0x9c]
push ecx
lea edx, [esp + 0x38]
push edx
lea eax, [esp + 0x50]
push eax
call fcn.0043b110
add esp, 0x14
lea ecx, [esp + 0x40]
test al, al
je 0x41044f
mov byte [esp + 0x1a8], 0xb
call fcn.00401380
mov edx, dword [esp + 0x18]
lea ecx, [esp + 0x68]
push ecx
push edx
push edi
lea ecx, [esp + 0x38]
call fcn.0040f9a0
lea eax, [esp + 0x2c]
call fcn.0043a590
push eax
lea ecx, [esp + 0xc8]
call fcn.0040eb10
lea eax, [esp + 0xc4]
push eax
lea ecx, [esp + 0x58]
push ecx
lea edx, [esp + 0xf4]
push edx
mov byte [esp + 0x1b4], 0x18
call fcn.00401590
add esp, 0xc
push eax
lea eax, [esp + 0xdc]
push edi
push eax
mov byte [esp + 0x1b4], 0x19
call fcn.00401530
add esp, 0xc
mov ebx, eax
mov byte [esp + 0x1a8], 0x1a
cmp dword [esp + 0x3c], esi
je 0x41035d
cmp dword [ebx + 0x10], esi
je 0x410377
mov edx, ebx
lea eax, [esp + 0x2c]
call fcn.00411db0
jmp 0x41036f
cmp dword [ebx + 0x10], esi
jne 0x410373
mov edx, ebx
lea eax, [esp + 0x2c]
call fcn.00411db0
neg eax
test eax, eax
jge 0x410377
lea ebx, [esp + 0x2c]
mov ecx, dword [esp + 0x28]
push ecx
lea edx, [esp + 0x58]
push edx
lea eax, [esp + 0x9c]
push eax
push ebx
push edi
call fcn.0043b110
mov ecx, dword [esp + 0xf4]
mov edi, dword [esp + 0xf8]
mov byte [esp + 0x27], al
xor eax, eax
mov edx, ecx
mov ebx, edi
rep stosd dword es:[edi], eax
add esp, 0x14
lea ecx, [edx*4]
push ebx
cmp ecx, 0x10
jb 0x4103c1
call fcn.0063c1c4
jmp 0x4103c6
call fcn.0061588e
mov ecx, dword [esp + 0xf8]
mov edi, dword [esp + 0xfc]
mov edx, ecx
add edx, edx
add esp, 4
mov ebx, edi
xor eax, eax
add edx, edx
rep stosd dword es:[edi], eax
push ebx
cmp edx, 0x10
jb 0x4103f0
call fcn.0063c1c4
jmp 0x4103f5
call fcn.0061588e
mov byte [esp + 0x1ac], 0xb
mov ebx, dword [esp + 0xd4]
mov edx, dword [esp + 0xd0]
xor eax, eax
mov edi, ebx
mov ecx, edx
rep stosd dword es:[edi], eax
add esp, 4
lea eax, [edx*4]
push ebx
cmp eax, 0x10
jb 0x41042a
call fcn.0063c1c4
jmp 0x41042f
call fcn.0061588e
add esp, 4
cmp byte [esp + 0x13], 0
jne 0x410486
mov edi, dword [esp + 0x24]
mov eax, dword [esp + 0x20]
mov ebx, dword [esp + 0x28]
mov esi, 1
jmp 0x410240
call fcn.00401380
lea ecx, [esp + 0x7c]
call fcn.004023e0
mov byte [esp + 0x1a8], 6
mov ecx, dword [esp + 0x1c]
test ecx, ecx
je 0x410691
mov edx, dword [ecx]
mov eax, dword [edx]
push esi
call eax
jmp 0x410691
lea ecx, [esp + 0x40]
jmp 0x41056b
lea ecx, [esp + 0x7c]
call fcn.004023e0
mov byte [esp + 0x1a8], 6
mov ecx, dword [esp + 0x1c]
test ecx, ecx
je 0x410691
mov edx, dword [ecx]
mov eax, dword [edx]
push 1
call eax
jmp 0x410691
call fcn.00414720
push eax
lea ecx, [esp + 0x58]
push ecx
call fcn.004013e0
add esp, 8
test al, al
je 0x4104e0
mov eax, dword [esp + 0x18]
lea edx, [esp + 0x68]
push edx
push eax
push edi
lea ecx, [esp + 0x38]
call fcn.0040f9a0
jmp 0x410671
lea ecx, [esp + 0x68]
push ecx
lea edx, [esp + 0x98]
push edx
lea eax, [esp + 0x108]
push eax
call fcn.00401560
add esp, 0xc
lea ecx, [esp + 0x54]
push ecx
push eax
lea edx, [esp + 0x130]
push edx
mov byte [esp + 0x1b4], 0x10
call fcn.004015f0
add esp, 0xc
push eax
lea eax, [esp + 0x6c]
push eax
lea ecx, [esp + 0x48]
push ecx
mov byte [esp + 0x1b4], 0x11
call fcn.00401530
add esp, 0xc
lea ecx, [esp + 0x128]
call fcn.00401380
lea ecx, [esp + 0x100]
mov byte [esp + 0x1a8], 0x14
call fcn.00401380
lea edx, [esp + 0x40]
lea eax, [esp + 0x2c]
call fcn.004014e0
lea ecx, [esp + 0x40]
test al, al
je 0x4105df
call fcn.00401380
lea ecx, [esp + 0x7c]
call fcn.004023e0
mov byte [esp + 0x1a8], 6
mov ecx, dword [esp + 0x1c]
test ecx, ecx
je 0x410590
mov edx, dword [ecx]
mov eax, dword [edx]
push esi
call eax
lea ecx, [esp + 0x54]
call fcn.00401380
lea ecx, [esp + 0x94]
call fcn.00401380
lea ecx, [esp + 0x2c]
call fcn.00401380
lea ecx, [esp + 0x68]
call fcn.00401380
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.006108ae
mov esp, ebp
pop ebp
ret 8
push ecx
lea edx, [esp + 0x30]
push edx
lea eax, [esp + 0xb0]
push eax
call fcn.00401560
add esp, 0xc
lea ecx, [esp + 0x54]
push ecx
push eax
lea edx, [esp + 0x11c]
push edx
mov byte [esp + 0x1b4], 0x15
call fcn.004015c0
add esp, 0xc
mov ebx, eax
mov byte [esp + 0x1a8], 0x16
call fcn.004146c0
push eax
mov eax, dword [esp + 0x1c]
push eax
push edi
mov ecx, ebx
call fcn.0040f9a0
lea ecx, [esp + 0x114]
call fcn.00401380
lea ecx, [esp + 0xa8]
mov byte [esp + 0x1a8], 0x14
call fcn.00401380
lea ecx, [esp + 0x54]
push ecx
mov ecx, edi
call fcn.00401180
lea edx, [esp + 0x40]
push edx
mov eax, edi
call fcn.00410d50
lea ecx, [esp + 0x40]
call fcn.00401380
lea ecx, [esp + 0x7c]
call fcn.004023e0
mov byte [esp + 0x1a8], 6
mov ecx, dword [esp + 0x1c]
test ecx, ecx
je 0x410691
mov eax, dword [ecx]
mov edx, dword [eax]
push esi
call edx
lea ecx, [esp + 0x54]
call fcn.00401380
lea ecx, [esp + 0x94]
call fcn.00401380
lea ecx, [esp + 0x2c]
call fcn.00401380
lea ecx, [esp + 0x68]
call fcn.00401380
mov al, 1
jmp 0x4105b9
push 0x31
push str.Integer:_invalid_EquivalentTo_and_or_Mod_argument
lea ecx, [esp + 0xb0]
mov dword [esp + 0xc8], 0xf
mov dword [esp + 0xc4], 0
mov byte [esp + 0xb4], 0
call fcn.00416f50
lea eax, [esp + 0xa8]
push eax
push esi
lea ecx, [esp + 0x170]
mov byte [esp + 0x1b0], 7
call fcn.004175b0
push 0x6d564c
lea ecx, [esp + 0x16c]
push ecx
mov dword [esp + method.CryptoPP::Exception.virtual_0], vtable.CryptoPP::InvalidArgument.0
call fcn.00610ded
int3