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

Disassembly:
push 0xffffffffffffffff
push 0x60fe8e
mov eax, dword fs:[0]
push eax
sub esp, 0xac
push ebx
push ebp
push esi
push edi
mov eax, dword [0x6ae450]
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 [0x700248], 0
jne 0x4f01c3
call fcn.004e7930
mov dword [0x700248], 0x4dd0f0
push 2
mov dword [esp + 0x20], vtable.CryptoPP::Integer.0
mov dword [esp + 0x28], 2
call fcn.004c7ee0
add esp, 4
push 8
call fcn.004c3600
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 0x4f0216
lea eax, [esp + 0x1c]
mov ecx, ebp
push eax
call fcn.004ec4a0
jmp 0x4f0219
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.005b5a16
add esp, 4
test bl, bl
je 0x4f023d
xor al, al
jmp 0x4f09e4
cmp dword [ebp + 8], 0
jbe 0x4f096a
mov eax, dword [ebp + 0xc]
mov al, byte [eax]
and al, 1
je 0x4f096a
cmp dword [0x700248], 0
jne 0x4f026c
call fcn.004e7930
mov dword [0x700248], 0x4dd0f0
push 2
mov dword [esp + 0x60], vtable.CryptoPP::Integer.0
mov dword [esp + 0x68], 2
call fcn.004c7ee0
add esp, 4
push 8
call fcn.004c3600
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 [0x700248], 0
jne 0x4f02ce
call fcn.004e7930
mov dword [0x700248], 0x4dd0f0
push 2
mov dword [esp + 0x4c], vtable.CryptoPP::Integer.0
mov dword [esp + 0x54], 2
call fcn.004c7ee0
add esp, 4
push 8
call fcn.004c3600
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.004c4bd0
lea ecx, [esp + 0x48]
mov byte [esp + 0xc8], 2
push ecx
push eax
lea eax, [esp + 0x78]
push eax
call fcn.004c4e10
add esp, 0xc
mov edx, ebp
mov byte [esp + 0xc8], 3
mov ecx, eax
call fcn.004f2330
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 0x4f037d
call fcn.005eefb8
jmp 0x4f0382
call fcn.005b5a16
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 0x4f03a9
call fcn.005eefb8
jmp 0x4f03ae
call fcn.005b5a16
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.005b5a16
add esp, 4
cmp byte [esp + 0x17], 0
je 0x4f0400
inc ebx
cmp ebx, 0x40
jne 0x4f03e9
mov ecx, ebp
call fcn.004ec980
test al, al
jne 0x4f0407
lea ecx, [esp + 0x5c]
call fcn.004eac60
lea ecx, [esp + 0x5c]
call fcn.004eac60
jmp 0x4f02b6
cmp dword [esp + 0x18], 0
jne 0x4f040e
xor bl, bl
jmp 0x4f0933
push 1
lea ecx, [esp + 0x74]
call fcn.004e90f0
lea eax, [esp + 0x70]
mov byte [esp + 0xc8], 4
push eax
lea eax, [esp + 0x88]
push ebp
push eax
call fcn.004c4de0
add esp, 0xc
lea ecx, [esp + 0x70]
mov byte [esp + 0xc8], 6
call fcn.004c4bf0
mov edi, dword [esp + 0x90]
xor esi, esi
mov edx, dword [esp + 0x8c]
mov eax, esi
shr eax, 5
cmp eax, edx
jae 0x4f046f
mov eax, dword [edi + eax*4]
mov ecx, esi
and ecx, 0x1f
shr eax, cl
and al, 1
jne 0x4f0472
inc esi
jmp 0x4f0458
push esi
lea eax, [esp + 0x74]
push eax
lea ecx, [esp + 0x8c]
call fcn.004dcfa0
lea eax, [esp + 0x5c]
mov byte [esp + 0xc8], 7
push ebp
push eax
lea edx, [esp + 0x78]
lea ecx, [esp + 0x50]
call fcn.004f2680
add esp, 8
mov byte [esp + 0xc8], 8
cmp dword [0x700248], 0
jne 0x4f04c2
call fcn.004e7930
mov dword [0x700248], 0x4dd0f0
push 2
mov dword [esp + 0x20], vtable.CryptoPP::Integer.0
mov dword [esp + 0x28], 2
call fcn.004c7ee0
add esp, 4
push 8
call fcn.004c3600
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.004c4c30
add esp, 8
test al, al
jne 0x4f0576
push 2
lea ecx, [esp + 0x34]
call fcn.004e90f0
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.004c4e10
add esp, 0xc
mov ebx, 7
push eax
lea eax, [esp + 0x4c]
push eax
call fcn.004c4c30
add esp, 8
mov byte [esp + 0x17], 0
test al, al
je 0x4f057b
mov byte [esp + 0x17], 1
test bl, 4
je 0x4f05b5
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 0x4f05ad
call fcn.005eefb8
jmp 0x4f05b2
call fcn.005b5a16
add esp, 4
test bl, 2
je 0x4f05e9
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 0x4f05e1
call fcn.005eefb8
jmp 0x4f05e6
call fcn.005b5a16
add esp, 4
mov dword [esp + 0xc8], 8
test bl, 1
je 0x4f0611
mov edx, dword [esp + 0x28]
xor eax, eax
mov edi, edx
mov ecx, 2
rep stosd dword es:[edi], eax
push edx
call fcn.005b5a16
add esp, 4
cmp byte [esp + 0x17], 0
jne 0x4f08a4
mov ebp, 1
cmp esi, ebp
jbe 0x4f08a0
lea esp, [esp]
cmp dword [0x700248], 0
jne 0x4f0648
call fcn.004e7930
mov dword [0x700248], 0x4dd0f0
push 2
mov dword [esp + 0x20], vtable.CryptoPP::Integer.0
mov dword [esp + 0x28], 2
call fcn.004c7ee0
add esp, 4
push 8
call fcn.004c3600
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.004c4bd0
lea ecx, [esp + 0x1c]
mov byte [esp + 0xc8], 0xc
push ecx
push eax
lea eax, [esp + 0x38]
push eax
call fcn.004c4e10
add esp, 0xc
push dword [esp + 0x44]
mov byte [esp + 0xcc], 0xd
push eax
lea eax, [esp + 0xa0]
push eax
call fcn.004c4ea0
add esp, 0xc
push eax
lea ecx, [esp + 0x4c]
mov byte [esp + 0xcc], 0xe
call fcn.004e9390
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 0x4f0712
call fcn.005eefb8
jmp 0x4f0717
call fcn.005b5a16
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 0x4f073e
call fcn.005eefb8
jmp 0x4f0743
call fcn.005b5a16
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 0x4f0770
call fcn.005eefb8
jmp 0x4f0775
call fcn.005b5a16
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.005b5a16
add esp, 4
lea ecx, [esp + 0x30]
push 2
call fcn.004e90f0
lea eax, [esp + 0x30]
mov byte [esp + 0xc8], 0xf
push eax
push dword [esp + 0x48]
lea eax, [esp + 0xb4]
push eax
call fcn.004c4e10
add esp, 0xc
push eax
lea eax, [esp + 0x4c]
push eax
call fcn.004c4c30
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 0x4f0800
call fcn.005eefb8
jmp 0x4f0805
call fcn.005b5a16
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 0x4f0834
call fcn.005eefb8
jmp 0x4f0839
call fcn.005b5a16
add esp, 4
cmp byte [esp + 0x17], 0
jne 0x4f08a4
push 2
lea ecx, [esp + 0x34]
call fcn.004e90f0
lea eax, [esp + 0x30]
push eax
lea eax, [esp + 0x4c]
push eax
call fcn.004c4c30
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 0x4f0888
call fcn.005eefb8
jmp 0x4f088d
call fcn.005b5a16
add esp, 4
cmp byte [esp + 0x17], 0
jne 0x4f08a0
inc ebp
cmp ebp, esi
jb 0x4f0630
xor bl, bl
jmp 0x4f08a6
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 0x4f08ca
call fcn.005eefb8
jmp 0x4f08cf
call fcn.005b5a16
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 0x4f08f9
call fcn.005eefb8
jmp 0x4f08fe
call fcn.005b5a16
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 0x4f092b
call fcn.005eefb8
jmp 0x4f0930
call fcn.005b5a16
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 0x4f095d
call fcn.005eefb8
add esp, 4
jmp 0x4f09e2
call fcn.005b5a16
add esp, 4
jmp 0x4f09e2
cmp dword [0x700248], 0
jne 0x4f0982
call fcn.004e7930
mov dword [0x700248], 0x4dd0f0
push 2
mov dword [esp + 0x20], vtable.CryptoPP::Integer.0
mov dword [esp + 0x28], 2
call fcn.004c7ee0
add esp, 4
push 8
call fcn.004c3600
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.004c4c30
mov bl, al
mov edi, esi
xor eax, eax
mov ecx, 2
rep stosd dword es:[edi], eax
push esi
call fcn.005b5a16
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