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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x602a49
mov eax, dword fs:[0]
push eax
sub esp, 0x68
push ebx
push esi
push edi
mov eax, dword [0x69a450]
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 [0x6ed6ac], 0
jne 0x507e16
call fcn.004ff680
mov dword [0x6ed6ac], 0x4f4e40
push 2
mov dword [esp + 0x3c], vtable.CryptoPP::Integer.0
mov dword [esp + 0x44], 2
call fcn.004dc670
add esp, 4
push 8
call fcn.004d6190
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 0x507e6d
lea eax, [esp + 0x38]
mov ecx, esi
push eax
call fcn.005041f0
mov edx, dword [esp + 0x44]
jmp 0x507e70
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.005c663b
add esp, 4
test bl, bl
je 0x507ff3
cmp dword [0x6ed6ac], 0
jne 0x507ea9
call fcn.004ff680
mov dword [0x6ed6ac], 0x4f4e40
push 2
mov dword [esp + 0x28], vtable.CryptoPP::Integer.0
mov dword [esp + 0x30], 2
call fcn.004dc670
add esp, 4
push 8
call fcn.004d6190
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.004d8ec0
add esp, 8
test al, al
jne 0x507f85
cmp dword [0x6ed6ac], 0
jne 0x507f26
call fcn.004ff680
mov dword [0x6ed6ac], 0x4f4e40
push 2
mov dword [esp + 0x3c], vtable.CryptoPP::Integer.0
mov dword [esp + 0x44], 2
call fcn.004dc670
add esp, 4
push 8
call fcn.004d6190
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.004d8ec0
add esp, 8
test al, al
jne 0x507f89
mov byte [esp + 0x17], al
jmp 0x507f8e
mov esi, dword [esp + 0x44]
mov byte [esp + 0x17], 1
test bl, 2
je 0x507fc2
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 0x507fb6
call fcn.005fa578
jmp 0x507fbb
call fcn.005c663b
mov edi, dword [esp + 0x34]
add esp, 4
test bl, 1
je 0x507fdc
push dword [esp + 0x30]
xor eax, eax
mov ecx, 2
rep stosd dword es:[edi], eax
call fcn.005c663b
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.00500ca0
cmp dword [ebp + 8], 0
mov dword [esp + 0x80], 1
mov dword [esp + 0x1c], 0
jbe 0x5081a4
lea esp, [esp]
cmp dword [0x6ed6ac], 0
jne 0x508038
call fcn.004ff680
mov dword [0x6ed6ac], 0x4f4e40
push 2
mov dword [esp + 0x28], vtable.CryptoPP::Integer.0
mov dword [esp + 0x30], 2
call fcn.004dc670
add esp, 4
push 8
call fcn.004d6190
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 [0x6ed6ac], 0
jne 0x508097
call fcn.004ff680
mov dword [0x6ed6ac], 0x4f4e40
push 2
mov dword [esp + 0x3c], vtable.CryptoPP::Integer.0
mov dword [esp + 0x44], 2
call fcn.004dc670
add esp, 4
push 8
call fcn.004d6190
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.004d90a0
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.00501b40
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 0x508131
call fcn.005fa578
jmp 0x508136
call fcn.005c663b
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 0x50815d
call fcn.005fa578
jmp 0x508162
call fcn.005c663b
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.005c663b
mov ecx, dword [esp + 0x1c]
lea edx, [esp + 0x50]
add esp, 4
call fcn.00507600
test al, al
je 0x5081c8
mov eax, dword [esp + 0x1c]
inc eax
mov dword [esp + 0x1c], eax
cmp eax, dword [ebp + 8]
jb 0x508020
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 0x50821f
call fcn.005fa578
jmp 0x508224
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 0x508202
call fcn.005fa578
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.005c663b
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.005c663b
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