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

Disassembly:
push 0xffffffffffffffff
push 0x621bf4
mov eax, dword fs:[0]
push eax
sub esp, 0x8c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x6c4490]
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 [0x717d7c], eax
jne 0x518eb8
call fcn.00510ca0
mov dword [0x717d7c], 0x506460
push 2
mov dword [esp + 0x1c], vtable.CryptoPP::Integer.0
mov dword [esp + 0x24], 2
call fcn.004f0b70
add esp, 4
push 8
call fcn.004ec290
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 0x518f0b
lea eax, [esp + 0x18]
mov ecx, ebp
push eax
call fcn.00515810
jmp 0x518f0e
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 0x519080
cmp dword [0x717d7c], 0
jne 0x518f47
call fcn.00510ca0
mov dword [0x717d7c], 0x506460
push 2
mov dword [esp + 0x34], vtable.CryptoPP::Integer.0
mov dword [esp + 0x3c], 2
call fcn.004f0b70
add esp, 4
push 8
call fcn.004ec290
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
lea eax, [esp + 0x30]
mov dword [esp + 0xa8], 0
push eax
mov ebx, 1
push ebp
mov dword [esp + 0x34], ebx
call fcn.004ed8c0
add esp, 8
test al, al
jne 0x519020
cmp dword [0x717d7c], 0
jne 0x518fc4
call fcn.00510ca0
mov dword [0x717d7c], 0x506460
push 2
mov dword [esp + 0x1c], vtable.CryptoPP::Integer.0
mov dword [esp + 0x24], 2
call fcn.004f0b70
add esp, 4
push 8
call fcn.004ec290
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.004ed8c0
add esp, 8
test al, al
jne 0x519024
mov byte [esp + 0x17], al
jmp 0x519029
mov esi, dword [esp + 0x24]
mov byte [esp + 0x17], 1
test bl, 2
je 0x51905d
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 0x519051
call fcn.00618fb8
jmp 0x519056
call fcn.005e0396
mov edi, dword [esp + 0x40]
add esp, 4
test bl, 1
je 0x519077
push dword [esp + 0x3c]
xor eax, eax
mov ecx, 2
rep stosd dword es:[edi], eax
call fcn.005e0396
add esp, 4
mov al, byte [esp + 0x17]
jmp 0x5195f7
cmp dword [ebp + 8], 0
jbe 0x51909c
mov eax, dword [ebp + 0xc]
mov al, byte [eax]
and al, 1
je 0x51909c
mov esi, dword [esp + 0x24]
mov ebx, dword [esp + 0x74]
jmp 0x51911d
cmp dword [0x717d7c], 0
jne 0x5190b4
call fcn.00510ca0
mov dword [0x717d7c], 0x506460
push 2
mov dword [esp + 0x1c], vtable.CryptoPP::Integer.0
mov dword [esp + 0x24], 2
call fcn.004f0b70
add esp, 4
push 8
call fcn.004ec290
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.004ed920
add esp, 8
test al, al
jne 0x5191b2
cmp dword [0x717d7c], 0
jne 0x519135
call fcn.00510ca0
mov dword [0x717d7c], 0x506460
push 2
mov dword [esp + 0x34], vtable.CryptoPP::Integer.0
mov dword [esp + 0x3c], 2
call fcn.004f0b70
add esp, 4
push 8
call fcn.004ec290
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.00518a50
add esp, 4
lea ecx, [esp + 0x30]
or ebx, 0x10
push ecx
push eax
call fcn.004ed920
add esp, 8
mov byte [esp + 0x17], 0
test al, al
je 0x5191b7
mov byte [esp + 0x17], 1
test bl, 0x10
je 0x5191f8
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 0x5191f0
call fcn.00618fb8
jmp 0x5191f5
call fcn.005e0396
add esp, 4
test bl, 8
je 0x51922a
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 0x519222
call fcn.00618fb8
jmp 0x519227
call fcn.005e0396
add esp, 4
mov dword [esp + 0xa8], 0xffffffff
test bl, 4
je 0x519265
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 0x51925d
call fcn.00618fb8
jmp 0x519262
call fcn.005e0396
add esp, 4
cmp byte [esp + 0x17], 0
jne 0x5195f5
cmp dword [0x717d7c], 0
jne 0x519288
call fcn.00510ca0
mov dword [0x717d7c], 0x506460
push 2
mov dword [esp + 0x1c], vtable.CryptoPP::Integer.0
mov dword [esp + 0x24], 2
call fcn.004f0b70
add esp, 4
push 8
call fcn.004ec290
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.004edaa0
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.005e0396
mov edi, dword [esp + 0x6c]
add esp, 4
mov edx, dword [esp + 0x64]
xor esi, esi
jmp 0x519310
mov eax, esi
shr eax, 5
cmp eax, edx
jae 0x519327
mov eax, dword [edi + eax*4]
mov ecx, esi
and ecx, 0x1f
shr eax, cl
and al, 1
jne 0x51932a
inc esi
jmp 0x519310
push esi
lea eax, [esp + 0x7c]
push eax
lea ecx, [esp + 0x64]
call fcn.00506310
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.00515e30
add esp, 0x10
mov byte [esp + 0xa8], 7
cmp dword [0x717d7c], 0
jne 0x519378
call fcn.00510ca0
mov dword [0x717d7c], 0x506460
push 2
mov dword [esp + 0x1c], vtable.CryptoPP::Integer.0
mov dword [esp + 0x24], 2
call fcn.004f0b70
add esp, 4
push 8
call fcn.004ec290
mov ebp, eax
mov dword [esp + 0x2c], 0
add esp, 4
mov dword [esp + 0x24], ebp
or ebx, 0x20
mov dword [ebp], 1
mov dword [ebp + 4], 0
cmp dword [esp + 0x58], 1
je 0x5193d4
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x4c]
call fcn.00515810
test eax, eax
je 0x5193ef
lea eax, [esp + 0x5c]
push eax
lea eax, [esp + 0x4c]
push eax
call fcn.004ed8c0
add esp, 8
mov byte [esp + 0x17], 0
test al, al
je 0x5193f4
mov byte [esp + 0x17], 1
test bl, 0x20
je 0x51940d
xor eax, eax
mov edi, ebp
mov ecx, 2
rep stosd dword es:[edi], eax
push ebp
call fcn.005e0396
add esp, 4
cmp byte [esp + 0x17], 0
je 0x5194b1
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 0x51943c
call fcn.00618fb8
jmp 0x519441
call fcn.005e0396
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 0x51946e
call fcn.00618fb8
jmp 0x519473
call fcn.005e0396
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 0x5194a2
call fcn.00618fb8
add esp, 4
mov al, 1
jmp 0x5195f7
call fcn.005e0396
add esp, 4
mov al, 1
jmp 0x5195f7
mov ebp, 1
cmp esi, ebp
jbe 0x5195da
mov edi, edi
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x4c]
call fcn.004ed860
push dword [esp + 0x70]
mov byte [esp + 0xac], 8
push eax
lea eax, [esp + 0x94]
push eax
call fcn.004edb30
add esp, 0xc
push eax
lea ecx, [esp + 0x4c]
mov byte [esp + 0xac], 9
call fcn.00512700
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 0x519527
call fcn.00618fb8
jmp 0x51952c
call fcn.005e0396
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 0x51955b
call fcn.00618fb8
jmp 0x519560
call fcn.005e0396
add esp, 4
lea eax, [esp + 0x5c]
push eax
lea eax, [esp + 0x4c]
push eax
call fcn.004ed8c0
add esp, 8
test al, al
jne 0x519418
push 1
lea ecx, [esp + 0x1c]
call fcn.00512460
lea eax, [esp + 0x18]
push eax
lea eax, [esp + 0x4c]
push eax
call fcn.004ed8c0
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 0x5195c2
call fcn.00618fb8
jmp 0x5195c7
call fcn.005e0396
add esp, 4
cmp byte [esp + 0x17], 0
jne 0x5195da
inc ebp
cmp ebp, esi
jb 0x5194c0
lea ecx, [esp + 0x48]
call fcn.004ed880
lea ecx, [esp + 0x78]
call fcn.004ed880
lea ecx, [esp + 0x5c]
call fcn.004ed880
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