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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x100746bb
mov eax, dword fs:[0]
push eax
sub esp, 0x100
mov eax, dword [0x1008d200]
xor eax, esp
mov dword [esp + 0xf8], eax
push ebx
push esi
push edi
mov eax, dword [0x1008d200]
xor eax, esp
push eax
lea eax, [esp + 0x110]
mov dword fs:[0], eax
test byte [0x1009880c], 1
mov eax, dword [ebp + 8]
mov edx, dword [ebp + 0x10]
mov ebx, ecx
mov ecx, dword [ebp + 0xc]
mov dword [esp + 0x30], eax
mov eax, dword [ebx - 0x2c]
mov dword [esp + 0x2c], ecx
mov ecx, dword [eax + 4]
mov dword [esp + 0x10], ebx
mov dword [esp + 0x14], edx
mov dword [esp + 0x70], 0
lea esi, [ecx + ebx - 0x2c]
jne 0x1004e68f
or dword [0x1009880c], 1
push 0x100751c0
mov dword [0x10098808], 0x1007d104
call fcn.1005cdc4
add esp, 4
mov dword [esp + 0x118], 0xffffffff
mov edx, dword [esi]
mov eax, dword [edx + 0x10]
push 0
push 0x10098808
mov ecx, esi
call eax
lea esi, [ebx - 0x28]
push esi
lea edx, [esp + 0x84]
lea ecx, [esp + 0x78]
push edx
mov dword [esp + 0x80], vtable.CryptoPP::AbstractRing_class_CryptoPP::Integer_::MultiplicativeGroupT.0
mov dword [esp + 0x84], ecx
mov dword [esp + 0x7c], vtable.CryptoPP::ModularArithmetic.0
call fcn.10044850
mov dword [esp + 0x118], 3
mov ecx, dword [esi + 8]
lea esi, [esp + 0x94]
call fcn.10044c10
lea ecx, [esp + 0xa8]
mov byte [esp + 0x118], 4
call fcn.10044760
mov dword [esp + 0x118], 5
cmp dword [0x1009879c], 0
jne 0x1004e71f
call fcn.100432d0
mov dword [0x1009879c], 0x10038350
mov edi, 8
mov dword [esp + 0x34], vtable.CryptoPP::Integer.0
mov dword [esp + 0x3c], 2
call fcn.1002e1d0
xor esi, esi
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], esi
mov dword [eax + 4], esi
mov eax, dword [esp + 0x40]
mov dword [eax], esi
mov byte [esp + 0x118], 8
cmp dword [0x1009879c], esi
jne 0x1004e76b
call fcn.100432d0
mov dword [0x1009879c], 0x10038350
mov edi, 8
mov dword [esp + 0x18], vtable.CryptoPP::Integer.0
mov dword [esp + 0x20], 2
call fcn.1002e1d0
mov dword [eax + 4], esi
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], esi
mov dword [eax], esi
mov byte [esp + 0x118], 0xb
jmp 0x1004e7a4
mov ebx, dword [esp + 0x10]
call fcn.10049530
lea ecx, [ebx - 0x28]
lea esi, [esp + 0xc0]
call fcn.1002e720
mov esi, eax
mov byte [esp + 0x118], 0xc
call fcn.10049530
mov ecx, dword [esp + 0x2c]
push ecx
lea edx, [esp + 0x38]
push edx
mov edx, esi
mov ecx, eax
call fcn.100454f0
mov byte [esp + 0x118], 0xb
mov ecx, dword [esp + 0xc8]
mov edi, dword [esp + 0xcc]
xor eax, eax
mov edx, ecx
mov esi, edi
rep stosd dword es:[edi], eax
lea eax, [edx*4]
push esi
cmp eax, 0x10
jb 0x1004e80c
call fcn.1005d890
jmp 0x1004e811
call fcn.1005cffc
add esp, 4
lea ecx, [esp + 0x80]
push ecx
lea edx, [esp + 0xc4]
push edx
lea ecx, [esp + 0x3c]
call fcn.10047c40
lea ecx, [esp + 0xa8]
push ecx
mov edi, eax
mov byte [esp + 0x11c], 0xd
call fcn.10044aa0
mov byte [esp + 0x118], 0xb
mov ecx, dword [esp + 0xc8]
mov edi, dword [esp + 0xcc]
mov edx, ecx
add edx, edx
mov ebx, eax
mov esi, edi
xor eax, eax
add edx, edx
rep stosd dword es:[edi], eax
push esi
cmp edx, 0x10
jb 0x1004e875
call fcn.1005d890
jmp 0x1004e87a
call fcn.1005cffc
add esp, 4
lea eax, [esp + 0x18]
push eax
mov edi, ebx
call fcn.10044aa0
cmp dword [esp + 0x28], 1
je 0x1004e8c8
mov ecx, dword [esp + 0x24]
cmp dword [ecx], 0
jne 0x1004e8c8
mov eax, dword [esp + 0x20]
test eax, eax
je 0x1004e7a0
lea ecx, [ecx + eax*4 - 4]
lea esp, [esp]
cmp dword [ecx], 0
jne 0x1004e8c0
sub ecx, 4
dec eax
jne 0x1004e8b0
jmp 0x1004e7a0
test eax, eax
je 0x1004e7a0
mov esi, dword [esp + 0x10]
lea ebx, [esi - 0x14]
push ebx
lea ecx, [esp + 0x38]
push ecx
lea edx, [esp + 0x64]
push edx
lea ecx, [esp + 0x80]
call fcn.10032830
mov eax, dword [esp + 0x14]
push eax
lea ecx, [esp + 0x60]
push ecx
lea ecx, [esp + 0x7c]
mov byte [esp + 0x120], 0xe
call fcn.1002e880
lea edx, [esp + 0x5c]
push edx
mov edi, eax
call fcn.10044aa0
lea eax, [esi + 0x9c]
push eax
lea ecx, [esi + 0x60]
push ecx
lea edx, [esi + 0x4c]
lea ecx, [esi + 0x74]
add esi, 0x88
push esi
lea eax, [esp + 0x68]
push eax
lea eax, [esp + 0x58]
push eax
call fcn.1005a850
add esp, 0x14
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x4c]
push edx
lea ecx, [esp + 0x7c]
mov byte [esp + 0x120], 0xf
call fcn.1002e880
lea ecx, [esp + 0x48]
push ecx
mov edi, eax
call fcn.10044aa0
push ebx
lea edx, [esp + 0x4c]
push edx
lea eax, [esp + 0xc8]
push eax
lea ecx, [esp + 0x80]
call fcn.10032830
mov edx, dword [esp + 0x14]
mov ecx, 1
cmp dword [eax + 0x10], ecx
je 0x1004e996
cmp dword [edx + 0x10], ecx
je 0x1004e992
call fcn.10047690
jmp 0x1004e9a7
mov eax, ecx
jmp 0x1004e9a7
cmp dword [edx + 0x10], ecx
je 0x1004e9a0
or eax, 0xffffffff
jmp 0x1004e9a7
call fcn.10047690
neg eax
mov ecx, dword [esp + 0xc8]
mov edi, dword [esp + 0xcc]
test eax, eax
setne bl
xor eax, eax
mov edx, ecx
mov esi, edi
rep stosd dword es:[edi], eax
lea ecx, [edx*4]
push esi
cmp ecx, 0x10
jb 0x1004e9d6
call fcn.1005d890
jmp 0x1004e9db
call fcn.1005cffc
add esp, 4
test bl, bl
je 0x1004ea8f
push 0x47
mov esi, 0xf
xor edi, edi
push str.InvertibleRSAFunction:_computational_error_during_private_key_operation
lea ecx, [esp + 0xc8]
mov dword [esp + 0xdc], esi
mov dword [esp + 0xd8], edi
mov byte [esp + 0xc8], 0
call fcn.10003c60
lea ecx, [esp + 0xdc]
mov byte [esp + 0x118], 0x10
call fcn.1005c764
push 0xffffffffffffffff
mov byte [esp + 0x11c], 0x11
push edi
lea edx, [esp + 0xc8]
push edx
lea ecx, [esp + 0xf8]
mov dword [esp + 0xe8], vtable.CryptoPP::Exception.0
mov dword [esp + 0xf4], 6
mov dword [esp + 0x10c], esi
mov dword [esp + 0x108], edi
mov byte [esp + 0xf8], 0
call fcn.10003b70
push 0x10086b1c
lea eax, [esp + 0xe0]
push eax
mov byte [esp + 0x120], 0x10
call fcn.1005dc27
mov ebx, dword [esp + 0x30]
lea ecx, [esp + 0x48]
push ecx
push ebx
call fcn.10044850
mov ecx, dword [esp + 0x50]
mov edi, dword [esp + 0x54]
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 0x1004eabf
call fcn.1005d890
jmp 0x1004eac4
call fcn.1005cffc
mov ecx, dword [esp + 0x68]
mov edi, dword [esp + 0x6c]
xor eax, eax
mov edx, ecx
mov esi, edi
rep stosd dword es:[edi], eax
add esp, 4
lea eax, [edx*4]
push esi
cmp eax, 0x10
jb 0x1004eaeb
call fcn.1005d890
jmp 0x1004eaf0
call fcn.1005cffc
mov esi, dword [esp + 0x28]
mov edx, dword [esp + 0x24]
xor eax, eax
mov edi, esi
mov ecx, edx
rep stosd dword es:[edi], eax
add esp, 4
lea ecx, [edx*4]
push esi
cmp ecx, 0x10
jb 0x1004eb17
call fcn.1005d890
jmp 0x1004eb1c
call fcn.1005cffc
mov ecx, dword [esp + 0x40]
mov edi, dword [esp + 0x44]
mov edx, ecx
add edx, edx
add esp, 4
mov esi, edi
xor eax, eax
add edx, edx
rep stosd dword es:[edi], eax
push esi
cmp edx, 0x10
jb 0x1004eb40
call fcn.1005d890
jmp 0x1004eb45
call fcn.1005cffc
add esp, 4
lea eax, [esp + 0x74]
call fcn.1002eba0
mov eax, ebx
mov ecx, dword [esp + 0x110]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xf8]
xor ecx, esp
call fcn.1005c755
mov esp, ebp
pop ebp
ret 0xc