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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x619ff9
mov eax, dword fs:[0]
push eax
sub esp, 0x68
push ebx
push esi
push edi
mov eax, dword [0x6b64f0]
xor eax, esp
push eax
lea eax, [esp + 0x78]
mov dword fs:[0], eax
mov esi, edx
mov dword [esp + 0x18], esi
mov dword [esp + 0x20], ecx
mov dword [esp + 0x1c], 0
cmp dword [0x70b44c], 0
jne 0x515446
call fcn.0050d240
mov dword [0x70b44c], 0x502a00
push 2
mov dword [esp + 0x3c], vtable.CryptoPP::Integer.0
mov dword [esp + 0x44], 2
call fcn.004ea650
add esp, 4
push 8
call fcn.004e4160
mov edx, eax
mov dword [esp + 0x4c], 0
add esp, 4
mov dword [esp + 0x44], edx
mov dword [edx], 3
mov dword [edx + 4], 0
cmp dword [esi + 0x10], 1
je 0x51549d
lea eax, [esp + 0x38]
mov ecx, esi
push eax
call fcn.00511db0
mov edx, dword [esp + 0x44]
jmp 0x5154a0
or eax, 0xffffffff
test eax, eax
mov edi, edx
mov ecx, 2
setle bl
xor eax, eax
rep stosd dword es:[edi], eax
push edx
call fcn.005d9065
add esp, 4
test bl, bl
je 0x515623
cmp dword [0x70b44c], 0
jne 0x5154d9
call fcn.0050d240
mov dword [0x70b44c], 0x502a00
push 2
mov dword [esp + 0x28], vtable.CryptoPP::Integer.0
mov dword [esp + 0x30], 2
call fcn.004ea650
add esp, 4
push 8
call fcn.004e4160
mov edi, eax
mov dword [esp + 0x38], 0
add esp, 4
mov dword [esp + 0x30], edi
mov dword [edi], 2
mov dword [edi + 4], 0
lea eax, [esp + 0x24]
mov dword [esp + 0x80], 0
push eax
mov ebx, 1
push esi
mov dword [esp + 0x24], ebx
call fcn.004e6e90
add esp, 8
test al, al
jne 0x5155b5
cmp dword [0x70b44c], 0
jne 0x515556
call fcn.0050d240
mov dword [0x70b44c], 0x502a00
push 2
mov dword [esp + 0x3c], vtable.CryptoPP::Integer.0
mov dword [esp + 0x44], 2
call fcn.004ea650
add esp, 4
push 8
call fcn.004e4160
mov esi, eax
mov dword [esp + 0x4c], 0
add esp, 4
mov dword [esp + 0x44], esi
lea eax, [esp + 0x38]
mov ebx, 3
mov dword [esi], 3
push eax
push dword [esp + 0x1c]
mov dword [esi + 4], 0
call fcn.004e6e90
add esp, 8
test al, al
jne 0x5155b9
mov byte [esp + 0x17], al
jmp 0x5155be
mov esi, dword [esp + 0x44]
mov byte [esp + 0x17], 1
test bl, 2
je 0x5155f2
mov edx, dword [esp + 0x40]
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 0x5155e6
call fcn.00610971
jmp 0x5155eb
call fcn.005d9065
mov edi, dword [esp + 0x34]
add esp, 4
test bl, 1
je 0x51560c
push dword [esp + 0x30]
xor eax, eax
mov ecx, 2
rep stosd dword es:[edi], eax
call fcn.005d9065
add esp, 4
mov al, byte [esp + 0x17]
mov ecx, dword [esp + 0x78]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea ecx, [esp + 0x4c]
call fcn.0050e860
cmp dword [ebp + 8], 0
mov dword [esp + 0x80], 1
mov dword [esp + 0x1c], 0
jbe 0x5157d4
lea esp, [esp]
cmp dword [0x70b44c], 0
jne 0x515668
call fcn.0050d240
mov dword [0x70b44c], 0x502a00
push 2
mov dword [esp + 0x28], vtable.CryptoPP::Integer.0
mov dword [esp + 0x30], 2
call fcn.004ea650
add esp, 4
push 8
call fcn.004e4160
mov esi, eax
mov dword [esp + 0x38], 0
add esp, 4
mov dword [esp + 0x30], esi
mov dword [esi], 2
mov dword [esi + 4], 0
mov byte [esp + 0x80], 2
cmp dword [0x70b44c], 0
jne 0x5156c7
call fcn.0050d240
mov dword [0x70b44c], 0x502a00
push 2
mov dword [esp + 0x3c], vtable.CryptoPP::Integer.0
mov dword [esp + 0x44], 2
call fcn.004ea650
add esp, 4
push 8
call fcn.004e4160
add esp, 4
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], 0
mov dword [eax], 2
mov dword [eax + 4], 0
lea eax, [esp + 0x24]
mov byte [esp + 0x80], 3
push eax
push dword [esp + 0x1c]
lea eax, [esp + 0x68]
push eax
call fcn.004e7070
add esp, 0xc
push eax
lea eax, [esp + 0x3c]
mov byte [esp + 0x84], 4
push eax
push dword [esp + 0x28]
lea ecx, [esp + 0x58]
call fcn.0050f700
mov edx, dword [esp + 0x68]
xor eax, eax
mov ebx, dword [esp + 0x6c]
mov ecx, edx
mov edi, ebx
rep stosd dword es:[edi], eax
lea eax, [edx*4]
push ebx
cmp eax, 0x10
jb 0x515761
call fcn.00610971
jmp 0x515766
call fcn.005d9065
mov edx, dword [esp + 0x44]
xor eax, eax
mov ebx, dword [esp + 0x48]
add esp, 4
mov edi, ebx
mov ecx, edx
rep stosd dword es:[edi], eax
lea eax, [edx*4]
push ebx
cmp eax, 0x10
jb 0x51578d
call fcn.00610971
jmp 0x515792
call fcn.005d9065
add esp, 4
mov byte [esp + 0x80], 1
xor eax, eax
mov edi, esi
mov ecx, 2
rep stosd dword es:[edi], eax
push esi
call fcn.005d9065
mov ecx, dword [esp + 0x1c]
lea edx, [esp + 0x50]
add esp, 4
call fcn.00514c30
test al, al
je 0x5157f8
mov eax, dword [esp + 0x1c]
inc eax
mov dword [esp + 0x1c], eax
cmp eax, dword [ebp + 8]
jb 0x515650
mov edx, dword [esp + 0x54]
xor eax, eax
mov esi, dword [esp + 0x58]
mov ecx, edx
mov edi, esi
rep stosd dword es:[edi], eax
lea eax, [edx*4]
push esi
cmp eax, 0x10
jb 0x51584f
call fcn.00610971
jmp 0x515854
mov edx, dword [esp + 0x54]
xor eax, eax
mov esi, dword [esp + 0x58]
mov ecx, edx
mov edi, esi
rep stosd dword es:[edi], eax
lea eax, [edx*4]
push esi
cmp eax, 0x10
jb 0x515832
call fcn.00610971
add esp, 4
xor al, al
mov ecx, dword [esp + 0x78]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
call fcn.005d9065
add esp, 4
xor al, al
mov ecx, dword [esp + 0x78]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
call fcn.005d9065
add esp, 4
mov al, 1
mov ecx, dword [esp + 0x78]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret