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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x61bced
mov eax, dword fs:[0]
push eax
sub esp, 0x190
mov eax, dword [0x6ac9e8]
xor eax, esp
mov dword [esp + 0x188], eax
push ebx
push esi
push edi
mov eax, dword [0x6ac9e8]
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.0040ea40
push 0x65aa50
lea esi, [esp + 0x80]
mov ecx, ebx
call fcn.00414b80
xor esi, esi
lea ecx, [esp + 0x2c]
mov dword [esp + 0x1a8], esi
call fcn.0040e960
lea eax, [esp + 0x2c]
push eax
mov byte [esp + 0x1ac], 1
mov edx, dword [ebx]
mov edx, dword [edx + 4]
push 0x6b0178
push 0x65aa54
mov ecx, ebx
call edx
test al, al
jne 0x40fe18
mov eax, dword [ebx]
mov edx, dword [eax + 4]
lea ecx, [esp + 0x28]
push ecx
push 0x6b0380
push str.BitLength
mov ecx, ebx
call edx
test al, al
je 0x40fe4a
mov eax, dword [esp + 0x28]
push eax
lea ecx, [esp + 0xc8]
push ecx
call fcn.0040eda0
add esp, 8
push eax
lea ecx, [esp + 0x30]
mov byte [esp + 0x1ac], 2
call fcn.0040ee60
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 0x40fe43
call fcn.005ebc82
mov edi, dword [esp + 0x28]
add esp, 4
mov esi, 1
cmp dword [esp + 0x78], esi
je 0x40feb2
cmp dword [esp + 0x3c], esi
je 0x40fecb
lea edx, [esp + 0x2c]
lea eax, [esp + 0x68]
call fcn.00411dc0
jmp 0x40fec7
call fcn.005c8c7b
jmp 0x40fe11
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.00416460
lea eax, [esp + 0xa8]
push eax
push 1
lea ecx, [esp + 0x144]
mov byte [esp + 0x1b0], 3
call fcn.00416a60
push 0x67cfa4
lea ecx, [esp + 0x140]
push ecx
mov dword [esp + method.CryptoPP::Exception.virtual_0], vtable.CryptoPP::InvalidArgument.0
call fcn.005c5906
cmp dword [esp + 0x3c], esi
jne 0x40ff36
lea edx, [esp + 0x2c]
lea eax, [esp + 0x68]
call fcn.00411dc0
neg eax
test eax, eax
jle 0x40ff36
push 0x28
push 0x65aa24
lea ecx, [esp + 0xb0]
mov dword [esp + 0xc8], 0xf
mov dword [esp + 0xc4], 0
mov byte [esp + 0xb4], 0
call fcn.00416460
lea edx, [esp + 0xa8]
push edx
push esi
lea ecx, [esp + 0x144]
mov byte [esp + 0x1b0], 4
call fcn.00416a60
push 0x67cfa4
lea eax, [esp + 0x140]
push eax
mov dword [esp + method.CryptoPP::Exception.virtual_0], vtable.CryptoPP::InvalidArgument.0
call fcn.005c5906
call fcn.004146c0
sub esp, 0x14
mov ecx, esp
mov dword [esp + 0x34], esp
push eax
call fcn.0040ea40
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.0040ea40
push 0x65aa7c
lea esi, [esp + 0x6c]
mov ecx, ebx
call fcn.00414b80
mov esi, 1
mov byte [esp + 0x1a8], 6
cmp dword [esp + 0xa4], esi
je 0x4106cf
lea edx, [esp + 0x54]
lea eax, [esp + 0x94]
call fcn.00401490
test al, al
jne 0x4106cf
mov edx, dword [ebx]
mov edx, dword [edx + 4]
lea eax, [esp + 0x14]
push eax
push 0x6b024c
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 0x6b021c
push str.Seed
mov ecx, ebx
call edx
test al, al
je 0x4101bf
xor ecx, ecx
lea edi, [esp + 0x13c]
call fcn.004366a0
mov eax, edi
push eax
lea eax, [esp + 0x16c]
mov byte [esp + 0x1ac], 0xc
call fcn.004024a0
lea ecx, [esp + 0x168]
push ecx
lea ecx, [esp + 0x6c]
mov byte [esp + 0x1ac], 0xd
call fcn.0040f740
lea edx, [esp + 0x168]
push edx
lea ecx, [esp + 0x30]
call fcn.0040f740
lea eax, [esp + 0x168]
push eax
lea ecx, [esp + 0x98]
call fcn.0040f740
lea ecx, [esp + 0x168]
push ecx
lea ecx, [esp + 0x58]
call fcn.0040f740
mov edx, dword [esp + 0x14]
push edx
lea ecx, [esp + 0x16c]
call fcn.00414c20
add esp, 4
cmp byte [esp + 0x7c], 0
je 0x4100c8
mov edi, dword [esp + 0x8c]
mov eax, dword [esp + 0x90]
jmp 0x4100d6
mov edi, dword [esp + 0x84]
mov eax, dword [esp + 0x80]
push eax
lea eax, [esp + 0x16c]
call fcn.004374f0
add esp, 4
lea edi, [esp + 0x168]
call fcn.00437870
lea ecx, [esp + 0x13c]
call fcn.00402270
push eax
lea ecx, [esp + 0x44]
call fcn.00413560
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.00436fa0
push 0x14
call fcn.005c58a1
add esp, 4
mov dword [esp + 0x20], eax
mov byte [esp + 0x1a8], 0xf
test eax, eax
je 0x41014d
push esi
push edi
mov esi, eax
call fcn.0040fc00
mov esi, eax
jmp 0x41014f
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.005c8c7b
add esp, 4
lea ecx, [esp + 0x168]
push ecx
mov byte [esp + 0x1ac], 0xc
call fcn.004377e0
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 + 0x140], vtable.CryptoPP::ByteQueue.0
call fcn.004367b0
mov edi, dword [esp + 0x24]
test esi, esi
je 0x4101ba
mov dword [esp + 0x18], esi
mov esi, 1
jmp 0x4101c7
mov esi, 1
mov edx, dword [esp + 0x18]
mov dword [esp + 0x18], edx
mov eax, dword [esp + 0x14]
sub eax, 0
je 0x4104c0
sub eax, esi
je 0x410223
push str.Integer:_invalid_RandomNumberType_argument
lea ecx, [esp + 0x140]
call fcn.00416540
lea eax, [esp + 0x13c]
push eax
push esi
lea ecx, [esp + 0x170]
mov byte [esp + 0x1b0], 0x1b
call fcn.00416a60
push 0x67cfa4
lea ecx, [esp + 0x16c]
push ecx
mov dword [esp + method.CryptoPP::Exception.virtual_0], vtable.CryptoPP::InvalidArgument.0
call fcn.005c5906
mov edx, dword [ebx]
mov edx, dword [edx + 4]
lea eax, [esp + 0x14]
push eax
push 0x6b0280
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 0x4102e2
lea eax, [esp + 0x68]
push eax
lea ecx, [esp + 0x44]
call fcn.0040ea40
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.0043a400
add esp, 0x14
test al, al
je 0x41048d
lea edx, [esp + 0x40]
push edx
mov ecx, edi
call fcn.0040ee60
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.0043a400
add esp, 0x14
lea ecx, [esp + 0x40]
test al, al
je 0x41045f
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.0040f9b0
lea eax, [esp + 0x2c]
call fcn.00439880
push eax
lea ecx, [esp + 0xc8]
call fcn.0040eb30
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 0x41036d
cmp dword [ebx + 0x10], esi
je 0x410387
mov edx, ebx
lea eax, [esp + 0x2c]
call fcn.00411dc0
jmp 0x41037f
cmp dword [ebx + 0x10], esi
jne 0x410383
mov edx, ebx
lea eax, [esp + 0x2c]
call fcn.00411dc0
neg eax
test eax, eax
jge 0x410387
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.0043a400
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 0x4103d1
call fcn.005ebc82
jmp 0x4103d6
call fcn.005c8c7b
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 0x410400
call fcn.005ebc82
jmp 0x410405
call fcn.005c8c7b
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 0x41043a
call fcn.005ebc82
jmp 0x41043f
call fcn.005c8c7b
add esp, 4
cmp byte [esp + 0x13], 0
jne 0x410496
mov edi, dword [esp + 0x24]
mov eax, dword [esp + 0x20]
mov ebx, dword [esp + 0x28]
mov esi, 1
jmp 0x410250
call fcn.00401380
lea ecx, [esp + 0x7c]
call fcn.00402410
mov byte [esp + 0x1a8], 6
mov ecx, dword [esp + 0x1c]
test ecx, ecx
je 0x4106a1
mov edx, dword [ecx]
mov eax, dword [edx]
push esi
call eax
jmp 0x4106a1
lea ecx, [esp + 0x40]
jmp 0x41057b
lea ecx, [esp + 0x7c]
call fcn.00402410
mov byte [esp + 0x1a8], 6
mov ecx, dword [esp + 0x1c]
test ecx, ecx
je 0x4106a1
mov edx, dword [ecx]
mov eax, dword [edx]
push 1
call eax
jmp 0x4106a1
call fcn.00414720
push eax
lea ecx, [esp + 0x58]
push ecx
call fcn.004013e0
add esp, 8
test al, al
je 0x4104f0
mov eax, dword [esp + 0x18]
lea edx, [esp + 0x68]
push edx
push eax
push edi
lea ecx, [esp + 0x38]
call fcn.0040f9b0
jmp 0x410681
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 0x4105ef
call fcn.00401380
lea ecx, [esp + 0x7c]
call fcn.00402410
mov byte [esp + 0x1a8], 6
mov ecx, dword [esp + 0x1c]
test ecx, ecx
je 0x4105a0
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.005c5ea5
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.0040f9b0
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.00410d60
lea ecx, [esp + 0x40]
call fcn.00401380
lea ecx, [esp + 0x7c]
call fcn.00402410
mov byte [esp + 0x1a8], 6
mov ecx, dword [esp + 0x1c]
test ecx, ecx
je 0x4106a1
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 0x4105c9
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.00416460
lea eax, [esp + 0xa8]
push eax
push esi
lea ecx, [esp + 0x170]
mov byte [esp + 0x1b0], 7
call fcn.00416a60
push 0x67cfa4
lea ecx, [esp + 0x16c]
push ecx
mov dword [esp + method.CryptoPP::Exception.virtual_0], vtable.CryptoPP::InvalidArgument.0
call fcn.005c5906
int3