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

Disassembly:
mov eax, 0x4c
call fcn.0060ff70
mov eax, dword [0x6ed0a4]
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 0x556107
call fcn.004bef90
push 0x692e30
push 0x5a
push str.crypto_rsa_rsa_gen.c
call fcn.004bf090
push ebx
push 0x78
jmp 0x556999
test eax, eax
je 0x556154
push eax
call fcn.0056f9f0
add esp, 4
test eax, eax
jne 0x556154
call fcn.004bef90
push 0x692e30
push 0x60
push str.crypto_rsa_rsa_gen.c
call fcn.004bf090
push 0
push 0xb2
push 4
call fcn.004bf140
add esp, 0x18
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x48]
xor ecx, esp
call fcn.0060f4a4
add esp, 0x4c
ret
cmp dword [esp + 0x10], 2
jl 0x55697b
push ebp
call fcn.004e7980
add esp, 4
cmp dword [esp + 0x10], eax
jg 0x55697b
push dword [edi + 4]
call fcn.004e7d50
add esp, 4
mov dword [esp + 0x14], eax
test eax, eax
je 0x55694d
push eax
call fcn.004e7e20
push dword [esp + 0x18]
call fcn.004e7bd0
push dword [esp + 0x1c]
mov dword [esp + 0x44], eax
call fcn.004e7bd0
push dword [esp + 0x20]
mov dword [esp + 0x30], eax
call fcn.004e7bd0
add esp, 0x10
mov dword [esp + 0x30], eax
test eax, eax
je 0x55694d
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 0x5562cd
movaps xmm2, xmmword [0x686690]
mov edx, eax
movaps xmm4, xmmword [0x660cf0]
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 0x556213
cmp ecx, dword [esp + 0x10]
jge 0x5562e6
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 0x5562d1
xor ebx, ebx
inc dword [edi + 0x78]
cmp dword [edi + 0x14], esi
jne 0x5562fe
call fcn.004a5fa0
mov dword [edi + 0x14], eax
test eax, eax
je 0x55694d
mov eax, dword [edi + 0x1c]
test eax, eax
jne 0x556315
call fcn.004a6150
mov dword [edi + 0x1c], eax
test eax, eax
je 0x55694d
push 4
push eax
call fcn.004a6280
add esp, 8
cmp dword [edi + 0x18], esi
jne 0x556335
call fcn.004a5fa0
mov dword [edi + 0x18], eax
test eax, eax
je 0x55694d
mov eax, dword [edi + 0x20]
test eax, eax
jne 0x55634c
call fcn.004a6150
mov dword [edi + 0x20], eax
test eax, eax
je 0x55694d
push 4
push eax
call fcn.004a6280
mov eax, dword [edi + 0x24]
add esp, 8
test eax, eax
jne 0x55636e
call fcn.004a6150
mov dword [edi + 0x24], eax
test eax, eax
je 0x55694d
push 4
push eax
call fcn.004a6280
mov eax, dword [edi + 0x28]
add esp, 8
test eax, eax
jne 0x556390
call fcn.004a6150
mov dword [edi + 0x28], eax
test eax, eax
je 0x55694d
push 4
push eax
call fcn.004a6280
mov eax, dword [edi + 0x2c]
add esp, 8
test eax, eax
jne 0x5563b2
call fcn.004a6150
mov dword [edi + 0x2c], eax
test eax, eax
je 0x55694d
push 4
push eax
call fcn.004a6280
mov eax, dword [edi + 0x30]
add esp, 8
test eax, eax
jne 0x5563d4
call fcn.004a6150
mov dword [edi + 0x30], eax
test eax, eax
je 0x55694d
push 4
push eax
call fcn.004a6280
mov eax, dword [esp + 0x18]
add esp, 8
cmp eax, 2
jle 0x556456
add eax, 0xfffffffe
mov dword [edi + 8], 1
push eax
push 0
call fcn.004a0ae0
mov ebp, eax
add esp, 8
mov dword [esp + 0x1c], ebp
test ebp, ebp
je 0x55694d
mov eax, dword [edi + 0x4c]
test eax, eax
je 0x556420
push 0x4e79c0
push eax
call fcn.004a0b80
add esp, 8
mov eax, ebp
mov ebx, 2
mov dword [edi + 0x4c], eax
nop word [eax + eax]
call fcn.004e7a20
mov dword [esp + 0x34], eax
test eax, eax
je 0x55694d
push eax
push ebp
call fcn.004a0be0
inc ebx
add esp, 8
cmp ebx, dword [esp + 0x10]
jl 0x556430
mov ebx, dword [esp + 0x1c]
push dword [esp + 0x18]
push dword [edi + 0x18]
call fcn.004a5b20
add esp, 8
test eax, eax
je 0x55694d
xor ebp, ebp
nop
mov dword [esp + 0x3c], esi
mov dword [esp + 0x2c], 0
test ebp, ebp
jne 0x556485
mov ebx, dword [edi + 0x20]
jmp 0x5564a2
cmp ebp, 1
jne 0x55648f
mov ebx, dword [edi + 0x24]
jmp 0x5564a2
lea eax, [ebp - 2]
push eax
push ebx
call fcn.004a0d80
add esp, 8
mov dword [esp + 0x34], eax
mov ebx, dword [eax]
push 4
push ebx
call fcn.004a6280
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.0055ec40
add esp, 0x1c
test eax, eax
je 0x55694d
xor esi, esi
cmp esi, ebp
jge 0x556515
test esi, esi
jne 0x5564e4
mov eax, dword [edi + 0x20]
jmp 0x556500
cmp esi, 1
jne 0x5564ee
mov eax, dword [edi + 0x24]
jmp 0x556500
lea eax, [esi - 2]
push eax
push dword [esp + 0x20]
call fcn.004a0d80
add esp, 8
mov eax, dword [eax]
push eax
push ebx
call fcn.004a5950
add esp, 8
test eax, eax
je 0x556687
inc esi
jmp 0x5564d7
call fcn.004a6370
mov esi, dword [esp + 0x30]
push eax
push ebx
push esi
call fcn.004e7fc0
add esp, 0xc
test eax, eax
je 0x55694d
call fcn.004b9f30
push 4
push esi
call fcn.004a6280
push dword [esp + 0x1c]
push dword [edi + 0x18]
push esi
push dword [esp + 0x34]
call fcn.004e9070
add esp, 0x18
test eax, eax
je 0x556633
mov esi, dword [esp + 0x3c]
add esi, dword [esp + ebp*4 + 0x44]
mov dword [esp + 0x40], esi
cmp ebp, 1
jne 0x556577
push dword [esp + 0x14]
push dword [edi + 0x24]
push dword [edi + 0x20]
jmp 0x556587
test ebp, ebp
je 0x5566ee
push dword [esp + 0x14]
push ebx
push dword [edi + 0x14]
push dword [esp + 0x2c]
call fcn.004e81e0
add esp, 0x10
test eax, eax
je 0x55694d
lea eax, [esi - 4]
mov esi, dword [esp + 0x30]
push eax
push dword [esp + 0x24]
push esi
call fcn.00510af0
add esp, 0xc
test eax, eax
je 0x55694d
push esi
call fcn.004a5ce0
mov esi, eax
add esp, 4
cmp esi, 9
jb 0x5565d1
cmp esi, 0xf
jbe 0x556690
push dword [esp + 0x24]
push 2
push dword [esp + 0x30]
call fcn.0055eb70
inc dword [esp + 0x30]
add esp, 0xc
test eax, eax
je 0x55694d
cmp dword [esp + 0x10], 4
jle 0x55661b
mov eax, dword [esp + 0x18]
cmp esi, 9
jae 0x55660d
inc eax
inc dword [esp + 0x2c]
mov dword [esp + 0x18], eax
jmp 0x5564b5
dec eax
inc dword [esp + 0x2c]
mov dword [esp + 0x18], eax
jmp 0x5564b5
cmp dword [esp + 0x2c], 4
je 0x5566e3
mov eax, dword [esp + 0x18]
inc dword [esp + 0x2c]
jmp 0x5564b5
call fcn.004b9cb0
test eax, eax
js 0x55694d
mov ecx, eax
and ecx, 0x7f800000
cmp ecx, 0x1800000
jne 0x55694d
and eax, 0x7fffff
cmp eax, 0x6c
jne 0x55694d
call fcn.004b9d50
mov esi, dword [esp + 0x24]
push esi
push 2
push dword [esp + 0x30]
call fcn.0055eb70
inc esi
add esp, 0xc
mov dword [esp + 0x24], esi
test eax, eax
je 0x55694d
mov eax, dword [esp + 0x18]
jmp 0x5564b5
cmp ebp, 1
jle 0x5566af
mov eax, dword [esp + 0x34]
push dword [edi + 0x14]
push dword [eax + 0xc]
call fcn.004a5b20
add esp, 8
test eax, eax
je 0x55694d
push dword [esp + 0x20]
push dword [edi + 0x14]
call fcn.004a5b20
add esp, 8
test eax, eax
je 0x55694d
push ebp
push 3
push dword [esp + 0x30]
call fcn.0055eb70
add esp, 0xc
test eax, eax
je 0x55694d
mov esi, dword [esp + 0x40]
jmp 0x556706
mov ebx, dword [esp + 0x1c]
xor esi, esi
jmp 0x55646d
push 0
push 3
push dword [esp + 0x30]
call fcn.0055eb70
add esp, 0xc
test eax, eax
je 0x55694d
mov ebx, dword [esp + 0x1c]
inc ebp
cmp ebp, dword [esp + 0x10]
jl 0x556470
push dword [edi + 0x24]
push dword [edi + 0x20]
call fcn.004a5950
add esp, 8
test eax, eax
jns 0x556733
mov ecx, dword [edi + 0x20]
mov eax, dword [edi + 0x24]
mov dword [edi + 0x20], eax
mov dword [edi + 0x24], ecx
call fcn.004a6370
mov esi, dword [esp + 0x20]
push eax
push dword [edi + 0x20]
push esi
call fcn.004e7fc0
add esp, 0xc
test eax, eax
je 0x55694d
call fcn.004a6370
mov ebp, dword [esp + 0x30]
push eax
push dword [edi + 0x24]
push ebp
call fcn.004e7fc0
add esp, 0xc
test eax, eax
je 0x55694d
mov ebx, dword [esp + 0x14]
push ebx
push ebp
push esi
push dword [esp + 0x44]
call fcn.004e81e0
add esp, 0x10
test eax, eax
je 0x55694d
mov ebp, dword [esp + 0x1c]
mov esi, 2
cmp dword [esp + 0x10], esi
jle 0x5567ef
nop dword [eax]
lea eax, [esi - 2]
push eax
push ebp
call fcn.004a0d80
mov ebx, eax
call fcn.004a6370
push eax
push dword [ebx]
push dword [ebx + 4]
call fcn.004e7fc0
add esp, 0x14
test eax, eax
je 0x55694d
push dword [esp + 0x14]
mov eax, dword [esp + 0x3c]
push dword [ebx + 4]
push eax
push eax
call fcn.004e81e0
add esp, 0x10
test eax, eax
je 0x55694d
inc esi
cmp esi, dword [esp + 0x10]
jl 0x5567a0
mov ebx, dword [esp + 0x14]
call fcn.004a5fa0
mov esi, eax
test esi, esi
je 0x55694d
push 4
push dword [esp + 0x3c]
push esi
call fcn.004a6380
push ebx
push esi
push dword [edi + 0x18]
push dword [edi + 0x1c]
call fcn.004e9070
add esp, 0x1c
push esi
test eax, eax
je 0x556945
call fcn.004a5c70
add esp, 4
call fcn.004a5fa0
mov ebx, eax
test ebx, ebx
je 0x55694d
push 4
push dword [edi + 0x1c]
push ebx
call fcn.004a6380
mov esi, dword [esp + 0x20]
push esi
push dword [esp + 0x30]
push ebx
push dword [edi + 0x28]
push 0
call fcn.005103f0
add esp, 0x20
test eax, eax
je 0x556944
push esi
push dword [esp + 0x34]
push ebx
push dword [edi + 0x2c]
push 0
call fcn.005103f0
add esp, 0x14
test eax, eax
je 0x556944
mov esi, 2
cmp dword [esp + 0x10], esi
jle 0x5568bd
nop word [eax + eax]
lea eax, [esi - 2]
push eax
push ebp
call fcn.004a0d80
push dword [esp + 0x1c]
mov eax, dword [eax + 4]
push eax
push ebx
push eax
push 0
call fcn.005103f0
add esp, 0x1c
test eax, eax
je 0x556944
inc esi
cmp esi, dword [esp + 0x10]
jl 0x556890
push ebx
call fcn.004a5c70
add esp, 4
call fcn.004a5fa0
mov ebx, eax
test ebx, ebx
je 0x55694d
push 4
push dword [edi + 0x20]
push ebx
call fcn.004a6380
push dword [esp + 0x20]
push ebx
push dword [edi + 0x24]
push dword [edi + 0x30]
call fcn.004e9070
add esp, 0x1c
test eax, eax
je 0x556944
mov edi, 2
cmp dword [esp + 0x10], edi
jle 0x556934
nop
lea eax, [edi - 2]
push eax
push ebp
call fcn.004a0d80
mov esi, eax
push 4
push dword [esi]
push ebx
call fcn.004a6380
push dword [esp + 0x28]
push ebx
push dword [esi + 0xc]
push dword [esi + 8]
call fcn.004e9070
add esp, 0x24
test eax, eax
je 0x556944
inc edi
cmp edi, dword [esp + 0x10]
jl 0x556900
push ebx
call fcn.004a5c70
add esp, 4
mov esi, 1
jmp 0x5569a3
push ebx
call fcn.004a5c70
add esp, 4
call fcn.004bef90
push 0x692e30
push 0x19f
push str.crypto_rsa_rsa_gen.c
call fcn.004bf090
push 0
push 0x80003
push 4
call fcn.004bf140
add esp, 0x18
xor esi, esi
jmp 0x5569a3
xor esi, esi
call fcn.004bef90
push 0x692e30
push 0x66
push str.crypto_rsa_rsa_gen.c
call fcn.004bf090
push esi
push 0xa5
push 4
call fcn.004bf140
add esp, 0x18
mov ebx, dword [esp + 0x14]
push ebx
call fcn.004e7ad0
push ebx
call fcn.004e7b40
mov ecx, dword [esp + 0x60]
add esp, 8
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0060f4a4
add esp, 0x4c
ret