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

Disassembly:
push 0xffffffffffffffff
push 0x6509f4
mov eax, dword fs:[0]
push eax
sub esp, 0x8c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x6f77c8]
xor eax, esp
push eax
lea eax, [esp + 0xa0]
mov dword fs:[0], eax
mov dword [esp + 0x44], edx
mov ebp, ecx
mov dword [esp + 0x70], ebp
xor eax, eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x74], eax
cmp dword [0x74fec0], eax
jne 0x491778
call fcn.00489290
mov dword [0x74fec0], 0x47ea60
push 2
mov dword [esp + 0x1c], vtable.CryptoPP::Integer.0
mov dword [esp + 0x24], 2
call fcn.00465de0
add esp, 4
push 8
call fcn.0045f350
mov esi, eax
mov dword [esp + 0x2c], 0
add esp, 4
mov dword [esp + 0x24], esi
mov dword [esi], 3
mov dword [esi + 4], 0
cmp dword [ebp + 0x10], 1
je 0x4917cb
lea eax, [esp + 0x18]
mov ecx, ebp
push eax
call fcn.0048e120
jmp 0x4917ce
or eax, 0xffffffff
test eax, eax
mov edi, esi
mov ecx, 2
setle bl
xor eax, eax
rep stosd dword es:[edi], eax
push esi
call fcn.0061be55
add esp, 4
test bl, bl
je 0x491944
cmp dword [0x74fec0], 0
jne 0x491807
call fcn.00489290
mov dword [0x74fec0], 0x47ea60
push 2
mov dword [esp + 0x34], vtable.CryptoPP::Integer.0
mov dword [esp + 0x3c], 2
call fcn.00465de0
add esp, 4
push 8
call fcn.0045f350
mov edi, eax
mov dword [esp + 0x44], 0
add esp, 4
mov dword [esp + 0x3c], edi
mov dword [edi], 2
mov dword [edi + 4], 0
mov ebx, 1
mov dword [esp + 0xa8], 0
mov dword [esp + 0x2c], ebx
cmp dword [ebp + 0x10], ebx
je 0x491875
lea eax, [esp + 0x30]
mov ecx, ebp
push eax
call fcn.0048e120
test eax, eax
jne 0x491875
mov esi, dword [esp + 0x24]
jmp 0x4918e8
cmp dword [0x74fec0], 0
jne 0x49188d
call fcn.00489290
mov dword [0x74fec0], 0x47ea60
push 2
mov dword [esp + 0x1c], vtable.CryptoPP::Integer.0
mov dword [esp + 0x24], 2
call fcn.00465de0
add esp, 4
push 8
call fcn.0045f350
mov esi, eax
mov dword [esp + 0x2c], 0
add esp, 4
mov dword [esp + 0x24], esi
lea eax, [esp + 0x18]
mov ebx, 3
mov dword [esi], 3
push eax
push ebp
mov dword [esi + 4], 0
call fcn.00462590
add esp, 8
mov byte [esp + 0x17], 0
test al, al
je 0x4918ed
mov byte [esp + 0x17], 1
test bl, 2
je 0x491921
mov edx, dword [esp + 0x20]
xor eax, eax
mov edi, esi
mov ecx, edx
rep stosd dword es:[edi], eax
lea eax, [edx*4]
and ebx, 0xfffffffd
push esi
cmp eax, 0x10
jb 0x491915
call fcn.0064d80a
jmp 0x49191a
call fcn.0061be55
mov edi, dword [esp + 0x40]
add esp, 4
test bl, 1
je 0x49193b
push dword [esp + 0x3c]
xor eax, eax
mov ecx, 2
rep stosd dword es:[edi], eax
call fcn.0061be55
add esp, 4
mov al, byte [esp + 0x17]
jmp 0x491eb7
cmp dword [ebp + 8], 0
jbe 0x491960
mov eax, dword [ebp + 0xc]
mov al, byte [eax]
and al, 1
je 0x491960
mov esi, dword [esp + 0x24]
mov ebx, dword [esp + 0x74]
jmp 0x4919e1
cmp dword [0x74fec0], 0
jne 0x491978
call fcn.00489290
mov dword [0x74fec0], 0x47ea60
push 2
mov dword [esp + 0x1c], vtable.CryptoPP::Integer.0
mov dword [esp + 0x24], 2
call fcn.00465de0
add esp, 4
push 8
call fcn.0045f350
mov esi, eax
mov dword [esp + 0x2c], 0
add esp, 4
mov dword [esp + 0x24], esi
mov dword [esi], 2
mov dword [esi + 4], 0
lea eax, [esp + 0x18]
mov dword [esp + 0xa8], 1
push eax
mov ebx, 4
push ebp
mov dword [esp + 0x34], ebx
call fcn.004625f0
add esp, 8
test al, al
jne 0x491a76
cmp dword [0x74fec0], 0
jne 0x4919f9
call fcn.00489290
mov dword [0x74fec0], 0x47ea60
push 2
mov dword [esp + 0x34], vtable.CryptoPP::Integer.0
mov dword [esp + 0x3c], 2
call fcn.00465de0
add esp, 4
push 8
call fcn.0045f350
add esp, 4
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], 0
mov dword [eax], 1
mov dword [eax + 4], 0
mov edx, dword [esp + 0x44]
lea ecx, [esp + 0x8c]
mov dword [esp + 0xa8], 2
or ebx, 8
push ebp
mov dword [esp + 0x30], ebx
call fcn.004912e0
add esp, 4
lea ecx, [esp + 0x30]
or ebx, 0x10
push ecx
push eax
call fcn.004625f0
add esp, 8
mov byte [esp + 0x17], 0
test al, al
je 0x491a7b
mov byte [esp + 0x17], 1
test bl, 0x10
je 0x491abc
mov eax, dword [esp + 0x98]
and ebx, 0xffffffef
mov edx, dword [esp + 0x94]
mov edi, eax
mov dword [esp + 0x2c], eax
mov ecx, edx
push dword [esp + 0x2c]
xor eax, eax
rep stosd dword es:[edi], eax
lea eax, [edx*4]
cmp eax, 0x10
jb 0x491ab4
call fcn.0064d80a
jmp 0x491ab9
call fcn.0061be55
add esp, 4
test bl, 8
je 0x491aee
mov edx, dword [esp + 0x3c]
xor eax, eax
mov ecx, dword [esp + 0x38]
mov edi, edx
rep stosd dword es:[edi], eax
mov eax, dword [esp + 0x38]
and ebx, 0xfffffff7
shl eax, 2
push edx
cmp eax, 0x10
jb 0x491ae6
call fcn.0064d80a
jmp 0x491aeb
call fcn.0061be55
add esp, 4
mov dword [esp + 0xa8], 0xffffffff
test bl, 4
je 0x491b29
mov edx, dword [esp + 0x20]
xor eax, eax
mov edi, esi
mov ecx, edx
rep stosd dword es:[edi], eax
lea eax, [edx*4]
and ebx, 0xfffffffb
push esi
cmp eax, 0x10
jb 0x491b21
call fcn.0064d80a
jmp 0x491b26
call fcn.0061be55
add esp, 4
cmp byte [esp + 0x17], 0
jne 0x491eb5
cmp dword [0x74fec0], 0
jne 0x491b4c
call fcn.00489290
mov dword [0x74fec0], 0x47ea60
push 2
mov dword [esp + 0x1c], vtable.CryptoPP::Integer.0
mov dword [esp + 0x24], 2
call fcn.00465de0
add esp, 4
push 8
call fcn.0045f350
mov esi, eax
mov dword [esp + 0x2c], 0
add esp, 4
mov dword [esp + 0x24], esi
mov dword [esi], 1
mov dword [esi + 4], 0
lea eax, [esp + 0x18]
mov dword [esp + 0xa8], 3
push eax
lea eax, [esp + 0x60]
push ebp
push eax
call fcn.00462770
add esp, 0xc
xor eax, eax
mov byte [esp + 0xa8], 5
mov edi, esi
mov ecx, 2
rep stosd dword es:[edi], eax
push esi
call fcn.0061be55
mov edi, dword [esp + 0x6c]
add esp, 4
mov edx, dword [esp + 0x64]
xor esi, esi
nop
mov eax, esi
shr eax, 5
cmp eax, edx
jae 0x491be7
mov eax, dword [edi + eax*4]
mov ecx, esi
and ecx, 0x1f
shr eax, cl
and al, 1
jne 0x491bea
inc esi
jmp 0x491bd0
push esi
lea eax, [esp + 0x7c]
push eax
lea ecx, [esp + 0x64]
call fcn.0047e910
push ebp
lea eax, [esp + 0x7c]
mov byte [esp + 0xac], 6
push eax
push dword [esp + 0x4c]
lea eax, [esp + 0x54]
push eax
call fcn.0048e770
add esp, 0x10
mov byte [esp + 0xa8], 7
cmp dword [0x74fec0], 0
jne 0x491c38
call fcn.00489290
mov dword [0x74fec0], 0x47ea60
push 2
mov dword [esp + 0x1c], vtable.CryptoPP::Integer.0
mov dword [esp + 0x24], 2
call fcn.00465de0
add esp, 4
push 8
call fcn.0045f350
mov ebp, eax
mov dword [esp + 0x2c], 0
add esp, 4
mov dword [esp + 0x24], ebp
lea eax, [esp + 0x18]
or ebx, 0x20
mov dword [ebp], 1
push eax
lea eax, [esp + 0x4c]
mov dword [ebp + 4], 0
push eax
call fcn.00462590
add esp, 8
test al, al
jne 0x491cac
lea eax, [esp + 0x5c]
push eax
lea eax, [esp + 0x4c]
push eax
call fcn.00462590
add esp, 8
mov byte [esp + 0x17], 0
test al, al
je 0x491cb1
mov byte [esp + 0x17], 1
test bl, 0x20
je 0x491cca
xor eax, eax
mov edi, ebp
mov ecx, 2
rep stosd dword es:[edi], eax
push ebp
call fcn.0061be55
add esp, 4
cmp byte [esp + 0x17], 0
je 0x491d6e
mov edx, dword [esp + 0x50]
xor eax, eax
mov esi, dword [esp + 0x54]
mov ecx, edx
mov edi, esi
rep stosd dword es:[edi], eax
lea eax, [edx*4]
push esi
cmp eax, 0x10
jb 0x491cf9
call fcn.0064d80a
jmp 0x491cfe
call fcn.0061be55
mov edx, dword [esp + 0x84]
xor eax, eax
mov esi, dword [esp + 0x88]
add esp, 4
mov edi, esi
mov ecx, edx
rep stosd dword es:[edi], eax
lea eax, [edx*4]
push esi
cmp eax, 0x10
jb 0x491d2b
call fcn.0064d80a
jmp 0x491d30
call fcn.0061be55
mov edx, dword [esp + 0x68]
xor eax, eax
mov esi, dword [esp + 0x6c]
add esp, 4
mov edi, esi
mov ecx, edx
rep stosd dword es:[edi], eax
lea eax, [edx*4]
push esi
cmp eax, 0x10
jb 0x491d5f
call fcn.0064d80a
add esp, 4
mov al, 1
jmp 0x491eb7
call fcn.0061be55
add esp, 4
mov al, 1
jmp 0x491eb7
mov ebp, 1
cmp esi, ebp
jbe 0x491e9a
jmp 0x491d80
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x4c]
call fcn.00462530
push dword [esp + 0x70]
mov byte [esp + 0xac], 8
push eax
lea eax, [esp + 0x94]
push eax
call fcn.00462800
add esp, 0xc
push eax
lea ecx, [esp + 0x4c]
mov byte [esp + 0xac], 9
call fcn.0048ad20
mov edx, dword [esp + 0x94]
xor eax, eax
mov ebx, dword [esp + 0x98]
mov ecx, edx
mov edi, ebx
rep stosd dword es:[edi], eax
lea eax, [edx*4]
push ebx
cmp eax, 0x10
jb 0x491de7
call fcn.0064d80a
jmp 0x491dec
call fcn.0061be55
mov byte [esp + 0xac], 7
xor eax, eax
mov edx, dword [esp + 0x24]
add esp, 4
mov ebx, dword [esp + 0x24]
mov ecx, edx
mov edi, ebx
rep stosd dword es:[edi], eax
lea eax, [edx*4]
push ebx
cmp eax, 0x10
jb 0x491e1b
call fcn.0064d80a
jmp 0x491e20
call fcn.0061be55
add esp, 4
lea eax, [esp + 0x5c]
push eax
lea eax, [esp + 0x4c]
push eax
call fcn.00462590
add esp, 8
test al, al
jne 0x491cd5
push 1
lea ecx, [esp + 0x1c]
call fcn.0048aad0
lea eax, [esp + 0x18]
push eax
lea eax, [esp + 0x4c]
push eax
call fcn.00462590
mov ebx, dword [esp + 0x2c]
add esp, 8
mov edx, dword [esp + 0x20]
mov edi, ebx
mov byte [esp + 0x17], al
mov ecx, edx
xor eax, eax
rep stosd dword es:[edi], eax
lea ecx, [edx*4]
push ebx
cmp ecx, 0x10
jb 0x491e82
call fcn.0064d80a
jmp 0x491e87
call fcn.0061be55
add esp, 4
cmp byte [esp + 0x17], 0
jne 0x491e9a
inc ebp
cmp ebp, esi
jb 0x491d80
lea ecx, [esp + 0x48]
call fcn.00462550
lea ecx, [esp + 0x78]
call fcn.00462550
lea ecx, [esp + 0x5c]
call fcn.00462550
xor al, al
mov ecx, dword [esp + 0xa0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x98
ret