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

Disassembly:
push 0xffffffffffffffff
push 0x60849e
mov eax, dword fs:[0]
push eax
sub esp, 0xac
push ebx
push ebp
push esi
push edi
mov eax, dword [0x6a1450]
xor eax, esp
push eax
lea eax, [esp + 0xc0]
mov dword fs:[0], eax
mov ebp, ecx
mov dword [esp + 0x44], ebp
mov dword [esp + 0x18], 0
cmp dword [0x6f4ae4], 0
jne 0x50da73
call fcn.00504e70
mov dword [0x6f4ae4], 0x4fa640
push 2
mov dword [esp + 0x20], vtable.CryptoPP::Integer.0
mov dword [esp + 0x28], 2
call fcn.004e1fd0
add esp, 4
push 8
call fcn.004dbaf0
mov esi, eax
mov dword [esp + 0x30], 0
add esp, 4
mov dword [esp + 0x28], esi
mov dword [esi], 1
mov dword [esi + 4], 0
cmp dword [ebp + 0x10], 1
je 0x50dac6
lea eax, [esp + 0x1c]
mov ecx, ebp
push eax
call fcn.005099d0
jmp 0x50dac9
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.005ca27a
add esp, 4
test bl, bl
je 0x50daed
xor al, al
jmp 0x50e294
cmp dword [ebp + 8], 0
jbe 0x50e21a
mov eax, dword [ebp + 0xc]
mov al, byte [eax]
and al, 1
je 0x50e21a
cmp dword [0x6f4ae4], 0
jne 0x50db1c
call fcn.00504e70
mov dword [0x6f4ae4], 0x4fa640
push 2
mov dword [esp + 0x60], vtable.CryptoPP::Integer.0
mov dword [esp + 0x68], 2
call fcn.004e1fd0
add esp, 4
push 8
call fcn.004dbaf0
add esp, 4
mov dword [esp + 0x68], eax
mov dword [esp + 0x6c], 0
mov dword [eax], 3
mov dword [eax + 4], 0
mov dword [esp + 0xc8], 0
xor ebx, ebx
cmp dword [0x6f4ae4], 0
jne 0x50db7e
call fcn.00504e70
mov dword [0x6f4ae4], 0x4fa640
push 2
mov dword [esp + 0x4c], vtable.CryptoPP::Integer.0
mov dword [esp + 0x54], 2
call fcn.004e1fd0
add esp, 4
push 8
call fcn.004dbaf0
add esp, 4
mov dword [esp + 0x54], eax
mov dword [esp + 0x58], 0
mov dword [eax], 4
mov dword [eax + 4], 0
lea eax, [esp + 0x30]
mov byte [esp + 0xc8], 1
push eax
lea ecx, [esp + 0x60]
call fcn.004de7c0
lea ecx, [esp + 0x48]
mov byte [esp + 0xc8], 2
push ecx
push eax
lea eax, [esp + 0x78]
push eax
call fcn.004dea00
add esp, 0xc
mov edx, ebp
mov byte [esp + 0xc8], 3
mov ecx, eax
call fcn.0050fbe0
mov edx, dword [esp + 0x78]
cmp eax, 1
mov esi, dword [esp + 0x7c]
mov ecx, edx
mov dword [esp + 0x18], eax
sete byte [esp + 0x17]
xor eax, eax
mov edi, esi
rep stosd dword es:[edi], eax
lea eax, [edx*4]
push esi
cmp eax, 0x10
jb 0x50dc2d
call fcn.005ffcb8
jmp 0x50dc32
call fcn.005ca27a
mov edx, dword [esp + 0x3c]
xor eax, eax
mov esi, dword [esp + 0x40]
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 0x50dc59
call fcn.005ffcb8
jmp 0x50dc5e
call fcn.005ca27a
mov byte [esp + 0xcc], 0
add esp, 4
mov edx, dword [esp + 0x54]
xor eax, eax
mov edi, edx
mov ecx, 2
rep stosd dword es:[edi], eax
push edx
call fcn.005ca27a
add esp, 4
cmp byte [esp + 0x17], 0
je 0x50dcb0
inc ebx
cmp ebx, 0x40
jne 0x50dc99
mov ecx, ebp
call fcn.00509eb0
test al, al
jne 0x50dcb7
lea ecx, [esp + 0x5c]
call fcn.00508190
lea ecx, [esp + 0x5c]
call fcn.00508190
jmp 0x50db66
cmp dword [esp + 0x18], 0
jne 0x50dcbe
xor bl, bl
jmp 0x50e1e3
push 1
lea ecx, [esp + 0x74]
call fcn.00506620
lea eax, [esp + 0x70]
mov byte [esp + 0xc8], 4
push eax
lea eax, [esp + 0x88]
push ebp
push eax
call fcn.004de9d0
add esp, 0xc
lea ecx, [esp + 0x70]
mov byte [esp + 0xc8], 6
call fcn.004de7e0
mov edi, dword [esp + 0x90]
xor esi, esi
mov edx, dword [esp + 0x8c]
mov eax, esi
shr eax, 5
cmp eax, edx
jae 0x50dd1f
mov eax, dword [edi + eax*4]
mov ecx, esi
and ecx, 0x1f
shr eax, cl
and al, 1
jne 0x50dd22
inc esi
jmp 0x50dd08
push esi
lea eax, [esp + 0x74]
push eax
lea ecx, [esp + 0x8c]
call fcn.004fa4f0
lea eax, [esp + 0x5c]
mov byte [esp + 0xc8], 7
push ebp
push eax
lea edx, [esp + 0x78]
lea ecx, [esp + 0x50]
call fcn.0050ff30
add esp, 8
mov byte [esp + 0xc8], 8
cmp dword [0x6f4ae4], 0
jne 0x50dd72
call fcn.00504e70
mov dword [0x6f4ae4], 0x4fa640
push 2
mov dword [esp + 0x20], vtable.CryptoPP::Integer.0
mov dword [esp + 0x28], 2
call fcn.004e1fd0
add esp, 4
push 8
call fcn.004dbaf0
add esp, 4
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], 0
mov dword [eax], 2
mov dword [eax + 4], 0
lea eax, [esp + 0x1c]
mov byte [esp + 0xc8], 9
push eax
lea eax, [esp + 0x4c]
mov ebx, 1
push eax
mov dword [esp + 0x20], ebx
call fcn.004de820
add esp, 8
test al, al
jne 0x50de26
push 2
lea ecx, [esp + 0x34]
call fcn.00506620
lea eax, [esp + 0x30]
mov dword [esp + 0xc8], 0xa
push eax
lea eax, [esp + 0x9c]
mov dword [esp + 0x1c], 3
push ebp
push eax
call fcn.004dea00
add esp, 0xc
mov ebx, 7
push eax
lea eax, [esp + 0x4c]
push eax
call fcn.004de820
add esp, 8
mov byte [esp + 0x17], 0
test al, al
je 0x50de2b
mov byte [esp + 0x17], 1
test bl, 4
je 0x50de65
mov edx, dword [esp + 0xa0]
xor eax, eax
mov ebp, dword [esp + 0xa4]
mov ecx, edx
mov edi, ebp
and ebx, 0xfffffffb
rep stosd dword es:[edi], eax
lea eax, [edx*4]
push ebp
cmp eax, 0x10
jb 0x50de5d
call fcn.005ffcb8
jmp 0x50de62
call fcn.005ca27a
add esp, 4
test bl, 2
je 0x50de99
mov edx, dword [esp + 0x38]
xor eax, eax
mov ebp, dword [esp + 0x3c]
mov ecx, edx
mov edi, ebp
and ebx, 0xfffffffd
rep stosd dword es:[edi], eax
lea eax, [edx*4]
push ebp
cmp eax, 0x10
jb 0x50de91
call fcn.005ffcb8
jmp 0x50de96
call fcn.005ca27a
add esp, 4
mov dword [esp + 0xc8], 8
test bl, 1
je 0x50dec1
mov edx, dword [esp + 0x28]
xor eax, eax
mov edi, edx
mov ecx, 2
rep stosd dword es:[edi], eax
push edx
call fcn.005ca27a
add esp, 4
cmp byte [esp + 0x17], 0
jne 0x50e154
mov ebp, 1
cmp esi, ebp
jbe 0x50e150
lea esp, [esp]
cmp dword [0x6f4ae4], 0
jne 0x50def8
call fcn.00504e70
mov dword [0x6f4ae4], 0x4fa640
push 2
mov dword [esp + 0x20], vtable.CryptoPP::Integer.0
mov dword [esp + 0x28], 2
call fcn.004e1fd0
add esp, 4
push 8
call fcn.004dbaf0
add esp, 4
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], 0
mov dword [eax], 2
mov dword [eax + 4], 0
lea eax, [esp + 0xac]
mov byte [esp + 0xc8], 0xb
push eax
lea ecx, [esp + 0x4c]
call fcn.004de7c0
lea ecx, [esp + 0x1c]
mov byte [esp + 0xc8], 0xc
push ecx
push eax
lea eax, [esp + 0x38]
push eax
call fcn.004dea00
add esp, 0xc
push dword [esp + 0x44]
mov byte [esp + 0xcc], 0xd
push eax
lea eax, [esp + 0xa0]
push eax
call fcn.004dea90
add esp, 0xc
push eax
lea ecx, [esp + 0x4c]
mov byte [esp + 0xcc], 0xe
call fcn.005068c0
mov edx, dword [esp + 0xa0]
xor eax, eax
mov ebx, dword [esp + 0xa4]
mov ecx, edx
mov edi, ebx
rep stosd dword es:[edi], eax
lea eax, [edx*4]
push ebx
cmp eax, 0x10
jb 0x50dfc2
call fcn.005ffcb8
jmp 0x50dfc7
call fcn.005ca27a
mov edx, dword [esp + 0x3c]
xor eax, eax
mov ebx, dword [esp + 0x40]
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 0x50dfee
call fcn.005ffcb8
jmp 0x50dff3
call fcn.005ca27a
mov edx, dword [esp + 0xb8]
xor eax, eax
mov ebx, dword [esp + 0xbc]
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 0x50e020
call fcn.005ffcb8
jmp 0x50e025
call fcn.005ca27a
mov byte [esp + 0xcc], 8
add esp, 4
mov edx, dword [esp + 0x28]
xor eax, eax
mov edi, edx
mov ecx, 2
rep stosd dword es:[edi], eax
push edx
call fcn.005ca27a
add esp, 4
lea ecx, [esp + 0x30]
push 2
call fcn.00506620
lea eax, [esp + 0x30]
mov byte [esp + 0xc8], 0xf
push eax
push dword [esp + 0x48]
lea eax, [esp + 0xb4]
push eax
call fcn.004dea00
add esp, 0xc
push eax
lea eax, [esp + 0x4c]
push eax
call fcn.004de820
mov edx, dword [esp + 0xbc]
add esp, 8
mov ebx, dword [esp + 0xb8]
mov ecx, edx
mov byte [esp + 0x17], al
mov edi, ebx
xor eax, eax
rep stosd dword es:[edi], eax
lea ecx, [edx*4]
push ebx
cmp ecx, 0x10
jb 0x50e0b0
call fcn.005ffcb8
jmp 0x50e0b5
call fcn.005ca27a
mov byte [esp + 0xcc], 8
xor eax, eax
mov edx, dword [esp + 0x3c]
add esp, 4
mov ebx, dword [esp + 0x3c]
mov ecx, edx
mov edi, ebx
rep stosd dword es:[edi], eax
lea eax, [edx*4]
push ebx
cmp eax, 0x10
jb 0x50e0e4
call fcn.005ffcb8
jmp 0x50e0e9
call fcn.005ca27a
add esp, 4
cmp byte [esp + 0x17], 0
jne 0x50e154
push 2
lea ecx, [esp + 0x34]
call fcn.00506620
lea eax, [esp + 0x30]
push eax
lea eax, [esp + 0x4c]
push eax
call fcn.004de820
mov ebx, dword [esp + 0x44]
add esp, 8
mov edx, dword [esp + 0x38]
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 0x50e138
call fcn.005ffcb8
jmp 0x50e13d
call fcn.005ca27a
add esp, 4
cmp byte [esp + 0x17], 0
jne 0x50e150
inc ebp
cmp ebp, esi
jb 0x50dee0
xor bl, bl
jmp 0x50e156
mov bl, 1
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 0x50e17a
call fcn.005ffcb8
jmp 0x50e17f
call fcn.005ca27a
mov edx, dword [esp + 0x7c]
xor eax, eax
mov esi, dword [esp + 0x80]
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 0x50e1a9
call fcn.005ffcb8
jmp 0x50e1ae
call fcn.005ca27a
mov edx, dword [esp + 0x90]
xor eax, eax
mov esi, dword [esp + 0x94]
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 0x50e1db
call fcn.005ffcb8
jmp 0x50e1e0
call fcn.005ca27a
add esp, 4
mov edx, dword [esp + 0x64]
xor eax, eax
mov esi, dword [esp + 0x68]
mov ecx, edx
mov edi, esi
rep stosd dword es:[edi], eax
lea eax, [edx*4]
push esi
cmp eax, 0x10
jb 0x50e20d
call fcn.005ffcb8
add esp, 4
jmp 0x50e292
call fcn.005ca27a
add esp, 4
jmp 0x50e292
cmp dword [0x6f4ae4], 0
jne 0x50e232
call fcn.00504e70
mov dword [0x6f4ae4], 0x4fa640
push 2
mov dword [esp + 0x20], vtable.CryptoPP::Integer.0
mov dword [esp + 0x28], 2
call fcn.004e1fd0
add esp, 4
push 8
call fcn.004dbaf0
mov esi, eax
mov dword [esp + 0x30], 0
add esp, 4
mov dword [esp + 0x28], esi
lea eax, [esp + 0x1c]
mov dword [esi], 2
push eax
push ebp
mov dword [esi + 4], 0
call fcn.004de820
mov bl, al
mov edi, esi
xor eax, eax
mov ecx, 2
rep stosd dword es:[edi], eax
push esi
call fcn.005ca27a
add esp, 0xc
mov al, bl
mov ecx, dword [esp + 0xc0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xb8
ret