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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x6083b9
mov eax, dword fs:[0]
push eax
sub esp, 0x68
push ebx
push esi
push edi
mov eax, dword [0x6a1450]
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 [0x6f4ae4], 0
jne 0x50d5f6
call fcn.00504e70
mov dword [0x6f4ae4], 0x4fa640
push 2
mov dword [esp + 0x3c], vtable.CryptoPP::Integer.0
mov dword [esp + 0x44], 2
call fcn.004e1fd0
add esp, 4
push 8
call fcn.004dbaf0
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 0x50d64d
lea eax, [esp + 0x38]
mov ecx, esi
push eax
call fcn.005099d0
mov edx, dword [esp + 0x44]
jmp 0x50d650
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.005ca27a
add esp, 4
test bl, bl
je 0x50d7d3
cmp dword [0x6f4ae4], 0
jne 0x50d689
call fcn.00504e70
mov dword [0x6f4ae4], 0x4fa640
push 2
mov dword [esp + 0x28], vtable.CryptoPP::Integer.0
mov dword [esp + 0x30], 2
call fcn.004e1fd0
add esp, 4
push 8
call fcn.004dbaf0
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.004de820
add esp, 8
test al, al
jne 0x50d765
cmp dword [0x6f4ae4], 0
jne 0x50d706
call fcn.00504e70
mov dword [0x6f4ae4], 0x4fa640
push 2
mov dword [esp + 0x3c], vtable.CryptoPP::Integer.0
mov dword [esp + 0x44], 2
call fcn.004e1fd0
add esp, 4
push 8
call fcn.004dbaf0
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.004de820
add esp, 8
test al, al
jne 0x50d769
mov byte [esp + 0x17], al
jmp 0x50d76e
mov esi, dword [esp + 0x44]
mov byte [esp + 0x17], 1
test bl, 2
je 0x50d7a2
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 0x50d796
call fcn.005ffcb8
jmp 0x50d79b
call fcn.005ca27a
mov edi, dword [esp + 0x34]
add esp, 4
test bl, 1
je 0x50d7bc
push dword [esp + 0x30]
xor eax, eax
mov ecx, 2
rep stosd dword es:[edi], eax
call fcn.005ca27a
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.00506480
cmp dword [ebp + 8], 0
mov dword [esp + 0x80], 1
mov dword [esp + 0x1c], 0
jbe 0x50d984
lea esp, [esp]
cmp dword [0x6f4ae4], 0
jne 0x50d818
call fcn.00504e70
mov dword [0x6f4ae4], 0x4fa640
push 2
mov dword [esp + 0x28], vtable.CryptoPP::Integer.0
mov dword [esp + 0x30], 2
call fcn.004e1fd0
add esp, 4
push 8
call fcn.004dbaf0
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 [0x6f4ae4], 0
jne 0x50d877
call fcn.00504e70
mov dword [0x6f4ae4], 0x4fa640
push 2
mov dword [esp + 0x3c], vtable.CryptoPP::Integer.0
mov dword [esp + 0x44], 2
call fcn.004e1fd0
add esp, 4
push 8
call fcn.004dbaf0
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.004dea00
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.00507320
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 0x50d911
call fcn.005ffcb8
jmp 0x50d916
call fcn.005ca27a
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 0x50d93d
call fcn.005ffcb8
jmp 0x50d942
call fcn.005ca27a
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.005ca27a
mov ecx, dword [esp + 0x1c]
lea edx, [esp + 0x50]
add esp, 4
call fcn.0050cde0
test al, al
je 0x50d9a8
mov eax, dword [esp + 0x1c]
inc eax
mov dword [esp + 0x1c], eax
cmp eax, dword [ebp + 8]
jb 0x50d800
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 0x50d9ff
call fcn.005ffcb8
jmp 0x50da04
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 0x50d9e2
call fcn.005ffcb8
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.005ca27a
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.005ca27a
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