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

Disassembly:
push 0xffffffffffffffff
push 0x619f94
mov eax, dword fs:[0]
push eax
sub esp, 0x8c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x6b64f0]
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 [0x70b44c], eax
jne 0x514c88
call fcn.0050d240
mov dword [0x70b44c], 0x502a00
push 2
mov dword [esp + 0x1c], vtable.CryptoPP::Integer.0
mov dword [esp + 0x24], 2
call fcn.004ea650
add esp, 4
push 8
call fcn.004e4160
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 0x514cdb
lea eax, [esp + 0x18]
mov ecx, ebp
push eax
call fcn.00511db0
jmp 0x514cde
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.005d9065
add esp, 4
test bl, bl
je 0x514e50
cmp dword [0x70b44c], 0
jne 0x514d17
call fcn.0050d240
mov dword [0x70b44c], 0x502a00
push 2
mov dword [esp + 0x34], vtable.CryptoPP::Integer.0
mov dword [esp + 0x3c], 2
call fcn.004ea650
add esp, 4
push 8
call fcn.004e4160
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.004e6e90
add esp, 8
test al, al
jne 0x514df0
cmp dword [0x70b44c], 0
jne 0x514d94
call fcn.0050d240
mov dword [0x70b44c], 0x502a00
push 2
mov dword [esp + 0x1c], vtable.CryptoPP::Integer.0
mov dword [esp + 0x24], 2
call fcn.004ea650
add esp, 4
push 8
call fcn.004e4160
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.004e6e90
add esp, 8
test al, al
jne 0x514df4
mov byte [esp + 0x17], al
jmp 0x514df9
mov esi, dword [esp + 0x24]
mov byte [esp + 0x17], 1
test bl, 2
je 0x514e2d
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 0x514e21
call fcn.00610971
jmp 0x514e26
call fcn.005d9065
mov edi, dword [esp + 0x40]
add esp, 4
test bl, 1
je 0x514e47
push dword [esp + 0x3c]
xor eax, eax
mov ecx, 2
rep stosd dword es:[edi], eax
call fcn.005d9065
add esp, 4
mov al, byte [esp + 0x17]
jmp 0x5153c7
cmp dword [ebp + 8], 0
jbe 0x514e6c
mov eax, dword [ebp + 0xc]
mov al, byte [eax]
and al, 1
je 0x514e6c
mov esi, dword [esp + 0x24]
mov ebx, dword [esp + 0x74]
jmp 0x514eed
cmp dword [0x70b44c], 0
jne 0x514e84
call fcn.0050d240
mov dword [0x70b44c], 0x502a00
push 2
mov dword [esp + 0x1c], vtable.CryptoPP::Integer.0
mov dword [esp + 0x24], 2
call fcn.004ea650
add esp, 4
push 8
call fcn.004e4160
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.004e6ef0
add esp, 8
test al, al
jne 0x514f82
cmp dword [0x70b44c], 0
jne 0x514f05
call fcn.0050d240
mov dword [0x70b44c], 0x502a00
push 2
mov dword [esp + 0x34], vtable.CryptoPP::Integer.0
mov dword [esp + 0x3c], 2
call fcn.004ea650
add esp, 4
push 8
call fcn.004e4160
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.00514820
add esp, 4
lea ecx, [esp + 0x30]
or ebx, 0x10
push ecx
push eax
call fcn.004e6ef0
add esp, 8
mov byte [esp + 0x17], 0
test al, al
je 0x514f87
mov byte [esp + 0x17], 1
test bl, 0x10
je 0x514fc8
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 0x514fc0
call fcn.00610971
jmp 0x514fc5
call fcn.005d9065
add esp, 4
test bl, 8
je 0x514ffa
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 0x514ff2
call fcn.00610971
jmp 0x514ff7
call fcn.005d9065
add esp, 4
mov dword [esp + 0xa8], 0xffffffff
test bl, 4
je 0x515035
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 0x51502d
call fcn.00610971
jmp 0x515032
call fcn.005d9065
add esp, 4
cmp byte [esp + 0x17], 0
jne 0x5153c5
cmp dword [0x70b44c], 0
jne 0x515058
call fcn.0050d240
mov dword [0x70b44c], 0x502a00
push 2
mov dword [esp + 0x1c], vtable.CryptoPP::Integer.0
mov dword [esp + 0x24], 2
call fcn.004ea650
add esp, 4
push 8
call fcn.004e4160
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.004e7070
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.005d9065
mov edi, dword [esp + 0x6c]
add esp, 4
mov edx, dword [esp + 0x64]
xor esi, esi
jmp 0x5150e0
mov eax, esi
shr eax, 5
cmp eax, edx
jae 0x5150f7
mov eax, dword [edi + eax*4]
mov ecx, esi
and ecx, 0x1f
shr eax, cl
and al, 1
jne 0x5150fa
inc esi
jmp 0x5150e0
push esi
lea eax, [esp + 0x7c]
push eax
lea ecx, [esp + 0x64]
call fcn.005028b0
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.005123d0
add esp, 0x10
mov byte [esp + 0xa8], 7
cmp dword [0x70b44c], 0
jne 0x515148
call fcn.0050d240
mov dword [0x70b44c], 0x502a00
push 2
mov dword [esp + 0x1c], vtable.CryptoPP::Integer.0
mov dword [esp + 0x24], 2
call fcn.004ea650
add esp, 4
push 8
call fcn.004e4160
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 0x5151a4
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x4c]
call fcn.00511db0
test eax, eax
je 0x5151bf
lea eax, [esp + 0x5c]
push eax
lea eax, [esp + 0x4c]
push eax
call fcn.004e6e90
add esp, 8
mov byte [esp + 0x17], 0
test al, al
je 0x5151c4
mov byte [esp + 0x17], 1
test bl, 0x20
je 0x5151dd
xor eax, eax
mov edi, ebp
mov ecx, 2
rep stosd dword es:[edi], eax
push ebp
call fcn.005d9065
add esp, 4
cmp byte [esp + 0x17], 0
je 0x515281
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 0x51520c
call fcn.00610971
jmp 0x515211
call fcn.005d9065
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 0x51523e
call fcn.00610971
jmp 0x515243
call fcn.005d9065
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 0x515272
call fcn.00610971
add esp, 4
mov al, 1
jmp 0x5153c7
call fcn.005d9065
add esp, 4
mov al, 1
jmp 0x5153c7
mov ebp, 1
cmp esi, ebp
jbe 0x5153aa
mov edi, edi
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x4c]
call fcn.004e6e30
push dword [esp + 0x70]
mov byte [esp + 0xac], 8
push eax
lea eax, [esp + 0x94]
push eax
call fcn.004e7100
add esp, 0xc
push eax
lea ecx, [esp + 0x4c]
mov byte [esp + 0xac], 9
call fcn.0050eca0
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 0x5152f7
call fcn.00610971
jmp 0x5152fc
call fcn.005d9065
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 0x51532b
call fcn.00610971
jmp 0x515330
call fcn.005d9065
add esp, 4
lea eax, [esp + 0x5c]
push eax
lea eax, [esp + 0x4c]
push eax
call fcn.004e6e90
add esp, 8
test al, al
jne 0x5151e8
push 1
lea ecx, [esp + 0x1c]
call fcn.0050ea00
lea eax, [esp + 0x18]
push eax
lea eax, [esp + 0x4c]
push eax
call fcn.004e6e90
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 0x515392
call fcn.00610971
jmp 0x515397
call fcn.005d9065
add esp, 4
cmp byte [esp + 0x17], 0
jne 0x5153aa
inc ebp
cmp ebp, esi
jb 0x515290
lea ecx, [esp + 0x48]
call fcn.004e6e50
lea ecx, [esp + 0x78]
call fcn.004e6e50
lea ecx, [esp + 0x5c]
call fcn.004e6e50
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