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

Disassembly:
mov eax, 0x4c
call fcn.006149d0
mov eax, dword [0x6ae280]
xor eax, esp
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x5c]
mov ecx, dword [esp + 0x60]
push ebx
push ebp
mov ebp, dword [esp + 0x5c]
xor ebx, ebx
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], ecx
mov dword [esp + 0x18], 0
mov dword [esp + 0x1c], 0
mov dword [esp + 0x30], 0
mov dword [esp + 0x28], ebx
push esi
mov esi, dword [esp + 0x64]
mov dword [esp + 0xc], esi
push edi
mov edi, dword [esp + 0x60]
cmp ebp, 0x200
jge 0x4e751d
call fcn.0048aed0
push str.rsa_multiprime_keygen
push 0x59
push str.crypto_rsa_rsa_gen.c
call fcn.0048afd0
push ebx
push 0x78
jmp 0x4e7dde
test eax, eax
jne 0x4e7540
call fcn.0048aed0
push str.rsa_multiprime_keygen
push 0x5d
push str.crypto_rsa_rsa_gen.c
call fcn.0048afd0
push 0
push 0x65
jmp 0x4e7dde
push eax
call fcn.0051f350
add esp, 4
test eax, eax
jne 0x4e756f
call fcn.0048aed0
push str.rsa_multiprime_keygen
push 0x62
push str.crypto_rsa_rsa_gen.c
call fcn.0048afd0
push 0
push 0xb2
jmp 0x4e7dde
cmp esi, 2
jl 0x4e7dc1
push ebp
call fcn.00516280
add esp, 4
cmp esi, eax
jg 0x4e7dc1
push dword [edi + 4]
call fcn.004ebd70
mov esi, eax
add esp, 4
mov dword [esp + 0x14], esi
test esi, esi
je 0x4e7d6d
push esi
call fcn.004ebe10
push esi
call fcn.004ebc20
push esi
mov dword [esp + 0x48], eax
call fcn.004ebc20
push esi
mov dword [esp + 0x28], eax
call fcn.004ebc20
add esp, 0x10
mov dword [esp + 0x34], eax
test eax, eax
je 0x4e7d6d
xor edx, edx
mov eax, ebp
div dword [esp + 0x10]
xor edx, edx
xor ecx, ecx
mov esi, eax
mov eax, ebp
mov ebp, dword [esp + 0x10]
div ebp
movd xmm0, esi
pshufd xmm4, xmm0, 0
movd xmm0, edx
pshufd xmm6, xmm0, 0
cmp ebp, 0x10
jb 0x4e76e0
movaps xmm3, xmmword [0x645430]
lea ebx, [esp + 0x44]
movaps xmm5, xmmword [0x6a5670]
and ebp, 0xfffffff0
paddd xmm3, xmm4
nop dword [eax + eax]
movd xmm0, ecx
lea eax, [ecx + 4]
pshufd xmm0, xmm0, 0
movaps xmm1, xmm6
paddd xmm0, xmm5
movaps xmm2, xmm6
pcmpgtd xmm1, xmm0
movaps xmm0, xmm3
andps xmm0, xmm1
andnps xmm1, xmm4
orps xmm0, xmm1
movups xmmword [ebx + ecx*4], xmm0
movd xmm0, eax
lea eax, [ecx + 8]
pshufd xmm0, xmm0, 0
paddd xmm0, xmm5
pcmpgtd xmm2, xmm0
movaps xmm0, xmm3
andps xmm0, xmm2
movaps xmm1, xmm2
andnps xmm1, xmm4
movaps xmm2, xmm6
orps xmm1, xmm0
movd xmm0, eax
pshufd xmm0, xmm0, 0
lea eax, [ecx + 0xc]
movups xmmword [esp + ecx*4 + 0x54], xmm1
paddd xmm0, xmm5
movaps xmm1, xmm6
pcmpgtd xmm1, xmm0
movaps xmm0, xmm3
andps xmm0, xmm1
andnps xmm1, xmm4
orps xmm0, xmm1
movups xmmword [esp + ecx*4 + 0x64], xmm0
movd xmm0, eax
pshufd xmm0, xmm0, 0
paddd xmm0, xmm5
pcmpgtd xmm2, xmm0
movaps xmm0, xmm3
movaps xmm1, xmm2
andps xmm0, xmm2
andnps xmm1, xmm4
orps xmm1, xmm0
movups xmmword [esp + ecx*4 + 0x74], xmm1
add ecx, 0x10
cmp ecx, ebp
jl 0x4e7620
mov ebp, dword [esp + 0x10]
mov ebx, 0
cmp ecx, ebp
jge 0x4e76f2
nop word [eax + eax]
lea eax, [esi + 1]
cmp ecx, edx
jl 0x4e76e9
mov eax, esi
mov dword [esp + ecx*4 + 0x44], eax
inc ecx
cmp ecx, ebp
jl 0x4e76e0
inc dword [edi + 0x78]
cmp dword [edi + 0x14], 0
jne 0x4e770b
call fcn.004941d0
mov dword [edi + 0x14], eax
test eax, eax
je 0x4e7d6d
mov eax, dword [edi + 0x1c]
test eax, eax
jne 0x4e7722
call fcn.00494360
mov dword [edi + 0x1c], eax
test eax, eax
je 0x4e7d6d
push 4
push eax
call fcn.00494470
add esp, 8
cmp dword [edi + 0x18], 0
jne 0x4e7743
call fcn.004941d0
mov dword [edi + 0x18], eax
test eax, eax
je 0x4e7d6d
mov eax, dword [edi + 0x20]
test eax, eax
jne 0x4e775a
call fcn.00494360
mov dword [edi + 0x20], eax
test eax, eax
je 0x4e7d6d
push 4
push eax
call fcn.00494470
mov eax, dword [edi + 0x24]
add esp, 8
test eax, eax
jne 0x4e777c
call fcn.00494360
mov dword [edi + 0x24], eax
test eax, eax
je 0x4e7d6d
push 4
push eax
call fcn.00494470
mov eax, dword [edi + 0x28]
add esp, 8
test eax, eax
jne 0x4e779e
call fcn.00494360
mov dword [edi + 0x28], eax
test eax, eax
je 0x4e7d6d
push 4
push eax
call fcn.00494470
mov eax, dword [edi + 0x2c]
add esp, 8
test eax, eax
jne 0x4e77c0
call fcn.00494360
mov dword [edi + 0x2c], eax
test eax, eax
je 0x4e7d6d
push 4
push eax
call fcn.00494470
mov eax, dword [edi + 0x30]
add esp, 8
test eax, eax
jne 0x4e77e2
call fcn.00494360
mov dword [edi + 0x30], eax
test eax, eax
je 0x4e7d6d
push 4
push eax
call fcn.00494470
add esp, 8
cmp ebp, 2
jle 0x4e7858
lea eax, [ebp - 2]
mov dword [edi + 8], 1
push eax
push 0
call fcn.0048f040
mov ebx, eax
add esp, 8
mov dword [esp + 0x30], ebx
test ebx, ebx
je 0x4e7d6d
mov eax, dword [edi + 0x4c]
test eax, eax
je 0x4e782a
push 0x5162c0
push eax
call fcn.0048f0e0
add esp, 8
mov ebp, dword [esp + 0x10]
mov eax, ebx
mov esi, 2
mov dword [edi + 0x4c], eax
call fcn.00516320
mov dword [esp + 0x38], eax
test eax, eax
je 0x4e7d6d
push eax
push ebx
call fcn.0048f140
inc esi
add esp, 8
cmp esi, ebp
jl 0x4e7838
push dword [esp + 0x28]
push dword [edi + 0x18]
call fcn.00493ec0
add esp, 8
test eax, eax
je 0x4e7d6d
xor ebp, ebp
jmp 0x4e7884
mov ebx, dword [esp + 0x30]
mov dword [esp + 0x28], 0
test ebp, ebp
je 0x4e78af
cmp ebp, 1
jne 0x4e789a
mov ebx, dword [edi + 0x24]
jmp 0x4e78b2
lea eax, [ebp - 2]
push eax
push ebx
call fcn.0048f2a0
add esp, 8
mov dword [esp + 0x38], eax
mov ebx, dword [eax]
jmp 0x4e78b2
mov ebx, dword [edi + 0x20]
push 4
push ebx
call fcn.00494470
mov eax, dword [esp + ebp*4 + 0x4c]
add esp, 8
mov dword [esp + 0x1c], eax
mov esi, dword [esp + 0x14]
nop dword [eax]
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x40], ecx
push esi
push dword [esp + 0x30]
push 0
push 0
push 0
push eax
push ebx
call fcn.005166e0
add esp, 0x1c
test eax, eax
je 0x4e7d6d
xor esi, esi
cmp esi, ebp
jge 0x4e793b
test esi, esi
jne 0x4e7904
mov eax, dword [edi + 0x20]
jmp 0x4e7920
cmp esi, 1
jne 0x4e790e
mov eax, dword [edi + 0x24]
jmp 0x4e7920
lea eax, [esi - 2]
push eax
push dword [esp + 0x34]
call fcn.0048f2a0
add esp, 8
mov eax, dword [eax]
push eax
push ebx
call fcn.00493d00
add esp, 8
test eax, eax
je 0x4e7931
inc esi
jmp 0x4e78f7
mov eax, dword [esp + 0x1c]
mov esi, dword [esp + 0x14]
jmp 0x4e78d8
call fcn.004945b0
mov esi, dword [esp + 0x34]
push eax
push ebx
push esi
call fcn.0050c770
add esp, 0xc
test eax, eax
je 0x4e7d6d
call fcn.00497360
push 4
push esi
call fcn.00494470
mov esi, dword [esp + 0x1c]
push esi
push dword [edi + 0x18]
push dword [esp + 0x44]
push dword [esp + 0x2c]
call fcn.00505be0
add esp, 0x18
test eax, eax
je 0x4e7a5b
mov eax, dword [esp + ebp*4 + 0x44]
add dword [esp + 0x24], eax
cmp ebp, 1
jne 0x4e799a
push esi
push dword [edi + 0x24]
push dword [edi + 0x20]
jmp 0x4e79a7
test ebp, ebp
je 0x4e7b17
push esi
push ebx
push dword [edi + 0x14]
push dword [esp + 0x24]
call fcn.00506550
add esp, 0x10
test eax, eax
je 0x4e7d6d
mov eax, dword [esp + 0x24]
mov esi, dword [esp + 0x34]
add eax, 0xfffffffc
push eax
push dword [esp + 0x1c]
push esi
call fcn.00495340
add esp, 0xc
test eax, eax
je 0x4e7d6d
push esi
call fcn.00494060
mov esi, eax
add esp, 4
cmp esi, 9
jb 0x4e79f5
cmp esi, 0xf
jbe 0x4e7ac3
push dword [esp + 0x20]
mov eax, dword [esp + 0x44]
push 2
push dword [esp + 0x34]
mov dword [esp + 0x30], eax
call fcn.00516650
inc dword [esp + 0x2c]
add esp, 0xc
test eax, eax
je 0x4e7d6d
cmp dword [esp + 0x10], 4
jle 0x4e7a47
mov eax, dword [esp + 0x1c]
cmp esi, 9
jae 0x4e7a39
inc eax
inc dword [esp + 0x28]
mov dword [esp + 0x1c], eax
jmp 0x4e78c5
dec eax
inc dword [esp + 0x28]
mov dword [esp + 0x1c], eax
jmp 0x4e78c5
cmp dword [esp + 0x28], 4
je 0x4e7ab0
mov eax, dword [esp + 0x1c]
inc dword [esp + 0x28]
jmp 0x4e78c5
call fcn.004a8be0
test eax, eax
js 0x4e7d6d
mov ecx, eax
shr ecx, 0x17
cmp cl, 3
jne 0x4e7d6d
and eax, 0x7fffff
cmp eax, 0x6c
jne 0x4e7d6d
call fcn.00497230
push dword [esp + 0x20]
push 2
push dword [esp + 0x34]
call fcn.00516650
inc dword [esp + 0x2c]
add esp, 0xc
test eax, eax
je 0x4e7d6d
mov eax, dword [esp + 0x1c]
jmp 0x4e78d0
xor ebp, ebp
mov dword [esp + 0x24], 0
mov dword [esp + 0x28], ebp
jmp 0x4e78af
cmp ebp, 1
jle 0x4e7ae2
mov eax, dword [esp + 0x38]
push dword [edi + 0x14]
push dword [eax + 0xc]
call fcn.00493ec0
add esp, 8
test eax, eax
je 0x4e7d6d
mov ebx, dword [esp + 0x18]
push ebx
push dword [edi + 0x14]
call fcn.00493ec0
add esp, 8
test eax, eax
je 0x4e7d6d
push ebp
push 3
push dword [esp + 0x34]
call fcn.00516650
add esp, 0xc
test eax, eax
je 0x4e7d6d
mov esi, dword [esp + 0x14]
jmp 0x4e7b33
push 0
push 3
push dword [esp + 0x34]
call fcn.00516650
add esp, 0xc
test eax, eax
je 0x4e7d6d
mov ebx, dword [esp + 0x18]
inc ebp
cmp ebp, dword [esp + 0x10]
jl 0x4e7880
push dword [edi + 0x24]
push dword [edi + 0x20]
call fcn.00493d00
add esp, 8
test eax, eax
jns 0x4e7b5c
mov ecx, dword [edi + 0x20]
mov eax, dword [edi + 0x24]
mov dword [edi + 0x20], eax
mov dword [edi + 0x24], ecx
call fcn.004945b0
push eax
push dword [edi + 0x20]
push ebx
call fcn.0050c770
add esp, 0xc
test eax, eax
je 0x4e7d6d
call fcn.004945b0
mov ebx, dword [esp + 0x34]
push eax
push dword [edi + 0x24]
push ebx
call fcn.0050c770
add esp, 0xc
test eax, eax
je 0x4e7d6d
mov ebp, dword [esp + 0x3c]
push esi
push ebx
push dword [esp + 0x20]
push ebp
call fcn.00506550
add esp, 0x10
test eax, eax
je 0x4e7d6d
mov ebx, dword [esp + 0x30]
mov esi, 2
cmp dword [esp + 0x10], esi
jle 0x4e7c0c
nop
lea eax, [esi - 2]
push eax
push ebx
call fcn.0048f2a0
mov ebp, eax
call fcn.004945b0
push eax
push dword [ebp]
push dword [ebp + 4]
call fcn.0050c770
add esp, 0x14
test eax, eax
je 0x4e7d6d
push dword [esp + 0x14]
push dword [ebp + 4]
mov ebp, dword [esp + 0x44]
push ebp
push ebp
call fcn.00506550
add esp, 0x10
test eax, eax
je 0x4e7d6d
inc esi
cmp esi, dword [esp + 0x10]
jl 0x4e7bc0
call fcn.004941d0
mov esi, eax
test esi, esi
je 0x4e7d6d
push 4
push ebp
push esi
call fcn.004945c0
push dword [esp + 0x20]
push esi
push dword [edi + 0x18]
push dword [edi + 0x1c]
call fcn.00505be0
add esp, 0x1c
push esi
test eax, eax
je 0x4e7d65
call fcn.00493ff0
add esp, 4
call fcn.004941d0
mov ebp, eax
test ebp, ebp
je 0x4e7d6d
push 4
push dword [edi + 0x1c]
push ebp
call fcn.004945c0
mov esi, dword [esp + 0x20]
push esi
push dword [esp + 0x28]
push ebp
push dword [edi + 0x28]
push 0
call fcn.00505340
add esp, 0x20
test eax, eax
je 0x4e7d64
push esi
push dword [esp + 0x38]
push ebp
push dword [edi + 0x2c]
push 0
call fcn.00505340
add esp, 0x14
test eax, eax
je 0x4e7d64
mov esi, 2
cmp dword [esp + 0x10], esi
jle 0x4e7cd4
lea eax, [esi - 2]
push eax
push ebx
call fcn.0048f2a0
push dword [esp + 0x1c]
mov eax, dword [eax + 4]
push eax
push ebp
push eax
push 0
call fcn.00505340
add esp, 0x1c
test eax, eax
je 0x4e7d64
inc esi
cmp esi, dword [esp + 0x10]
jl 0x4e7ca7
push ebp
call fcn.00493ff0
add esp, 4
call fcn.004941d0
mov ebp, eax
test ebp, ebp
je 0x4e7d6d
push 4
push dword [edi + 0x20]
push ebp
call fcn.004945c0
push dword [esp + 0x20]
push ebp
push dword [edi + 0x24]
push dword [edi + 0x30]
call fcn.00505be0
add esp, 0x1c
test eax, eax
je 0x4e7d64
mov edi, 2
cmp dword [esp + 0x10], edi
jle 0x4e7d54
nop dword [eax]
lea eax, [edi - 2]
push eax
push ebx
call fcn.0048f2a0
mov esi, eax
push 4
push dword [esi]
push ebp
call fcn.004945c0
push dword [esp + 0x28]
push ebp
push dword [esi + 0xc]
push dword [esi + 8]
call fcn.00505be0
add esp, 0x24
test eax, eax
je 0x4e7d64
inc edi
cmp edi, dword [esp + 0x10]
jl 0x4e7d20
push ebp
call fcn.00493ff0
add esp, 4
mov esi, 1
jmp 0x4e7d99
push ebp
call fcn.00493ff0
add esp, 4
call fcn.0048aed0
push str.rsa_multiprime_keygen
push 0x1a0
push str.crypto_rsa_rsa_gen.c
call fcn.0048afd0
push 0
push 0x80003
push 4
call fcn.0048b0e0
add esp, 0x18
xor esi, esi
mov ebx, dword [esp + 0x14]
push ebx
call fcn.004ebb20
push ebx
call fcn.004ebb90
add esp, 8
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x48]
xor ecx, esp
call fcn.00614242
add esp, 0x4c
ret
call fcn.0048aed0
push str.rsa_multiprime_keygen
push 0x67
push str.crypto_rsa_rsa_gen.c
call fcn.0048afd0
push 0
push 0xa5
push 4
call fcn.0048b0e0
mov ecx, dword [esp + 0x70]
add esp, 0x18
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00614242
add esp, 0x4c
ret