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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x42988461
mov eax, dword fs:[0]
push eax
sub esp, 0x100
push ebx
push esi
push edi
mov eax, dword [0x42a15140]
xor eax, esp
push eax
lea eax, [esp + 0x110]
mov dword fs:[0], eax
lea ecx, [esp + 0xe8]
call sym.cryptopp.dll_protected:_void___thiscall_CryptoPP::IteratedHashWithStaticTransform_unsigned_int__struct_CryptoPP::EnumToType_enum_CryptoPP::ByteOrder__1___64__20__class_CryptoPP::SHA1__20_::constructor_void_
mov dword [esp + 0xe8], vtable.CryptoPP::SHA1.0
mov edi, dword [ebp + 0xc]
push dword [ebp + 8]
and dword [esp + 0x11c], 0
shr edi, 3
lea esi, [esp + 0x28]
call fcn.42931e9b
push 0x14
pop ebx
mov byte [esp + 0x118], 1
push ebx
mov dword [esp + 0x44], ebx
call fcn.4291b32c
pop ecx
mov dword [esp + 0x44], eax
mov byte [esp + 0x118], 3
push ebx
mov dword [esp + 0x54], ebx
call fcn.4291b32c
pop ecx
mov dword [esp + 0x54], eax
mov eax, dword [ebp + 0x18]
dec eax
xor edx, edx
mov ecx, 0xa0
div ecx
push 0
mov byte [esp + 0x11c], 5
lea ecx, [esp + 0x34]
lea esi, [eax + 1]
imul esi, esi, 0x14
push esi
mov dword [esp + 0x50], edx
mov dword [esp + 0x60], eax
mov dword [esp + 0x3c], esi
call sym.cryptopp.dll_public:_unsigned_char____thiscall_CryptoPP::AllocatorWithCleanup_unsigned_char_::allocate_unsigned_int__void_const__
mov dword [esp + 0x38], eax
lea ecx, [esp + 0x5c]
mov byte [esp + 0x118], 6
call sym.cryptopp.dll_public:_void___thiscall_CryptoPP::Integer::constructor_void_
push edi
mov byte [esp + 0x11c], 7
push dword [esp + 0x30]
lea ecx, [esp + 0xf0]
push dword [esp + 0x4c]
call sym.cryptopp.dll_public_virtual:_void___thiscall_CryptoPP::HashTransformation::CalculateDigest_unsigned_char___unsigned_char_const___unsigned_int_
xor ecx, ecx
lea eax, [edi - 1]
inc ecx
test eax, eax
jl 0x42931b79
test ecx, ecx
je 0x42931b79
mov ecx, dword [esp + 0x2c]
add ecx, eax
inc byte [ecx]
push 0
pop ecx
sete cl
dec eax
jns 0x42931b64
push edi
push dword [esp + 0x30]
lea ecx, [esp + 0xf0]
push dword [esp + 0x5c]
call sym.cryptopp.dll_public_virtual:_void___thiscall_CryptoPP::HashTransformation::CalculateDigest_unsigned_char___unsigned_char_const___unsigned_int_
push ebx
push dword [esp + 0x58]
push dword [esp + 0x4c]
call sym.cryptopp.dll_void___cdecl_CryptoPP::xorbuf_unsigned_char___unsigned_char_const___unsigned_int_
mov eax, dword [esp + 0x50]
or byte [eax], 0x80
mov ecx, dword [ebp + 0x1c]
or byte [eax + 0x13], 1
add esp, 0xc
push 0
push ebx
push eax
call fcn.4296b556
push dword [ebp + 0x1c]
call sym.cryptopp.dll_bool___cdecl_CryptoPP::IsPrime_class_CryptoPP::Integer_const__
test al, al
pop ecx
jne 0x42931c3a
mov byte [esp + 0x13], 0
push dword [esp + 0x64]
lea ecx, [esp + 0x64]
push dword [esp + 0x6c]
call sym.cryptopp.dll_public:_void___thiscall_CryptoPP::AlignedAllocator_unsigned_int_::deallocate_void___unsigned_int_
push esi
push dword [esp + 0x3c]
lea ecx, [esp + 0x38]
call sym.cryptopp.dll_public:_void___thiscall_CryptoPP::AllocatorWithCleanup_unsigned_char_::deallocate_void___unsigned_int_
push ebx
push dword [esp + 0x58]
lea ecx, [esp + 0x54]
call sym.cryptopp.dll_public:_void___thiscall_CryptoPP::AllocatorWithCleanup_unsigned_char_::deallocate_void___unsigned_int_
push ebx
push dword [esp + 0x48]
lea ecx, [esp + 0x44]
call sym.cryptopp.dll_public:_void___thiscall_CryptoPP::AllocatorWithCleanup_unsigned_char_::deallocate_void___unsigned_int_
push dword [esp + 0x28]
lea ecx, [esp + 0x28]
push dword [esp + 0x30]
call sym.cryptopp.dll_public:_void___thiscall_CryptoPP::AllocatorWithCleanup_unsigned_char_::deallocate_void___unsigned_int_
lea ecx, [esp + 0xe8]
call sym.cryptopp.dll_public_virtual:_void___thiscall_CryptoPP::IteratedHashBase_unsigned_int__class_CryptoPP::HashTransformation_::destructor_void_
mov al, byte [esp + 0x13]
mov ecx, dword [esp + 0x110]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp byte [ebp + 0x20], 0
je 0x42931c4c
mov eax, dword [ebp + 0x10]
mov eax, dword [eax]
inc eax
mov dword [esp + 0x18], eax
jmp 0x42931c54
mov dword [esp + 0x18], 0x1000
and dword [esp + 0x14], 0
cmp dword [esp + 0x18], 0
jle 0x42931bc3
mov ecx, dword [esp + 0x58]
test ecx, ecx
jl 0x42931cd0
mov eax, ecx
imul eax, eax, 0x14
add eax, dword [esp + 0x38]
inc ecx
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], ecx
xor ecx, ecx
lea edx, [edi - 1]
inc ecx
test edx, edx
jl 0x42931c9d
test ecx, ecx
je 0x42931c9d
mov ecx, dword [esp + 0x2c]
add ecx, edx
inc byte [ecx]
push 0
pop ecx
sete cl
dec edx
jns 0x42931c88
cmp byte [ebp + 0x20], 0
je 0x42931cae
mov ecx, dword [esp + 0x14]
mov edx, dword [ebp + 0x10]
cmp ecx, dword [edx]
jne 0x42931cc4
push edi
push dword [esp + 0x30]
lea ecx, [esp + 0xf0]
push eax
call sym.cryptopp.dll_public_virtual:_void___thiscall_CryptoPP::HashTransformation::CalculateDigest_unsigned_char___unsigned_char_const___unsigned_int_
mov eax, dword [esp + 0x20]
sub eax, ebx
dec dword [esp + 0x1c]
mov dword [esp + 0x20], eax
jne 0x42931c7e
cmp byte [ebp + 0x20], 0
je 0x42931ce5
mov eax, dword [ebp + 0x10]
mov ecx, dword [esp + 0x14]
cmp ecx, dword [eax]
jne 0x42931e71
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x38]
cdq
and edx, 7
add eax, edx
sar eax, 3
sub ecx, eax
lea eax, [ecx + 0x13]
mov ecx, dword [ebp + 0x18]
or byte [eax], 0x80
push 0
shr ecx, 3
push ecx
push eax
lea ecx, [esp + 0x68]
call fcn.4296b556
push 1
lea ecx, [esp + 0x88]
call sym.cryptopp.dll_public:_void___thiscall_CryptoPP::Integer::constructor_long_int_
push 2
lea ecx, [esp + 0x74]
mov byte [esp + 0x11c], 8
call sym.cryptopp.dll_public:_void___thiscall_CryptoPP::Integer::constructor_long_int_
push dword [ebp + 0x1c]
lea eax, [esp + 0xc4]
push eax
lea ecx, [esp + 0x78]
mov byte [esp + 0x120], 9
call fcn.4296b556
push eax
lea eax, [esp + 0xb8]
push eax
lea ecx, [esp + 0x6c]
mov byte [esp + 0x128], 0xa
call fcn.4296b556
lea ecx, [esp + 0x94]
push ecx
lea ecx, [esp + 0xac]
push ecx
mov ecx, eax
mov byte [esp + 0x130], 0xb
call fcn.4296b556
push eax
lea eax, [esp + 0xf0]
push eax
lea ecx, [esp + 0x7c]
mov byte [esp + 0x138], 0xc
call fcn.4296b556
add esp, 0x20
mov ecx, dword [ebp + 0x14]
push eax
mov byte [esp + 0x11c], 0xd
call fcn.429468e5
push dword [esp + 0xdc]
lea ecx, [esp + 0xdc]
push dword [esp + 0xe4]
call sym.cryptopp.dll_public:_void___thiscall_CryptoPP::AlignedAllocator_unsigned_int_::deallocate_void___unsigned_int_
push dword [esp + 0xa0]
lea ecx, [esp + 0xa0]
push dword [esp + 0xa8]
call sym.cryptopp.dll_public:_void___thiscall_CryptoPP::AlignedAllocator_unsigned_int_::deallocate_void___unsigned_int_
push dword [esp + 0xb4]
lea ecx, [esp + 0xb4]
push dword [esp + 0xbc]
call sym.cryptopp.dll_public:_void___thiscall_CryptoPP::AlignedAllocator_unsigned_int_::deallocate_void___unsigned_int_
push dword [esp + 0xc8]
lea ecx, [esp + 0xc8]
push dword [esp + 0xd0]
call sym.cryptopp.dll_public:_void___thiscall_CryptoPP::AlignedAllocator_unsigned_int_::deallocate_void___unsigned_int_
push dword [esp + 0x78]
lea ecx, [esp + 0x78]
push dword [esp + 0x80]
call sym.cryptopp.dll_public:_void___thiscall_CryptoPP::AlignedAllocator_unsigned_int_::deallocate_void___unsigned_int_
mov byte [esp + 0x118], 7
push dword [esp + 0x8c]
push dword [esp + 0x94]
lea ecx, [esp + 0x90]
call sym.cryptopp.dll_public:_void___thiscall_CryptoPP::AlignedAllocator_unsigned_int_::deallocate_void___unsigned_int_
mov eax, dword [ebp + 0x18]
mov ecx, dword [ebp + 0x14]
dec eax
push eax
call sym.cryptopp.dll_public:_bool___thiscall_CryptoPP::Integer::GetBit_unsigned_int_const
test al, al
je 0x42931e71
push dword [ebp + 0x14]
call sym.cryptopp.dll_bool___cdecl_CryptoPP::IsPrime_class_CryptoPP::Integer_const__
test al, al
pop ecx
jne 0x42931e88
inc dword [esp + 0x14]
mov eax, dword [esp + 0x14]
cmp eax, dword [esp + 0x18]
jl 0x42931c64
jmp 0x42931bc3
mov eax, dword [esp + 0x14]
mov ecx, dword [ebp + 0x10]
mov dword [ecx], eax
mov byte [esp + 0x13], 1
jmp 0x42931bc8