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

Disassembly:
mov eax, 0x4c
call fcn.0075cd80
mov eax, dword [0x8a0204]
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 0x5f3e57
call fcn.0055b2b0
push 0x807980
push 0x5a
push str.crypto_rsa_rsa_gen.c
call fcn.0055b3b0
push ebx
push 0x78
jmp 0x5f46e9
test eax, eax
je 0x5f3ea4
push eax
call fcn.0060d660
add esp, 4
test eax, eax
jne 0x5f3ea4
call fcn.0055b2b0
push 0x807980
push 0x60
push str.crypto_rsa_rsa_gen.c
call fcn.0055b3b0
push 0
push 0xb2
push 4
call fcn.0055b460
add esp, 0x18
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x48]
xor ecx, esp
call fcn.0075c173
add esp, 0x4c
ret
cmp dword [esp + 0x10], 2
jl 0x5f46cb
push ebp
call fcn.00584e50
add esp, 4
cmp dword [esp + 0x10], eax
jg 0x5f46cb
push dword [edi + 4]
call fcn.00585220
add esp, 4
mov dword [esp + 0x14], eax
test eax, eax
je 0x5f469d
push eax
call fcn.005852f0
push dword [esp + 0x18]
call fcn.005850a0
push dword [esp + 0x1c]
mov dword [esp + 0x44], eax
call fcn.005850a0
push dword [esp + 0x20]
mov dword [esp + 0x30], eax
call fcn.005850a0
add esp, 0x10
mov dword [esp + 0x30], eax
test eax, eax
je 0x5f469d
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 0x5f401d
movaps xmm2, xmmword [0x7fb2d0]
mov edx, eax
movaps xmm4, xmmword [0x7d5130]
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 0x5f3f63
cmp ecx, dword [esp + 0x10]
jge 0x5f4036
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 0x5f4021
xor ebx, ebx
inc dword [edi + 0x78]
cmp dword [edi + 0x14], esi
jne 0x5f404e
call fcn.005400a0
mov dword [edi + 0x14], eax
test eax, eax
je 0x5f469d
mov eax, dword [edi + 0x1c]
test eax, eax
jne 0x5f4065
call fcn.00540250
mov dword [edi + 0x1c], eax
test eax, eax
je 0x5f469d
push 4
push eax
call fcn.00540380
add esp, 8
cmp dword [edi + 0x18], esi
jne 0x5f4085
call fcn.005400a0
mov dword [edi + 0x18], eax
test eax, eax
je 0x5f469d
mov eax, dword [edi + 0x20]
test eax, eax
jne 0x5f409c
call fcn.00540250
mov dword [edi + 0x20], eax
test eax, eax
je 0x5f469d
push 4
push eax
call fcn.00540380
mov eax, dword [edi + 0x24]
add esp, 8
test eax, eax
jne 0x5f40be
call fcn.00540250
mov dword [edi + 0x24], eax
test eax, eax
je 0x5f469d
push 4
push eax
call fcn.00540380
mov eax, dword [edi + 0x28]
add esp, 8
test eax, eax
jne 0x5f40e0
call fcn.00540250
mov dword [edi + 0x28], eax
test eax, eax
je 0x5f469d
push 4
push eax
call fcn.00540380
mov eax, dword [edi + 0x2c]
add esp, 8
test eax, eax
jne 0x5f4102
call fcn.00540250
mov dword [edi + 0x2c], eax
test eax, eax
je 0x5f469d
push 4
push eax
call fcn.00540380
mov eax, dword [edi + 0x30]
add esp, 8
test eax, eax
jne 0x5f4124
call fcn.00540250
mov dword [edi + 0x30], eax
test eax, eax
je 0x5f469d
push 4
push eax
call fcn.00540380
mov eax, dword [esp + 0x18]
add esp, 8
cmp eax, 2
jle 0x5f41a6
add eax, 0xfffffffe
mov dword [edi + 8], 1
push eax
push 0
call fcn.0053abb0
mov ebp, eax
add esp, 8
mov dword [esp + 0x1c], ebp
test ebp, ebp
je 0x5f469d
mov eax, dword [edi + 0x4c]
test eax, eax
je 0x5f4170
push 0x584e90
push eax
call fcn.0053ac50
add esp, 8
mov eax, ebp
mov ebx, 2
mov dword [edi + 0x4c], eax
nop word [eax + eax]
call fcn.00584ef0
mov dword [esp + 0x34], eax
test eax, eax
je 0x5f469d
push eax
push ebp
call fcn.0053acb0
inc ebx
add esp, 8
cmp ebx, dword [esp + 0x10]
jl 0x5f4180
mov ebx, dword [esp + 0x1c]
push dword [esp + 0x18]
push dword [edi + 0x18]
call fcn.0053fc20
add esp, 8
test eax, eax
je 0x5f469d
xor ebp, ebp
nop
mov dword [esp + 0x3c], esi
mov dword [esp + 0x2c], 0
test ebp, ebp
jne 0x5f41d5
mov ebx, dword [edi + 0x20]
jmp 0x5f41f2
cmp ebp, 1
jne 0x5f41df
mov ebx, dword [edi + 0x24]
jmp 0x5f41f2
lea eax, [ebp - 2]
push eax
push ebx
call fcn.0053ade0
add esp, 8
mov dword [esp + 0x34], eax
mov ebx, dword [eax]
push 4
push ebx
call fcn.00540380
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.005fd0c0
add esp, 0x1c
test eax, eax
je 0x5f469d
xor esi, esi
cmp esi, ebp
jge 0x5f4265
test esi, esi
jne 0x5f4234
mov eax, dword [edi + 0x20]
jmp 0x5f4250
cmp esi, 1
jne 0x5f423e
mov eax, dword [edi + 0x24]
jmp 0x5f4250
lea eax, [esi - 2]
push eax
push dword [esp + 0x20]
call fcn.0053ade0
add esp, 8
mov eax, dword [eax]
push eax
push ebx
call fcn.0053fa50
add esp, 8
test eax, eax
je 0x5f43d7
inc esi
jmp 0x5f4227
call fcn.00540470
mov esi, dword [esp + 0x30]
push eax
push ebx
push esi
call fcn.00585490
add esp, 0xc
test eax, eax
je 0x5f469d
call fcn.00554440
push 4
push esi
call fcn.00540380
push dword [esp + 0x1c]
push dword [edi + 0x18]
push esi
push dword [esp + 0x34]
call fcn.005866b0
add esp, 0x18
test eax, eax
je 0x5f4383
mov esi, dword [esp + 0x3c]
add esi, dword [esp + ebp*4 + 0x44]
mov dword [esp + 0x40], esi
cmp ebp, 1
jne 0x5f42c7
push dword [esp + 0x14]
push dword [edi + 0x24]
push dword [edi + 0x20]
jmp 0x5f42d7
test ebp, ebp
je 0x5f443e
push dword [esp + 0x14]
push ebx
push dword [edi + 0x14]
push dword [esp + 0x2c]
call fcn.005856b0
add esp, 0x10
test eax, eax
je 0x5f469d
lea eax, [esi - 4]
mov esi, dword [esp + 0x30]
push eax
push dword [esp + 0x24]
push esi
call fcn.005b0da0
add esp, 0xc
test eax, eax
je 0x5f469d
push esi
call fcn.0053fde0
mov esi, eax
add esp, 4
cmp esi, 9
jb 0x5f4321
cmp esi, 0xf
jbe 0x5f43e0
push dword [esp + 0x24]
push 2
push dword [esp + 0x30]
call fcn.005fcff0
inc dword [esp + 0x30]
add esp, 0xc
test eax, eax
je 0x5f469d
cmp dword [esp + 0x10], 4
jle 0x5f436b
mov eax, dword [esp + 0x18]
cmp esi, 9
jae 0x5f435d
inc eax
inc dword [esp + 0x2c]
mov dword [esp + 0x18], eax
jmp 0x5f4205
dec eax
inc dword [esp + 0x2c]
mov dword [esp + 0x18], eax
jmp 0x5f4205
cmp dword [esp + 0x2c], 4
je 0x5f4433
mov eax, dword [esp + 0x18]
inc dword [esp + 0x2c]
jmp 0x5f4205
call fcn.005541c0
test eax, eax
js 0x5f469d
mov ecx, eax
and ecx, 0x7f800000
cmp ecx, 0x1800000
jne 0x5f469d
and eax, 0x7fffff
cmp eax, 0x6c
jne 0x5f469d
call fcn.00554260
mov esi, dword [esp + 0x24]
push esi
push 2
push dword [esp + 0x30]
call fcn.005fcff0
inc esi
add esp, 0xc
mov dword [esp + 0x24], esi
test eax, eax
je 0x5f469d
mov eax, dword [esp + 0x18]
jmp 0x5f4205
cmp ebp, 1
jle 0x5f43ff
mov eax, dword [esp + 0x34]
push dword [edi + 0x14]
push dword [eax + 0xc]
call fcn.0053fc20
add esp, 8
test eax, eax
je 0x5f469d
push dword [esp + 0x20]
push dword [edi + 0x14]
call fcn.0053fc20
add esp, 8
test eax, eax
je 0x5f469d
push ebp
push 3
push dword [esp + 0x30]
call fcn.005fcff0
add esp, 0xc
test eax, eax
je 0x5f469d
mov esi, dword [esp + 0x40]
jmp 0x5f4456
mov ebx, dword [esp + 0x1c]
xor esi, esi
jmp 0x5f41bd
push 0
push 3
push dword [esp + 0x30]
call fcn.005fcff0
add esp, 0xc
test eax, eax
je 0x5f469d
mov ebx, dword [esp + 0x1c]
inc ebp
cmp ebp, dword [esp + 0x10]
jl 0x5f41c0
push dword [edi + 0x24]
push dword [edi + 0x20]
call fcn.0053fa50
add esp, 8
test eax, eax
jns 0x5f4483
mov ecx, dword [edi + 0x20]
mov eax, dword [edi + 0x24]
mov dword [edi + 0x20], eax
mov dword [edi + 0x24], ecx
call fcn.00540470
mov esi, dword [esp + 0x20]
push eax
push dword [edi + 0x20]
push esi
call fcn.00585490
add esp, 0xc
test eax, eax
je 0x5f469d
call fcn.00540470
mov ebp, dword [esp + 0x30]
push eax
push dword [edi + 0x24]
push ebp
call fcn.00585490
add esp, 0xc
test eax, eax
je 0x5f469d
mov ebx, dword [esp + 0x14]
push ebx
push ebp
push esi
push dword [esp + 0x44]
call fcn.005856b0
add esp, 0x10
test eax, eax
je 0x5f469d
mov ebp, dword [esp + 0x1c]
mov esi, 2
cmp dword [esp + 0x10], esi
jle 0x5f453f
nop dword [eax]
lea eax, [esi - 2]
push eax
push ebp
call fcn.0053ade0
mov ebx, eax
call fcn.00540470
push eax
push dword [ebx]
push dword [ebx + 4]
call fcn.00585490
add esp, 0x14
test eax, eax
je 0x5f469d
push dword [esp + 0x14]
mov eax, dword [esp + 0x3c]
push dword [ebx + 4]
push eax
push eax
call fcn.005856b0
add esp, 0x10
test eax, eax
je 0x5f469d
inc esi
cmp esi, dword [esp + 0x10]
jl 0x5f44f0
mov ebx, dword [esp + 0x14]
call fcn.005400a0
mov esi, eax
test esi, esi
je 0x5f469d
push 4
push dword [esp + 0x3c]
push esi
call fcn.00540480
push ebx
push esi
push dword [edi + 0x18]
push dword [edi + 0x1c]
call fcn.005866b0
add esp, 0x1c
push esi
test eax, eax
je 0x5f4695
call fcn.0053fd70
add esp, 4
call fcn.005400a0
mov ebx, eax
test ebx, ebx
je 0x5f469d
push 4
push dword [edi + 0x1c]
push ebx
call fcn.00540480
mov esi, dword [esp + 0x20]
push esi
push dword [esp + 0x30]
push ebx
push dword [edi + 0x28]
push 0
call fcn.005b06a0
add esp, 0x20
test eax, eax
je 0x5f4694
push esi
push dword [esp + 0x34]
push ebx
push dword [edi + 0x2c]
push 0
call fcn.005b06a0
add esp, 0x14
test eax, eax
je 0x5f4694
mov esi, 2
cmp dword [esp + 0x10], esi
jle 0x5f460d
nop word [eax + eax]
lea eax, [esi - 2]
push eax
push ebp
call fcn.0053ade0
push dword [esp + 0x1c]
mov eax, dword [eax + 4]
push eax
push ebx
push eax
push 0
call fcn.005b06a0
add esp, 0x1c
test eax, eax
je 0x5f4694
inc esi
cmp esi, dword [esp + 0x10]
jl 0x5f45e0
push ebx
call fcn.0053fd70
add esp, 4
call fcn.005400a0
mov ebx, eax
test ebx, ebx
je 0x5f469d
push 4
push dword [edi + 0x20]
push ebx
call fcn.00540480
push dword [esp + 0x20]
push ebx
push dword [edi + 0x24]
push dword [edi + 0x30]
call fcn.005866b0
add esp, 0x1c
test eax, eax
je 0x5f4694
mov edi, 2
cmp dword [esp + 0x10], edi
jle 0x5f4684
nop
lea eax, [edi - 2]
push eax
push ebp
call fcn.0053ade0
mov esi, eax
push 4
push dword [esi]
push ebx
call fcn.00540480
push dword [esp + 0x28]
push ebx
push dword [esi + 0xc]
push dword [esi + 8]
call fcn.005866b0
add esp, 0x24
test eax, eax
je 0x5f4694
inc edi
cmp edi, dword [esp + 0x10]
jl 0x5f4650
push ebx
call fcn.0053fd70
add esp, 4
mov esi, 1
jmp 0x5f46f3
push ebx
call fcn.0053fd70
add esp, 4
call fcn.0055b2b0
push 0x807980
push 0x19f
push str.crypto_rsa_rsa_gen.c
call fcn.0055b3b0
push 0
push 0x80003
push 4
call fcn.0055b460
add esp, 0x18
xor esi, esi
jmp 0x5f46f3
xor esi, esi
call fcn.0055b2b0
push 0x807980
push 0x66
push str.crypto_rsa_rsa_gen.c
call fcn.0055b3b0
push esi
push 0xa5
push 4
call fcn.0055b460
add esp, 0x18
mov ebx, dword [esp + 0x14]
push ebx
call fcn.00584fa0
push ebx
call fcn.00585010
mov ecx, dword [esp + 0x60]
add esp, 8
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0075c173
add esp, 0x4c
ret