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

Disassembly:
push 0xffffffffffffffff
push 0x6029e4
mov eax, dword fs:[0]
push eax
sub esp, 0x8c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x69a450]
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 [0x6ed6ac], eax
jne 0x507658
call fcn.004ff680
mov dword [0x6ed6ac], 0x4f4e40
push 2
mov dword [esp + 0x1c], vtable.CryptoPP::Integer.0
mov dword [esp + 0x24], 2
call fcn.004dc670
add esp, 4
push 8
call fcn.004d6190
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 0x5076ab
lea eax, [esp + 0x18]
mov ecx, ebp
push eax
call fcn.005041f0
jmp 0x5076ae
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.005c663b
add esp, 4
test bl, bl
je 0x507820
cmp dword [0x6ed6ac], 0
jne 0x5076e7
call fcn.004ff680
mov dword [0x6ed6ac], 0x4f4e40
push 2
mov dword [esp + 0x34], vtable.CryptoPP::Integer.0
mov dword [esp + 0x3c], 2
call fcn.004dc670
add esp, 4
push 8
call fcn.004d6190
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.004d8ec0
add esp, 8
test al, al
jne 0x5077c0
cmp dword [0x6ed6ac], 0
jne 0x507764
call fcn.004ff680
mov dword [0x6ed6ac], 0x4f4e40
push 2
mov dword [esp + 0x1c], vtable.CryptoPP::Integer.0
mov dword [esp + 0x24], 2
call fcn.004dc670
add esp, 4
push 8
call fcn.004d6190
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.004d8ec0
add esp, 8
test al, al
jne 0x5077c4
mov byte [esp + 0x17], al
jmp 0x5077c9
mov esi, dword [esp + 0x24]
mov byte [esp + 0x17], 1
test bl, 2
je 0x5077fd
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 0x5077f1
call fcn.005fa578
jmp 0x5077f6
call fcn.005c663b
mov edi, dword [esp + 0x40]
add esp, 4
test bl, 1
je 0x507817
push dword [esp + 0x3c]
xor eax, eax
mov ecx, 2
rep stosd dword es:[edi], eax
call fcn.005c663b
add esp, 4
mov al, byte [esp + 0x17]
jmp 0x507d97
cmp dword [ebp + 8], 0
jbe 0x50783c
mov eax, dword [ebp + 0xc]
mov al, byte [eax]
and al, 1
je 0x50783c
mov esi, dword [esp + 0x24]
mov ebx, dword [esp + 0x74]
jmp 0x5078bd
cmp dword [0x6ed6ac], 0
jne 0x507854
call fcn.004ff680
mov dword [0x6ed6ac], 0x4f4e40
push 2
mov dword [esp + 0x1c], vtable.CryptoPP::Integer.0
mov dword [esp + 0x24], 2
call fcn.004dc670
add esp, 4
push 8
call fcn.004d6190
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.004d8f20
add esp, 8
test al, al
jne 0x507952
cmp dword [0x6ed6ac], 0
jne 0x5078d5
call fcn.004ff680
mov dword [0x6ed6ac], 0x4f4e40
push 2
mov dword [esp + 0x34], vtable.CryptoPP::Integer.0
mov dword [esp + 0x3c], 2
call fcn.004dc670
add esp, 4
push 8
call fcn.004d6190
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.005071f0
add esp, 4
lea ecx, [esp + 0x30]
or ebx, 0x10
push ecx
push eax
call fcn.004d8f20
add esp, 8
mov byte [esp + 0x17], 0
test al, al
je 0x507957
mov byte [esp + 0x17], 1
test bl, 0x10
je 0x507998
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 0x507990
call fcn.005fa578
jmp 0x507995
call fcn.005c663b
add esp, 4
test bl, 8
je 0x5079ca
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 0x5079c2
call fcn.005fa578
jmp 0x5079c7
call fcn.005c663b
add esp, 4
mov dword [esp + 0xa8], 0xffffffff
test bl, 4
je 0x507a05
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 0x5079fd
call fcn.005fa578
jmp 0x507a02
call fcn.005c663b
add esp, 4
cmp byte [esp + 0x17], 0
jne 0x507d95
cmp dword [0x6ed6ac], 0
jne 0x507a28
call fcn.004ff680
mov dword [0x6ed6ac], 0x4f4e40
push 2
mov dword [esp + 0x1c], vtable.CryptoPP::Integer.0
mov dword [esp + 0x24], 2
call fcn.004dc670
add esp, 4
push 8
call fcn.004d6190
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.004d90a0
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.005c663b
mov edi, dword [esp + 0x6c]
add esp, 4
mov edx, dword [esp + 0x64]
xor esi, esi
jmp 0x507ab0
mov eax, esi
shr eax, 5
cmp eax, edx
jae 0x507ac7
mov eax, dword [edi + eax*4]
mov ecx, esi
and ecx, 0x1f
shr eax, cl
and al, 1
jne 0x507aca
inc esi
jmp 0x507ab0
push esi
lea eax, [esp + 0x7c]
push eax
lea ecx, [esp + 0x64]
call fcn.004f4cf0
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.00504810
add esp, 0x10
mov byte [esp + 0xa8], 7
cmp dword [0x6ed6ac], 0
jne 0x507b18
call fcn.004ff680
mov dword [0x6ed6ac], 0x4f4e40
push 2
mov dword [esp + 0x1c], vtable.CryptoPP::Integer.0
mov dword [esp + 0x24], 2
call fcn.004dc670
add esp, 4
push 8
call fcn.004d6190
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 0x507b74
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x4c]
call fcn.005041f0
test eax, eax
je 0x507b8f
lea eax, [esp + 0x5c]
push eax
lea eax, [esp + 0x4c]
push eax
call fcn.004d8ec0
add esp, 8
mov byte [esp + 0x17], 0
test al, al
je 0x507b94
mov byte [esp + 0x17], 1
test bl, 0x20
je 0x507bad
xor eax, eax
mov edi, ebp
mov ecx, 2
rep stosd dword es:[edi], eax
push ebp
call fcn.005c663b
add esp, 4
cmp byte [esp + 0x17], 0
je 0x507c51
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 0x507bdc
call fcn.005fa578
jmp 0x507be1
call fcn.005c663b
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 0x507c0e
call fcn.005fa578
jmp 0x507c13
call fcn.005c663b
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 0x507c42
call fcn.005fa578
add esp, 4
mov al, 1
jmp 0x507d97
call fcn.005c663b
add esp, 4
mov al, 1
jmp 0x507d97
mov ebp, 1
cmp esi, ebp
jbe 0x507d7a
mov edi, edi
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x4c]
call fcn.004d8e60
push dword [esp + 0x70]
mov byte [esp + 0xac], 8
push eax
lea eax, [esp + 0x94]
push eax
call fcn.004d9130
add esp, 0xc
push eax
lea ecx, [esp + 0x4c]
mov byte [esp + 0xac], 9
call fcn.005010e0
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 0x507cc7
call fcn.005fa578
jmp 0x507ccc
call fcn.005c663b
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 0x507cfb
call fcn.005fa578
jmp 0x507d00
call fcn.005c663b
add esp, 4
lea eax, [esp + 0x5c]
push eax
lea eax, [esp + 0x4c]
push eax
call fcn.004d8ec0
add esp, 8
test al, al
jne 0x507bb8
push 1
lea ecx, [esp + 0x1c]
call fcn.00500e40
lea eax, [esp + 0x18]
push eax
lea eax, [esp + 0x4c]
push eax
call fcn.004d8ec0
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 0x507d62
call fcn.005fa578
jmp 0x507d67
call fcn.005c663b
add esp, 4
cmp byte [esp + 0x17], 0
jne 0x507d7a
inc ebp
cmp ebp, esi
jb 0x507c60
lea ecx, [esp + 0x48]
call fcn.004d8e80
lea ecx, [esp + 0x78]
call fcn.004d8e80
lea ecx, [esp + 0x5c]
call fcn.004d8e80
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