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

Disassembly:
push 0xffffffffffffffff
push 0x621d3e
mov eax, dword fs:[0]
push eax
sub esp, 0xac
push ebx
push ebp
push esi
push edi
mov eax, dword [0x6c4490]
xor eax, esp
push eax
lea eax, [esp + 0xc0]
mov dword fs:[0], eax
mov ebp, ecx
mov dword [esp + 0x44], ebp
mov dword [esp + 0x18], 0
cmp dword [0x717d7c], 0
jne 0x519af3
call fcn.00510ca0
mov dword [0x717d7c], 0x506460
push 2
mov dword [esp + 0x20], vtable.CryptoPP::Integer.0
mov dword [esp + 0x28], 2
call fcn.004f0b70
add esp, 4
push 8
call fcn.004ec290
mov esi, eax
mov dword [esp + 0x30], 0
add esp, 4
mov dword [esp + 0x28], esi
mov dword [esi], 1
mov dword [esi + 4], 0
cmp dword [ebp + 0x10], 1
je 0x519b46
lea eax, [esp + 0x1c]
mov ecx, ebp
push eax
call fcn.00515810
jmp 0x519b49
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.005e0396
add esp, 4
test bl, bl
je 0x519b6d
xor al, al
jmp 0x51a314
cmp dword [ebp + 8], 0
jbe 0x51a29a
mov eax, dword [ebp + 0xc]
mov al, byte [eax]
and al, 1
je 0x51a29a
cmp dword [0x717d7c], 0
jne 0x519b9c
call fcn.00510ca0
mov dword [0x717d7c], 0x506460
push 2
mov dword [esp + 0x60], vtable.CryptoPP::Integer.0
mov dword [esp + 0x68], 2
call fcn.004f0b70
add esp, 4
push 8
call fcn.004ec290
add esp, 4
mov dword [esp + 0x68], eax
mov dword [esp + 0x6c], 0
mov dword [eax], 3
mov dword [eax + 4], 0
mov dword [esp + 0xc8], 0
xor ebx, ebx
cmp dword [0x717d7c], 0
jne 0x519bfe
call fcn.00510ca0
mov dword [0x717d7c], 0x506460
push 2
mov dword [esp + 0x4c], vtable.CryptoPP::Integer.0
mov dword [esp + 0x54], 2
call fcn.004f0b70
add esp, 4
push 8
call fcn.004ec290
add esp, 4
mov dword [esp + 0x54], eax
mov dword [esp + 0x58], 0
mov dword [eax], 4
mov dword [eax + 4], 0
lea eax, [esp + 0x30]
mov byte [esp + 0xc8], 1
push eax
lea ecx, [esp + 0x60]
call fcn.004ed860
lea ecx, [esp + 0x48]
mov byte [esp + 0xc8], 2
push ecx
push eax
lea eax, [esp + 0x78]
push eax
call fcn.004edaa0
add esp, 0xc
mov edx, ebp
mov byte [esp + 0xc8], 3
mov ecx, eax
call fcn.0051bc60
mov edx, dword [esp + 0x78]
cmp eax, 1
mov esi, dword [esp + 0x7c]
mov ecx, edx
mov dword [esp + 0x18], eax
sete byte [esp + 0x17]
xor eax, eax
mov edi, esi
rep stosd dword es:[edi], eax
lea eax, [edx*4]
push esi
cmp eax, 0x10
jb 0x519cad
call fcn.00618fb8
jmp 0x519cb2
call fcn.005e0396
mov edx, dword [esp + 0x3c]
xor eax, eax
mov esi, dword [esp + 0x40]
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 0x519cd9
call fcn.00618fb8
jmp 0x519cde
call fcn.005e0396
mov byte [esp + 0xcc], 0
add esp, 4
mov edx, dword [esp + 0x54]
xor eax, eax
mov edi, edx
mov ecx, 2
rep stosd dword es:[edi], eax
push edx
call fcn.005e0396
add esp, 4
cmp byte [esp + 0x17], 0
je 0x519d30
inc ebx
cmp ebx, 0x40
jne 0x519d19
mov ecx, ebp
call fcn.00515cf0
test al, al
jne 0x519d37
lea ecx, [esp + 0x5c]
call fcn.00513fd0
lea ecx, [esp + 0x5c]
call fcn.00513fd0
jmp 0x519be6
cmp dword [esp + 0x18], 0
jne 0x519d3e
xor bl, bl
jmp 0x51a263
push 1
lea ecx, [esp + 0x74]
call fcn.00512460
lea eax, [esp + 0x70]
mov byte [esp + 0xc8], 4
push eax
lea eax, [esp + 0x88]
push ebp
push eax
call fcn.004eda70
add esp, 0xc
lea ecx, [esp + 0x70]
mov byte [esp + 0xc8], 6
call fcn.004ed880
mov edi, dword [esp + 0x90]
xor esi, esi
mov edx, dword [esp + 0x8c]
mov eax, esi
shr eax, 5
cmp eax, edx
jae 0x519d9f
mov eax, dword [edi + eax*4]
mov ecx, esi
and ecx, 0x1f
shr eax, cl
and al, 1
jne 0x519da2
inc esi
jmp 0x519d88
push esi
lea eax, [esp + 0x74]
push eax
lea ecx, [esp + 0x8c]
call fcn.00506310
lea eax, [esp + 0x5c]
mov byte [esp + 0xc8], 7
push ebp
push eax
lea edx, [esp + 0x78]
lea ecx, [esp + 0x50]
call fcn.0051bfb0
add esp, 8
mov byte [esp + 0xc8], 8
cmp dword [0x717d7c], 0
jne 0x519df2
call fcn.00510ca0
mov dword [0x717d7c], 0x506460
push 2
mov dword [esp + 0x20], vtable.CryptoPP::Integer.0
mov dword [esp + 0x28], 2
call fcn.004f0b70
add esp, 4
push 8
call fcn.004ec290
add esp, 4
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], 0
mov dword [eax], 2
mov dword [eax + 4], 0
lea eax, [esp + 0x1c]
mov byte [esp + 0xc8], 9
push eax
lea eax, [esp + 0x4c]
mov ebx, 1
push eax
mov dword [esp + 0x20], ebx
call fcn.004ed8c0
add esp, 8
test al, al
jne 0x519ea6
push 2
lea ecx, [esp + 0x34]
call fcn.00512460
lea eax, [esp + 0x30]
mov dword [esp + 0xc8], 0xa
push eax
lea eax, [esp + 0x9c]
mov dword [esp + 0x1c], 3
push ebp
push eax
call fcn.004edaa0
add esp, 0xc
mov ebx, 7
push eax
lea eax, [esp + 0x4c]
push eax
call fcn.004ed8c0
add esp, 8
mov byte [esp + 0x17], 0
test al, al
je 0x519eab
mov byte [esp + 0x17], 1
test bl, 4
je 0x519ee5
mov edx, dword [esp + 0xa0]
xor eax, eax
mov ebp, dword [esp + 0xa4]
mov ecx, edx
mov edi, ebp
and ebx, 0xfffffffb
rep stosd dword es:[edi], eax
lea eax, [edx*4]
push ebp
cmp eax, 0x10
jb 0x519edd
call fcn.00618fb8
jmp 0x519ee2
call fcn.005e0396
add esp, 4
test bl, 2
je 0x519f19
mov edx, dword [esp + 0x38]
xor eax, eax
mov ebp, dword [esp + 0x3c]
mov ecx, edx
mov edi, ebp
and ebx, 0xfffffffd
rep stosd dword es:[edi], eax
lea eax, [edx*4]
push ebp
cmp eax, 0x10
jb 0x519f11
call fcn.00618fb8
jmp 0x519f16
call fcn.005e0396
add esp, 4
mov dword [esp + 0xc8], 8
test bl, 1
je 0x519f41
mov edx, dword [esp + 0x28]
xor eax, eax
mov edi, edx
mov ecx, 2
rep stosd dword es:[edi], eax
push edx
call fcn.005e0396
add esp, 4
cmp byte [esp + 0x17], 0
jne 0x51a1d4
mov ebp, 1
cmp esi, ebp
jbe 0x51a1d0
lea esp, [esp]
cmp dword [0x717d7c], 0
jne 0x519f78
call fcn.00510ca0
mov dword [0x717d7c], 0x506460
push 2
mov dword [esp + 0x20], vtable.CryptoPP::Integer.0
mov dword [esp + 0x28], 2
call fcn.004f0b70
add esp, 4
push 8
call fcn.004ec290
add esp, 4
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], 0
mov dword [eax], 2
mov dword [eax + 4], 0
lea eax, [esp + 0xac]
mov byte [esp + 0xc8], 0xb
push eax
lea ecx, [esp + 0x4c]
call fcn.004ed860
lea ecx, [esp + 0x1c]
mov byte [esp + 0xc8], 0xc
push ecx
push eax
lea eax, [esp + 0x38]
push eax
call fcn.004edaa0
add esp, 0xc
push dword [esp + 0x44]
mov byte [esp + 0xcc], 0xd
push eax
lea eax, [esp + 0xa0]
push eax
call fcn.004edb30
add esp, 0xc
push eax
lea ecx, [esp + 0x4c]
mov byte [esp + 0xcc], 0xe
call fcn.00512700
mov edx, dword [esp + 0xa0]
xor eax, eax
mov ebx, dword [esp + 0xa4]
mov ecx, edx
mov edi, ebx
rep stosd dword es:[edi], eax
lea eax, [edx*4]
push ebx
cmp eax, 0x10
jb 0x51a042
call fcn.00618fb8
jmp 0x51a047
call fcn.005e0396
mov edx, dword [esp + 0x3c]
xor eax, eax
mov ebx, dword [esp + 0x40]
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 0x51a06e
call fcn.00618fb8
jmp 0x51a073
call fcn.005e0396
mov edx, dword [esp + 0xb8]
xor eax, eax
mov ebx, dword [esp + 0xbc]
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 0x51a0a0
call fcn.00618fb8
jmp 0x51a0a5
call fcn.005e0396
mov byte [esp + 0xcc], 8
add esp, 4
mov edx, dword [esp + 0x28]
xor eax, eax
mov edi, edx
mov ecx, 2
rep stosd dword es:[edi], eax
push edx
call fcn.005e0396
add esp, 4
lea ecx, [esp + 0x30]
push 2
call fcn.00512460
lea eax, [esp + 0x30]
mov byte [esp + 0xc8], 0xf
push eax
push dword [esp + 0x48]
lea eax, [esp + 0xb4]
push eax
call fcn.004edaa0
add esp, 0xc
push eax
lea eax, [esp + 0x4c]
push eax
call fcn.004ed8c0
mov edx, dword [esp + 0xbc]
add esp, 8
mov ebx, dword [esp + 0xb8]
mov ecx, edx
mov byte [esp + 0x17], al
mov edi, ebx
xor eax, eax
rep stosd dword es:[edi], eax
lea ecx, [edx*4]
push ebx
cmp ecx, 0x10
jb 0x51a130
call fcn.00618fb8
jmp 0x51a135
call fcn.005e0396
mov byte [esp + 0xcc], 8
xor eax, eax
mov edx, dword [esp + 0x3c]
add esp, 4
mov ebx, dword [esp + 0x3c]
mov ecx, edx
mov edi, ebx
rep stosd dword es:[edi], eax
lea eax, [edx*4]
push ebx
cmp eax, 0x10
jb 0x51a164
call fcn.00618fb8
jmp 0x51a169
call fcn.005e0396
add esp, 4
cmp byte [esp + 0x17], 0
jne 0x51a1d4
push 2
lea ecx, [esp + 0x34]
call fcn.00512460
lea eax, [esp + 0x30]
push eax
lea eax, [esp + 0x4c]
push eax
call fcn.004ed8c0
mov ebx, dword [esp + 0x44]
add esp, 8
mov edx, dword [esp + 0x38]
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 0x51a1b8
call fcn.00618fb8
jmp 0x51a1bd
call fcn.005e0396
add esp, 4
cmp byte [esp + 0x17], 0
jne 0x51a1d0
inc ebp
cmp ebp, esi
jb 0x519f60
xor bl, bl
jmp 0x51a1d6
mov bl, 1
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 0x51a1fa
call fcn.00618fb8
jmp 0x51a1ff
call fcn.005e0396
mov edx, dword [esp + 0x7c]
xor eax, eax
mov esi, dword [esp + 0x80]
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 0x51a229
call fcn.00618fb8
jmp 0x51a22e
call fcn.005e0396
mov edx, dword [esp + 0x90]
xor eax, eax
mov esi, dword [esp + 0x94]
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 0x51a25b
call fcn.00618fb8
jmp 0x51a260
call fcn.005e0396
add esp, 4
mov edx, dword [esp + 0x64]
xor eax, eax
mov esi, dword [esp + 0x68]
mov ecx, edx
mov edi, esi
rep stosd dword es:[edi], eax
lea eax, [edx*4]
push esi
cmp eax, 0x10
jb 0x51a28d
call fcn.00618fb8
add esp, 4
jmp 0x51a312
call fcn.005e0396
add esp, 4
jmp 0x51a312
cmp dword [0x717d7c], 0
jne 0x51a2b2
call fcn.00510ca0
mov dword [0x717d7c], 0x506460
push 2
mov dword [esp + 0x20], vtable.CryptoPP::Integer.0
mov dword [esp + 0x28], 2
call fcn.004f0b70
add esp, 4
push 8
call fcn.004ec290
mov esi, eax
mov dword [esp + 0x30], 0
add esp, 4
mov dword [esp + 0x28], esi
lea eax, [esp + 0x1c]
mov dword [esi], 2
push eax
push ebp
mov dword [esi + 4], 0
call fcn.004ed8c0
mov bl, al
mov edi, esi
xor eax, eax
mov ecx, 2
rep stosd dword es:[edi], eax
push esi
call fcn.005e0396
add esp, 0xc
mov al, bl
mov ecx, dword [esp + 0xc0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xb8
ret