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

Disassembly:
mov eax, 0x4c
call fcn.005dfc90
mov eax, dword [0x6a7d40]
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
mov dword [esp + 8], ebx
push esi
mov esi, dword [esp + 0x64]
mov dword [esp + 0x10], esi
push edi
mov edi, dword [esp + 0x60]
cmp ebp, 0x200
jge 0x535643
xor esi, esi
call fcn.0046b450
push 0x65ea00
push 0x5a
push str.crypto_rsa_rsa_gen.c
call fcn.0046b550
push esi
push 0x78
jmp 0x535ed9
test eax, eax
je 0x535690
push eax
call fcn.00580de0
add esp, 4
test eax, eax
jne 0x535690
call fcn.0046b450
push 0x65ea00
push 0x60
push str.crypto_rsa_rsa_gen.c
call fcn.0046b550
push 0
push 0xb2
push 4
call fcn.0046b600
add esp, 0x18
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x48]
xor ecx, esp
call fcn.005df387
add esp, 0x4c
ret
cmp esi, 2
jl 0x535ebb
push ebp
call fcn.004fc6a0
add esp, 4
cmp esi, eax
jg 0x535ebb
push dword [edi + 4]
call fcn.004e8e60
mov esi, eax
add esp, 4
mov dword [esp + 0x10], esi
test esi, esi
je 0x535e8d
push esi
call fcn.004e8f30
push esi
call fcn.004e8ce0
push esi
mov dword [esp + 0x48], eax
call fcn.004e8ce0
push esi
mov dword [esp + 0x28], eax
call fcn.004e8ce0
add esp, 0x10
mov dword [esp + 0x34], eax
test eax, eax
je 0x535e8d
xor edx, edx
mov eax, ebp
div dword [esp + 0x14]
xor edx, edx
xor ecx, ecx
mov esi, eax
mov eax, ebp
mov ebp, dword [esp + 0x14]
div ebp
movd xmm0, esi
pshufd xmm4, xmm0, 0
movd xmm0, edx
pshufd xmm6, xmm0, 0
cmp ebp, 0x10
jb 0x535800
movaps xmm3, xmmword [0x644af0]
lea ebx, [esp + 0x44]
movaps xmm5, xmmword [0x644910]
and ebp, 0xfffffff0
paddd xmm3, xmm4
nop dword [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 0x535740
mov ebp, dword [esp + 0x14]
mov ebx, 0
cmp ecx, ebp
jge 0x535812
nop word [eax + eax]
lea eax, [esi + 1]
cmp ecx, edx
jl 0x535809
mov eax, esi
mov dword [esp + ecx*4 + 0x44], eax
inc ecx
cmp ecx, ebp
jl 0x535800
inc dword [edi + 0x78]
cmp dword [edi + 0x14], 0
jne 0x53582b
call fcn.0049a850
mov dword [edi + 0x14], eax
test eax, eax
je 0x535e8d
mov eax, dword [edi + 0x1c]
test eax, eax
jne 0x535842
call fcn.0049aa00
mov dword [edi + 0x1c], eax
test eax, eax
je 0x535e8d
push 4
push eax
call fcn.0049ab30
add esp, 8
cmp dword [edi + 0x18], 0
jne 0x535863
call fcn.0049a850
mov dword [edi + 0x18], eax
test eax, eax
je 0x535e8d
mov eax, dword [edi + 0x20]
test eax, eax
jne 0x53587a
call fcn.0049aa00
mov dword [edi + 0x20], eax
test eax, eax
je 0x535e8d
push 4
push eax
call fcn.0049ab30
mov eax, dword [edi + 0x24]
add esp, 8
test eax, eax
jne 0x53589c
call fcn.0049aa00
mov dword [edi + 0x24], eax
test eax, eax
je 0x535e8d
push 4
push eax
call fcn.0049ab30
mov eax, dword [edi + 0x28]
add esp, 8
test eax, eax
jne 0x5358be
call fcn.0049aa00
mov dword [edi + 0x28], eax
test eax, eax
je 0x535e8d
push 4
push eax
call fcn.0049ab30
mov eax, dword [edi + 0x2c]
add esp, 8
test eax, eax
jne 0x5358e0
call fcn.0049aa00
mov dword [edi + 0x2c], eax
test eax, eax
je 0x535e8d
push 4
push eax
call fcn.0049ab30
mov eax, dword [edi + 0x30]
add esp, 8
test eax, eax
jne 0x535902
call fcn.0049aa00
mov dword [edi + 0x30], eax
test eax, eax
je 0x535e8d
push 4
push eax
call fcn.0049ab30
add esp, 8
cmp ebp, 2
jle 0x535978
lea eax, [ebp - 2]
mov dword [edi + 8], 1
push eax
push 0
call fcn.00479720
mov ebx, eax
add esp, 8
mov dword [esp + 0x30], ebx
test ebx, ebx
je 0x535e8d
mov eax, dword [edi + 0x4c]
test eax, eax
je 0x53594a
push 0x4fc6e0
push eax
call fcn.004797f0
add esp, 8
mov ebp, dword [esp + 0x14]
mov eax, ebx
mov esi, 2
mov dword [edi + 0x4c], eax
call fcn.004fc740
mov dword [esp + 0x38], eax
test eax, eax
je 0x535e8d
push eax
push ebx
call fcn.00479850
inc esi
add esp, 8
cmp esi, ebp
jl 0x535958
push dword [esp + 0x28]
push dword [edi + 0x18]
call fcn.0049a3d0
add esp, 8
test eax, eax
je 0x535e8d
xor ebp, ebp
jmp 0x5359a4
mov ebx, dword [esp + 0x30]
mov dword [esp + 0x28], 0
test ebp, ebp
je 0x5359cf
cmp ebp, 1
jne 0x5359ba
mov ebx, dword [edi + 0x24]
jmp 0x5359d2
lea eax, [ebp - 2]
push eax
push ebx
call fcn.00479a10
add esp, 8
mov dword [esp + 0x38], eax
mov ebx, dword [eax]
jmp 0x5359d2
mov ebx, dword [edi + 0x20]
push 4
push ebx
call fcn.0049ab30
mov eax, dword [esp + ebp*4 + 0x4c]
add esp, 8
mov dword [esp + 0x1c], eax
mov esi, dword [esp + 0x10]
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.00539fd0
add esp, 0x1c
test eax, eax
je 0x535e8d
xor esi, esi
cmp esi, ebp
jge 0x535a5b
test esi, esi
jne 0x535a24
mov eax, dword [edi + 0x20]
jmp 0x535a40
cmp esi, 1
jne 0x535a2e
mov eax, dword [edi + 0x24]
jmp 0x535a40
lea eax, [esi - 2]
push eax
push dword [esp + 0x34]
call fcn.00479a10
add esp, 8
mov eax, dword [eax]
push eax
push ebx
call fcn.0049a210
add esp, 8
test eax, eax
je 0x535a51
inc esi
jmp 0x535a17
mov eax, dword [esp + 0x1c]
mov esi, dword [esp + 0x10]
jmp 0x5359f8
call fcn.0049ac20
mov esi, dword [esp + 0x34]
push eax
push ebx
push esi
call fcn.004e90e0
add esp, 0xc
test eax, eax
je 0x535e8d
call fcn.004648b0
push 4
push esi
call fcn.0049ab30
mov esi, dword [esp + 0x18]
push esi
push dword [edi + 0x18]
push dword [esp + 0x44]
push dword [esp + 0x2c]
call fcn.004f0710
add esp, 0x18
test eax, eax
je 0x535b7b
mov eax, dword [esp + ebp*4 + 0x44]
add dword [esp + 0x24], eax
cmp ebp, 1
jne 0x535aba
push esi
push dword [edi + 0x24]
push dword [edi + 0x20]
jmp 0x535ac7
test ebp, ebp
je 0x535c37
push esi
push ebx
push dword [edi + 0x14]
push dword [esp + 0x24]
call fcn.004e9300
add esp, 0x10
test eax, eax
je 0x535e8d
mov eax, dword [esp + 0x24]
mov esi, dword [esp + 0x34]
add eax, 0xfffffffc
push eax
push dword [esp + 0x1c]
push esi
call fcn.004a4b20
add esp, 0xc
test eax, eax
je 0x535e8d
push esi
call fcn.0049a590
mov esi, eax
add esp, 4
cmp esi, 9
jb 0x535b15
cmp esi, 0xf
jbe 0x535be3
push dword [esp + 0x20]
mov eax, dword [esp + 0x44]
push 2
push dword [esp + 0x34]
mov dword [esp + 0x30], eax
call fcn.00539f40
inc dword [esp + 0x2c]
add esp, 0xc
test eax, eax
je 0x535e8d
cmp dword [esp + 0x14], 4
jle 0x535b67
mov eax, dword [esp + 0x1c]
cmp esi, 9
jae 0x535b59
inc eax
inc dword [esp + 0x28]
mov dword [esp + 0x1c], eax
jmp 0x5359e5
dec eax
inc dword [esp + 0x28]
mov dword [esp + 0x1c], eax
jmp 0x5359e5
cmp dword [esp + 0x28], 4
je 0x535bd0
mov eax, dword [esp + 0x1c]
inc dword [esp + 0x28]
jmp 0x5359e5
call fcn.00464630
test eax, eax
js 0x535e8d
mov ecx, eax
shr ecx, 0x17
cmp cl, 3
jne 0x535e8d
and eax, 0x7fffff
cmp eax, 0x6c
jne 0x535e8d
call fcn.004646d0
push dword [esp + 0x20]
push 2
push dword [esp + 0x34]
call fcn.00539f40
inc dword [esp + 0x2c]
add esp, 0xc
test eax, eax
je 0x535e8d
mov eax, dword [esp + 0x1c]
jmp 0x5359f0
xor ebp, ebp
mov dword [esp + 0x24], 0
mov dword [esp + 0x28], ebp
jmp 0x5359cf
cmp ebp, 1
jle 0x535c02
mov eax, dword [esp + 0x38]
push dword [edi + 0x14]
push dword [eax + 0xc]
call fcn.0049a3d0
add esp, 8
test eax, eax
je 0x535e8d
mov ebx, dword [esp + 0x18]
push ebx
push dword [edi + 0x14]
call fcn.0049a3d0
add esp, 8
test eax, eax
je 0x535e8d
push ebp
push 3
push dword [esp + 0x34]
call fcn.00539f40
add esp, 0xc
test eax, eax
je 0x535e8d
mov esi, dword [esp + 0x10]
jmp 0x535c53
push 0
push 3
push dword [esp + 0x34]
call fcn.00539f40
add esp, 0xc
test eax, eax
je 0x535e8d
mov ebx, dword [esp + 0x18]
inc ebp
cmp ebp, dword [esp + 0x14]
jl 0x5359a0
push dword [edi + 0x24]
push dword [edi + 0x20]
call fcn.0049a210
add esp, 8
test eax, eax
jns 0x535c7c
mov ecx, dword [edi + 0x20]
mov eax, dword [edi + 0x24]
mov dword [edi + 0x20], eax
mov dword [edi + 0x24], ecx
call fcn.0049ac20
push eax
push dword [edi + 0x20]
push ebx
call fcn.004e90e0
add esp, 0xc
test eax, eax
je 0x535e8d
call fcn.0049ac20
mov ebx, dword [esp + 0x34]
push eax
push dword [edi + 0x24]
push ebx
call fcn.004e90e0
add esp, 0xc
test eax, eax
je 0x535e8d
mov ebp, dword [esp + 0x3c]
push esi
push ebx
push dword [esp + 0x20]
push ebp
call fcn.004e9300
add esp, 0x10
test eax, eax
je 0x535e8d
mov ebx, dword [esp + 0x30]
mov esi, 2
cmp dword [esp + 0x14], esi
jle 0x535d2c
nop
lea eax, [esi - 2]
push eax
push ebx
call fcn.00479a10
mov ebp, eax
call fcn.0049ac20
push eax
push dword [ebp]
push dword [ebp + 4]
call fcn.004e90e0
add esp, 0x14
test eax, eax
je 0x535e8d
push dword [esp + 0x10]
push dword [ebp + 4]
mov ebp, dword [esp + 0x44]
push ebp
push ebp
call fcn.004e9300
add esp, 0x10
test eax, eax
je 0x535e8d
inc esi
cmp esi, dword [esp + 0x14]
jl 0x535ce0
call fcn.0049a850
mov esi, eax
test esi, esi
je 0x535e8d
push 4
push ebp
push esi
call fcn.0049ac30
push dword [esp + 0x1c]
push esi
push dword [edi + 0x18]
push dword [edi + 0x1c]
call fcn.004f0710
add esp, 0x1c
push esi
test eax, eax
je 0x535e85
call fcn.0049a520
add esp, 4
call fcn.0049a850
mov ebp, eax
test ebp, ebp
je 0x535e8d
push 4
push dword [edi + 0x1c]
push ebp
call fcn.0049ac30
mov esi, dword [esp + 0x1c]
push esi
push dword [esp + 0x28]
push ebp
push dword [edi + 0x28]
push 0
call fcn.004e9f00
add esp, 0x20
test eax, eax
je 0x535e84
push esi
push dword [esp + 0x38]
push ebp
push dword [edi + 0x2c]
push 0
call fcn.004e9f00
add esp, 0x14
test eax, eax
je 0x535e84
mov esi, 2
cmp dword [esp + 0x14], esi
jle 0x535df4
lea eax, [esi - 2]
push eax
push ebx
call fcn.00479a10
push dword [esp + 0x18]
mov eax, dword [eax + 4]
push eax
push ebp
push eax
push 0
call fcn.004e9f00
add esp, 0x1c
test eax, eax
je 0x535e84
inc esi
cmp esi, dword [esp + 0x14]
jl 0x535dc7
push ebp
call fcn.0049a520
add esp, 4
call fcn.0049a850
mov ebp, eax
test ebp, ebp
je 0x535e8d
push 4
push dword [edi + 0x20]
push ebp
call fcn.0049ac30
push dword [esp + 0x1c]
push ebp
push dword [edi + 0x24]
push dword [edi + 0x30]
call fcn.004f0710
add esp, 0x1c
test eax, eax
je 0x535e84
mov edi, 2
cmp dword [esp + 0x14], edi
jle 0x535e74
nop dword [eax]
lea eax, [edi - 2]
push eax
push ebx
call fcn.00479a10
mov esi, eax
push 4
push dword [esi]
push ebp
call fcn.0049ac30
push dword [esp + 0x24]
push ebp
push dword [esi + 0xc]
push dword [esi + 8]
call fcn.004f0710
add esp, 0x24
test eax, eax
je 0x535e84
inc edi
cmp edi, dword [esp + 0x14]
jl 0x535e40
push ebp
call fcn.0049a520
add esp, 4
mov esi, 1
jmp 0x535ee3
push ebp
call fcn.0049a520
add esp, 4
call fcn.0046b450
push 0x65ea00
push 0x19f
push str.crypto_rsa_rsa_gen.c
call fcn.0046b550
push 0
push 0x80003
push 4
call fcn.0046b600
add esp, 0x18
xor esi, esi
jmp 0x535ee3
xor esi, esi
call fcn.0046b450
push 0x65ea00
push 0x66
push str.crypto_rsa_rsa_gen.c
call fcn.0046b550
push esi
push 0xa5
push 4
call fcn.0046b600
add esp, 0x18
mov ebx, dword [esp + 0x10]
push ebx
call fcn.004e8be0
push ebx
call fcn.004e8c50
mov ecx, dword [esp + 0x60]
add esp, 8
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.005df387
add esp, 0x4c
ret