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

Disassembly:
mov eax, 0x4c
call fcn.0062f130
mov eax, dword [0x6d3f68]
xor eax, esp
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x58]
mov ecx, dword [esp + 0x60]
push ebx
push ebp
mov ebp, dword [esp + 0x5c]
xor ebx, ebx
push esi
xor esi, esi
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x68]
mov dword [esp + 0x14], eax
mov dword [esp + 0x24], ecx
mov dword [esp + 0x20], 0
mov dword [esp + 0x30], esi
mov dword [esp + 0x18], ebx
mov dword [esp + 0x10], ebx
push edi
mov edi, dword [esp + 0x60]
cmp ebp, 0x200
jge 0x566537
call fcn.004dd410
push str.rsa_multiprime_keygen
push 0x5a
push str.crypto_rsa_rsa_gen.c
call fcn.004dd510
push ebx
push 0x78
jmp 0x566dc9
test eax, eax
je 0x566584
push eax
call fcn.005d26c0
add esp, 4
test eax, eax
jne 0x566584
call fcn.004dd410
push str.rsa_multiprime_keygen
push 0x60
push str.crypto_rsa_rsa_gen.c
call fcn.004dd510
push 0
push 0xb2
push 4
call fcn.004dd5c0
add esp, 0x18
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x48]
xor ecx, esp
call fcn.0062e5ad
add esp, 0x4c
ret
cmp dword [esp + 0x10], 2
jl 0x566dab
push ebp
call fcn.0056ff80
add esp, 4
cmp dword [esp + 0x10], eax
jg 0x566dab
push dword [edi + 4]
call fcn.0056ad60
add esp, 4
mov dword [esp + 0x14], eax
test eax, eax
je 0x566d7d
push eax
call fcn.0056ae30
push dword [esp + 0x18]
call fcn.0056abe0
push dword [esp + 0x1c]
mov dword [esp + 0x44], eax
call fcn.0056abe0
push dword [esp + 0x20]
mov dword [esp + 0x30], eax
call fcn.0056abe0
add esp, 0x10
mov dword [esp + 0x30], eax
test eax, eax
je 0x566d7d
xor edx, edx
mov eax, ebp
div dword [esp + 0x10]
xor edx, edx
xor ecx, ecx
mov ebp, eax
mov eax, dword [esp + 0x64]
div dword [esp + 0x10]
movd xmm0, ebp
mov eax, edx
pshufd xmm3, xmm0, 0
mov dword [esp + 0x2c], eax
movd xmm0, eax
mov eax, dword [esp + 0x10]
pshufd xmm5, xmm0, 0
cmp eax, 0x10
jb 0x5666fd
movaps xmm2, xmmword [0x68a150]
mov edx, eax
movaps xmm4, xmmword [0x66a000]
and edx, 0xfffffff0
paddd xmm2, xmm3
movd xmm0, ecx
lea eax, [ecx + 4]
pshufd xmm0, xmm0, 0
movaps xmm1, xmm5
paddd xmm0, xmm4
pcmpgtd xmm1, xmm0
movaps xmm0, xmm2
pand xmm0, xmm1
pandn xmm1, xmm3
por xmm0, xmm1
movaps xmm1, xmm5
movups xmmword [esp + ecx*4 + 0x44], xmm0
movd xmm0, eax
lea eax, [ecx + 8]
pshufd xmm0, xmm0, 0
paddd xmm0, xmm4
pcmpgtd xmm1, xmm0
movaps xmm0, xmm1
pandn xmm1, xmm3
pand xmm0, xmm2
por xmm0, xmm1
movaps xmm1, xmm5
movups xmmword [esp + ecx*4 + 0x54], xmm0
movd xmm0, eax
lea eax, [ecx + 0xc]
pshufd xmm0, xmm0, 0
paddd xmm0, xmm4
pcmpgtd xmm1, xmm0
movaps xmm0, xmm1
pandn xmm1, xmm3
pand xmm0, xmm2
por xmm0, xmm1
movaps xmm1, xmm5
movups xmmword [esp + ecx*4 + 0x64], xmm0
movd xmm0, eax
pshufd xmm0, xmm0, 0
paddd xmm0, xmm4
pcmpgtd xmm1, xmm0
movaps xmm0, xmm1
pandn xmm1, xmm3
pand xmm0, xmm2
por xmm0, xmm1
movups xmmword [esp + ecx*4 + 0x74], xmm0
add ecx, 0x10
cmp ecx, edx
jl 0x566643
cmp ecx, dword [esp + 0x10]
jge 0x566716
mov ebx, dword [esp + 0x10]
cmp ecx, dword [esp + 0x2c]
lea eax, [ebp + 1]
cmovge eax, ebp
mov dword [esp + ecx*4 + 0x44], eax
inc ecx
cmp ecx, ebx
jl 0x566701
xor ebx, ebx
inc dword [edi + 0x78]
cmp dword [edi + 0x14], esi
jne 0x56672e
call fcn.0050a380
mov dword [edi + 0x14], eax
test eax, eax
je 0x566d7d
mov eax, dword [edi + 0x1c]
test eax, eax
jne 0x566745
call fcn.0050a530
mov dword [edi + 0x1c], eax
test eax, eax
je 0x566d7d
push 4
push eax
call fcn.0050a660
add esp, 8
cmp dword [edi + 0x18], esi
jne 0x566765
call fcn.0050a380
mov dword [edi + 0x18], eax
test eax, eax
je 0x566d7d
mov eax, dword [edi + 0x20]
test eax, eax
jne 0x56677c
call fcn.0050a530
mov dword [edi + 0x20], eax
test eax, eax
je 0x566d7d
push 4
push eax
call fcn.0050a660
mov eax, dword [edi + 0x24]
add esp, 8
test eax, eax
jne 0x56679e
call fcn.0050a530
mov dword [edi + 0x24], eax
test eax, eax
je 0x566d7d
push 4
push eax
call fcn.0050a660
mov eax, dword [edi + 0x28]
add esp, 8
test eax, eax
jne 0x5667c0
call fcn.0050a530
mov dword [edi + 0x28], eax
test eax, eax
je 0x566d7d
push 4
push eax
call fcn.0050a660
mov eax, dword [edi + 0x2c]
add esp, 8
test eax, eax
jne 0x5667e2
call fcn.0050a530
mov dword [edi + 0x2c], eax
test eax, eax
je 0x566d7d
push 4
push eax
call fcn.0050a660
mov eax, dword [edi + 0x30]
add esp, 8
test eax, eax
jne 0x566804
call fcn.0050a530
mov dword [edi + 0x30], eax
test eax, eax
je 0x566d7d
push 4
push eax
call fcn.0050a660
mov eax, dword [esp + 0x18]
add esp, 8
cmp eax, 2
jle 0x566886
add eax, 0xfffffffe
mov dword [edi + 8], 1
push eax
push 0
call fcn.004d5590
mov ebp, eax
add esp, 8
mov dword [esp + 0x1c], ebp
test ebp, ebp
je 0x566d7d
mov eax, dword [edi + 0x4c]
test eax, eax
je 0x566850
push 0x56ffc0
push eax
call fcn.004d5630
add esp, 8
mov eax, ebp
mov ebx, 2
mov dword [edi + 0x4c], eax
nop word [eax + eax]
call fcn.00570020
mov dword [esp + 0x34], eax
test eax, eax
je 0x566d7d
push eax
push ebp
call fcn.004d5690
inc ebx
add esp, 8
cmp ebx, dword [esp + 0x10]
jl 0x566860
mov ebx, dword [esp + 0x1c]
push dword [esp + 0x18]
push dword [edi + 0x18]
call fcn.00509f00
add esp, 8
test eax, eax
je 0x566d7d
xor ebp, ebp
nop
mov dword [esp + 0x3c], esi
mov dword [esp + 0x2c], 0
test ebp, ebp
jne 0x5668b5
mov ebx, dword [edi + 0x20]
jmp 0x5668d2
cmp ebp, 1
jne 0x5668bf
mov ebx, dword [edi + 0x24]
jmp 0x5668d2
lea eax, [ebp - 2]
push eax
push ebx
call fcn.004d57c0
add esp, 8
mov dword [esp + 0x34], eax
mov ebx, dword [eax]
push 4
push ebx
call fcn.0050a660
mov eax, dword [esp + ebp*4 + 0x4c]
add esp, 8
mov dword [esp + 0x18], eax
push dword [esp + 0x14]
push dword [esp + 0x2c]
push 0
push 0
push 0
push eax
push ebx
call fcn.005ce870
add esp, 0x1c
test eax, eax
je 0x566d7d
xor esi, esi
cmp esi, ebp
jge 0x566945
test esi, esi
jne 0x566914
mov eax, dword [edi + 0x20]
jmp 0x566930
cmp esi, 1
jne 0x56691e
mov eax, dword [edi + 0x24]
jmp 0x566930
lea eax, [esi - 2]
push eax
push dword [esp + 0x20]
call fcn.004d57c0
add esp, 8
mov eax, dword [eax]
push eax
push ebx
call fcn.00509d30
add esp, 8
test eax, eax
je 0x566ab7
inc esi
jmp 0x566907
call fcn.0050a750
mov esi, dword [esp + 0x30]
push eax
push ebx
push esi
call fcn.0056f180
add esp, 0xc
test eax, eax
je 0x566d7d
call fcn.004e2310
push 4
push esi
call fcn.0050a660
push dword [esp + 0x1c]
push dword [edi + 0x18]
push esi
push dword [esp + 0x34]
call fcn.0057d550
add esp, 0x18
test eax, eax
je 0x566a63
mov esi, dword [esp + 0x3c]
add esi, dword [esp + ebp*4 + 0x44]
mov dword [esp + 0x40], esi
cmp ebp, 1
jne 0x5669a7
push dword [esp + 0x14]
push dword [edi + 0x24]
push dword [edi + 0x20]
jmp 0x5669b7
test ebp, ebp
je 0x566b1e
push dword [esp + 0x14]
push ebx
push dword [edi + 0x14]
push dword [esp + 0x2c]
call fcn.0057dea0
add esp, 0x10
test eax, eax
je 0x566d7d
lea eax, [esi - 4]
mov esi, dword [esp + 0x30]
push eax
push dword [esp + 0x24]
push esi
call fcn.0050ced0
add esp, 0xc
test eax, eax
je 0x566d7d
push esi
call fcn.0050a0c0
mov esi, eax
add esp, 4
cmp esi, 9
jb 0x566a01
cmp esi, 0xf
jbe 0x566ac0
push dword [esp + 0x24]
push 2
push dword [esp + 0x30]
call fcn.005ce7a0
inc dword [esp + 0x30]
add esp, 0xc
test eax, eax
je 0x566d7d
cmp dword [esp + 0x10], 4
jle 0x566a4b
mov eax, dword [esp + 0x18]
cmp esi, 9
jae 0x566a3d
inc eax
inc dword [esp + 0x2c]
mov dword [esp + 0x18], eax
jmp 0x5668e5
dec eax
inc dword [esp + 0x2c]
mov dword [esp + 0x18], eax
jmp 0x5668e5
cmp dword [esp + 0x2c], 4
je 0x566b13
mov eax, dword [esp + 0x18]
inc dword [esp + 0x2c]
jmp 0x5668e5
call fcn.004e2090
test eax, eax
js 0x566d7d
mov ecx, eax
and ecx, 0x7f800000
cmp ecx, 0x1800000
jne 0x566d7d
and eax, 0x7fffff
cmp eax, 0x6c
jne 0x566d7d
call fcn.004e2130
mov esi, dword [esp + 0x24]
push esi
push 2
push dword [esp + 0x30]
call fcn.005ce7a0
inc esi
add esp, 0xc
mov dword [esp + 0x24], esi
test eax, eax
je 0x566d7d
mov eax, dword [esp + 0x18]
jmp 0x5668e5
cmp ebp, 1
jle 0x566adf
mov eax, dword [esp + 0x34]
push dword [edi + 0x14]
push dword [eax + 0xc]
call fcn.00509f00
add esp, 8
test eax, eax
je 0x566d7d
push dword [esp + 0x20]
push dword [edi + 0x14]
call fcn.00509f00
add esp, 8
test eax, eax
je 0x566d7d
push ebp
push 3
push dword [esp + 0x30]
call fcn.005ce7a0
add esp, 0xc
test eax, eax
je 0x566d7d
mov esi, dword [esp + 0x40]
jmp 0x566b36
mov ebx, dword [esp + 0x1c]
xor esi, esi
jmp 0x56689d
push 0
push 3
push dword [esp + 0x30]
call fcn.005ce7a0
add esp, 0xc
test eax, eax
je 0x566d7d
mov ebx, dword [esp + 0x1c]
inc ebp
cmp ebp, dword [esp + 0x10]
jl 0x5668a0
push dword [edi + 0x24]
push dword [edi + 0x20]
call fcn.00509d30
add esp, 8
test eax, eax
jns 0x566b63
mov ecx, dword [edi + 0x20]
mov eax, dword [edi + 0x24]
mov dword [edi + 0x20], eax
mov dword [edi + 0x24], ecx
call fcn.0050a750
mov esi, dword [esp + 0x20]
push eax
push dword [edi + 0x20]
push esi
call fcn.0056f180
add esp, 0xc
test eax, eax
je 0x566d7d
call fcn.0050a750
mov ebp, dword [esp + 0x30]
push eax
push dword [edi + 0x24]
push ebp
call fcn.0056f180
add esp, 0xc
test eax, eax
je 0x566d7d
mov ebx, dword [esp + 0x14]
push ebx
push ebp
push esi
push dword [esp + 0x44]
call fcn.0057dea0
add esp, 0x10
test eax, eax
je 0x566d7d
mov ebp, dword [esp + 0x1c]
mov esi, 2
cmp dword [esp + 0x10], esi
jle 0x566c1f
nop dword [eax]
lea eax, [esi - 2]
push eax
push ebp
call fcn.004d57c0
mov ebx, eax
call fcn.0050a750
push eax
push dword [ebx]
push dword [ebx + 4]
call fcn.0056f180
add esp, 0x14
test eax, eax
je 0x566d7d
push dword [esp + 0x14]
mov eax, dword [esp + 0x3c]
push dword [ebx + 4]
push eax
push eax
call fcn.0057dea0
add esp, 0x10
test eax, eax
je 0x566d7d
inc esi
cmp esi, dword [esp + 0x10]
jl 0x566bd0
mov ebx, dword [esp + 0x14]
call fcn.0050a380
mov esi, eax
test esi, esi
je 0x566d7d
push 4
push dword [esp + 0x3c]
push esi
call fcn.0050a760
push ebx
push esi
push dword [edi + 0x18]
push dword [edi + 0x1c]
call fcn.0057d550
add esp, 0x1c
push esi
test eax, eax
je 0x566d75
call fcn.0050a050
add esp, 4
call fcn.0050a380
mov ebx, eax
test ebx, ebx
je 0x566d7d
push 4
push dword [edi + 0x1c]
push ebx
call fcn.0050a760
mov esi, dword [esp + 0x20]
push esi
push dword [esp + 0x30]
push ebx
push dword [edi + 0x28]
push 0
call fcn.00573910
add esp, 0x20
test eax, eax
je 0x566d74
push esi
push dword [esp + 0x34]
push ebx
push dword [edi + 0x2c]
push 0
call fcn.00573910
add esp, 0x14
test eax, eax
je 0x566d74
mov esi, 2
cmp dword [esp + 0x10], esi
jle 0x566ced
nop word [eax + eax]
lea eax, [esi - 2]
push eax
push ebp
call fcn.004d57c0
push dword [esp + 0x1c]
mov eax, dword [eax + 4]
push eax
push ebx
push eax
push 0
call fcn.00573910
add esp, 0x1c
test eax, eax
je 0x566d74
inc esi
cmp esi, dword [esp + 0x10]
jl 0x566cc0
push ebx
call fcn.0050a050
add esp, 4
call fcn.0050a380
mov ebx, eax
test ebx, ebx
je 0x566d7d
push 4
push dword [edi + 0x20]
push ebx
call fcn.0050a760
push dword [esp + 0x20]
push ebx
push dword [edi + 0x24]
push dword [edi + 0x30]
call fcn.0057d550
add esp, 0x1c
test eax, eax
je 0x566d74
mov edi, 2
cmp dword [esp + 0x10], edi
jle 0x566d64
nop
lea eax, [edi - 2]
push eax
push ebp
call fcn.004d57c0
mov esi, eax
push 4
push dword [esi]
push ebx
call fcn.0050a760
push dword [esp + 0x28]
push ebx
push dword [esi + 0xc]
push dword [esi + 8]
call fcn.0057d550
add esp, 0x24
test eax, eax
je 0x566d74
inc edi
cmp edi, dword [esp + 0x10]
jl 0x566d30
push ebx
call fcn.0050a050
add esp, 4
mov esi, 1
jmp 0x566dd3
push ebx
call fcn.0050a050
add esp, 4
call fcn.004dd410
push str.rsa_multiprime_keygen
push 0x19f
push str.crypto_rsa_rsa_gen.c
call fcn.004dd510
push 0
push 0x80003
push 4
call fcn.004dd5c0
add esp, 0x18
xor esi, esi
jmp 0x566dd3
xor esi, esi
call fcn.004dd410
push str.rsa_multiprime_keygen
push 0x66
push str.crypto_rsa_rsa_gen.c
call fcn.004dd510
push esi
push 0xa5
push 4
call fcn.004dd5c0
add esp, 0x18
mov ebx, dword [esp + 0x14]
push ebx
call fcn.0056aae0
push ebx
call fcn.0056ab50
mov ecx, dword [esp + 0x60]
add esp, 8
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0062e5ad
add esp, 0x4c
ret