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

Disassembly:
mov eax, 0x58
call fcn.00655180
mov eax, dword [0x716f80]
xor eax, esp
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0x6c]
mov ecx, dword [esp + 0x68]
push ebp
mov ebp, dword [esp + 0x68]
push esi
mov esi, dword [esp + 0x68]
mov dword [esp + 0x30], eax
xor eax, eax
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x20], ecx
mov dword [esp + 0x24], 0
mov dword [esp + 0x28], eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], eax
push edi
mov edi, dword [esp + 0x68]
mov dword [esp + 0x3c], edi
cmp esi, 0x200
jge 0x590d74
call fcn.00514490
push 0x6d0c50
push 0x113
push str.crypto_rsa_rsa_gen.c
call fcn.00514590
push 0
push 0x78
jmp 0x5916a4
test ecx, ecx
jne 0x590d9a
call fcn.00514490
push 0x6d0c50
push 0x117
push str.crypto_rsa_rsa_gen.c
call fcn.00514590
push 0
push 0x65
jmp 0x5916a4
push ecx
call fcn.006174a0
add esp, 4
test eax, eax
jne 0x590dcc
call fcn.00514490
push 0x6d0c50
push 0x11c
push str.crypto_rsa_rsa_gen.c
call fcn.00514590
push 0
push 0xb2
jmp 0x5916a4
cmp ebp, 2
jl 0x591684
push esi
call fcn.00603400
add esp, 4
cmp ebp, eax
jg 0x591684
call fcn.00521050
mov dword [esp + 0xc], eax
test eax, eax
je 0x5916ae
push ebx
call fcn.00521050
mov dword [esp + 0x14], eax
test eax, eax
je 0x591601
call fcn.00521050
mov dword [esp + 0x18], eax
test eax, eax
je 0x591601
push dword [edi + 4]
call fcn.00560fb0
mov ebx, eax
add esp, 4
mov dword [esp + 0x1c], ebx
test ebx, ebx
je 0x591601
push ebx
call fcn.00561050
push ebx
call fcn.00560e60
push ebx
mov dword [esp + 0x58], eax
call fcn.00560e60
push ebx
mov dword [esp + 0x44], eax
call fcn.00560e60
add esp, 0x10
mov dword [esp + 0x44], eax
test eax, eax
je 0x591601
xor edx, edx
mov eax, esi
div ebp
xor edx, edx
xor ecx, ecx
mov esi, eax
mov eax, dword [esp + 0x70]
div ebp
mov dword [esp + 0x20], esi
movd xmm0, esi
pshufd xmm3, xmm0, 0
movd xmm0, edx
pshufd xmm5, xmm0, 0
cmp ebp, 0x10
jb 0x590f73
movaps xmm2, xmmword [0x6d0c80]
lea esi, [esp + 0x50]
movaps xmm4, xmmword [0x68d1b0]
mov ebx, ebp
and ebx, 0xfffffff0
xor ebp, ebp
paddd xmm2, xmm3
xor edi, edi
movd xmm0, ecx
lea eax, [ecx + 4]
pshufd xmm0, xmm0, 0
lea ebp, [ebp + 0x40]
paddd xmm0, xmm4
lea edi, [edi + 0x40]
movaps xmm1, xmm5
pcmpgtd xmm1, xmm0
movaps xmm0, xmm2
andps xmm0, xmm1
andnps xmm1, xmm3
orps xmm0, xmm1
movaps xmm1, xmm5
movups xmmword [esi + ebp - 0x40], xmm0
movd xmm0, eax
lea eax, [ecx + 8]
pshufd xmm0, xmm0, 0
paddd xmm0, xmm4
pcmpgtd xmm1, xmm0
movaps xmm0, xmm2
andps xmm0, xmm1
andnps xmm1, xmm3
orps xmm0, xmm1
movaps xmm1, xmm5
movups xmmword [esp + edi + 0x20], xmm0
movd xmm0, eax
lea eax, [ecx + 0xc]
pshufd xmm0, xmm0, 0
paddd xmm0, xmm4
pcmpgtd xmm1, xmm0
movaps xmm0, xmm2
andps xmm0, xmm1
andnps xmm1, xmm3
orps xmm0, xmm1
movaps xmm1, xmm5
movups xmmword [esp + ecx*4 + 0x70], xmm0
movd xmm0, eax
pshufd xmm0, xmm0, 0
paddd xmm0, xmm4
pcmpgtd xmm1, xmm0
movaps xmm0, xmm2
andps xmm0, xmm1
andnps xmm1, xmm3
orps xmm0, xmm1
movups xmmword [esp + ecx*4 + 0x80], xmm0
add ecx, 0x10
cmp ecx, ebx
jl 0x590eb2
mov ebp, dword [esp + 0x24]
mov edi, dword [esp + 0x40]
mov esi, dword [esp + 0x20]
cmp ecx, ebp
jge 0x590f85
lea eax, [esi + 1]
cmp ecx, edx
jl 0x590f7c
mov eax, esi
mov dword [esp + ecx*4 + 0x50], eax
inc ecx
cmp ecx, ebp
jl 0x590f73
inc dword [edi + 0x78]
cmp dword [edi + 0x14], 0
jne 0x590f9e
call fcn.0051f4a0
mov dword [edi + 0x14], eax
test eax, eax
je 0x591601
mov eax, dword [edi + 0x1c]
test eax, eax
jne 0x590fb5
call fcn.0051f630
mov dword [edi + 0x1c], eax
test eax, eax
je 0x591601
push 4
push eax
call fcn.0051f740
add esp, 8
cmp dword [edi + 0x18], 0
jne 0x590fd6
call fcn.0051f4a0
mov dword [edi + 0x18], eax
test eax, eax
je 0x591601
mov eax, dword [edi + 0x20]
test eax, eax
jne 0x590fed
call fcn.0051f630
mov dword [edi + 0x20], eax
test eax, eax
je 0x591601
push 4
push eax
call fcn.0051f740
mov eax, dword [edi + 0x24]
add esp, 8
test eax, eax
jne 0x59100f
call fcn.0051f630
mov dword [edi + 0x24], eax
test eax, eax
je 0x591601
push 4
push eax
call fcn.0051f740
add esp, 8
cmp ebp, 2
jle 0x591081
lea eax, [ebp - 2]
mov dword [edi + 8], 1
push eax
push 0
call fcn.00521080
mov ebp, eax
add esp, 8
mov dword [esp + 0x3c], ebp
test ebp, ebp
je 0x591601
mov eax, dword [edi + 0x4c]
test eax, eax
je 0x591057
push 0x603440
push eax
call fcn.00521120
add esp, 8
mov ebx, dword [esp + 0x24]
mov eax, ebp
mov esi, 2
mov dword [edi + 0x4c], eax
call fcn.006034a0
mov dword [esp + 0x48], eax
test eax, eax
je 0x5910b1
push eax
push ebp
call fcn.00521180
inc esi
add esp, 8
cmp esi, ebx
jl 0x591065
push dword [esp + 0x28]
push dword [edi + 0x18]
call fcn.0051f1a0
add esp, 8
test eax, eax
je 0x591601
xor ebp, ebp
nop word [eax + eax]
mov dword [esp + 0x40], 0
test ebp, ebp
jne 0x5910d4
mov ebx, dword [edi + 0x20]
jmp 0x5910f4
push dword [esp + 0x10]
call fcn.00520ef0
push dword [esp + 0x18]
call fcn.00520ef0
push dword [esp + 0x20]
call fcn.00520ef0
add esp, 0xc
jmp 0x591626
cmp ebp, 1
jne 0x5910de
mov ebx, dword [edi + 0x24]
jmp 0x5910f4
lea eax, [ebp - 2]
push eax
push dword [esp + 0x40]
call fcn.005212e0
add esp, 8
mov dword [esp + 0x48], eax
mov ebx, dword [eax]
push 4
push ebx
call fcn.0051f740
mov eax, dword [esp + ebp*4 + 0x58]
add esp, 8
mov dword [esp + 0x20], eax
mov esi, dword [esp + 0x1c]
nop dword [eax + eax]
push esi
push dword [esp + 0x3c]
push 0
push 0
push 0
push eax
push ebx
call fcn.0060e030
add esp, 0x1c
test eax, eax
je 0x5910b1
xor esi, esi
nop dword [eax + eax]
cmp esi, ebp
jge 0x591170
test esi, esi
jne 0x59113d
mov eax, dword [edi + 0x20]
jmp 0x591159
cmp esi, 1
jne 0x591147
mov eax, dword [edi + 0x24]
jmp 0x591159
lea eax, [esi - 2]
push eax
push dword [esp + 0x40]
call fcn.005212e0
add esp, 8
mov eax, dword [eax]
push eax
push ebx
call fcn.0051efa0
add esp, 8
test eax, eax
je 0x59116a
inc esi
jmp 0x591130
mov eax, dword [esp + 0x20]
jmp 0x591107
call fcn.0051f960
mov esi, dword [esp + 0x44]
push eax
push ebx
push esi
call fcn.005dbc50
add esp, 0xc
test eax, eax
je 0x5910b1
call fcn.00520320
push 4
push esi
call fcn.0051f740
mov esi, dword [esp + 0x24]
push esi
push dword [edi + 0x18]
push dword [esp + 0x54]
push dword [esp + 0x48]
call fcn.005619e0
add esp, 0x18
test eax, eax
je 0x591294
mov eax, dword [esp + ebp*4 + 0x50]
add dword [esp + 0x30], eax
cmp ebp, 1
jne 0x5911cf
push esi
push dword [edi + 0x24]
push dword [edi + 0x20]
jmp 0x5911dc
test ebp, ebp
je 0x591352
push esi
push ebx
push dword [edi + 0x14]
push dword [esp + 0x40]
call fcn.00562350
add esp, 0x10
test eax, eax
je 0x5910b1
mov eax, dword [esp + 0x30]
mov esi, dword [esp + 0x44]
add eax, 0xfffffffc
push eax
push dword [esp + 0x38]
push esi
call fcn.00526040
add esp, 0xc
test eax, eax
je 0x5910b1
push esi
call fcn.0051f340
mov esi, eax
add esp, 4
cmp esi, 9
jb 0x59122a
cmp esi, 0xf
jbe 0x5912e9
push dword [esp + 0x2c]
mov eax, dword [esp + ebp*4 + 0x54]
sub dword [esp + 0x34], eax
push 2
push dword [esp + 0x40]
call fcn.0060dfa0
inc dword [esp + 0x38]
add esp, 0xc
test eax, eax
je 0x5910b1
cmp dword [esp + 0x24], 4
jle 0x59127c
mov eax, dword [esp + 0x20]
cmp esi, 9
jae 0x59126e
inc eax
inc dword [esp + 0x40]
mov dword [esp + 0x20], eax
jmp 0x591107
dec eax
inc dword [esp + 0x40]
mov dword [esp + 0x20], eax
jmp 0x591107
cmp dword [esp + 0x40], 4
je 0x591322
mov eax, dword [esp + 0x20]
inc dword [esp + 0x40]
jmp 0x591107
call fcn.0052c150
test eax, eax
js 0x5910b1
mov ecx, eax
shr ecx, 0x17
cmp cl, 3
jne 0x5910b1
and eax, 0x7fffff
cmp eax, 0x6c
jne 0x5910b1
call fcn.005201f0
push dword [esp + 0x2c]
push 2
push dword [esp + 0x40]
call fcn.0060dfa0
inc dword [esp + 0x38]
add esp, 0xc
test eax, eax
je 0x5910b1
mov eax, dword [esp + 0x20]
jmp 0x591110
cmp ebp, 1
jle 0x591308
mov eax, dword [esp + 0x48]
push dword [edi + 0x14]
push dword [eax + 0xc]
call fcn.0051f1a0
add esp, 8
test eax, eax
je 0x5910b1
push dword [esp + 0x34]
push dword [edi + 0x14]
call fcn.0051f1a0
add esp, 8
test eax, eax
je 0x5910b1
push ebp
jmp 0x591354
push fcn.0051ef30
push dword [esp + 0x14]
xor eax, eax
mov dword [esp + 0x38], eax
call fcn.00521120
add esp, 8
call fcn.00521050
mov esi, eax
mov dword [esp + 0x10], esi
test esi, esi
jne 0x591098
push esi
jmp 0x5910b5
push 0
push 3
push dword [esp + 0x40]
call fcn.0060dfa0
add esp, 0xc
test eax, eax
je 0x5910b1
push ebx
call fcn.0051f210
add esp, 4
mov esi, eax
push dword [esp + 0x10]
test esi, esi
je 0x5910b5
call fcn.005210f0
push eax
push esi
mov esi, dword [esp + 0x1c]
push esi
call fcn.00520f20
add esp, 0x10
test eax, eax
je 0x59134c
inc ebp
mov ebx, esi
cmp ebp, dword [esp + 0x24]
jl 0x5910a0
push dword [edi + 0x24]
push dword [edi + 0x20]
call fcn.0051efa0
add esp, 8
test eax, eax
jns 0x5913e4
mov ecx, dword [edi + 0x20]
mov eax, dword [edi + 0x24]
push 0
push ebx
mov dword [edi + 0x20], eax
mov dword [edi + 0x24], ecx
call fcn.00520d10
push 1
push eax
push ebx
mov dword [esp + 0x24], ebx
call fcn.00520f20
add esp, 0x14
test eax, eax
je 0x591601
mov dword [esp + 0x10], ebx
call fcn.0051f960
mov esi, dword [esp + 0x34]
push eax
push dword [edi + 0x20]
push esi
call fcn.005dbc50
add esp, 0xc
test eax, eax
je 0x591601
mov dword [esp + 0x10], ebx
call fcn.0051f960
mov ebp, dword [esp + 0x44]
push eax
push dword [edi + 0x24]
push ebp
call fcn.005dbc50
add esp, 0xc
test eax, eax
je 0x591601
push dword [esp + 0x1c]
mov dword [esp + 0x14], ebx
push ebp
push esi
push dword [esp + 0x58]
call fcn.00562350
add esp, 0x10
test eax, eax
je 0x591601
mov ebp, dword [esp + 0x24]
mov esi, 2
cmp ebp, esi
jle 0x5914a4
lea eax, [esi - 2]
push eax
push dword [esp + 0x40]
call fcn.005212e0
mov ebp, eax
call fcn.0051f960
push eax
push dword [ebp]
push dword [ebp + 4]
call fcn.005dbc50
add esp, 0x14
test eax, eax
je 0x5915fb
push dword [esp + 0x1c]
mov eax, dword [esp + 0x50]
push dword [ebp + 4]
push eax
push eax
call fcn.00562350
add esp, 0x10
test eax, eax
je 0x5915fb
mov ebp, dword [esp + 0x24]
inc esi
cmp esi, ebp
jl 0x591453
mov esi, dword [esp + 0x4c]
push 4
push esi
call fcn.0051f740
push dword [esp + 0x24]
mov dword [esp + 0x1c], ebx
push esi
push dword [edi + 0x18]
push dword [edi + 0x1c]
call fcn.005619e0
add esp, 0x18
test eax, eax
je 0x591601
mov esi, dword [esp + 0x18]
push esi
push dword [esp + 0x18]
mov dword [esp + 0x18], ebx
push ebx
push dword [esp + 0x34]
push ebp
push dword [esp + 0x84]
push edi
call fcn.00590540
add esp, 0x1c
test eax, eax
je 0x591601
push 0
push ebx
call fcn.00520d10
push eax
call fcn.0051ef30
push 0
push ebx
call fcn.00520d10
push eax
call fcn.0051ef30
mov ebp, dword [esp + 0x2c]
push 0
push ebp
call fcn.00520d10
push 0
push ebp
mov dword [edi + 0x28], eax
call fcn.00520d10
push 0
push esi
mov dword [edi + 0x2c], eax
call fcn.00520d10
mov ebp, 2
mov dword [edi + 0x30], eax
add esp, 0x30
cmp dword [esp + 0x24], ebp
jle 0x5915dc
nop dword [eax]
lea eax, [ebp - 2]
push eax
push dword [esp + 0x40]
call fcn.005212e0
mov edi, eax
push 0
push ebx
mov dword [esp + 0x38], edi
call fcn.00520d10
mov esi, eax
push esi
push dword [edi]
call fcn.0051f1a0
push esi
call fcn.0051ef30
push 0
push dword [esp + 0x34]
call fcn.00520d10
mov edi, eax
mov eax, dword [esp + 0x4c]
push edi
push dword [eax + 4]
call fcn.0051f1a0
push edi
mov esi, eax
call fcn.0051ef30
add esp, 0x30
test esi, esi
je 0x5915fb
push 0
push dword [esp + 0x1c]
call fcn.00520d10
mov edi, eax
mov eax, dword [esp + 0x30]
push edi
push dword [eax + 8]
call fcn.0051f1a0
push edi
mov esi, eax
call fcn.0051ef30
add esp, 0x14
test esi, esi
je 0x5915fb
inc ebp
cmp ebp, dword [esp + 0x24]
jl 0x591550
mov esi, dword [esp + 0x18]
push ebx
call fcn.00520ef0
push dword [esp + 0x18]
call fcn.00520ef0
push esi
call fcn.00520ef0
add esp, 0xc
mov esi, 1
jmp 0x59165c
push ebx
jmp 0x5910b5
push dword [esp + 0x10]
call fcn.00520ef0
push dword [esp + 0x18]
call fcn.00520ef0
push dword [esp + 0x20]
call fcn.00520ef0
or esi, 0xffffffff
add esp, 0xc
cmp esi, esi
jne 0x59165c
call fcn.00514490
push 0x6d0c50
push 0x253
push str.crypto_rsa_rsa_gen.c
call fcn.00514590
push 0
push 0x80003
push 4
call fcn.005146a0
mov dword [esp + 0x40], 0
add esp, 0x18
mov esi, dword [esp + 0x28]
mov ebx, dword [esp + 0x1c]
push ebx
call fcn.00560d60
push ebx
call fcn.00560dd0
add esp, 8
mov eax, esi
pop ebx
pop edi
pop esi
pop ebp
mov ecx, dword [esp + 0x54]
xor ecx, esp
call fcn.0065469c
add esp, 0x58
ret
call fcn.00514490
push 0x6d0c50
push 0x121
push str.crypto_rsa_rsa_gen.c
call fcn.00514590
push 0
push 0xa5
push 4
call fcn.005146a0
add esp, 0x18
mov ecx, dword [esp + 0x60]
xor eax, eax
pop edi
pop esi
pop ebp
xor ecx, esp
call fcn.0065469c
add esp, 0x58
ret