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

Disassembly:
mov eax, 0x4c
call fcn.0059eec0
mov eax, dword [0x66ea60]
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 0x4f9ebd
call fcn.00471c50
push str.rsa_multiprime_keygen
push 0x59
push str.crypto_rsa_rsa_gen.c
call fcn.00471d50
push ebx
push 0x78
jmp 0x4fa77e
test eax, eax
jne 0x4f9ee0
call fcn.00471c50
push str.rsa_multiprime_keygen
push 0x5d
push str.crypto_rsa_rsa_gen.c
call fcn.00471d50
push 0
push 0x65
jmp 0x4fa77e
push eax
call fcn.00538a80
add esp, 4
test eax, eax
jne 0x4f9f0f
call fcn.00471c50
push str.rsa_multiprime_keygen
push 0x62
push str.crypto_rsa_rsa_gen.c
call fcn.00471d50
push 0
push 0xb2
jmp 0x4fa77e
cmp esi, 2
jl 0x4fa761
push ebp
call fcn.00472460
add esp, 4
cmp esi, eax
jg 0x4fa761
push dword [edi + 4]
call fcn.00486e10
mov esi, eax
add esp, 4
mov dword [esp + 0x14], esi
test esi, esi
je 0x4fa70d
push esi
call fcn.00486eb0
push esi
call fcn.00486cc0
push esi
mov dword [esp + 0x48], eax
call fcn.00486cc0
push esi
mov dword [esp + 0x28], eax
call fcn.00486cc0
add esp, 0x10
mov dword [esp + 0x34], eax
test eax, eax
je 0x4fa70d
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 0x4fa080
movaps xmm3, xmmword [0x5fffd0]
lea ebx, [esp + 0x44]
movaps xmm5, xmmword [0x5e21e0]
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 0x4f9fc0
mov ebp, dword [esp + 0x10]
mov ebx, 0
cmp ecx, ebp
jge 0x4fa092
nop word [eax + eax]
lea eax, [esi + 1]
cmp ecx, edx
jl 0x4fa089
mov eax, esi
mov dword [esp + ecx*4 + 0x44], eax
inc ecx
cmp ecx, ebp
jl 0x4fa080
inc dword [edi + 0x78]
cmp dword [edi + 0x14], 0
jne 0x4fa0ab
call fcn.00462530
mov dword [edi + 0x14], eax
test eax, eax
je 0x4fa70d
mov eax, dword [edi + 0x1c]
test eax, eax
jne 0x4fa0c2
call fcn.004626c0
mov dword [edi + 0x1c], eax
test eax, eax
je 0x4fa70d
push 4
push eax
call fcn.004627d0
add esp, 8
cmp dword [edi + 0x18], 0
jne 0x4fa0e3
call fcn.00462530
mov dword [edi + 0x18], eax
test eax, eax
je 0x4fa70d
mov eax, dword [edi + 0x20]
test eax, eax
jne 0x4fa0fa
call fcn.004626c0
mov dword [edi + 0x20], eax
test eax, eax
je 0x4fa70d
push 4
push eax
call fcn.004627d0
mov eax, dword [edi + 0x24]
add esp, 8
test eax, eax
jne 0x4fa11c
call fcn.004626c0
mov dword [edi + 0x24], eax
test eax, eax
je 0x4fa70d
push 4
push eax
call fcn.004627d0
mov eax, dword [edi + 0x28]
add esp, 8
test eax, eax
jne 0x4fa13e
call fcn.004626c0
mov dword [edi + 0x28], eax
test eax, eax
je 0x4fa70d
push 4
push eax
call fcn.004627d0
mov eax, dword [edi + 0x2c]
add esp, 8
test eax, eax
jne 0x4fa160
call fcn.004626c0
mov dword [edi + 0x2c], eax
test eax, eax
je 0x4fa70d
push 4
push eax
call fcn.004627d0
mov eax, dword [edi + 0x30]
add esp, 8
test eax, eax
jne 0x4fa182
call fcn.004626c0
mov dword [edi + 0x30], eax
test eax, eax
je 0x4fa70d
push 4
push eax
call fcn.004627d0
add esp, 8
cmp ebp, 2
jle 0x4fa1f8
lea eax, [ebp - 2]
mov dword [edi + 8], 1
push eax
push 0
call fcn.0046c330
mov ebx, eax
add esp, 8
mov dword [esp + 0x30], ebx
test ebx, ebx
je 0x4fa70d
mov eax, dword [edi + 0x4c]
test eax, eax
je 0x4fa1ca
push 0x4724a0
push eax
call fcn.0046c3d0
add esp, 8
mov ebp, dword [esp + 0x10]
mov eax, ebx
mov esi, 2
mov dword [edi + 0x4c], eax
call fcn.00472500
mov dword [esp + 0x38], eax
test eax, eax
je 0x4fa70d
push eax
push ebx
call fcn.0046c430
inc esi
add esp, 8
cmp esi, ebp
jl 0x4fa1d8
push dword [esp + 0x28]
push dword [edi + 0x18]
call fcn.00462230
add esp, 8
test eax, eax
je 0x4fa70d
xor ebp, ebp
jmp 0x4fa224
mov ebx, dword [esp + 0x30]
mov dword [esp + 0x28], 0
test ebp, ebp
je 0x4fa24f
cmp ebp, 1
jne 0x4fa23a
mov ebx, dword [edi + 0x24]
jmp 0x4fa252
lea eax, [ebp - 2]
push eax
push ebx
call fcn.0046c590
add esp, 8
mov dword [esp + 0x38], eax
mov ebx, dword [eax]
jmp 0x4fa252
mov ebx, dword [edi + 0x20]
push 4
push ebx
call fcn.004627d0
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.005379d0
add esp, 0x1c
test eax, eax
je 0x4fa70d
xor esi, esi
cmp esi, ebp
jge 0x4fa2db
test esi, esi
jne 0x4fa2a4
mov eax, dword [edi + 0x20]
jmp 0x4fa2c0
cmp esi, 1
jne 0x4fa2ae
mov eax, dword [edi + 0x24]
jmp 0x4fa2c0
lea eax, [esi - 2]
push eax
push dword [esp + 0x34]
call fcn.0046c590
add esp, 8
mov eax, dword [eax]
push eax
push ebx
call fcn.00462070
add esp, 8
test eax, eax
je 0x4fa2d1
inc esi
jmp 0x4fa297
mov eax, dword [esp + 0x1c]
mov esi, dword [esp + 0x14]
jmp 0x4fa278
call fcn.004629d0
mov esi, dword [esp + 0x34]
push eax
push ebx
push esi
call fcn.00487030
add esp, 0xc
test eax, eax
je 0x4fa70d
call fcn.004820a0
push 4
push esi
call fcn.004627d0
mov esi, dword [esp + 0x1c]
push esi
push dword [edi + 0x18]
push dword [esp + 0x44]
push dword [esp + 0x2c]
call fcn.004881e0
add esp, 0x18
test eax, eax
je 0x4fa3fb
mov eax, dword [esp + ebp*4 + 0x44]
add dword [esp + 0x24], eax
cmp ebp, 1
jne 0x4fa33a
push esi
push dword [edi + 0x24]
push dword [edi + 0x20]
jmp 0x4fa347
test ebp, ebp
je 0x4fa4b7
push esi
push ebx
push dword [edi + 0x14]
push dword [esp + 0x24]
call fcn.00487250
add esp, 0x10
test eax, eax
je 0x4fa70d
mov eax, dword [esp + 0x24]
mov esi, dword [esp + 0x34]
add eax, 0xfffffffc
push eax
push dword [esp + 0x1c]
push esi
call fcn.004cd790
add esp, 0xc
test eax, eax
je 0x4fa70d
push esi
call fcn.004623c0
mov esi, eax
add esp, 4
cmp esi, 9
jb 0x4fa395
cmp esi, 0xf
jbe 0x4fa463
push dword [esp + 0x20]
mov eax, dword [esp + 0x44]
push 2
push dword [esp + 0x34]
mov dword [esp + 0x30], eax
call fcn.00537940
inc dword [esp + 0x2c]
add esp, 0xc
test eax, eax
je 0x4fa70d
cmp dword [esp + 0x10], 4
jle 0x4fa3e7
mov eax, dword [esp + 0x1c]
cmp esi, 9
jae 0x4fa3d9
inc eax
inc dword [esp + 0x28]
mov dword [esp + 0x1c], eax
jmp 0x4fa265
dec eax
inc dword [esp + 0x28]
mov dword [esp + 0x1c], eax
jmp 0x4fa265
cmp dword [esp + 0x28], 4
je 0x4fa450
mov eax, dword [esp + 0x1c]
inc dword [esp + 0x28]
jmp 0x4fa265
call fcn.00463930
test eax, eax
js 0x4fa70d
mov ecx, eax
shr ecx, 0x17
cmp cl, 3
jne 0x4fa70d
and eax, 0x7fffff
cmp eax, 0x6c
jne 0x4fa70d
call fcn.00481f70
push dword [esp + 0x20]
push 2
push dword [esp + 0x34]
call fcn.00537940
inc dword [esp + 0x2c]
add esp, 0xc
test eax, eax
je 0x4fa70d
mov eax, dword [esp + 0x1c]
jmp 0x4fa270
xor ebp, ebp
mov dword [esp + 0x24], 0
mov dword [esp + 0x28], ebp
jmp 0x4fa24f
cmp ebp, 1
jle 0x4fa482
mov eax, dword [esp + 0x38]
push dword [edi + 0x14]
push dword [eax + 0xc]
call fcn.00462230
add esp, 8
test eax, eax
je 0x4fa70d
mov ebx, dword [esp + 0x18]
push ebx
push dword [edi + 0x14]
call fcn.00462230
add esp, 8
test eax, eax
je 0x4fa70d
push ebp
push 3
push dword [esp + 0x34]
call fcn.00537940
add esp, 0xc
test eax, eax
je 0x4fa70d
mov esi, dword [esp + 0x14]
jmp 0x4fa4d3
push 0
push 3
push dword [esp + 0x34]
call fcn.00537940
add esp, 0xc
test eax, eax
je 0x4fa70d
mov ebx, dword [esp + 0x18]
inc ebp
cmp ebp, dword [esp + 0x10]
jl 0x4fa220
push dword [edi + 0x24]
push dword [edi + 0x20]
call fcn.00462070
add esp, 8
test eax, eax
jns 0x4fa4fc
mov ecx, dword [edi + 0x20]
mov eax, dword [edi + 0x24]
mov dword [edi + 0x20], eax
mov dword [edi + 0x24], ecx
call fcn.004629d0
push eax
push dword [edi + 0x20]
push ebx
call fcn.00487030
add esp, 0xc
test eax, eax
je 0x4fa70d
call fcn.004629d0
mov ebx, dword [esp + 0x34]
push eax
push dword [edi + 0x24]
push ebx
call fcn.00487030
add esp, 0xc
test eax, eax
je 0x4fa70d
mov ebp, dword [esp + 0x3c]
push esi
push ebx
push dword [esp + 0x20]
push ebp
call fcn.00487250
add esp, 0x10
test eax, eax
je 0x4fa70d
mov ebx, dword [esp + 0x30]
mov esi, 2
cmp dword [esp + 0x10], esi
jle 0x4fa5ac
nop
lea eax, [esi - 2]
push eax
push ebx
call fcn.0046c590
mov ebp, eax
call fcn.004629d0
push eax
push dword [ebp]
push dword [ebp + 4]
call fcn.00487030
add esp, 0x14
test eax, eax
je 0x4fa70d
push dword [esp + 0x14]
push dword [ebp + 4]
mov ebp, dword [esp + 0x44]
push ebp
push ebp
call fcn.00487250
add esp, 0x10
test eax, eax
je 0x4fa70d
inc esi
cmp esi, dword [esp + 0x10]
jl 0x4fa560
call fcn.00462530
mov esi, eax
test esi, esi
je 0x4fa70d
push 4
push ebp
push esi
call fcn.004629e0
push dword [esp + 0x20]
push esi
push dword [edi + 0x18]
push dword [edi + 0x1c]
call fcn.004881e0
add esp, 0x1c
push esi
test eax, eax
je 0x4fa705
call fcn.00462350
add esp, 4
call fcn.00462530
mov ebp, eax
test ebp, ebp
je 0x4fa70d
push 4
push dword [edi + 0x1c]
push ebp
call fcn.004629e0
mov esi, dword [esp + 0x20]
push esi
push dword [esp + 0x28]
push ebp
push dword [edi + 0x28]
push 0
call fcn.004ad5d0
add esp, 0x20
test eax, eax
je 0x4fa704
push esi
push dword [esp + 0x38]
push ebp
push dword [edi + 0x2c]
push 0
call fcn.004ad5d0
add esp, 0x14
test eax, eax
je 0x4fa704
mov esi, 2
cmp dword [esp + 0x10], esi
jle 0x4fa674
lea eax, [esi - 2]
push eax
push ebx
call fcn.0046c590
push dword [esp + 0x1c]
mov eax, dword [eax + 4]
push eax
push ebp
push eax
push 0
call fcn.004ad5d0
add esp, 0x1c
test eax, eax
je 0x4fa704
inc esi
cmp esi, dword [esp + 0x10]
jl 0x4fa647
push ebp
call fcn.00462350
add esp, 4
call fcn.00462530
mov ebp, eax
test ebp, ebp
je 0x4fa70d
push 4
push dword [edi + 0x20]
push ebp
call fcn.004629e0
push dword [esp + 0x20]
push ebp
push dword [edi + 0x24]
push dword [edi + 0x30]
call fcn.004881e0
add esp, 0x1c
test eax, eax
je 0x4fa704
mov edi, 2
cmp dword [esp + 0x10], edi
jle 0x4fa6f4
nop dword [eax]
lea eax, [edi - 2]
push eax
push ebx
call fcn.0046c590
mov esi, eax
push 4
push dword [esi]
push ebp
call fcn.004629e0
push dword [esp + 0x28]
push ebp
push dword [esi + 0xc]
push dword [esi + 8]
call fcn.004881e0
add esp, 0x24
test eax, eax
je 0x4fa704
inc edi
cmp edi, dword [esp + 0x10]
jl 0x4fa6c0
push ebp
call fcn.00462350
add esp, 4
mov esi, 1
jmp 0x4fa739
push ebp
call fcn.00462350
add esp, 4
call fcn.00471c50
push str.rsa_multiprime_keygen
push 0x1a0
push str.crypto_rsa_rsa_gen.c
call fcn.00471d50
push 0
push 0x80003
push 4
call fcn.00471e60
add esp, 0x18
xor esi, esi
mov ebx, dword [esp + 0x14]
push ebx
call fcn.00486bc0
push ebx
call fcn.00486c30
add esp, 8
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x48]
xor ecx, esp
call fcn.0059e5bd
add esp, 0x4c
ret
call fcn.00471c50
push str.rsa_multiprime_keygen
push 0x67
push str.crypto_rsa_rsa_gen.c
call fcn.00471d50
push 0
push 0xa5
push 4
call fcn.00471e60
mov ecx, dword [esp + 0x70]
add esp, 0x18
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0059e5bd
add esp, 0x4c
ret